
                            S r SSKrSSKJr  SSKJr  SSKJr  SSKJ	r	  Sr
SrS	rS
rSr\R                  \R                   " \R"                  R$                  \R"                  R&                  5       " S S\R(                  5      5       5       rg)z%services groups list members command.    N)serviceusage)base)common_flags)
propertieszprojects/{}z
folders/{}zorganizations/{}zservices/{}z	groups/{}c                   .    \ rS rSrSr\S 5       rS rSrg)ListGroupMembers   aW  List members of a specific service and group.

List members of a specific service and group.

## EXAMPLES

 List members of service my-service and group my-group:

 $ {command} my-service my-group

 List members of service my-service and group my-group
 for a specific project '12345678':

  $ {command} my-service my-group --project=12345678
c                 $   U R                  SSS9  U R                  SSS9  [        R                  " U 5        [        R                  R                  U S5        [        R                  R                  U 5        U R                  R                  S5        g )NservicezName of the service.)helpgroupz/Service group name, for example "dependencies".2   zK
          table(
            name,
            reason
          )
        )
add_argumentr   add_resource_argsr   PAGE_SIZE_FLAG
SetDefaultURI_FLAGRemoveFromParserdisplay_info	AddFormat)parsers    +lib/surface/services/groups/list_members.pyArgsListGroupMembers.Args1   s    
	(>?
G   ""6*""62. 	MM""6*
!! #     c           	         UR                  S5      (       a   [        R                  UR                  5      nOUR                  S5      (       a   [        R                  UR
                  5      nO|UR                  S5      (       a   [        R                  UR                  5      nOF[        R                  R                  R                  R                  SS9n[        R                  U5      n[        R                  " USR                  [        R                  UR                  5      [         R                  UR"                  5      5      UR$                  5      n/ n[&        R(                  " SSS	/5      nU Hz  nUR*                  nUR,                  (       a.  UR/                  U" UR,                  UR0                  5      5        MN  UR/                  U" UR2                  UR0                  5      5        M|     U$ )
zRun command.

Args:
  args: an argparse namespace. All the arguments that were provided to this
    command invocation.

Returns:
  Resource name and its parent name.
folderorganizationprojectT)requiredz{}/{}Membernamereason)IsSpecified_FOLDER_RESOURCEformatr   _ORGANIZATION_RESOURCEr   _PROJECT_RESOURCEr   r   VALUEScoreGetr   r   _SERVICE_RESOURCEr   _GROUP_RESOURCEr   	page_sizecollections
namedtuplemember	groupNameappendr#   serviceName)	selfargsresource_namer   member_statesmembersresultsmember_stater1   s	            r   RunListGroupMembers.RunE   ss    !!&--dkk:m			.	)	),33D4E4EFm			)	$	$'..t||<m!!&&..22D2Ag'..w7m 11$$T\\2""4::.	
 	M G$$X/ABG%""f			wv//?@wv116==AB & Nr    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r<   __static_attributes__r>   r   r   r   r      s        &&r   r   )rC   r/   googlecloudsdk.api_lib.servicesr   googlecloudsdk.callioper   #googlecloudsdk.command_lib.servicesr   googlecloudsdk.corer   r(   r%   r'   r,   r-   UniverseCompatibleReleaseTracksReleaseTrackALPHABETAListCommandr   r>   r   r   <module>rP      s    ,  8 ( < *!  + !  D%%++T->->-C-CDKt'' K E Kr   