
    z                     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)z6Generated client library for publicca version v1beta1.    )absolute_import)base_api)publicca_v1beta1_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 )PubliccaV1beta1z>Generated client library for service publicca version v1beta1.z https://publicca.googleapis.com/z%https://publicca.mtls.googleapis.com/publiccaz.https://www.googleapis.com/auth/cloud-platformv1beta1	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               Ulib/googlecloudsdk/generated_clients/apis/publicca/v1beta1/publicca_v1beta1_client.pyr   zPubliccaV1beta1.__init__   s     
C	/4)'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 );PubliccaV1beta1.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   zDPubliccaV1beta1.ProjectsLocationsExternalAccountKeysService.__init__3   s#    OGGWX^_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-   zBPubliccaV1beta1.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 )NzIv1beta1/projects/{projectsId}/locations/{locationsId}/externalAccountKeysPOSTz6publicca.projects.locations.externalAccountKeys.createparentz%v1beta1/{+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>zDPubliccaV1beta1.ProjectsLocationsExternalAccountKeysService.<lambda>E   s4    8#9#9]J zJ=*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 )(PubliccaV1beta1.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   z1PubliccaV1beta1.ProjectsLocationsService.__init__X   s"    O44dDVL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 )PubliccaV1beta1.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(PubliccaV1beta1.ProjectsService.__init__b   s"    O++T;FC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    F//(9-(=>'(*"."+(,()-6:/4<@?C	/&#H4K4K #J!8!8 //  r$   r   N)
rJ   
__future__r   apitools.base.pyr   6googlecloudsdk.generated_clients.apis.publicca.v1beta1r   rW   BaseApiClientr   rE   r$   r#   <module>rh      s'    < ' % h[h,, [r$   