
    
                        S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJr	  SSK
Jr  SS	S
.r\R                  " \R                  R                  5      \R                    " S S\R"                  5      5       5       r\R                  " \R                  R&                  5      \R                    " S S\R"                  5      5       5       rg)z)Command to list locations in the Project.    )absolute_import)division)unicode_literals)	locations)utils)basez{description}z         To list all design center locations in project `my-project`, run:

          $ {command} --project=my-project
        )DESCRIPTIONEXAMPLESc                   2    \ rS rSrSr\r\S 5       rS r	Sr
g)ListGA#   List Design Center locations.c                     U R                   R                  [        R                  " S[        R
                  R                  S95        g Nzdesigncenter.projects.locationsrelease_track)display_info
AddUriFuncapi_lib_utilsMakeGetUriFuncr   ReleaseTrackGAparsers    +lib/surface/design_center/locations/list.pyArgsListGA.Args*   s6    
""$$-++..	
    c                     [         R                  " [        R                  R                  S9n[
        R                  " 5       nUR                  UR                  UR                  UR                  5       S9$ zRun the list command.r   )limit	page_sizeparent)apisLocationsClientr   r   r   r   GetProjectRefListr!   r"   RelativeNameselfargsclientproject_refs       r   Run
ListGA.Run3   s\    !!0A0A0D0DEF--/K;;jj..'')   r    N__name__
__module____qualname____firstlineno____doc___DETAILED_HELPdetailed_helpstaticmethodr   r.   __static_attributes__r0   r   r   r   r   #   #     & - r   r   c                   2    \ rS rSrSr\r\S 5       rS r	Sr
g)	ListAlpha>   r   c                     U R                   R                  [        R                  " S[        R
                  R                  S95        g r   )r   r   r   r   r   r   ALPHAr   s    r   r   ListAlpha.ArgsE   s6    
""$$-++11	
r   c                     [         R                  " [        R                  R                  S9n[
        R                  " 5       nUR                  UR                  UR                  UR                  5       S9$ r    )r$   r%   r   r   r@   r   r&   r'   r!   r"   r(   r)   s       r   r.   ListAlpha.RunN   s\    !!0A0A0G0GHF--/K;;jj..'')   r   r0   Nr1   r0   r   r   r=   r=   >   r;   r   r=   N)r6   
__future__r   r   r   $googlecloudsdk.api_lib.design_centerr   r$   r   r   googlecloudsdk.callioper   r7   ReleaseTracksr   r   UniverseCompatibleListCommandr   r@   r=   r0   r   r   <module>rJ      s    0 &  ' B G ( # D%%(()T   *2 D%%++,     -r   