
                         V    S r SSKJr  SSKJr  SSKJr   " S S\R                  5      r	g)z<Generated client library for connectgateway version v1beta1.    )absolute_import)base_api)connectgateway_v1beta1_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 S\R(                  5      r " S S\R(                  5      rSrU =r$ )ConnectgatewayV1beta1
   zDGenerated client library for service connectgateway version v1beta1.z&https://connectgateway.googleapis.com/z+https://connectgateway.mtls.googleapis.com/connectgatewayz.https://www.googleapis.com/auth/cloud-platformv1beta1	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        U R                  U 5      U l        U R                  U 5      U l	        g)z#Create a new connectgateway handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)
BASE_URLsuperr   __init__#ProjectsLocationsMembershipsServiceprojects_locations_membershipsProjectsLocationsServiceprojects_locationsProjectsServiceprojects)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               alib/googlecloudsdk/generated_clients/apis/connectgateway/v1beta1/connectgateway_v1beta1_client.pyr   ConnectgatewayV1beta1.__init__   sz     
C	
/'%)3 7+ 0 - +/*R*RSW*XD'";;DAD((.DM    c                   J   ^  \ rS rSrSrSrU 4S jrSS jrS \l        Sr	U =r
$ )	9ConnectgatewayV1beta1.ProjectsLocationsMembershipsService.   z>Service class for the projects_locations_memberships resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g N)r   r   r   r   _upload_configsr!   clientr#   s     r$   r   BConnectgatewayV1beta1.ProjectsLocationsMembershipsService.__init__3   s$    !EEtUV\]dr&   c                 D    U R                  S5      nU R                  X1US9$ )ar  GenerateCredentials provides connection information that allows a user to access the specified membership using Connect Gateway.

Args:
  request: (ConnectgatewayProjectsLocationsMembershipsGenerateCredentialsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GenerateCredentialsResponse) The response message.
GenerateCredentials)global_params)GetMethodConfig
_RunMethod)r!   requestr2   configs       r$   r1   MConnectgatewayV1beta1.ProjectsLocationsMembershipsService.GenerateCredentials8   s0     ##$9:f__
  8 8r&   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nzev1beta1/projects/{projectsId}/locations/{locationsId}/memberships/{membershipsId}:generateCredentialsGETzAconnectgateway.projects.locations.memberships.generateCredentialsname)forceUseAgentimpersonatedServiceAccountkubernetesNamespaceoperatingSystemversionz#v1beta1/{+name}:generateCredentials DConnectgatewayProjectsLocationsMembershipsGenerateCredentialsRequestGenerateCredentialsResponseF)	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>BConnectgatewayV1beta1.ProjectsLocationsMembershipsService.<lambda>E   s4    0F0FyUxHy;`81r&   r,   r+   )__name__
__module____qualname____firstlineno____doc___NAMEr   r1   method_config__static_attributes____classcell__r#   s   @r$   r   r(   .   s#    H,E
8)%%r&   r   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ ).ConnectgatewayV1beta1.ProjectsLocationsServiceS   z2Service class for the projects_locations resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r+   )r   r   r   r   r,   r-   s     r$   r   7ConnectgatewayV1beta1.ProjectsLocationsService.__init__X   s#    !::DJ6Rdr&   rR   	rS   rT   rU   rV   rW   rX   r   rZ   r[   r\   s   @r$   r   r^   S   s    < E r&   r   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ )%ConnectgatewayV1beta1.ProjectsService]   z(Service class for the projects resource.r    c                 N   > [         [        R                  U ]  U5        0 U l        g r+   )r   r   r   r   r,   r-   s     r$   r   .ConnectgatewayV1beta1.ProjectsService.__init__b   s#    !114A&Idr&   rR   rb   r\   s   @r$   r   rd   ]   s    2E r&   r   )r    r   r   )r@   NTNNFFNNNN)rS   rT   rU   rV   rW   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   rZ   r[   r\   s   @r$   r   r   
   s    L/5(?-(=>'(*"."+.,()-6:/4<@?C	/&#H,C,C #J!8!8 //  r&   r   N)
rW   
__future__r   apitools.base.pyr   <googlecloudsdk.generated_clients.apis.connectgateway.v1beta1r   rh   BaseApiClientr   rO   r&   r$   <module>ry      s'    B ' % t[H22 [r&   