
    4                     V    d Z ddlmZ ddlmZ ddlmZ  G d dej                        Z	y)z1Generated client library for publicca version v1.    )absolute_import)base_api)publicca_v1_messagesc                        e Zd ZdZeZdZdZdZdgZ	dZ
dZdZd	Zd ZdZd
Z	 	 	 	 	 d fd	Z G d dej&                        Z G d dej&                        Z G d dej&                        Z xZS )
PubliccaV1z9Generated client library for service publicca version v1.z https://publicca.googleapis.com/z%https://publicca.mtls.googleapis.com/publiccaz.https://www.googleapis.com/auth/cloud-platformv1	CLIENT_IDCLIENT_SECRETzgoogle-cloud-sdkNc                     |xs | j                   }t        t        |   |||||||||	|
|       | j	                  |       | _        | j                  |       | _        | j                  |       | _	        y)zCreate a new publicca handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)
BASE_URLsuperr   __init__+ProjectsLocationsExternalAccountKeysService&projects_locations_externalAccountKeysProjectsLocationsServiceprojects_locationsProjectsServiceprojects)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               Klib/googlecloudsdk/generated_clients/apis/publicca/v1/publicca_v1_client.pyr   zPubliccaV1.__init__   s     
C	*d$'d%l)3 7+ % - 372b2bcg2hD/";;DAD((.DM    c                   >     e Zd ZdZdZ fdZddZd e_         xZS )6PubliccaV1.ProjectsLocationsExternalAccountKeysServicezFService class for the projects_locations_externalAccountKeys resource.r   c                 N    t         t        j                  |   |       i | _        y N)r   r   r   r   _upload_configsr    clientr"   s     r#   r   z?PubliccaV1.ProjectsLocationsExternalAccountKeysService.__init__3   s#    JBBDRSYZdr$   c                 L    | j                  d      }| j                  |||      S )a8  Creates a new ExternalAccountKey bound to the project.

      Args:
        request: (PubliccaProjectsLocationsExternalAccountKeysCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ExternalAccountKey) The response message.
      Create)global_params)GetMethodConfig
_RunMethod)r    requestr.   configs       r#   r-   z=PubliccaV1.ProjectsLocationsExternalAccountKeysService.Create8   s1     ##H-f__
'  8 8r$   c                  F    t        j                  ddddgdgg ddddd	
      S )NzDv1/projects/{projectsId}/locations/{locationsId}/externalAccountKeysPOSTz6publicca.projects.locations.externalAccountKeys.createparentz v1/{+parent}/externalAccountKeysexternalAccountKey9PubliccaProjectsLocationsExternalAccountKeysCreateRequestExternalAccountKeyF)	flat_path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>z?PubliccaV1.ProjectsLocationsExternalAccountKeysService.<lambda>E   s4    8#9#9XJ zJ8*U/$r$   r(   )	__name__
__module____qualname____doc___NAMEr   r-   method_config__classcell__r"   s   @r#   r   r&   .   s"    P4E
8Fr$   r   c                   &     e Zd ZdZdZ fdZ xZS )#PubliccaV1.ProjectsLocationsServicez2Service class for the projects_locations resource.r   c                 N    t         t        j                  |   |       i | _        y r(   )r   r   r   r   r)   r*   s     r#   r   z,PubliccaV1.ProjectsLocationsService.__init__X   s"    J//?Gdr$   rG   rH   rI   rJ   rK   r   rM   rN   s   @r#   r   rP   S   s    < E r$   r   c                   &     e Zd ZdZdZ fdZ xZS )PubliccaV1.ProjectsServicez(Service class for the projects resource.r   c                 N    t         t        j                  |   |       i | _        y r(   )r   r   r   r   r)   r*   s     r#   r   z#PubliccaV1.ProjectsService.__init__b   s"    J&&6v>dr$   rR   rN   s   @r#   r   rT   ]   s    2E r$   r   ) NTNNFFNNNN)rG   rH   rI   rJ   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   rM   rN   s   @r#   r   r   
   s    A//(9-(=>'(*"."+#,()-6:/4<@?C	/&#H4K4K #J!8!8 //  r$   r   N)
rJ   
__future__r   apitools.base.pyr   1googlecloudsdk.generated_clients.apis.publicca.v1r   rW   BaseApiClientr   rE   r$   r#   <module>rh      s'    7 ' % ^['' [r$   