
    I/                     V    S r SSKJr  SSKJr  SSKJr   " S S\R                  5      r	g)z7Generated client library for vpcaccess version v1beta1.    )absolute_import)base_api)vpcaccess_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 S\R(                  5      rSrU =r$ )VpcaccessV1beta1
   z?Generated client library for service vpcaccess version v1beta1.z!https://vpcaccess.googleapis.com/z&https://vpcaccess.mtls.googleapis.com/	vpcaccessz.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	        U R                  U 5      U l        g)zCreate a new vpcaccess handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)BASE_URLsuperr   __init__"ProjectsLocationsConnectorsServiceprojects_locations_connectors"ProjectsLocationsOperationsServiceprojects_locations_operationsProjectsLocationsServiceprojects_locationsProjectsServiceprojects)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               Wlib/googlecloudsdk/generated_clients/apis/vpcaccess/v1beta1/vpcaccess_v1beta1_client.pyr   VpcaccessV1beta1.__init__   s     
C	
D*'%)3 7+ + - *.)P)PQU)VD&)-)P)PQU)VD&";;DAD((.DM    c                      ^  \ 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S	 jr
S
 \
l        SS jrS \l        SS jrS \l        SrU =r$ )3VpcaccessV1beta1.ProjectsLocationsConnectorsService/   z=Service class for the projects_locations_connectors resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g N)r   r   r   r   _upload_configsr#   clientr%   s     r&   r   <VpcaccessV1beta1.ProjectsLocationsConnectorsService.__init__4   $    ??OPVWdr(   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a Serverless VPC Access connector, returns an operation.

Args:
  request: (VpcaccessProjectsLocationsConnectorsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Createglobal_paramsGetMethodConfig
_RunMethodr#   requestr6   configs       r&   r4   :VpcaccessV1beta1.ProjectsLocationsConnectorsService.Create9   /     ##H-f__
  8 8r(   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )N@v1beta1/projects/{projectsId}/locations/{locationsId}/connectorsPOSTz.vpcaccess.projects.locations.connectors.createparentconnectorIdv1beta1/{+parent}/connectors	connector1VpcaccessProjectsLocationsConnectorsCreateRequest	OperationF	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><VpcaccessV1beta1.ProjectsLocationsConnectorsService.<lambda>F   s6    8#9#9TB zJ#_4!M&$r(   c                 D    U R                  S5      nU R                  X1US9$ )a)  Deletes a Serverless VPC Access connector. Returns NOT_FOUND if the resource does not exist.

Args:
  request: (VpcaccessProjectsLocationsConnectorsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Deleter5   r7   r:   s       r&   rZ   :VpcaccessV1beta1.ProjectsLocationsConnectorsService.DeleteT   r>   r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NOv1beta1/projects/{projectsId}/locations/{locationsId}/connectors/{connectorsId}DELETEz.vpcaccess.projects.locations.connectors.deletenamev1beta1/{+name} 1VpcaccessProjectsLocationsConnectorsDeleteRequestrG   FrH   rT   rV   r(   r&   rW   rX   a   s4    8#9#9cBxH'M&$r(   c                 D    U R                  S5      nU R                  X1US9$ )a#  Gets a Serverless VPC Access connector. Returns NOT_FOUND if the resource does not exist.

Args:
  request: (VpcaccessProjectsLocationsConnectorsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Connector) The response message.
Getr5   r7   r:   s       r&   rd   7VpcaccessV1beta1.ProjectsLocationsConnectorsService.Geto   /     ##E*f__
  8 8r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr]   GETz+vpcaccess.projects.locations.connectors.getr_   r`   ra   .VpcaccessProjectsLocationsConnectorsGetRequest	ConnectorFrH   rT   rV   r(   r&   rW   rX   |   4     6 6c?xH'J&!r(   c                 D    U R                  S5      nU R                  X1US9$ )zLists Serverless VPC Access connectors.

Args:
  request: (VpcaccessProjectsLocationsConnectorsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListConnectorsResponse) The response message.
Listr5   r7   r:   s       r&   rm   8VpcaccessV1beta1.ProjectsLocationsConnectorsService.List   /     ##F+f__
  8 8r(   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr@   rh   z,vpcaccess.projects.locations.connectors.listrB   pageSize	pageTokenrD   ra   /VpcaccessProjectsLocationsConnectorsListRequestListConnectorsResponseFrH   rT   rV   r(   r&   rW   rX      s9    !7!7T@ zJ +.4K3"r(   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates a Serverless VPC Access connector, returns an operation.

Args:
  request: (VpcaccessProjectsLocationsConnectorsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Patchr5   r7   r:   s       r&   rv   9VpcaccessV1beta1.ProjectsLocationsConnectorsService.Patch   s/     ##G,f__
  8 8r(   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr]   PATCHz-vpcaccess.projects.locations.connectors.patchr_   
updateMaskr`   rE   0VpcaccessProjectsLocationsConnectorsPatchRequestrG   FrH   rT   rV   r(   r&   rW   rX      s6    ("8"8cAxH"^'!L&#r(   r.   r-   )__name__
__module____qualname____firstlineno____doc___NAMEr   r4   method_configrZ   rd   rm   rv   __static_attributes____classcell__r%   s   @r&   r   r*   /   s^    G+E
8F8F8C8D8Er(   r   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$ )3VpcaccessV1beta1.ProjectsLocationsOperationsService   z=Service class for the projects_locations_operations resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r-   )r   r   r   r   r.   r/   s     r&   r   <VpcaccessV1beta1.ProjectsLocationsOperationsService.__init__   r2   r(   c                 D    U R                  S5      nU R                  X1US9$ )ae  Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

Args:
  request: (VpcaccessProjectsLocationsOperationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
rd   r5   r7   r:   s       r&   rd   7VpcaccessV1beta1.ProjectsLocationsOperationsService.Get   rf   r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzOv1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}rh   z+vpcaccess.projects.locations.operations.getr_   r`   ra   .VpcaccessProjectsLocationsOperationsGetRequestrG   FrH   rT   rV   r(   r&   rW   <VpcaccessV1beta1.ProjectsLocationsOperationsService.<lambda>   rk   r(   c                 D    U R                  S5      nU R                  X1US9$ )a_  Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

Args:
  request: (VpcaccessProjectsLocationsOperationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListOperationsResponse) The response message.
rm   r5   r7   r:   s       r&   rm   8VpcaccessV1beta1.ProjectsLocationsOperationsService.List   ro   r(   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz@v1beta1/projects/{projectsId}/locations/{locationsId}/operationsrh   z,vpcaccess.projects.locations.operations.listr_   )filterrq   rr   returnPartialSuccesszv1beta1/{+name}/operationsra   /VpcaccessProjectsLocationsOperationsListRequestListOperationsResponseFrH   rT   rV   r(   r&   rW   r      s4    !7!7T@xHP2K3"r(   r|   r-   )r}   r~   r   r   r   r   r   rd   r   rm   r   r   r   s   @r&   r   r      s1    G+E
8C8Dr(   r   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
$ )	)VpcaccessV1beta1.ProjectsLocationsService   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   2VpcaccessV1beta1.ProjectsLocationsService.__init__  s#    55tEfMdr(   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists information about the supported locations for this service.

Args:
  request: (VpcaccessProjectsLocationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListLocationsResponse) The response message.
rm   r5   r7   r:   s       r&   rm   .VpcaccessV1beta1.ProjectsLocationsService.List
  ro   r(   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz'v1beta1/projects/{projectsId}/locationsrh   z!vpcaccess.projects.locations.listr_   )extraLocationTypesr   rq   rr   zv1beta1/{+name}/locationsra   %VpcaccessProjectsLocationsListRequestListLocationsResponseFrH   rT   rV   r(   r&   rW   2VpcaccessV1beta1.ProjectsLocationsService.<lambda>  s4    !7!7;5xHN1A2"r(   r|   r-   )r}   r~   r   r   r   r   r   rm   r   r   r   r   s   @r&   r   r      s"    < E
8Dr(   r   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ ) VpcaccessV1beta1.ProjectsServicei%  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   )VpcaccessV1beta1.ProjectsService.__init__*  s#    ,,d<VDdr(   r|   )	r}   r~   r   r   r   r   r   r   r   r   s   @r&   r!   r   %  s    2E r(   r!   )r"   r    r   r   )ra   NTNNFFNNNN)r}   r~   r   r   r   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!   r   r   r   s   @r&   r   r   
   s    G/0(:-(=>'(*"."+),()-6:/4<@?C	/(O8+B+B Ob>8+B+B >@#!8!8 #J//  r(   r   N)
r   
__future__r   apitools.base.pyr   7googlecloudsdk.generated_clients.apis.vpcaccess.v1beta1r   r   BaseApiClientr   rV   r(   r&   <module>r      s'    = ' % jcx-- cr(   