
    
                        S r SSKJr  SSKJr  SSKJr  SSKJ	r	  \R                  " \R                  R                  \R                  R                  5      \R                   " S S\R                  5      5       5       rSS	S
.\l        g)zCloudLocation list command.    )
list_pager)apis)base)flagsc                   .    \ rS rSrSr\S 5       rS rSrg)List   zList cloudLocations.

## EXAMPLES

To list all cloudLocations for `projects/my-project-id`, run:

  $ {command} --project=my-project-id
c                 0    [         R                  " U 5        g)zArgs is called by calliope to gather arguments for this command.

Args:
  parser: An argparse parser that you can use to add arguments that go on
    the command line after this command. Positional arguments are allowed.
N)r   AddListFlags)parsers    7lib/surface/cloudlocationfinder/cloud_locations/list.pyArgs	List.Args#   s     
v    c                    U R                  5       [        R                   R                  :X  a  SnOSn[        R                  " SU5      n[        R
                  " SU5      nUR                  nUR                  R                  R                  5       R                  5       nUR                  UUR                  UR                  S9nSUl        SUl        [        R                   " UUSUR                  (       d  UR"                  SS	9$ SSS	9$ )
zRun command.

Args:
  args: argparse.Namespace, The arguments that this command was invoked
    with.

Returns:
  List of CloudLocations for specified project.
v1v1alphacloudlocationfinder)parentpageSizefilter cloudLocationsNr   )fieldlimitbatch_size_attribute)ReleaseTrackr   GA	core_apisGetClientInstanceGetMessagesModule!projects_locations_cloudLocationsCONCEPTSlocationParseRelativeName=CloudlocationfinderProjectsLocationsCloudLocationsListRequest	page_sizer   	sorted_byr   YieldFromListr   )selfargsapi_versionclientmessagescloud_locations_servicer$   requests           r   RunList.Run-   s     d//222kk(()>LF**+@+NH$FF}}%%++-::<HNN^^;; 	O 	
  DKDN## $djj'  26' r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r2   __static_attributes__r4   r   r   r   r      s       !r   r   z1
        Request for listing Cloudlocations.
    z;
    To list CloudLocations, run:

        $ {command}
    )DESCRIPTIONEXAMPLESN)r9   apitools.base.pyr   googlecloudsdk.api_lib.utilr   r   googlecloudsdk.callioper   .googlecloudsdk.command_lib.cloudlocationfinderr   ReleaseTracksr   r   ALPHAUniverseCompatibleListCommandr   detailed_helpr4   r   r   <module>rG      s    " ' 9 ( @ D%%(($*;*;*A*AB54 5  C5r		 r   