
    Fu                     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 cloudfunctions version v2alpha.    )absolute_import)base_api)cloudfunctions_v2alpha_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 S\R(                  5      rSrU =r$ )CloudfunctionsV2alpha
   zDGenerated client library for service cloudfunctions version v2alpha.z&https://cloudfunctions.googleapis.com/z+https://cloudfunctions.mtls.googleapis.com/cloudfunctionsz.https://www.googleapis.com/auth/cloud-platformv2alpha	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        U R                  U 5      U l        g)z#Create a new cloudfunctions handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)BASE_URLsuperr   __init__!ProjectsLocationsFunctionsServiceprojects_locations_functions"ProjectsLocationsOperationsServiceprojects_locations_operations ProjectsLocationsRuntimesServiceprojects_locations_runtimesProjectsLocationsServiceprojects_locationsProjectsServiceprojects)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               alib/googlecloudsdk/generated_clients/apis/cloudfunctions/v2alpha/cloudfunctions_v2alpha_client.pyr   CloudfunctionsV2alpha.__init__   s     
C	
/'%)3 7+ 0 - )-(N(Nt(TD%)-)P)PQU)VD&'+'L'LT'RD$";;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&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&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&S# jrS$ \l        S%rU =r$ )'7CloudfunctionsV2alpha.ProjectsLocationsFunctionsService0   z<Service class for the projects_locations_functions resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g N)r   r   r   r   _upload_configsr%   clientr'   s     r(   r   @CloudfunctionsV2alpha.ProjectsLocationsFunctionsService.__init__5   s$    !CCTSTZ[dr*   c                 D    U R                  S5      nU R                  X1US9$ )a  Aborts generation upgrade process for a function with the given name from the specified project. Deletes all 2nd Gen copy related configuration and resources which were created during the upgrade process.

Args:
  request: (CloudfunctionsProjectsLocationsFunctionsAbortFunctionUpgradeRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
AbortFunctionUpgradeglobal_paramsGetMethodConfig
_RunMethodr%   requestr7   configs       r(   r5   LCloudfunctionsV2alpha.ProjectsLocationsFunctionsService.AbortFunctionUpgrade:   s0     ##$:;f__
  8 8r*   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzbv2alpha/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:abortFunctionUpgradePOSTz@cloudfunctions.projects.locations.functions.abortFunctionUpgradenamez$v2alpha/{+name}:abortFunctionUpgradeabortFunctionUpgradeRequestCCloudfunctionsProjectsLocationsFunctionsAbortFunctionUpgradeRequest	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>@CloudfunctionsV2alpha.ProjectsLocationsFunctionsService.<lambda>G   s4    1G1GvTxH<3_&2r*   c                 D    U R                  S5      nU R                  X1US9$ )a  Finalizes the upgrade after which function upgrade can not be rolled back. This is the last step of the multi step process to upgrade 1st Gen functions to 2nd Gen. Deletes all original 1st Gen related configuration and resources.

Args:
  request: (CloudfunctionsProjectsLocationsFunctionsCommitFunctionUpgradeRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
CommitFunctionUpgrader6   r8   r;   s       r(   rW   MCloudfunctionsV2alpha.ProjectsLocationsFunctionsService.CommitFunctionUpgradeU   s0     ##$;<f__
  8 8r*   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzcv2alpha/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:commitFunctionUpgrader@   zAcloudfunctions.projects.locations.functions.commitFunctionUpgraderA   z%v2alpha/{+name}:commitFunctionUpgradecommitFunctionUpgradeRequestDCloudfunctionsProjectsLocationsFunctionsCommitFunctionUpgradeRequestrD   FrE   rQ   rS   r*   r(   rT   rU   b   s4    (2H2HwUxH=4`&3r*   c                 D    U R                  S5      nU R                  X1US9$ )ar  Creates a new function. If a function with the given name already exists in the specified project, the long running operation will return `ALREADY_EXISTS` error.

Args:
  request: (CloudfunctionsProjectsLocationsFunctionsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Creater6   r8   r;   s       r(   r]   >CloudfunctionsV2alpha.ProjectsLocationsFunctionsService.Createp   /     ##H-f__
  8 8r*   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )N?v2alpha/projects/{projectsId}/locations/{locationsId}/functionsr@   z2cloudfunctions.projects.locations.functions.createparent
functionIdv2alpha/{+parent}/functionsfunction5CloudfunctionsProjectsLocationsFunctionsCreateRequestrD   FrE   rQ   rS   r*   r(   rT   rU   }   s6    8#9#9SF zJ"^3 Q&$r*   c                 D    U R                  S5      nU R                  X1US9$ )aw  Deletes a function with the given name from the specified project. If the given function is used by some trigger, the trigger will be updated to remove this function.

Args:
  request: (CloudfunctionsProjectsLocationsFunctionsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Deleter6   r8   r;   s       r(   rh   >CloudfunctionsV2alpha.ProjectsLocationsFunctionsService.Delete   r_   r*   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NMv2alpha/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}DELETEz2cloudfunctions.projects.locations.functions.deleterA   v2alpha/{+name} 5CloudfunctionsProjectsLocationsFunctionsDeleteRequestrD   FrE   rQ   rS   r*   r(   rT   rU      s4    8#9#9aFxH'Q&$r*   c                 D    U R                  S5      nU R                  X1US9$ )a	  Detaches 2nd Gen function to Cloud Run function.

Args:
  request: (CloudfunctionsProjectsLocationsFunctionsDetachFunctionRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
DetachFunctionr6   r8   r;   s       r(   rq   FCloudfunctionsV2alpha.ProjectsLocationsFunctionsService.DetachFunction   s0     ##$45f__
  8 8r*   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz\v2alpha/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:detachFunctionr@   z:cloudfunctions.projects.locations.functions.detachFunctionrA   zv2alpha/{+name}:detachFunctiondetachFunctionRequest=CloudfunctionsProjectsLocationsFunctionsDetachFunctionRequestrD   FrE   rQ   rS   r*   r(   rT   rU      s4    8+A+ApNxH6-Y&,r*   c                 D    U R                  S5      nU R                  X1US9$ )a	  Returns a signed URL for downloading deployed function source code. The URL is only valid for a limited period and should be used within 30 minutes of generation. For more information about the signed URL usage see: https://cloud.google.com/storage/docs/access-control/signed-urls.

Args:
  request: (CloudfunctionsProjectsLocationsFunctionsGenerateDownloadUrlRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GenerateDownloadUrlResponse) The response message.
GenerateDownloadUrlr6   r8   r;   s       r(   rw   KCloudfunctionsV2alpha.ProjectsLocationsFunctionsService.GenerateDownloadUrl   s0     ##$9:f__
  8 8r*   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzav2alpha/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:generateDownloadUrlr@   z?cloudfunctions.projects.locations.functions.generateDownloadUrlrA   z#v2alpha/{+name}:generateDownloadUrlgenerateDownloadUrlRequestBCloudfunctionsProjectsLocationsFunctionsGenerateDownloadUrlRequestGenerateDownloadUrlResponseFrE   rQ   rS   r*   r(   rT   rU      s4    0F0FuSxH;2^81r*   c                 D    U R                  S5      nU R                  X1US9$ )a|  Returns a signed URL for uploading a function source code. For more information about the signed URL usage see: https://cloud.google.com/storage/docs/access-control/signed-urls. Once the function source code upload is complete, the used signed URL should be provided in CreateFunction or UpdateFunction request as a reference to the function source code. When uploading source code to the generated signed URL, please follow these restrictions: * Source file type should be a zip file. * No credentials should be attached - the signed URLs provide access to the target bucket using internal service identity; if credentials were attached, the identity from the credentials would be used, but that identity does not have permissions to upload files to the URL. When making a HTTP PUT request, specify this header: * `content-type: application/zip` Do not specify this header: * `Authorization: Bearer YOUR_TOKEN`.

Args:
  request: (CloudfunctionsProjectsLocationsFunctionsGenerateUploadUrlRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GenerateUploadUrlResponse) The response message.
GenerateUploadUrlr6   r8   r;   s       r(   r~   ICloudfunctionsV2alpha.ProjectsLocationsFunctionsService.GenerateUploadUrl   s0     ##$78f__
  8 8r*   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzQv2alpha/projects/{projectsId}/locations/{locationsId}/functions:generateUploadUrlr@   z=cloudfunctions.projects.locations.functions.generateUploadUrlrb   z-v2alpha/{+parent}/functions:generateUploadUrlgenerateUploadUrlRequest@CloudfunctionsProjectsLocationsFunctionsGenerateUploadUrlRequestGenerateUploadUrlResponseFrE   rQ   rS   r*   r(   rT   rU      s4    h.D.DeQ zJE0\6/r*   c                 D    U R                  S5      nU R                  X1US9$ )a  Returns a function with the given name from the requested project.

Args:
  request: (CloudfunctionsProjectsLocationsFunctionsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Function) The response message.
Getr6   r8   r;   s       r(   r   ;CloudfunctionsV2alpha.ProjectsLocationsFunctionsService.Get   /     ##E*f__
  8 8r*   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nrk   GETz/cloudfunctions.projects.locations.functions.getrA   revisionrm   rn   2CloudfunctionsProjectsLocationsFunctionsGetRequestFunctionFrE   rQ   rS   r*   r(   rT   rU     s6     6 6aCxH \'N%!r*   c                 D    U R                  S5      nU R                  X1US9$ )aQ  Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

Args:
  request: (CloudfunctionsProjectsLocationsFunctionsGetIamPolicyRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Policy) The response message.
GetIamPolicyr6   r8   r;   s       r(   r   DCloudfunctionsV2alpha.ProjectsLocationsFunctionsService.GetIamPolicy  /     ##N3f__
  8 8r*   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NzZv2alpha/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:getIamPolicyr   z8cloudfunctions.projects.locations.functions.getIamPolicyresourceoptions_requestedPolicyVersionz v2alpha/{+resource}:getIamPolicyrn   ;CloudfunctionsProjectsLocationsFunctionsGetIamPolicyRequestPolicyFrE   rQ   rS   r*   r(   rT   rU     s7    )?)?nL"|L678W#*r*   c                 D    U R                  S5      nU R                  X1US9$ )a  Returns a list of functions that belong to the requested project.

Args:
  request: (CloudfunctionsProjectsLocationsFunctionsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListFunctionsResponse) The response message.
Listr6   r8   r;   s       r(   r   <CloudfunctionsV2alpha.ProjectsLocationsFunctionsService.List-  /     ##F+f__
  8 8r*   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nra   r   z0cloudfunctions.projects.locations.functions.listrb   )filterorderBypageSize	pageTokenrd   rn   3CloudfunctionsProjectsLocationsFunctionsListRequestListFunctionsResponseFrE   rQ   rS   r*   r(   rT   rU   :  s4    !7!7SD zJC3O2"r*   c                 D    U R                  S5      nU R                  X1US9$ )zUpdates existing function.

Args:
  request: (CloudfunctionsProjectsLocationsFunctionsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Patchr6   r8   r;   s       r(   r   =CloudfunctionsV2alpha.ProjectsLocationsFunctionsService.PatchH  s/     ##G,f__
  8 8r*   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nrk   PATCHz1cloudfunctions.projects.locations.functions.patchrA   
updateMaskrm   re   4CloudfunctionsProjectsLocationsFunctionsPatchRequestrD   FrE   rQ   rS   r*   r(   rT   rU   U  s6    ("8"8aExH"^' P&#r*   c                 D    U R                  S5      nU R                  X1US9$ )a  Changes the traffic target of a function from the original 1st Gen function to the 2nd Gen copy. This is the second step of the multi step process to upgrade 1st Gen functions to 2nd Gen. After this operation, all new traffic will be served by 2nd Gen copy.

Args:
  request: (CloudfunctionsProjectsLocationsFunctionsRedirectFunctionUpgradeTrafficRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
RedirectFunctionUpgradeTrafficr6   r8   r;   s       r(   r   VCloudfunctionsV2alpha.ProjectsLocationsFunctionsService.RedirectFunctionUpgradeTrafficc  0     ##$DEf__
  8 8r*   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzlv2alpha/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:redirectFunctionUpgradeTrafficr@   zJcloudfunctions.projects.locations.functions.redirectFunctionUpgradeTrafficrA   z.v2alpha/{+name}:redirectFunctionUpgradeTraffic%redirectFunctionUpgradeTrafficRequestMCloudfunctionsProjectsLocationsFunctionsRedirectFunctionUpgradeTrafficRequestrD   FrE   rQ   rS   r*   r(   rT   rU   p  7    8;Q;Q A^xHF=i&<r*   c                 D    U R                  S5      nU R                  X1US9$ )a  Reverts the traffic target of a function from the 2nd Gen copy to the original 1st Gen function. After this operation, all new traffic would be served by the 1st Gen.

Args:
  request: (CloudfunctionsProjectsLocationsFunctionsRollbackFunctionUpgradeTrafficRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
RollbackFunctionUpgradeTrafficr6   r8   r;   s       r(   r   VCloudfunctionsV2alpha.ProjectsLocationsFunctionsService.RollbackFunctionUpgradeTraffic~  r   r*   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzlv2alpha/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:rollbackFunctionUpgradeTrafficr@   zJcloudfunctions.projects.locations.functions.rollbackFunctionUpgradeTrafficrA   z.v2alpha/{+name}:rollbackFunctionUpgradeTraffic%rollbackFunctionUpgradeTrafficRequestMCloudfunctionsProjectsLocationsFunctionsRollbackFunctionUpgradeTrafficRequestrD   FrE   rQ   rS   r*   r(   rT   rU     r   r*   c                 D    U R                  S5      nU R                  X1US9$ )aw  Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

Args:
  request: (CloudfunctionsProjectsLocationsFunctionsSetIamPolicyRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Policy) The response message.
SetIamPolicyr6   r8   r;   s       r(   r   DCloudfunctionsV2alpha.ProjectsLocationsFunctionsService.SetIamPolicy  r   r*   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzZv2alpha/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:setIamPolicyr@   z8cloudfunctions.projects.locations.functions.setIamPolicyr   z v2alpha/{+resource}:setIamPolicysetIamPolicyRequest;CloudfunctionsProjectsLocationsFunctionsSetIamPolicyRequestr   FrE   rQ   rS   r*   r(   rT   rU     s4    )?)?nL"|L8+W#*r*   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a 2nd Gen copy of the function configuration based on the 1st Gen function with the given name. This is the first step of the multi step process to upgrade 1st Gen functions to 2nd Gen. Only 2nd Gen configuration is setup as part of this request and traffic continues to be served by 1st Gen.

Args:
  request: (CloudfunctionsProjectsLocationsFunctionsSetupFunctionUpgradeConfigRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
SetupFunctionUpgradeConfigr6   r8   r;   s       r(   r   RCloudfunctionsV2alpha.ProjectsLocationsFunctionsService.SetupFunctionUpgradeConfig  s0     ##$@Af__
  8 8r*   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzhv2alpha/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:setupFunctionUpgradeConfigr@   zFcloudfunctions.projects.locations.functions.setupFunctionUpgradeConfigrA   z*v2alpha/{+name}:setupFunctionUpgradeConfig!setupFunctionUpgradeConfigRequestICloudfunctionsProjectsLocationsFunctionsSetupFunctionUpgradeConfigRequestrD   FrE   rQ   rS   r*   r(   rT   rU     s4    x7M7M|ZxHB9e&8r*   c                 D    U R                  S5      nU R                  X1US9$ )aK  Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

Args:
  request: (CloudfunctionsProjectsLocationsFunctionsTestIamPermissionsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (TestIamPermissionsResponse) The response message.
TestIamPermissionsr6   r8   r;   s       r(   r   JCloudfunctionsV2alpha.ProjectsLocationsFunctionsService.TestIamPermissions  s0     ##$89f__
  8 8r*   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz`v2alpha/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:testIamPermissionsr@   z>cloudfunctions.projects.locations.functions.testIamPermissionsr   z&v2alpha/{+resource}:testIamPermissionstestIamPermissionsRequestACloudfunctionsProjectsLocationsFunctionsTestIamPermissionsRequestTestIamPermissionsResponseFrE   rQ   rS   r*   r(   rT   rU     s4    x/E/EtR"|L>1]70r*   r0   r/   )__name__
__module____qualname____firstlineno____doc___NAMEr   r5   method_configrW   r]   rh   rq   rw   r~   r   r   r   r   r   r   r   r   r   __static_attributes____classcell__r'   s   @r(   r   r,   0   s   F*E
8*&8+'8F8F8$N 8)%8'#8C8"L8D8E84"084"08"L80,8($$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$ )8CloudfunctionsV2alpha.ProjectsLocationsOperationsServicei  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   r0   r1   s     r(   r   ACloudfunctionsV2alpha.ProjectsLocationsOperationsService.__init__  s$    !DDdTU[\dr*   c                 D    U R                  S5      nU R                  X1US9$ )aj  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: (CloudfunctionsProjectsLocationsOperationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r   r6   r8   r;   s       r(   r   <CloudfunctionsV2alpha.ProjectsLocationsOperationsService.Get  r   r*   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzOv2alpha/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}r   z0cloudfunctions.projects.locations.operations.getrA   rm   rn   3CloudfunctionsProjectsLocationsOperationsGetRequestrD   FrE   rQ   rS   r*   r(   rT   ACloudfunctionsV2alpha.ProjectsLocationsOperationsService.<lambda>  s4     6 6cDxH'O&!r*   c                 D    U R                  S5      nU R                  X1US9$ )ad  Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

Args:
  request: (CloudfunctionsProjectsLocationsOperationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListOperationsResponse) The response message.
r   r6   r8   r;   s       r(   r   =CloudfunctionsV2alpha.ProjectsLocationsOperationsService.List  r   r*   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz@v2alpha/projects/{projectsId}/locations/{locationsId}/operationsr   z1cloudfunctions.projects.locations.operations.listrA   )r   r   r   returnPartialSuccesszv2alpha/{+name}/operationsrn   4CloudfunctionsProjectsLocationsOperationsListRequestListOperationsResponseFrE   rQ   rS   r*   r(   rT   r     s4    !7!7TExHP2P3"r*   r   r/   )r   r   r   r   r   r   r   r   r   r   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
$ )	6CloudfunctionsV2alpha.ProjectsLocationsRuntimesServicei*  z;Service class for the projects_locations_runtimes resource.r    c                 N   > [         [        R                  U ]  U5        0 U l        g r/   )r   r   r   r   r0   r1   s     r(   r   ?CloudfunctionsV2alpha.ProjectsLocationsRuntimesService.__init__/  s$    !BBDRSYZdr*   c                 D    U R                  S5      nU R                  X1US9$ )a!  Returns a list of runtimes that are supported for the requested project.

Args:
  request: (CloudfunctionsProjectsLocationsRuntimesListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListRuntimesResponse) The response message.
r   r6   r8   r;   s       r(   r   ;CloudfunctionsV2alpha.ProjectsLocationsRuntimesService.List4  r   r*   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nz>v2alpha/projects/{projectsId}/locations/{locationsId}/runtimesr   z/cloudfunctions.projects.locations.runtimes.listrb   r   zv2alpha/{+parent}/runtimesrn   2CloudfunctionsProjectsLocationsRuntimesListRequestListRuntimesResponseFrE   rQ   rS   r*   r(   rT   ?CloudfunctionsV2alpha.ProjectsLocationsRuntimesService.<lambda>A  s6    !7!7RC zJZ2N1"r*   r   r/   r   r   r   r   r   r   r   r   r   r   r   r   s   @r(   r   r   *  s"    E)E
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
$ )	.CloudfunctionsV2alpha.ProjectsLocationsServiceiO  z2Service class for the projects_locations resource.r"   c                 N   > [         [        R                  U ]  U5        0 U l        g r/   )r   r   r!   r   r0   r1   s     r(   r   7CloudfunctionsV2alpha.ProjectsLocationsService.__init__T  s#    !::DJ6R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: (CloudfunctionsProjectsLocationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListLocationsResponse) The response message.
r   r6   r8   r;   s       r(   r   3CloudfunctionsV2alpha.ProjectsLocationsService.ListY  r   r*   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz'v2alpha/projects/{projectsId}/locationsr   z&cloudfunctions.projects.locations.listrA   )extraLocationTypesr   r   r   zv2alpha/{+name}/locationsrn   *CloudfunctionsProjectsLocationsListRequestListLocationsResponseFrE   rQ   rS   r*   r(   rT   7CloudfunctionsV2alpha.ProjectsLocationsService.<lambda>f  s4    !7!7;:xHN1F2"r*   r   r/   r   r   s   @r(   r!   r   O  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$ )%CloudfunctionsV2alpha.ProjectsServiceit  z(Service class for the projects resource.r$   c                 N   > [         [        R                  U ]  U5        0 U l        g r/   )r   r   r#   r   r0   r1   s     r(   r   .CloudfunctionsV2alpha.ProjectsService.__init__y  s#    !114A&Idr*   r   )	r   r   r   r   r   r   r   r   r   r   s   @r(   r#   r   t  s    2E r*   r#   )r$   r"   r   r   r    )rn   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   r   s   @r(   r   r   
   s    L/5(?-(=>'(*"."+.,()-6:/4<@?C	/*x(*A*A xt>8+B+B >@#)@)@ #J#!8!8 #J//  r*   r   N)
r   
__future__r   apitools.base.pyr   <googlecloudsdk.generated_clients.apis.cloudfunctions.v2alphar   r   BaseApiClientr   rS   r*   r(   <module>r     s'    B ' % tr	H22 r	r*   