Ë
    €ÏÔ  ã                   óÚ   — d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlm	Z	 e	j                  j                  fd„Ze	j                  j                  fd„Ze	j                  j                  fd	„Zy
)z1Utilities for calling the Metastore Services API.é    )Úabsolute_import)Údivision)Úunicode_literals)Úutil)Úbasec                 óB   — t        j                  | ¬«      j                  S )N©Úrelease_track)Úapi_utilÚGetClientInstanceÚprojects_locations_servicesr	   s    ú5lib/googlecloudsdk/api_lib/metastore/services_util.pyÚ
GetServicer      s   € Ü	×	#Ñ	#Ø!ô
#ß#>Ñ#>ð?ó    c                 ó€   — t        |¬«      j                  t        j                  |¬«      j	                  | ¬«      «      S )aw  Calls the Metastore Services.Delete method.

  Args:
    relative_resource_name: str, the relative resource name of
      the Metastore service to delete.
    release_track: base.ReleaseTrack, the release track of command. Will dictate
      which Metastore client library will be used.

  Returns:
    Operation: the operation corresponding to the deletion of the service
  r	   )Úname)r   ÚDeleter   ÚGetMessagesModuleÚ/MetastoreProjectsLocationsServicesDeleteRequest)Úrelative_resource_namer
   s     r   r   r      s=   € ô 
 -Ô	0×	7Ñ	7Ü× Ñ ¨}Ô=ß6Ñ6Ø%ð 7ó 'ó
(ð (r   c                 ó®   — t        j                  |¬«      }|j                  |¬«      }|j                  || ¬«      }t	        |¬«      j                  |«      S )z2Calls the Metastore Services.QueryMetadata method.r	   )Úquery)ÚqueryMetadataRequestÚservice)r   r   ÚQueryMetadataRequestÚ6MetastoreProjectsLocationsServicesQueryMetadataRequestr   ÚQueryMetadata)r   r   r
   ÚmsgÚquery_metadata_requestÚreqs         r   r   r   0   s\   € ô 	×"Ñ"°Ô?€#Ø×3Ñ3¸%Ð3Ó@ÐØ×BÑBØ1Ø$ð 	Có 	&€#ô 
 -Ô	0×	>Ñ	>¸sÓ	CÐCr   N)Ú__doc__Ú
__future__r   r   r   Ú googlecloudsdk.api_lib.metastorer   r   Úgooglecloudsdk.callioper   ÚReleaseTrackÚGAr   r   ÚALPHAr   © r   r   Ú<module>r)      s\   ðñ 8å &Ý Ý 'å =Ý (ð "×.Ñ.×1Ñ1ó ?ð
 26×1BÑ1B×1EÑ1Eó (ð( !%× 1Ñ 1× 7Ñ 7ô	Dr   