
    I                     Z    d Z ddlmZ ddlmZ ddlmZ ddlmZ dZdZefdZ	efd	Z
d
 Zy)zCUseful commands for interacting with the Cloud Identity Groups API.    )absolute_import)division)unicode_literals)apisadminv1c                 6    t        j                  t        |       S )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                 6    t        j                  t        |       S )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    t               }|j                  j                  |       S )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   