
                         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)z7Generated client library for publicca version v1alpha1.    )absolute_import)base_api)publicca_v1alpha1_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 )PubliccaV1alpha1z?Generated client library for service publicca version v1alpha1.z https://publicca.googleapis.com/z%https://publicca.mtls.googleapis.com/publiccaz.https://www.googleapis.com/auth/cloud-platformv1alpha1	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               Wlib/googlecloudsdk/generated_clients/apis/publicca/v1alpha1/publicca_v1alpha1_client.pyr   zPubliccaV1alpha1.__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 )<PubliccaV1alpha1.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   zEPubliccaV1alpha1.ProjectsLocationsExternalAccountKeysService.__init__3   s$    HH$XY_`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-   zCPubliccaV1alpha1.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 )NzJv1alpha1/projects/{projectsId}/locations/{locationsId}/externalAccountKeysPOSTz6publicca.projects.locations.externalAccountKeys.createparentz&v1alpha1/{+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>zEPubliccaV1alpha1.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 ))PubliccaV1alpha1.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   z2PubliccaV1alpha1.ProjectsLocationsService.__init__X   s#    55tEfM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 ) PubliccaV1alpha1.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)PubliccaV1alpha1.ProjectsService.__init__b   s#    ,,d<VD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    G//(9-(=>'(*"."+),()-6:/4<@?C	/&#H4K4K #J!8!8 //  r$   r   N)
rJ   
__future__r   apitools.base.pyr   7googlecloudsdk.generated_clients.apis.publicca.v1alpha1r   rW   BaseApiClientr   rE   r$   r#   <module>rh      s'    = ' % j[x-- [r$   