
    n                     V    S r SSKJr  SSKJr  SSKJr   " S S\R                  5      r	g)z2Generated client library for discovery version v1.    )absolute_import)base_api)discovery_v1_messagesc                      ^  \ rS rSrSr\rSrSrSr	S/r
SrSrS	rS
rS rSrSr     SU 4S jjr " S S\R(                  5      rSrU =r$ )DiscoveryV1
   z:Generated client library for service discovery version v1.z(https://www.googleapis.com/discovery/v1/ 	discoveryz.https://www.googleapis.com/auth/userinfo.emailv1	CLIENT_IDCLIENT_SECRETzgoogle-cloud-sdkNc                    > U=(       d    U R                   n[        [        U ]  XX4UXgUU	U
US9  U R	                  U 5      U l        g)zCreate a new discovery handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)BASE_URLsuperr   __init__ApisServiceapis)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               Mlib/googlecloudsdk/generated_clients/apis/discovery/v1/discovery_v1_client.pyr   DiscoveryV1.__init__   sR     
C	+t%'%)3 7+ & -   &DI    c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ )DiscoveryV1.ApisService,   z$Service class for the apis resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g N)r   r   r   r   _upload_configs)r   clientr    s     r!   r    DiscoveryV1.ApisService.__init__1   s"    K##T3F;dr#   c                 D    U R                  S5      nU R                  X1US9$ )zRetrieve the description of a particular version of an api.

Args:
  request: (DiscoveryApisGetRestRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (RestDescription) The response message.
GetRestglobal_paramsGetMethodConfig
_RunMethodr   requestr/   configs       r!   r-   DiscoveryV1.ApisService.GetRest6   s/     ##I.f__
  8 8r#   c                  D    [         R                  " SSSS/SS// SSSSS	S
9
$ )NGETzdiscovery.apis.getRestapiversionzapis/{api}/{version}/restr	   DiscoveryApisGetRestRequestRestDescriptionF
http_method	method_idordered_paramspath_paramsquery_paramsrelative_pathrequest_fieldrequest_type_nameresponse_type_namesupports_downloadr   ApiMethodInfo r#   r!   <lambda> DiscoveryV1.ApisService.<lambda>C   s7    H$:$:*y)I&17,%r#   c                 D    U R                  S5      nU R                  X1US9$ )zRetrieve the list of APIs supported at this endpoint.

Args:
  request: (DiscoveryApisListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (DirectoryList) The response message.
Listr.   r0   r3   s       r!   rN   DiscoveryV1.ApisService.ListP   s/     ##F+f__
  8 8r#   c                  @    [         R                  " SS/ / / SQSSSSSS	9
$ )
Nr8   zdiscovery.apis.list)labelname	preferredr   r	   DiscoveryApisListRequestDirectoryListFr=   rH   rJ   r#   r!   rK   rL   ]   s-    !7!7'34*"r#   )r)   r(   )__name__
__module____qualname____firstlineno____doc___NAMEr   r-   method_configrN   __static_attributes____classcell__r    s   @r!   r   r%   ,   s1    .E
8G8Dr#   r   )r   )r	   NTNNFFNNNN)rV   rW   rX   rY   rZ   messagesMESSAGES_MODULEr   MTLS_BASE_URL_PACKAGE_SCOPES_VERSION
_CLIENT_ID_CLIENT_SECRET_USER_AGENT_CLIENT_CLASS_NAME_URL_VERSION_API_KEYr   r   BaseApiServicer   r]   r^   r_   s   @r!   r   r   
   sq    B/7(-(=>'(*"."+$,()-6:/4<@?C	'"<H++ < <r#   r   N)
rZ   
__future__r   apitools.base.pyr   2googlecloudsdk.generated_clients.apis.discovery.v1r   r`   BaseApiClientr   rJ   r#   r!   <module>rq      s'    8 ' % `^((( ^r#   