
    ^                     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)z,Generated client library for run version v2.    )absolute_import)base_api)run_v2_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 G d dej&                        Z G d dej&                        Z G d dej&                        Z G d dej&                        Z G d dej&                        Z G d dej&                        Z G d dej&                        Z G d  d!ej&                        Z xZS )#RunV2z4Generated client library for service run version v2.zhttps://run.googleapis.com/z https://run.mtls.googleapis.com/runz.https://www.googleapis.com/auth/cloud-platformv2	CLIENT_IDCLIENT_SECRETzgoogle-cloud-sdkNc                 F   |xs | j                   }t        t        |   |||||||||	|
|       | j	                  |       | _        | j                  |       | _        | j                  |       | _	        | j                  |       | _        | j                  |       | _        | j                  |       | _        | j!                  |       | _        | j%                  |       | _        | j)                  |       | _        | j-                  |       | _        | j1                  |       | _        y)zCreate a new run handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)BASE_URLsuperr   __init__ProjectsLocationsBuildsServiceprojects_locations_builds+ProjectsLocationsJobsExecutionsTasksService(projects_locations_jobs_executions_tasks&ProjectsLocationsJobsExecutionsService"projects_locations_jobs_executionsProjectsLocationsJobsServiceprojects_locations_jobs"ProjectsLocationsOperationsServiceprojects_locations_operations)ProjectsLocationsServicesRevisionsService%projects_locations_services_revisions ProjectsLocationsServicesServiceprojects_locations_services,ProjectsLocationsWorkerPoolsRevisionsService(projects_locations_workerPools_revisions#ProjectsLocationsWorkerPoolsServiceprojects_locations_workerPoolsProjectsLocationsServiceprojects_locationsProjectsServiceprojects)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               Alib/googlecloudsdk/generated_clients/apis/run/v2/run_v2_client.pyr   zRunV2.__init__   s    
C	%'d%l)3 7+   - &*%H%H%ND"484d4dei4jD1.2.Y.YZ^._D+#'#D#DT#JD )-)P)PQU)VD&151_1_`d1eD.'+'L'LT'RD$484e4efj4kD1*.*R*RSW*XD'";;DAD((.DM    c                   >     e Zd ZdZdZ fdZddZd e_         xZS )$RunV2.ProjectsLocationsBuildsServicez9Service class for the projects_locations_builds resource.r   c                 N    t         t        j                  |   |       i | _        y N)r   r   r   r   _upload_configsr0   clientr2   s     r3   r   z-RunV2.ProjectsLocationsBuildsService.__init__;   s"    E00$@Hdr4   c                 L    | j                  d      }| j                  |||      S )a$  Submits a build in a given project.

      Args:
        request: (RunProjectsLocationsBuildsSubmitRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudRunV2SubmitBuildResponse) The response message.
      Submitglobal_paramsGetMethodConfig
_RunMethodr0   requestr?   configs       r3   r=   z+RunV2.ProjectsLocationsBuildsService.Submit@   1     ##H-f__
'  8 8r4   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz>v2/projects/{projectsId}/locations/{locationsId}/builds:submitPOSTz$run.projects.locations.builds.submitparentzv2/{+parent}/builds:submit"googleCloudRunV2SubmitBuildRequest'RunProjectsLocationsBuildsSubmitRequest#GoogleCloudRunV2SubmitBuildResponseF	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 r4   r3   <lambda>z-RunV2.ProjectsLocationsBuildsService.<lambda>M   s4    8#9#9R8 zJ2:C@$r4   r8   )	__name__
__module____qualname____doc___NAMEr   r=   method_config__classcell__r2   s   @r3   r   r6   6   s"    C'E
8Fr4   r   c                   V     e Zd ZdZdZ fdZddZd e_        ddZd e_         xZ	S )	1RunV2.ProjectsLocationsJobsExecutionsTasksServicezHService class for the projects_locations_jobs_executions_tasks resource.r   c                 N    t         t        j                  |   |       i | _        y r8   )r   r   r   r   r9   r:   s     r3   r   z:RunV2.ProjectsLocationsJobsExecutionsTasksService.__init__`   s"    E==tMfUdr4   c                 L    | j                  d      }| j                  |||      S )a  Gets information about a Task.

      Args:
        request: (RunProjectsLocationsJobsExecutionsTasksGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudRunV2Task) The response message.
      Getr>   r@   rC   s       r3   ri   z5RunV2.ProjectsLocationsJobsExecutionsTasksService.Gete   1     ##E*f__
'  8 8r4   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzhv2/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}/executions/{executionsId}/tasks/{tasksId}GETz0run.projects.locations.jobs.executions.tasks.getname
v2/{+name} 1RunProjectsLocationsJobsExecutionsTasksGetRequestGoogleCloudRunV2TaskFrM   rY   r[   r4   r3   r\   z:RunV2.ProjectsLocationsJobsExecutionsTasksService.<lambda>r   s4     6 6|DxH"M1!r4   c                 L    | j                  d      }| j                  |||      S )a1  Lists Tasks from an Execution of a Job.

      Args:
        request: (RunProjectsLocationsJobsExecutionsTasksListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudRunV2ListTasksResponse) The response message.
      Listr>   r@   rC   s       r3   rs   z6RunV2.ProjectsLocationsJobsExecutionsTasksService.List   1     ##F+f__
'  8 8r4   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nz^v2/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}/executions/{executionsId}/tasksrl   z1run.projects.locations.jobs.executions.tasks.listrI   pageSize	pageTokenshowDeletedzv2/{+parent}/tasksro   2RunProjectsLocationsJobsExecutionsTasksListRequest!GoogleCloudRunV2ListTasksResponseFrM   rY   r[   r4   r3   r\   z:RunV2.ProjectsLocationsJobsExecutionsTasksService.<lambda>   s4    !7!7rE zJ=*N>"r4   r8   )
r]   r^   r_   r`   ra   r   ri   rb   rs   rc   rd   s   @r3   r   rf   [   s1    R6E
8C8Dr4   r   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_         xZS ),RunV2.ProjectsLocationsJobsExecutionsServicezBService class for the projects_locations_jobs_executions resource.r   c                 N    t         t        j                  |   |       i | _        y r8   )r   r   r   r   r9   r:   s     r3   r   z5RunV2.ProjectsLocationsJobsExecutionsService.__init__   s"    E88$HPdr4   c                 L    | j                  d      }| j                  |||      S )a  Cancels an Execution.

      Args:
        request: (RunProjectsLocationsJobsExecutionsCancelRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      Cancelr>   r@   rC   s       r3   r   z3RunV2.ProjectsLocationsJobsExecutionsService.Cancel   rF   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz_v2/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}/executions/{executionsId}:cancelrH   z-run.projects.locations.jobs.executions.cancelrm   zv2/{+name}:cancel&googleCloudRunV2CancelExecutionRequest/RunProjectsLocationsJobsExecutionsCancelRequestGoogleLongrunningOperationFrM   rY   r[   r4   r3   r\   z5RunV2.ProjectsLocationsJobsExecutionsService.<lambda>   s4    8#9#9sAxH)>K7$r4   c                 L    | j                  d      }| j                  |||      S )a  Deletes an Execution.

      Args:
        request: (RunProjectsLocationsJobsExecutionsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      Deleter>   r@   rC   s       r3   r   z3RunV2.ProjectsLocationsJobsExecutionsService.Delete   rF   r4   c                  J    t        j                  ddddgdgddgddd	d
d      S )NXv2/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}/executions/{executionsId}DELETEz-run.projects.locations.jobs.executions.deleterm   etagvalidateOnlyrn   ro   /RunProjectsLocationsJobsExecutionsDeleteRequestr   FrM   rY   r[   r4   r3   r\   z5RunV2.ProjectsLocationsJobsExecutionsService.<lambda>   s9    8#9#9lAxHn-"K7$r4   c                 L    | j                  d      }| j                  |||      S )a=  Read the status of an image export operation.

      Args:
        request: (RunProjectsLocationsJobsExecutionsExportStatusRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudRunV2ExportStatusResponse) The response message.
      ExportStatusr>   r@   rC   s       r3   r   z9RunV2.ProjectsLocationsJobsExecutionsService.ExportStatus   1     ##N3f__
'  8 8r4   c                  J    t        j                  dddddgddgg dddd	d
      S )Nzuv2/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}/executions/{executionsId}/{executionsId1}:exportStatusrl   z3run.projects.locations.jobs.executions.exportStatusrm   operationId&v2/{+name}/{+operationId}:exportStatusro   5RunProjectsLocationsJobsExecutionsExportStatusRequest$GoogleCloudRunV2ExportStatusResponseFrM   rY   r[   r4   r3   r\   z5RunV2.ProjectsLocationsJobsExecutionsService.<lambda>   s=    )?)? JG.]+>QA*r4   c                 L    | j                  d      }| j                  |||      S )a   Gets information about an Execution.

      Args:
        request: (RunProjectsLocationsJobsExecutionsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudRunV2Execution) The response message.
      ri   r>   r@   rC   s       r3   ri   z0RunV2.ProjectsLocationsJobsExecutionsService.Get   rj   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr   rl   z*run.projects.locations.jobs.executions.getrm   rn   ro   ,RunProjectsLocationsJobsExecutionsGetRequestGoogleCloudRunV2ExecutionFrM   rY   r[   r4   r3   r\   z5RunV2.ProjectsLocationsJobsExecutionsService.<lambda>  s4     6 6l>xH"H6!r4   c                 L    | j                  d      }| j                  |||      S )aW  Lists Executions from a Job. Results are sorted by creation time, descending.

      Args:
        request: (RunProjectsLocationsJobsExecutionsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudRunV2ListExecutionsResponse) The response message.
      rs   r>   r@   rC   s       r3   rs   z1RunV2.ProjectsLocationsJobsExecutionsService.List  rt   r4   c                  J    t        j                  ddddgdgg ddddd	d
      S )NzIv2/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}/executionsrl   z+run.projects.locations.jobs.executions.listrI   rv   zv2/{+parent}/executionsro   -RunProjectsLocationsJobsExecutionsListRequest&GoogleCloudRunV2ListExecutionsResponseFrM   rY   r[   r4   r3   r\   z5RunV2.ProjectsLocationsJobsExecutionsService.<lambda>  s4    !7!7]? zJ=/IC"r4   r8   )r]   r^   r_   r`   ra   r   r   rb   r   r   ri   rs   rc   rd   s   @r3   r   r}      s^    L0E
8F8F8"L8C8Dr4   r   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_        ddZd e_        ddZd e_        ddZd e_        ddZd e_         xZS )"RunV2.ProjectsLocationsJobsServicez7Service class for the projects_locations_jobs resource.r!   c                 N    t         t        j                  |   |       i | _        y r8   )r   r   r    r   r9   r:   s     r3   r   z+RunV2.ProjectsLocationsJobsService.__init__1  s"    E..>vFdr4   c                 L    | j                  d      }| j                  |||      S )a  Creates a Job.

      Args:
        request: (RunProjectsLocationsJobsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      Creater>   r@   rC   s       r3   r   z)RunV2.ProjectsLocationsJobsService.Create6  rF   r4   c                  J    t        j                  ddddgdgddgddd	d
d      S )N5v2/projects/{projectsId}/locations/{locationsId}/jobsrH   z"run.projects.locations.jobs.createrI   jobIdr   v2/{+parent}/jobsgoogleCloudRunV2Job%RunProjectsLocationsJobsCreateRequestr   FrM   rY   r[   r4   r3   r\   z+RunV2.ProjectsLocationsJobsService.<lambda>C  s9    8#9#9I6 zJ~.)+A7$r4   c                 L    | j                  d      }| j                  |||      S )a  Deletes a Job.

      Args:
        request: (RunProjectsLocationsJobsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      r   r>   r@   rC   s       r3   r   z)RunV2.ProjectsLocationsJobsService.DeleteQ  rF   r4   c                  J    t        j                  ddddgdgddgddd	d
d      S )N>v2/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}r   z"run.projects.locations.jobs.deleterm   r   r   rn   ro   %RunProjectsLocationsJobsDeleteRequestr   FrM   rY   r[   r4   r3   r\   z+RunV2.ProjectsLocationsJobsService.<lambda>^  s9    8#9#9R6xHn-"A7$r4   c                 L    | j                  d      }| j                  |||      S )a	  Gets information about a Job.

      Args:
        request: (RunProjectsLocationsJobsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudRunV2Job) The response message.
      ri   r>   r@   rC   s       r3   ri   z&RunV2.ProjectsLocationsJobsService.Getl  rj   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr   rl   zrun.projects.locations.jobs.getrm   rn   ro   "RunProjectsLocationsJobsGetRequestGoogleCloudRunV2JobFrM   rY   r[   r4   r3   r\   z+RunV2.ProjectsLocationsJobsService.<lambda>y  s4     6 6R3xH">0!r4   c                 L    | j                  d      }| j                  |||      S )aq  Gets the IAM Access Control policy currently in effect for the given Job. This result does not include any inherited policies.

      Args:
        request: (RunProjectsLocationsJobsGetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1Policy) The response message.
      GetIamPolicyr>   r@   rC   s       r3   r   z/RunV2.ProjectsLocationsJobsService.GetIamPolicy  r   r4   c                  H    t        j                  ddddgdgdgdddd	d
      S )NzKv2/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}:getIamPolicyrl   z(run.projects.locations.jobs.getIamPolicyresourceoptions_requestedPolicyVersionv2/{+resource}:getIamPolicyro   +RunProjectsLocationsJobsGetIamPolicyRequestGoogleIamV1PolicyFrM   rY   r[   r4   r3   r\   z+RunV2.ProjectsLocationsJobsService.<lambda>  s7    )?)?_<"|L673G.*r4   c                 L    | j                  d      }| j                  |||      S )a6  Lists Jobs. Results are sorted by creation time, descending.

      Args:
        request: (RunProjectsLocationsJobsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudRunV2ListJobsResponse) The response message.
      rs   r>   r@   rC   s       r3   rs   z'RunV2.ProjectsLocationsJobsService.List  rt   r4   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   rl   z run.projects.locations.jobs.listrI   rv   r   ro   #RunProjectsLocationsJobsListRequest GoogleCloudRunV2ListJobsResponseFrM   rY   r[   r4   r3   r\   z+RunV2.ProjectsLocationsJobsService.<lambda>  s4    !7!7I4 zJ=)?="r4   c                 L    | j                  d      }| j                  |||      S )a  Updates a Job.

      Args:
        request: (RunProjectsLocationsJobsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      Patchr>   r@   rC   s       r3   r   z(RunV2.ProjectsLocationsJobsService.Patch  1     ##G,f__
'  8 8r4   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nr   PATCHz!run.projects.locations.jobs.patchrm   allowMissingr   rn   r   $RunProjectsLocationsJobsPatchRequestr   FrM   rY   r[   r4   r3   r\   z+RunV2.ProjectsLocationsJobsService.<lambda>  s9    ("8"8R5xH$n5"+@7#r4   c                 L    | j                  d      }| j                  |||      S )a$  Triggers creation of a new Execution of this Job.

      Args:
        request: (RunProjectsLocationsJobsRunRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      Runr>   r@   rC   s       r3   r   z&RunV2.ProjectsLocationsJobsService.Run  rj   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )NzBv2/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}:runrH   zrun.projects.locations.jobs.runrm   zv2/{+name}:rungoogleCloudRunV2RunJobRequest"RunProjectsLocationsJobsRunRequestr   FrM   rY   r[   r4   r3   r\   z+RunV2.ProjectsLocationsJobsService.<lambda>  s4     6 6V3xH&5>7!r4   c                 L    | j                  d      }| j                  |||      S )aL  Sets the IAM Access control policy for the specified Job. Overwrites any existing policy.

      Args:
        request: (RunProjectsLocationsJobsSetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1Policy) The response message.
      SetIamPolicyr>   r@   rC   s       r3   r   z/RunV2.ProjectsLocationsJobsService.SetIamPolicy  r   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )NzKv2/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}:setIamPolicyrH   z(run.projects.locations.jobs.setIamPolicyr   v2/{+resource}:setIamPolicygoogleIamV1SetIamPolicyRequest+RunProjectsLocationsJobsSetIamPolicyRequestr   FrM   rY   r[   r4   r3   r\   z+RunV2.ProjectsLocationsJobsService.<lambda>   s4    )?)?_<"|L36G.*r4   c                 L    | j                  d      }| j                  |||      S )a  Returns permissions that a caller has on the specified Project. There are no permissions required for making this API call.

      Args:
        request: (RunProjectsLocationsJobsTestIamPermissionsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1TestIamPermissionsResponse) The response message.
      TestIamPermissionsr>   r@   rC   s       r3   r   z5RunV2.ProjectsLocationsJobsService.TestIamPermissions  2     ##$89f__
'  8 8r4   c                  F    t        j                  ddddgdgg ddddd	
      S )NzQv2/projects/{projectsId}/locations/{locationsId}/jobs/{jobsId}:testIamPermissionsrH   z.run.projects.locations.jobs.testIamPermissionsr   !v2/{+resource}:testIamPermissions$googleIamV1TestIamPermissionsRequest1RunProjectsLocationsJobsTestIamPermissionsRequest%GoogleIamV1TestIamPermissionsResponseFrM   rY   r[   r4   r3   r\   z+RunV2.ProjectsLocationsJobsService.<lambda>  s4    x/E/EeB"|L9<MB0r4   r8   )r]   r^   r_   r`   ra   r   r   rb   r   ri   r   rs   r   r   r   r   rc   rd   s   @r3   r    r   ,  s    A%E
8F8F8C8"L8D8E8C8"L8($$r4   r    c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_         xZS )(RunV2.ProjectsLocationsOperationsServicez=Service class for the projects_locations_operations resource.r#   c                 N    t         t        j                  |   |       i | _        y r8   )r   r   r"   r   r9   r:   s     r3   r   z1RunV2.ProjectsLocationsOperationsService.__init__.  s"    E44dDVLdr4   c                 L    | j                  d      }| j                  |||      S )a  Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.

      Args:
        request: (RunProjectsLocationsOperationsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleProtobufEmpty) The response message.
      r   r>   r@   rC   s       r3   r   z/RunV2.ProjectsLocationsOperationsService.Delete3  rF   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )NJv2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}r   z(run.projects.locations.operations.deleterm   rn   ro   +RunProjectsLocationsOperationsDeleteRequestGoogleProtobufEmptyFrM   rY   r[   r4   r3   r\   z1RunV2.ProjectsLocationsOperationsService.<lambda>@  s4    8#9#9^<xH"G0$r4   c                 L    | j                  d      }| j                  |||      S )a  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: (RunProjectsLocationsOperationsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      ri   r>   r@   rC   s       r3   ri   z,RunV2.ProjectsLocationsOperationsService.GetN  rj   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr   rl   z%run.projects.locations.operations.getrm   rn   ro   (RunProjectsLocationsOperationsGetRequestr   FrM   rY   r[   r4   r3   r\   z1RunV2.ProjectsLocationsOperationsService.<lambda>[  s4     6 6^9xH"D7!r4   c                 L    | j                  d      }| j                  |||      S )a  Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

      Args:
        request: (RunProjectsLocationsOperationsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningListOperationsResponse) The response message.
      rs   r>   r@   rC   s       r3   rs   z-RunV2.ProjectsLocationsOperationsService.Listi  rt   r4   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nz;v2/projects/{projectsId}/locations/{locationsId}/operationsrl   z&run.projects.locations.operations.listrm   )filterrw   rx   zv2/{+name}/operationsro   )RunProjectsLocationsOperationsListRequest'GoogleLongrunningListOperationsResponseFrM   rY   r[   r4   r3   r\   z1RunV2.ProjectsLocationsOperationsService.<lambda>v  s4    !7!7O:xH8-ED"r4   c                 L    | j                  d      }| j                  |||      S )aT  Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.

      Args:
        request: (RunProjectsLocationsOperationsWaitRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      Waitr>   r@   rC   s       r3   r   z-RunV2.ProjectsLocationsOperationsService.Wait  rt   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )NzOv2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:waitrH   z&run.projects.locations.operations.waitrm   zv2/{+name}:wait%googleLongrunningWaitOperationRequest)RunProjectsLocationsOperationsWaitRequestr   FrM   rY   r[   r4   r3   r\   z1RunV2.ProjectsLocationsOperationsService.<lambda>  s4    !7!7c:xH'=E7"r4   r8   )r]   r^   r_   r`   ra   r   r   rb   ri   rs   r   rc   rd   s   @r3   r"   r   )  sO    G+E
8F8C8D8Dr4   r"   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_         xZS )/RunV2.ProjectsLocationsServicesRevisionsServicezEService class for the projects_locations_services_revisions resource.r%   c                 N    t         t        j                  |   |       i | _        y r8   )r   r   r$   r   r9   r:   s     r3   r   z8RunV2.ProjectsLocationsServicesRevisionsService.__init__  s"    E;;TKFSdr4   c                 L    | j                  d      }| j                  |||      S )a  Deletes a Revision.

      Args:
        request: (RunProjectsLocationsServicesRevisionsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      r   r>   r@   rC   s       r3   r   z6RunV2.ProjectsLocationsServicesRevisionsService.Delete  rF   r4   c                  J    t        j                  ddddgdgddgddd	d
d      S )N^v2/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/revisions/{revisionsId}r   z0run.projects.locations.services.revisions.deleterm   r   r   rn   ro   2RunProjectsLocationsServicesRevisionsDeleteRequestr   FrM   rY   r[   r4   r3   r\   z8RunV2.ProjectsLocationsServicesRevisionsService.<lambda>  s9    8#9#9rDxHn-"N7$r4   c                 L    | j                  d      }| j                  |||      S )a@  Read the status of an image export operation.

      Args:
        request: (RunProjectsLocationsServicesRevisionsExportStatusRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudRunV2ExportStatusResponse) The response message.
      r   r>   r@   rC   s       r3   r   z<RunV2.ProjectsLocationsServicesRevisionsService.ExportStatus  r   r4   c                  J    t        j                  dddddgddgg dddd	d
      S )Nzzv2/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/revisions/{revisionsId}/{revisionsId1}:exportStatusrl   z6run.projects.locations.services.revisions.exportStatusrm   r   r   ro   8RunProjectsLocationsServicesRevisionsExportStatusRequestr   FrM   rY   r[   r4   r3   r\   z8RunV2.ProjectsLocationsServicesRevisionsService.<lambda>  s=    )?)? OJ.]+>TA*r4   c                 L    | j                  d      }| j                  |||      S )a   Gets information about a Revision.

      Args:
        request: (RunProjectsLocationsServicesRevisionsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudRunV2Revision) The response message.
      ri   r>   r@   rC   s       r3   ri   z3RunV2.ProjectsLocationsServicesRevisionsService.Get  rj   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr   rl   z-run.projects.locations.services.revisions.getrm   rn   ro   /RunProjectsLocationsServicesRevisionsGetRequestGoogleCloudRunV2RevisionFrM   rY   r[   r4   r3   r\   z8RunV2.ProjectsLocationsServicesRevisionsService.<lambda>  s4     6 6rAxH"K5!r4   c                 L    | j                  d      }| j                  |||      S )a|  Lists Revisions from a given Service, or from a given location. Results are sorted by creation time, descending.

      Args:
        request: (RunProjectsLocationsServicesRevisionsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudRunV2ListRevisionsResponse) The response message.
      rs   r>   r@   rC   s       r3   rs   z4RunV2.ProjectsLocationsServicesRevisionsService.List  rt   r4   c                  J    t        j                  ddddgdgg ddddd	d
      S )NzPv2/projects/{projectsId}/locations/{locationsId}/services/{servicesId}/revisionsrl   z.run.projects.locations.services.revisions.listrI   rv   v2/{+parent}/revisionsro   0RunProjectsLocationsServicesRevisionsListRequest%GoogleCloudRunV2ListRevisionsResponseFrM   rY   r[   r4   r3   r\   z8RunV2.ProjectsLocationsServicesRevisionsService.<lambda>  s4    !7!7dB zJ=.LB"r4   r8   )r]   r^   r_   r`   ra   r   r   rb   r   ri   rs   rc   rd   s   @r3   r$   r     sO    O3E
8F8"L8C8Dr4   r$   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_        ddZd e_        ddZd e_        ddZd e_         xZS )&RunV2.ProjectsLocationsServicesServicez;Service class for the projects_locations_services resource.r'   c                 N    t         t        j                  |   |       i | _        y r8   )r   r   r&   r   r9   r:   s     r3   r   z/RunV2.ProjectsLocationsServicesService.__init__  s"    E22DB6Jdr4   c                 L    | j                  d      }| j                  |||      S )a0  Creates a new Service in a given project and location.

      Args:
        request: (RunProjectsLocationsServicesCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      r   r>   r@   rC   s       r3   r   z-RunV2.ProjectsLocationsServicesService.Create  rF   r4   c                  J    t        j                  ddddgdgddgddd	d
d      S )N9v2/projects/{projectsId}/locations/{locationsId}/servicesrH   z&run.projects.locations.services.createrI   	serviceIdr   v2/{+parent}/servicesgoogleCloudRunV2Service)RunProjectsLocationsServicesCreateRequestr   FrM   rY   r[   r4   r3   r\   z/RunV2.ProjectsLocationsServicesService.<lambda>,  s9    8#9#9M: zJ!>2-/E7$r4   c                 L    | j                  d      }| j                  |||      S )a_  Deletes a Service. This will cause the Service to stop serving traffic and will delete all revisions.

      Args:
        request: (RunProjectsLocationsServicesDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      r   r>   r@   rC   s       r3   r   z-RunV2.ProjectsLocationsServicesService.Delete:  rF   r4   c                  J    t        j                  ddddgdgddgddd	d
d      S )NFv2/projects/{projectsId}/locations/{locationsId}/services/{servicesId}r   z&run.projects.locations.services.deleterm   r   r   rn   ro   )RunProjectsLocationsServicesDeleteRequestr   FrM   rY   r[   r4   r3   r\   z/RunV2.ProjectsLocationsServicesService.<lambda>G  s9    8#9#9Z:xHn-"E7$r4   c                 L    | j                  d      }| j                  |||      S )a  Gets information about a Service.

      Args:
        request: (RunProjectsLocationsServicesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudRunV2Service) The response message.
      ri   r>   r@   rC   s       r3   ri   z*RunV2.ProjectsLocationsServicesService.GetU  rj   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr
  rl   z#run.projects.locations.services.getrm   rn   ro   &RunProjectsLocationsServicesGetRequestGoogleCloudRunV2ServiceFrM   rY   r[   r4   r3   r\   z/RunV2.ProjectsLocationsServicesService.<lambda>b  s4     6 6Z7xH"B4!r4   c                 L    | j                  d      }| j                  |||      S )a  Gets the IAM Access Control policy currently in effect for the given Cloud Run Service. This result does not include any inherited policies.

      Args:
        request: (RunProjectsLocationsServicesGetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1Policy) The response message.
      r   r>   r@   rC   s       r3   r   z3RunV2.ProjectsLocationsServicesService.GetIamPolicyp  r   r4   c                  H    t        j                  ddddgdgdgdddd	d
      S )NzSv2/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:getIamPolicyrl   z,run.projects.locations.services.getIamPolicyr   r   r   ro   /RunProjectsLocationsServicesGetIamPolicyRequestr   FrM   rY   r[   r4   r3   r\   z/RunV2.ProjectsLocationsServicesService.<lambda>}  s7    )?)?g@"|L673K.*r4   c                 L    | j                  d      }| j                  |||      S )aB  Lists Services. Results are sorted by creation time, descending.

      Args:
        request: (RunProjectsLocationsServicesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudRunV2ListServicesResponse) The response message.
      rs   r>   r@   rC   s       r3   rs   z+RunV2.ProjectsLocationsServicesService.List  rt   r4   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr  rl   z$run.projects.locations.services.listrI   rv   r  ro   'RunProjectsLocationsServicesListRequest$GoogleCloudRunV2ListServicesResponseFrM   rY   r[   r4   r3   r\   z/RunV2.ProjectsLocationsServicesService.<lambda>  s4    !7!7M8 zJ=-CA"r4   c                 L    | j                  d      }| j                  |||      S )a  Updates a Service.

      Args:
        request: (RunProjectsLocationsServicesPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      r   r>   r@   rC   s       r3   r   z,RunV2.ProjectsLocationsServicesService.Patch  r   r4   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr
  r   z%run.projects.locations.services.patchrm   )r   
updateMaskr   rn   r  (RunProjectsLocationsServicesPatchRequestr   FrM   rY   r[   r4   r3   r\   z/RunV2.ProjectsLocationsServicesService.<lambda>  s4    ("8"8Z9xHC"/D7#r4   c                 L    | j                  d      }| j                  |||      S )aT  Sets the IAM Access control policy for the specified Service. Overwrites any existing policy.

      Args:
        request: (RunProjectsLocationsServicesSetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1Policy) The response message.
      r   r>   r@   rC   s       r3   r   z3RunV2.ProjectsLocationsServicesService.SetIamPolicy  r   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )NzSv2/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:setIamPolicyrH   z,run.projects.locations.services.setIamPolicyr   r   r   /RunProjectsLocationsServicesSetIamPolicyRequestr   FrM   rY   r[   r4   r3   r\   z/RunV2.ProjectsLocationsServicesService.<lambda>  s4    )?)?g@"|L36K.*r4   c                 L    | j                  d      }| j                  |||      S )a  Returns permissions that a caller has on the specified Project. There are no permissions required for making this API call.

      Args:
        request: (RunProjectsLocationsServicesTestIamPermissionsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1TestIamPermissionsResponse) The response message.
      r   r>   r@   rC   s       r3   r   z9RunV2.ProjectsLocationsServicesService.TestIamPermissions  r   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )NzYv2/projects/{projectsId}/locations/{locationsId}/services/{servicesId}:testIamPermissionsrH   z2run.projects.locations.services.testIamPermissionsr   r   r   5RunProjectsLocationsServicesTestIamPermissionsRequestr   FrM   rY   r[   r4   r3   r\   z/RunV2.ProjectsLocationsServicesService.<lambda>  s4    x/E/EmF"|L9<QB0r4   r8   r]   r^   r_   r`   ra   r   r   rb   r   ri   r   rs   r   r   r   rc   rd   s   @r3   r&   r     s    E)E
8F8F8C8"L8D8E8"L8($$r4   r&   c                   n     e Zd ZdZdZ fdZd
dZd e_        d
dZd e_        d
dZ	d	 e	_         xZ
S )2RunV2.ProjectsLocationsWorkerPoolsRevisionsServicezHService class for the projects_locations_workerPools_revisions resource.r)   c                 N    t         t        j                  |   |       i | _        y r8   )r   r   r(   r   r9   r:   s     r3   r   z;RunV2.ProjectsLocationsWorkerPoolsRevisionsService.__init__  s"    E>>NvVdr4   c                 L    | j                  d      }| j                  |||      S )a  Deletes a Revision.

      Args:
        request: (RunProjectsLocationsWorkerPoolsRevisionsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      r   r>   r@   rC   s       r3   r   z9RunV2.ProjectsLocationsWorkerPoolsRevisionsService.Delete  rF   r4   c                  J    t        j                  ddddgdgddgddd	d
d      S )Ndv2/projects/{projectsId}/locations/{locationsId}/workerPools/{workerPoolsId}/revisions/{revisionsId}r   z3run.projects.locations.workerPools.revisions.deleterm   r   r   rn   ro   5RunProjectsLocationsWorkerPoolsRevisionsDeleteRequestr   FrM   rY   r[   r4   r3   r\   z;RunV2.ProjectsLocationsWorkerPoolsRevisionsService.<lambda>  s9    8#9#9xGxHn-"Q7$r4   c                 L    | j                  d      }| j                  |||      S )a#  Gets information about a Revision.

      Args:
        request: (RunProjectsLocationsWorkerPoolsRevisionsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudRunV2Revision) The response message.
      ri   r>   r@   rC   s       r3   ri   z6RunV2.ProjectsLocationsWorkerPoolsRevisionsService.Get  rj   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr'  rl   z0run.projects.locations.workerPools.revisions.getrm   rn   ro   2RunProjectsLocationsWorkerPoolsRevisionsGetRequestr   FrM   rY   r[   r4   r3   r\   z;RunV2.ProjectsLocationsWorkerPoolsRevisionsService.<lambda>)  s4     6 6xDxH"N5!r4   c                 L    | j                  d      }| j                  |||      S )a  Lists Revisions from a given Service, or from a given location. Results are sorted by creation time, descending.

      Args:
        request: (RunProjectsLocationsWorkerPoolsRevisionsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudRunV2ListRevisionsResponse) The response message.
      rs   r>   r@   rC   s       r3   rs   z7RunV2.ProjectsLocationsWorkerPoolsRevisionsService.List7  rt   r4   c                  J    t        j                  ddddgdgg ddddd	d
      S )NzVv2/projects/{projectsId}/locations/{locationsId}/workerPools/{workerPoolsId}/revisionsrl   z1run.projects.locations.workerPools.revisions.listrI   rv   r   ro   3RunProjectsLocationsWorkerPoolsRevisionsListRequestr   FrM   rY   r[   r4   r3   r\   z;RunV2.ProjectsLocationsWorkerPoolsRevisionsService.<lambda>D  s4    !7!7jE zJ=.OB"r4   r8   )r]   r^   r_   r`   ra   r   r   rb   ri   rs   rc   rd   s   @r3   r(   r#    s@    R6E
8F8C8Dr4   r(   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_        ddZd e_        ddZd e_        ddZd e_        ddZd e_         xZS ))RunV2.ProjectsLocationsWorkerPoolsServicez>Service class for the projects_locations_workerPools resource.r+   c                 N    t         t        j                  |   |       i | _        y r8   )r   r   r*   r   r9   r:   s     r3   r   z2RunV2.ProjectsLocationsWorkerPoolsService.__init__W  s"    E55tEfMdr4   c                 L    | j                  d      }| j                  |||      S )a6  Creates a new WorkerPool in a given project and location.

      Args:
        request: (RunProjectsLocationsWorkerPoolsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      r   r>   r@   rC   s       r3   r   z0RunV2.ProjectsLocationsWorkerPoolsService.Create\  rF   r4   c                  J    t        j                  ddddgdgddgddd	d
d      S )N<v2/projects/{projectsId}/locations/{locationsId}/workerPoolsrH   z)run.projects.locations.workerPools.createrI   r   workerPoolIdv2/{+parent}/workerPoolsgoogleCloudRunV2WorkerPool,RunProjectsLocationsWorkerPoolsCreateRequestr   FrM   rY   r[   r4   r3   r\   z2RunV2.ProjectsLocationsWorkerPoolsService.<lambda>i  s9    8#9#9P= zJ$n502H7$r4   c                 L    | j                  d      }| j                  |||      S )a  Deletes a WorkerPool.

      Args:
        request: (RunProjectsLocationsWorkerPoolsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      r   r>   r@   rC   s       r3   r   z0RunV2.ProjectsLocationsWorkerPoolsService.Deletew  rF   r4   c                  J    t        j                  ddddgdgddgddd	d
d      S )NLv2/projects/{projectsId}/locations/{locationsId}/workerPools/{workerPoolsId}r   z)run.projects.locations.workerPools.deleterm   r   r   rn   ro   ,RunProjectsLocationsWorkerPoolsDeleteRequestr   FrM   rY   r[   r4   r3   r\   z2RunV2.ProjectsLocationsWorkerPoolsService.<lambda>  s9    8#9#9`=xHn-"H7$r4   c                 L    | j                  d      }| j                  |||      S )a  Gets information about a WorkerPool.

      Args:
        request: (RunProjectsLocationsWorkerPoolsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudRunV2WorkerPool) The response message.
      ri   r>   r@   rC   s       r3   ri   z-RunV2.ProjectsLocationsWorkerPoolsService.Get  rj   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr;  rl   z&run.projects.locations.workerPools.getrm   rn   ro   )RunProjectsLocationsWorkerPoolsGetRequestGoogleCloudRunV2WorkerPoolFrM   rY   r[   r4   r3   r\   z2RunV2.ProjectsLocationsWorkerPoolsService.<lambda>  s4     6 6`:xH"E7!r4   c                 L    | j                  d      }| j                  |||      S )a  Gets the IAM Access Control policy currently in effect for the given Cloud Run WorkerPool. This result does not include any inherited policies.

      Args:
        request: (RunProjectsLocationsWorkerPoolsGetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1Policy) The response message.
      r   r>   r@   rC   s       r3   r   z6RunV2.ProjectsLocationsWorkerPoolsService.GetIamPolicy  r   r4   c                  H    t        j                  ddddgdgdgdddd	d
      S )NzYv2/projects/{projectsId}/locations/{locationsId}/workerPools/{workerPoolsId}:getIamPolicyrl   z/run.projects.locations.workerPools.getIamPolicyr   r   r   ro   2RunProjectsLocationsWorkerPoolsGetIamPolicyRequestr   FrM   rY   r[   r4   r3   r\   z2RunV2.ProjectsLocationsWorkerPoolsService.<lambda>  s7    )?)?mC"|L673N.*r4   c                 L    | j                  d      }| j                  |||      S )aK  Lists WorkerPools. Results are sorted by creation time, descending.

      Args:
        request: (RunProjectsLocationsWorkerPoolsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudRunV2ListWorkerPoolsResponse) The response message.
      rs   r>   r@   rC   s       r3   rs   z.RunV2.ProjectsLocationsWorkerPoolsService.List  rt   r4   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr4  rl   z'run.projects.locations.workerPools.listrI   rv   r6  ro   *RunProjectsLocationsWorkerPoolsListRequest'GoogleCloudRunV2ListWorkerPoolsResponseFrM   rY   r[   r4   r3   r\   z2RunV2.ProjectsLocationsWorkerPoolsService.<lambda>  s4    !7!7P; zJ=0FD"r4   c                 L    | j                  d      }| j                  |||      S )a  Updates a WorkerPool.

      Args:
        request: (RunProjectsLocationsWorkerPoolsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleLongrunningOperation) The response message.
      r   r>   r@   rC   s       r3   r   z/RunV2.ProjectsLocationsWorkerPoolsService.Patch  r   r4   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr;  r   z(run.projects.locations.workerPools.patchrm   )r   forceNewRevisionr  r   rn   r7  +RunProjectsLocationsWorkerPoolsPatchRequestr   FrM   rY   r[   r4   r3   r\   z2RunV2.ProjectsLocationsWorkerPoolsService.<lambda>  s4    ("8"8`<xHW"2G7#r4   c                 L    | j                  d      }| j                  |||      S )aZ  Sets the IAM Access control policy for the specified WorkerPool. Overwrites any existing policy.

      Args:
        request: (RunProjectsLocationsWorkerPoolsSetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1Policy) The response message.
      r   r>   r@   rC   s       r3   r   z6RunV2.ProjectsLocationsWorkerPoolsService.SetIamPolicy  r   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )NzYv2/projects/{projectsId}/locations/{locationsId}/workerPools/{workerPoolsId}:setIamPolicyrH   z/run.projects.locations.workerPools.setIamPolicyr   r   r   2RunProjectsLocationsWorkerPoolsSetIamPolicyRequestr   FrM   rY   r[   r4   r3   r\   z2RunV2.ProjectsLocationsWorkerPoolsService.<lambda>  s4    )?)?mC"|L36N.*r4   c                 L    | j                  d      }| j                  |||      S )a  Returns permissions that a caller has on the specified Project. There are no permissions required for making this API call.

      Args:
        request: (RunProjectsLocationsWorkerPoolsTestIamPermissionsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleIamV1TestIamPermissionsResponse) The response message.
      r   r>   r@   rC   s       r3   r   z<RunV2.ProjectsLocationsWorkerPoolsService.TestIamPermissions  r   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz_v2/projects/{projectsId}/locations/{locationsId}/workerPools/{workerPoolsId}:testIamPermissionsrH   z5run.projects.locations.workerPools.testIamPermissionsr   r   r   8RunProjectsLocationsWorkerPoolsTestIamPermissionsRequestr   FrM   rY   r[   r4   r3   r\   z2RunV2.ProjectsLocationsWorkerPoolsService.<lambda>&  s4    x/E/EsI"|L9<TB0r4   r8   r!  rd   s   @r3   r*   r0  R  s    H,E
8F8F8C8"L8D8E8"L8($$r4   r*   c                        e Zd ZdZdZ fdZddZd e_        ddZd e_        ddZ	d	 e	_        dd
Z
d e
_         xZS )RunV2.ProjectsLocationsServicez2Service class for the projects_locations resource.r-   c                 N    t         t        j                  |   |       i | _        y r8   )r   r   r,   r   r9   r:   s     r3   r   z'RunV2.ProjectsLocationsService.__init__9  s"    E**D:6Bdr4   c                 L    | j                  d      }| j                  |||      S )a"  Export image for a given resource.

      Args:
        request: (RunProjectsLocationsExportImageRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudRunV2ExportImageResponse) The response message.
      ExportImager>   r@   rC   s       r3   rV  z*RunV2.ProjectsLocationsService.ExportImage>  s1     ##M2f__
'  8 8r4   c                  F    t        j                  ddddgdgg ddddd	
      S )NzKv2/projects/{projectsId}/locations/{locationsId}/{locationsId1}:exportImagerH   z"run.projects.locations.exportImagerm   zv2/{+name}:exportImage"googleCloudRunV2ExportImageRequest&RunProjectsLocationsExportImageRequest#GoogleCloudRunV2ExportImageResponseFrM   rY   r[   r4   r3   r\   z'RunV2.ProjectsLocationsService.<lambda>K  s4    (>(>_6xH.:B@)r4   c                 L    | j                  d      }| j                  |||      S )a(  Export image metadata for a given resource.

      Args:
        request: (RunProjectsLocationsExportImageMetadataRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudRunV2Metadata) The response message.
      ExportImageMetadatar>   r@   rC   s       r3   r\  z2RunV2.ProjectsLocationsService.ExportImageMetadataY  s2     ##$9:f__
'  8 8r4   c                  F    t        j                  ddddgdgg ddddd	
      S )NzSv2/projects/{projectsId}/locations/{locationsId}/{locationsId1}:exportImageMetadatarl   z*run.projects.locations.exportImageMetadatarm   zv2/{+name}:exportImageMetadataro   .RunProjectsLocationsExportImageMetadataRequestGoogleCloudRunV2MetadataFrM   rY   r[   r4   r3   r\   z'RunV2.ProjectsLocationsService.<lambda>f  s4    0F0Fg>xH6J51r4   c                 L    | j                  d      }| j                  |||      S )a0  Export generated customer metadata for a given resource.

      Args:
        request: (RunProjectsLocationsExportMetadataRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudRunV2Metadata) The response message.
      ExportMetadatar>   r@   rC   s       r3   ra  z-RunV2.ProjectsLocationsService.ExportMetadatat  s2     ##$45f__
'  8 8r4   c                  F    t        j                  ddddgdgg ddddd	
      S )NzNv2/projects/{projectsId}/locations/{locationsId}/{locationsId1}:exportMetadatarl   z%run.projects.locations.exportMetadatarm   zv2/{+name}:exportMetadataro   )RunProjectsLocationsExportMetadataRequestr_  FrM   rY   r[   r4   r3   r\   z'RunV2.ProjectsLocationsService.<lambda>  s4    8+A+Ab9xH1E5,r4   c                 L    | j                  d      }| j                  |||      S )a6  Export generated customer metadata for a given project.

      Args:
        request: (RunProjectsLocationsExportProjectMetadataRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (GoogleCloudRunV2Metadata) The response message.
      ExportProjectMetadatar>   r@   rC   s       r3   re  z4RunV2.ProjectsLocationsService.ExportProjectMetadata  s2     ##$;<f__
'  8 8r4   c                  F    t        j                  ddddgdgg ddddd	
      S )NzFv2/projects/{projectsId}/locations/{locationsId}:exportProjectMetadatarl   z,run.projects.locations.exportProjectMetadatarm   z v2/{+name}:exportProjectMetadataro   0RunProjectsLocationsExportProjectMetadataRequestr_  FrM   rY   r[   r4   r3   r\   z'RunV2.ProjectsLocationsService.<lambda>  s4    (2H2HZ@xH8L53r4   r8   )r]   r^   r_   r`   ra   r   rV  rb   r\  ra  re  rc   rd   s   @r3   r,   rS  4  sQ    < E
8!K8)%8$N 8+''r4   r,   c                   &     e Zd ZdZdZ fdZ xZS )RunV2.ProjectsServicez(Service class for the projects resource.r/   c                 N    t         t        j                  |   |       i | _        y r8   )r   r   r.   r   r9   r:   s     r3   r   zRunV2.ProjectsService.__init__  s"    E!!41&9dr4   )r]   r^   r_   r`   ra   r   rc   rd   s   @r3   r.   ri    s    2E r4   r.   )ro   NTNNFFNNNN) 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(   r*   r,   r.   rc   rd   s   @r3   r   r   
   s?   </*(4-(=>'(*"."+,()-6:/4<@?C	/6#x'>'> #J>H4K4K >@Ox/F/F Ob{X%<%< {zt8+B+B tlt(2I2I tl`)@)@ `DYX5L5L Yv`H,C,C `Dt!8!8 tl//  r4   r   N)
r`   
__future__r   apitools.base.pyr   ,googlecloudsdk.generated_clients.apis.run.v2r   rk  BaseApiClientr   r[   r4   r3   <module>r|     s'    2 ' % ThH"" hr4   