
    I                     ^    S 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\4S jr	\4S	 jr
S
 rg)zCUseful commands for interacting with the Cloud Identity Groups API.    )absolute_import)division)unicode_literals)apisadminv1c                 8    [         R                  " [        U 5      $ )zImport and return the appropriate Cloud Identity Groups client.

Args:
  version: str, the version of the API desired

Returns:
  Cloud Identity Groups client for the appropriate release track
)r   GetClientInstanceAPI_NAMEversions    6lib/googlecloudsdk/api_lib/identity/admin_directory.py	GetClientr           
		'	22    c                 8    [         R                  " [        U 5      $ )zImport and return the appropriate Cloud Identity Groups messages module.

Args:
  version: str, the version of the API desired

Returns:
  Cloud Identity Groups messages for the appropriate release track
)r   GetMessagesModuler   r   s    r   GetMessagesr   '   r   r   c                 L    [        5       nUR                  R                  U 5      $ )zLists users satisfying the query.

Args:
  directory_users_list_request: DirectoryUsersListRequest

Returns:
  Users: Response message for List operation
  which is containing a list of user satisfying the query
)r   usersList)directory_users_list_requestclients     r   Previewr   3   s!     ;&			7	88r   N)__doc__
__future__r   r   r   googlecloudsdk.api_lib.utilr   r   API_VERSIONr   r   r    r   r   <module>r       s:    J &  ' , " 	3 $ 	39r   