
                         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)z3Generated client library for cloudbuild version v2.    )absolute_import)base_api)cloudbuild_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 )#CloudbuildV2z;Generated client library for service cloudbuild version v2.z"https://cloudbuild.googleapis.com/z'https://cloudbuild.mtls.googleapis.com/
cloudbuildz.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 cloudbuild handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)BASE_URLsuperr   __init__/ProjectsLocationsConnectionsRepositoriesService+projects_locations_connections_repositories#ProjectsLocationsConnectionsServiceprojects_locations_connections"ProjectsLocationsOperationsServiceprojects_locations_operations$ProjectsLocationsPipelineRunsServiceprojects_locations_pipelineRuns&ProjectsLocationsResultsRecordsService"projects_locations_results_recordsProjectsLocationsResultsServiceprojects_locations_results ProjectsLocationsTaskRunsServiceprojects_locations_taskRuns+ProjectsLocationsWorkerPoolSecondGenService&projects_locations_workerPoolSecondGen!ProjectsLocationsWorkflowsServiceprojects_locations_workflowsProjectsLocationsServiceprojects_locationsProjectsServiceprojects)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               Olib/googlecloudsdk/generated_clients/apis/cloudbuild/v2/cloudbuild_v2_client.pyr   zCloudbuildV2.__init__   s    
C	,&'d%l)3 7+ ' - 8<7k7klp7qD4*.*R*RSW*XD')-)P)PQU)VD&+/+T+TUY+ZD(.2.Y.YZ^._D+&*&J&J4&PD#'+'L'LT'RD$262b2bcg2hD/(,(N(Nt(TD%";;DAD((.DM    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 )<CloudbuildV2.ProjectsLocationsConnectionsRepositoriesServicezKService class for the projects_locations_connections_repositories resource.r   c                 N    t         t        j                  |   |       i | _        y N)r   r   r   r   _upload_configsr0   clientr2   s     r3   r   zECloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.__init__;   s#    LHH$XY_`dr4   c                 L    | j                  d      }| j                  |||      S )a>  Fetches read token of a given repository.

      Args:
        request: (CloudbuildProjectsLocationsConnectionsRepositoriesAccessReadTokenRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (FetchReadTokenResponse) The response message.
      AccessReadTokenglobal_paramsGetMethodConfig
_RunMethodr0   requestr?   configs       r3   r=   zLCloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.AccessReadToken@   s2     ##$56f__
'  8 8r4   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzzv2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositories/{repositoriesId}:accessReadTokenPOSTzFcloudbuild.projects.locations.connections.repositories.accessReadToken
repositoryz v2/{+repository}:accessReadTokenfetchReadTokenRequestHCloudbuildProjectsLocationsConnectionsRepositoriesAccessReadTokenRequestFetchReadTokenResponseF	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>zECloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.<lambda>M   s7    H,B,B OZ$~!N8-d3-r4   c                 L    | j                  d      }| j                  |||      S )aN  Fetches read/write token of a given repository.

      Args:
        request: (CloudbuildProjectsLocationsConnectionsRepositoriesAccessReadWriteTokenRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (FetchReadWriteTokenResponse) The response message.
      AccessReadWriteTokenr>   r@   rC   s       r3   r]   zQCloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.AccessReadWriteToken[   s2     ##$:;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}/connections/{connectionsId}/repositories/{repositoriesId}:accessReadWriteTokenrG   zKcloudbuild.projects.locations.connections.repositories.accessReadWriteTokenrH   z%v2/{+repository}:accessReadWriteTokenfetchReadWriteTokenRequestMCloudbuildProjectsLocationsConnectionsRepositoriesAccessReadWriteTokenRequestFetchReadWriteTokenResponseFrL   rX   rZ   r4   r3   r[   zECloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.<lambda>h   s7    1G1G T_$~!N=2i82r4   c                 L    | j                  d      }| j                  |||      S )a6  Creates multiple repositories inside a connection.

      Args:
        request: (CloudbuildProjectsLocationsConnectionsRepositoriesBatchCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      BatchCreater>   r@   rC   s       r3   rc   zHCloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.BatchCreatev   s1     ##M2f__
'  8 8r4   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzev2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositories:batchCreaterG   zBcloudbuild.projects.locations.connections.repositories.batchCreateparentz%v2/{+parent}/repositories:batchCreatebatchCreateRepositoriesRequestDCloudbuildProjectsLocationsConnectionsRepositoriesBatchCreateRequest	OperationFrL   rX   rZ   r4   r3   r[   zECloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.<lambda>   s4    (>(>yV zJ=6`&)r4   c                 L    | j                  d      }| j                  |||      S )a  Creates a Repository.

      Args:
        request: (CloudbuildProjectsLocationsConnectionsRepositoriesCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      Creater>   r@   rC   s       r3   rj   zCCloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.Create   1     ##H-f__
'  8 8r4   c                  H    t        j                  ddddgdgdgdddd	d
      S )NYv2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositoriesrG   z=cloudbuild.projects.locations.connections.repositories.createre   repositoryIdv2/{+parent}/repositoriesrH   ?CloudbuildProjectsLocationsConnectionsRepositoriesCreateRequestrh   FrL   rX   rZ   r4   r3   r[   zECloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.<lambda>   s7    8#9#9mQ zJ$%1"[&$r4   c                 L    | j                  d      }| j                  |||      S )a  Deletes a single repository.

      Args:
        request: (CloudbuildProjectsLocationsConnectionsRepositoriesDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      Deleter>   r@   rC   s       r3   rr   zCCloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.Delete   rk   r4   c                  J    t        j                  ddddgdgddgddd	d
d      S )Njv2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositories/{repositoriesId}DELETEz=cloudbuild.projects.locations.connections.repositories.deletenameetagvalidateOnly
v2/{+name} ?CloudbuildProjectsLocationsConnectionsRepositoriesDeleteRequestrh   FrL   rX   rZ   r4   r3   r[   zECloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.<lambda>   s9    8#9#9~QxHn-"[&$r4   c                 L    | j                  d      }| j                  |||      S )aJ  Fetch the list of branches or tags for a given repository.

      Args:
        request: (CloudbuildProjectsLocationsConnectionsRepositoriesFetchGitRefsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (FetchGitRefsResponse) The response message.
      FetchGitRefsr>   r@   rC   s       r3   r}   zICloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.FetchGitRefs   1     ##N3f__
'  8 8r4   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nzwv2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositories/{repositoriesId}:fetchGitRefsGETzCcloudbuild.projects.locations.connections.repositories.fetchGitRefsrH   )pageSize	pageTokenrefTypezv2/{+repository}:fetchGitRefsrz   ECloudbuildProjectsLocationsConnectionsRepositoriesFetchGitRefsRequestFetchGitRefsResponseFrL   rX   rZ   r4   r3   r[   zECloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.<lambda>   s7    )?)? LW$~!N95a1*r4   c                 L    | j                  d      }| j                  |||      S )a!  Gets details of a single repository.

      Args:
        request: (CloudbuildProjectsLocationsConnectionsRepositoriesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Repository) The response message.
      Getr>   r@   rC   s       r3   r   z@CloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.Get   1     ##E*f__
'  8 8r4   c                  F    t        j                  ddddgdgg ddddd	
      S )Nrt   r   z:cloudbuild.projects.locations.connections.repositories.getrv   ry   rz   <CloudbuildProjectsLocationsConnectionsRepositoriesGetRequest
RepositoryFrL   rX   rZ   r4   r3   r[   zECloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.<lambda>   s4     6 6~NxH"X'!r4   c                 L    | j                  d      }| j                  |||      S )a5  Lists Repositories in a given connection.

      Args:
        request: (CloudbuildProjectsLocationsConnectionsRepositoriesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListRepositoriesResponse) The response message.
      Listr>   r@   rC   s       r3   r   zACloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.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 )Nrm   r   z;cloudbuild.projects.locations.connections.repositories.listre   )filterr   r   returnPartialSuccessro   rz   =CloudbuildProjectsLocationsConnectionsRepositoriesListRequestListRepositoriesResponseFrL   rX   rZ   r4   r3   r[   zECloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.<lambda>
  s4    !7!7mO zJP1Y5"r4   r8   )__name__
__module____qualname____doc___NAMEr   r=   method_configr]   rc   rj   rr   r}   r   r   __classcell__r2   s   @r3   r   r6   6   s    U9E
8%O!8*&8!K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_        ddZd e_         xZS )0CloudbuildV2.ProjectsLocationsConnectionsServicez>Service class for the projects_locations_connections resource.r   c                 N    t         t        j                  |   |       i | _        y r8   )r   r   r   r   r9   r:   s     r3   r   z9CloudbuildV2.ProjectsLocationsConnectionsService.__init__  s"    L<<dLVTdr4   c                 L    | j                  d      }| j                  |||      S )a  Creates a Connection.

      Args:
        request: (CloudbuildProjectsLocationsConnectionsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      rj   r>   r@   rC   s       r3   rj   z7CloudbuildV2.ProjectsLocationsConnectionsService.Create"  rk   r4   c                  H    t        j                  ddddgdgdgdddd	d
      S )N<v2/projects/{projectsId}/locations/{locationsId}/connectionsrG   z0cloudbuild.projects.locations.connections.createre   connectionIdv2/{+parent}/connections
connection3CloudbuildProjectsLocationsConnectionsCreateRequestrh   FrL   rX   rZ   r4   r3   r[   z9CloudbuildV2.ProjectsLocationsConnectionsService.<lambda>/  s7    8#9#9PD zJ$%0"O&$r4   c                 L    | j                  d      }| j                  |||      S )a  Deletes a single connection.

      Args:
        request: (CloudbuildProjectsLocationsConnectionsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      rr   r>   r@   rC   s       r3   rr   z7CloudbuildV2.ProjectsLocationsConnectionsService.Delete=  rk   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}/connections/{connectionsId}ru   z0cloudbuild.projects.locations.connections.deleterv   rw   rx   ry   rz   3CloudbuildProjectsLocationsConnectionsDeleteRequestrh   FrL   rX   rZ   r4   r3   r[   z9CloudbuildV2.ProjectsLocationsConnectionsService.<lambda>J  s9    8#9#9`DxHn-"O&$r4   c                 L    | j                  d      }| j                  |||      S )a  FetchLinkableRepositories get repositories from SCM that are accessible and could be added to the connection.

      Args:
        request: (CloudbuildProjectsLocationsConnectionsFetchLinkableRepositoriesRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (FetchLinkableRepositoriesResponse) The response message.
      FetchLinkableRepositoriesr>   r@   rC   s       r3   r   zJCloudbuildV2.ProjectsLocationsConnectionsService.FetchLinkableRepositoriesX  s2     ##$?@f__
'  8 8r4   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nzfv2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:fetchLinkableRepositoriesr   zCcloudbuild.projects.locations.connections.fetchLinkableRepositoriesr   r   r   z*v2/{+connection}:fetchLinkableRepositoriesrz   FCloudbuildProjectsLocationsConnectionsFetchLinkableRepositoriesRequest!FetchLinkableRepositoriesResponseFrL   rX   rZ   r4   r3   r[   z9CloudbuildV2.ProjectsLocationsConnectionsService.<lambda>e  s9    h6L6LzW$~!N +.Bb>7r4   c                 L    | j                  d      }| j                  |||      S )a  Gets details of a single connection.

      Args:
        request: (CloudbuildProjectsLocationsConnectionsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Connection) The response message.
      r   r>   r@   rC   s       r3   r   z4CloudbuildV2.ProjectsLocationsConnectionsService.Gets  r   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr   r   z-cloudbuild.projects.locations.connections.getrv   ry   rz   0CloudbuildProjectsLocationsConnectionsGetRequest
ConnectionFrL   rX   rZ   r4   r3   r[   z9CloudbuildV2.ProjectsLocationsConnectionsService.<lambda>  s4     6 6`AxH"L'!r4   c                 L    | j                  d      }| j                  |||      S )as  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: (CloudbuildProjectsLocationsConnectionsGetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      GetIamPolicyr>   r@   rC   s       r3   r   z=CloudbuildV2.ProjectsLocationsConnectionsService.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}/connections/{connectionsId}:getIamPolicyr   z6cloudbuild.projects.locations.connections.getIamPolicyresourceoptions_requestedPolicyVersionzv2/{+resource}:getIamPolicyrz   9CloudbuildProjectsLocationsConnectionsGetIamPolicyRequestPolicyFrL   rX   rZ   r4   r3   r[   z9CloudbuildV2.ProjectsLocationsConnectionsService.<lambda>  s7    )?)?mJ"|L673U#*r4   c                 L    | j                  d      }| j                  |||      S )a1  Lists Connections in a given project and location.

      Args:
        request: (CloudbuildProjectsLocationsConnectionsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListConnectionsResponse) The response message.
      r   r>   r@   rC   s       r3   r   z5CloudbuildV2.ProjectsLocationsConnectionsService.List  r   r4   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   r   z.cloudbuild.projects.locations.connections.listre   )r   r   r   r   rz   1CloudbuildProjectsLocationsConnectionsListRequestListConnectionsResponseFrL   rX   rZ   r4   r3   r[   z9CloudbuildV2.ProjectsLocationsConnectionsService.<lambda>  s4    !7!7PB zJF0M4"r4   c                 L    | j                  d      }| j                  |||      S )a  Updates a single connection.

      Args:
        request: (CloudbuildProjectsLocationsConnectionsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      Patchr>   r@   rC   s       r3   r   z6CloudbuildV2.ProjectsLocationsConnectionsService.Patch  1     ##G,f__
'  8 8r4   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   PATCHz/cloudbuild.projects.locations.connections.patchrv   )allowMissingrw   
updateMaskry   r   2CloudbuildProjectsLocationsConnectionsPatchRequestrh   FrL   rX   rZ   r4   r3   r[   z9CloudbuildV2.ProjectsLocationsConnectionsService.<lambda>  s4    ("8"8`CxH;""N&#r4   c                 L    | j                  d      }| j                  |||      S )a<  ProcessWebhook is called by the external SCM for notifying of events.

      Args:
        request: (CloudbuildProjectsLocationsConnectionsProcessWebhookRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      ProcessWebhookr>   r@   rC   s       r3   r   z?CloudbuildV2.ProjectsLocationsConnectionsService.ProcessWebhook  s2     ##$45f__
'  8 8r4   c                  H    t        j                  ddddgdgdgdddd	d
      S )NzKv2/projects/{projectsId}/locations/{locationsId}/connections:processWebhookrG   z8cloudbuild.projects.locations.connections.processWebhookre   
webhookKeyz'v2/{+parent}/connections:processWebhookhttpBody;CloudbuildProjectsLocationsConnectionsProcessWebhookRequestEmptyFrL   rX   rZ   r4   r3   r[   z9CloudbuildV2.ProjectsLocationsConnectionsService.<lambda>  s6    8+A+A_L zJ"^? W",r4   c                 L    | j                  d      }| j                  |||      S )a  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: (CloudbuildProjectsLocationsConnectionsSetIamPolicyRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Policy) The response message.
      SetIamPolicyr>   r@   rC   s       r3   r   z=CloudbuildV2.ProjectsLocationsConnectionsService.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}/connections/{connectionsId}:setIamPolicyrG   z6cloudbuild.projects.locations.connections.setIamPolicyr   zv2/{+resource}:setIamPolicysetIamPolicyRequest9CloudbuildProjectsLocationsConnectionsSetIamPolicyRequestr   FrL   rX   rZ   r4   r3   r[   z9CloudbuildV2.ProjectsLocationsConnectionsService.<lambda>  s4    )?)?mJ"|L3+U#*r4   c                 L    | j                  d      }| j                  |||      S )am  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: (CloudbuildProjectsLocationsConnectionsTestIamPermissionsRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (TestIamPermissionsResponse) The response message.
      TestIamPermissionsr>   r@   rC   s       r3   r   zCCloudbuildV2.ProjectsLocationsConnectionsService.TestIamPermissions  s2     ##$89f__
'  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}/connections/{connectionsId}:testIamPermissionsrG   z<cloudbuild.projects.locations.connections.testIamPermissionsr   z!v2/{+resource}:testIamPermissionstestIamPermissionsRequest?CloudbuildProjectsLocationsConnectionsTestIamPermissionsRequestTestIamPermissionsResponseFrL   rX   rZ   r4   r3   r[   z9CloudbuildV2.ProjectsLocationsConnectionsService.<lambda>"  s4    x/E/EsP"|L91[70r4   r8   )r   r   r   r   r   r   rj   r   rr   r   r   r   r   r   r   r   r   r   r   s   @r3   r   r     s    H,E
8F8F8/+8C8"L8D8E8$N 8"L8($$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 )	/CloudbuildV2.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   z8CloudbuildV2.ProjectsLocationsOperationsService.__init__5  s"    L;;TKFSdr4   c                 L    | j                  d      }| j                  |||      S )a9  Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.

      Args:
        request: (CloudbuildProjectsLocationsOperationsCancelRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      Cancelr>   r@   rC   s       r3   r   z6CloudbuildV2.ProjectsLocationsOperationsService.Cancel:  rk   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )NzQv2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancelrG   z/cloudbuild.projects.locations.operations.cancelrv   zv2/{+name}:cancelcancelOperationRequest2CloudbuildProjectsLocationsOperationsCancelRequestr   FrL   rX   rZ   r4   r3   r[   z8CloudbuildV2.ProjectsLocationsOperationsService.<lambda>G  s4    8#9#9eCxH).N"$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: (CloudbuildProjectsLocationsOperationsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   r>   r@   rC   s       r3   r   z3CloudbuildV2.ProjectsLocationsOperationsService.GetU  r   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )NzJv2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}r   z,cloudbuild.projects.locations.operations.getrv   ry   rz   /CloudbuildProjectsLocationsOperationsGetRequestrh   FrL   rX   rZ   r4   r3   r[   z8CloudbuildV2.ProjectsLocationsOperationsService.<lambda>b  s4     6 6^@xH"K&!r4   r8   )
r   r   r   r   r   r   r   r   r   r   r   s   @r3   r   r   0  s1    G+E
8F8C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 )1CloudbuildV2.ProjectsLocationsPipelineRunsServicez?Service class for the projects_locations_pipelineRuns resource.r!   c                 N    t         t        j                  |   |       i | _        y r8   )r   r   r    r   r9   r:   s     r3   r   z:CloudbuildV2.ProjectsLocationsPipelineRunsService.__init__u  s"    L==tMfUdr4   c                 L    | j                  d      }| j                  |||      S )a.  Creates a new PipelineRun in a given project and location.

      Args:
        request: (CloudbuildProjectsLocationsPipelineRunsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      rj   r>   r@   rC   s       r3   rj   z8CloudbuildV2.ProjectsLocationsPipelineRunsService.Createz  rk   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}/pipelineRunsrG   z1cloudbuild.projects.locations.pipelineRuns.createre   pipelineRunIdrx   v2/{+parent}/pipelineRunspipelineRun4CloudbuildProjectsLocationsPipelineRunsCreateRequestrh   FrL   rX   rZ   r4   r3   r[   z:CloudbuildV2.ProjectsLocationsPipelineRunsService.<lambda>  s9    8#9#9QE zJ%~61#P&$r4   c                 L    | j                  d      }| j                  |||      S )a  Gets details of a single PipelineRun.

      Args:
        request: (CloudbuildProjectsLocationsPipelineRunsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (PipelineRun) The response message.
      r   r>   r@   rC   s       r3   r   z5CloudbuildV2.ProjectsLocationsPipelineRunsService.Get  r   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )NNv2/projects/{projectsId}/locations/{locationsId}/pipelineRuns/{pipelineRunsId}r   z.cloudbuild.projects.locations.pipelineRuns.getrv   ry   rz   1CloudbuildProjectsLocationsPipelineRunsGetRequestPipelineRunFrL   rX   rZ   r4   r3   r[   z:CloudbuildV2.ProjectsLocationsPipelineRunsService.<lambda>  s4     6 6bBxH"M(!r4   c                 L    | j                  d      }| j                  |||      S )a4  Lists PipelineRuns in a given project and location.

      Args:
        request: (CloudbuildProjectsLocationsPipelineRunsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListPipelineRunsResponse) The response message.
      r   r>   r@   rC   s       r3   r   z6CloudbuildV2.ProjectsLocationsPipelineRunsService.List  r   r4   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   r   z/cloudbuild.projects.locations.pipelineRuns.listre   r   r   r   r   rz   2CloudbuildProjectsLocationsPipelineRunsListRequestListPipelineRunsResponseFrL   rX   rZ   r4   r3   r[   z:CloudbuildV2.ProjectsLocationsPipelineRunsService.<lambda>  s4    !7!7QC zJ81N5"r4   c                 L    | j                  d      }| j                  |||      S )a"  Updates the parameters of a single PipelineRun.

      Args:
        request: (CloudbuildProjectsLocationsPipelineRunsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   r>   r@   rC   s       r3   r   z7CloudbuildV2.ProjectsLocationsPipelineRunsService.Patch  r   r4   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   r   z0cloudbuild.projects.locations.pipelineRuns.patchrv   r   r   rx   ry   r   3CloudbuildProjectsLocationsPipelineRunsPatchRequestrh   FrL   rX   rZ   r4   r3   r[   z:CloudbuildV2.ProjectsLocationsPipelineRunsService.<lambda>  s4    ("8"8bDxHC"#O&#r4   r8   r   r   r   r   r   r   rj   r   r   r   r   r   r   s   @r3   r    r   p  sO    I-E
8F8C8D8E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 )	3CloudbuildV2.ProjectsLocationsResultsRecordsServicezBService class for the projects_locations_results_records resource.r#   c                 N    t         t        j                  |   |       i | _        y r8   )r   r   r"   r   r9   r:   s     r3   r   z<CloudbuildV2.ProjectsLocationsResultsRecordsService.__init__  s#    L??OPVWdr4   c                 L    | j                  d      }| j                  |||      S )a  Gets Records of a given project and location.

      Args:
        request: (CloudbuildProjectsLocationsResultsRecordsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Record) The response message.
      r   r>   r@   rC   s       r3   r   z7CloudbuildV2.ProjectsLocationsResultsRecordsService.Get  r   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )NzXv2/projects/{projectsId}/locations/{locationsId}/results/{resultsId}/records/{recordsId}r   z1cloudbuild.projects.locations.results.records.getrv   ry   rz   3CloudbuildProjectsLocationsResultsRecordsGetRequestRecordFrL   rX   rZ   r4   r3   r[   z<CloudbuildV2.ProjectsLocationsResultsRecordsService.<lambda>  s4     6 6lExH"O#!r4   c                 L    | j                  d      }| j                  |||      S )a,  Lists Records of a given project and location.

      Args:
        request: (CloudbuildProjectsLocationsResultsRecordsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListRecordsResponse) The response message.
      r   r>   r@   rC   s       r3   r   z8CloudbuildV2.ProjectsLocationsResultsRecordsService.List  r   r4   c                  J    t        j                  ddddgdgg ddddd	d
      S )NzLv2/projects/{projectsId}/locations/{locationsId}/results/{resultsId}/recordsr   z2cloudbuild.projects.locations.results.records.listre   r   zv2/{+parent}/recordsrz   4CloudbuildProjectsLocationsResultsRecordsListRequestListRecordsResponseFrL   rX   rZ   r4   r3   r[   z<CloudbuildV2.ProjectsLocationsResultsRecordsService.<lambda>  s4    !7!7`F zJ8,P0"r4   r8   
r   r   r   r   r   r   r   r   r   r   r   s   @r3   r"   r     s1    L0E
8C8D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 )	,CloudbuildV2.ProjectsLocationsResultsServicez:Service class for the projects_locations_results resource.r%   c                 N    t         t        j                  |   |       i | _        y r8   )r   r   r$   r   r9   r:   s     r3   r   z5CloudbuildV2.ProjectsLocationsResultsService.__init__+  s"    L88$HPdr4   c                 L    | j                  d      }| j                  |||      S )a  Gets Results of a given project and location.

      Args:
        request: (CloudbuildProjectsLocationsResultsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Result) The response message.
      r   r>   r@   rC   s       r3   r   z0CloudbuildV2.ProjectsLocationsResultsService.Get0  r   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )NzDv2/projects/{projectsId}/locations/{locationsId}/results/{resultsId}r   z)cloudbuild.projects.locations.results.getrv   ry   rz   ,CloudbuildProjectsLocationsResultsGetRequestResultFrL   rX   rZ   r4   r3   r[   z5CloudbuildV2.ProjectsLocationsResultsService.<lambda>=  s4     6 6X=xH"H#!r4   c                 L    | j                  d      }| j                  |||      S )a%  Lists Results of a given project and location.

      Args:
        request: (CloudbuildProjectsLocationsResultsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListResultsResponse) The response message.
      r   r>   r@   rC   s       r3   r   z1CloudbuildV2.ProjectsLocationsResultsService.ListK  r   r4   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nz8v2/projects/{projectsId}/locations/{locationsId}/resultsr   z*cloudbuild.projects.locations.results.listre   r   zv2/{+parent}/resultsrz   -CloudbuildProjectsLocationsResultsListRequestListResultsResponseFrL   rX   rZ   r4   r3   r[   z5CloudbuildV2.ProjectsLocationsResultsService.<lambda>X  s4    !7!7L> zJ8,I0"r4   r8   r  r   s   @r3   r$   r	  &  s1    D(E
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
_         xZS )-CloudbuildV2.ProjectsLocationsTaskRunsServicez;Service class for the projects_locations_taskRuns resource.r'   c                 N    t         t        j                  |   |       i | _        y r8   )r   r   r&   r   r9   r:   s     r3   r   z6CloudbuildV2.ProjectsLocationsTaskRunsService.__init__k  s"    L994I&Qdr4   c                 L    | j                  d      }| j                  |||      S )a&  Creates a new TaskRun in a given project and location.

      Args:
        request: (CloudbuildProjectsLocationsTaskRunsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      rj   r>   r@   rC   s       r3   rj   z4CloudbuildV2.ProjectsLocationsTaskRunsService.Createp  rk   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}/taskRunsrG   z-cloudbuild.projects.locations.taskRuns.createre   	taskRunIdrx   v2/{+parent}/taskRunstaskRun0CloudbuildProjectsLocationsTaskRunsCreateRequestrh   FrL   rX   rZ   r4   r3   r[   z6CloudbuildV2.ProjectsLocationsTaskRunsService.<lambda>}  s9    8#9#9MA zJ!>2-L&$r4   c                 L    | j                  d      }| j                  |||      S )a  Gets details of a single TaskRun.

      Args:
        request: (CloudbuildProjectsLocationsTaskRunsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (TaskRun) The response message.
      r   r>   r@   rC   s       r3   r   z1CloudbuildV2.ProjectsLocationsTaskRunsService.Get  r   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )NFv2/projects/{projectsId}/locations/{locationsId}/taskRuns/{taskRunsId}r   z*cloudbuild.projects.locations.taskRuns.getrv   ry   rz   -CloudbuildProjectsLocationsTaskRunsGetRequestTaskRunFrL   rX   rZ   r4   r3   r[   z6CloudbuildV2.ProjectsLocationsTaskRunsService.<lambda>  s4     6 6Z>xH"I$!r4   c                 L    | j                  d      }| j                  |||      S )a(  Lists TaskRuns in a given project and location.

      Args:
        request: (CloudbuildProjectsLocationsTaskRunsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListTaskRunsResponse) The response message.
      r   r>   r@   rC   s       r3   r   z2CloudbuildV2.ProjectsLocationsTaskRunsService.List  r   r4   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr  r   z+cloudbuild.projects.locations.taskRuns.listre   r   r  rz   .CloudbuildProjectsLocationsTaskRunsListRequestListTaskRunsResponseFrL   rX   rZ   r4   r3   r[   z6CloudbuildV2.ProjectsLocationsTaskRunsService.<lambda>  s4    !7!7M? zJ8-J1"r4   c                 L    | j                  d      }| j                  |||      S )a  Updates the parameters of a single TaskRun.

      Args:
        request: (CloudbuildProjectsLocationsTaskRunsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   r>   r@   rC   s       r3   r   z3CloudbuildV2.ProjectsLocationsTaskRunsService.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,cloudbuild.projects.locations.taskRuns.patchrv   r   ry   r  /CloudbuildProjectsLocationsTaskRunsPatchRequestrh   FrL   rX   rZ   r4   r3   r[   z6CloudbuildV2.ProjectsLocationsTaskRunsService.<lambda>  s4    ("8"8Z@xHC"K&#r4   r8   r   r   s   @r3   r&   r  f  sO    E)E
8F8C8D8E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 )8CloudbuildV2.ProjectsLocationsWorkerPoolSecondGenServicezFService class for the projects_locations_workerPoolSecondGen resource.r)   c                 N    t         t        j                  |   |       i | _        y r8   )r   r   r(   r   r9   r:   s     r3   r   zACloudbuildV2.ProjectsLocationsWorkerPoolSecondGenService.__init__  s#    LDDdTU[\dr4   c                 L    | j                  d      }| j                  |||      S )a  Creates a `WorkerPoolSecondGen`.

      Args:
        request: (CloudbuildProjectsLocationsWorkerPoolSecondGenCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      rj   r>   r@   rC   s       r3   rj   z?CloudbuildV2.ProjectsLocationsWorkerPoolSecondGenService.Create  rk   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}/workerPoolSecondGenrG   z8cloudbuild.projects.locations.workerPoolSecondGen.createre   rx   workerPoolSecondGenId v2/{+parent}/workerPoolSecondGenworkerPoolSecondGen;CloudbuildProjectsLocationsWorkerPoolSecondGenCreateRequestrh   FrL   rX   rZ   r4   r3   r[   zACloudbuildV2.ProjectsLocationsWorkerPoolSecondGenService.<lambda>  s:    8#9#9XL zJ$&=>8+W&$r4   c                 L    | j                  d      }| j                  |||      S )a  Deletes a `WorkerPoolSecondGen`.

      Args:
        request: (CloudbuildProjectsLocationsWorkerPoolSecondGenDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      rr   r>   r@   rC   s       r3   rr   z?CloudbuildV2.ProjectsLocationsWorkerPoolSecondGenService.Delete  rk   r4   c                  J    t        j                  ddddgdgg ddddd	d
      S )N\v2/projects/{projectsId}/locations/{locationsId}/workerPoolSecondGen/{workerPoolSecondGenId}ru   z8cloudbuild.projects.locations.workerPoolSecondGen.deleterv   )r   rw   rx   ry   rz   ;CloudbuildProjectsLocationsWorkerPoolSecondGenDeleteRequestrh   FrL   rX   rZ   r4   r3   r[   zACloudbuildV2.ProjectsLocationsWorkerPoolSecondGenService.<lambda>  s4    8#9#9pLxH="W&$r4   c                 L    | j                  d      }| j                  |||      S )a-  Returns details of a `WorkerPoolSecondGen`.

      Args:
        request: (CloudbuildProjectsLocationsWorkerPoolSecondGenGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (WorkerPoolSecondGen) The response message.
      r   r>   r@   rC   s       r3   r   z<CloudbuildV2.ProjectsLocationsWorkerPoolSecondGenService.Get  r   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr5  r   z5cloudbuild.projects.locations.workerPoolSecondGen.getrv   ry   rz   8CloudbuildProjectsLocationsWorkerPoolSecondGenGetRequestWorkerPoolSecondGenFrL   rX   rZ   r4   r3   r[   zACloudbuildV2.ProjectsLocationsWorkerPoolSecondGenService.<lambda>)  s4     6 6pIxH"T0!r4   c                 L    | j                  d      }| j                  |||      S )a+  Lists `WorkerPoolSecondGen`.

      Args:
        request: (CloudbuildProjectsLocationsWorkerPoolSecondGenListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListWorkerPoolSecondGenResponse) The response message.
      r   r>   r@   rC   s       r3   r   z=CloudbuildV2.ProjectsLocationsWorkerPoolSecondGenService.List7  r   r4   c                  J    t        j                  ddddgdgddgddd	d
d      S )Nr.  r   z6cloudbuild.projects.locations.workerPoolSecondGen.listre   r   r   r0  rz   9CloudbuildProjectsLocationsWorkerPoolSecondGenListRequestListWorkerPoolSecondGenResponseFrL   rX   rZ   r4   r3   r[   zACloudbuildV2.ProjectsLocationsWorkerPoolSecondGenService.<lambda>D  s9    !7!7XJ zJ +.8U<"r4   c                 L    | j                  d      }| j                  |||      S )a  Updates a `WorkerPoolSecondGen`.

      Args:
        request: (CloudbuildProjectsLocationsWorkerPoolSecondGenPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   r>   r@   rC   s       r3   r   z>CloudbuildV2.ProjectsLocationsWorkerPoolSecondGenService.PatchR  r   r4   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr5  r   z7cloudbuild.projects.locations.workerPoolSecondGen.patchrv   r   ry   r1  :CloudbuildProjectsLocationsWorkerPoolSecondGenPatchRequestrh   FrL   rX   rZ   r4   r3   r[   zACloudbuildV2.ProjectsLocationsWorkerPoolSecondGenService.<lambda>_  s4    ("8"8pKxHC"+V&#r4   r8   )r   r   r   r   r   r   rj   r   rr   r   r   r   r   r   s   @r3   r(   r*    s^    P4E
8F8F8C8D8E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_         xZS ).CloudbuildV2.ProjectsLocationsWorkflowsServicez<Service class for the projects_locations_workflows resource.r+   c                 N    t         t        j                  |   |       i | _        y r8   )r   r   r*   r   r9   r:   s     r3   r   z7CloudbuildV2.ProjectsLocationsWorkflowsService.__init__r  s"    L::DJ6Rdr4   c                 L    | j                  d      }| j                  |||      S )a(  Creates a new Workflow in a given project and location.

      Args:
        request: (CloudbuildProjectsLocationsWorkflowsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      rj   r>   r@   rC   s       r3   rj   z5CloudbuildV2.ProjectsLocationsWorkflowsService.Createw  rk   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}/workflowsrG   z.cloudbuild.projects.locations.workflows.createre   rx   
workflowIdv2/{+parent}/workflowsworkflow1CloudbuildProjectsLocationsWorkflowsCreateRequestrh   FrL   rX   rZ   r4   r3   r[   z7CloudbuildV2.ProjectsLocationsWorkflowsService.<lambda>  s9    8#9#9NB zJ$l3. M&$r4   c                 L    | j                  d      }| j                  |||      S )a  Deletes a single Workflow.

      Args:
        request: (CloudbuildProjectsLocationsWorkflowsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      rr   r>   r@   rC   s       r3   rr   z5CloudbuildV2.ProjectsLocationsWorkflowsService.Delete  rk   r4   c                  J    t        j                  ddddgdgddgddd	d
d      S )NHv2/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}ru   z.cloudbuild.projects.locations.workflows.deleterv   rw   rx   ry   rz   1CloudbuildProjectsLocationsWorkflowsDeleteRequestrh   FrL   rX   rZ   r4   r3   r[   z7CloudbuildV2.ProjectsLocationsWorkflowsService.<lambda>  s9    8#9#9\BxHn-"M&$r4   c                 L    | j                  d      }| j                  |||      S )a  Gets details of a single Workflow.

      Args:
        request: (CloudbuildProjectsLocationsWorkflowsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Workflow) The response message.
      r   r>   r@   rC   s       r3   r   z2CloudbuildV2.ProjectsLocationsWorkflowsService.Get  r   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )NrN  r   z+cloudbuild.projects.locations.workflows.getrv   ry   rz   .CloudbuildProjectsLocationsWorkflowsGetRequestWorkflowFrL   rX   rZ   r4   r3   r[   z7CloudbuildV2.ProjectsLocationsWorkflowsService.<lambda>  s4     6 6\?xH"J%!r4   c                 L    | j                  d      }| j                  |||      S )a+  Lists Workflows in a given project and location.

      Args:
        request: (CloudbuildProjectsLocationsWorkflowsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListWorkflowsResponse) The response message.
      r   r>   r@   rC   s       r3   r   z3CloudbuildV2.ProjectsLocationsWorkflowsService.List  r   r4   c                  J    t        j                  ddddgdgg ddddd	d
      S )NrG  r   z,cloudbuild.projects.locations.workflows.listre   )r   orderByr   r   rI  rz   /CloudbuildProjectsLocationsWorkflowsListRequestListWorkflowsResponseFrL   rX   rZ   r4   r3   r[   z7CloudbuildV2.ProjectsLocationsWorkflowsService.<lambda>  s4    !7!7N@ zJC.K2"r4   c                 L    | j                  d      }| j                  |||      S )a  Updates the parameters of a single Workflow.

      Args:
        request: (CloudbuildProjectsLocationsWorkflowsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   r>   r@   rC   s       r3   r   z4CloudbuildV2.ProjectsLocationsWorkflowsService.Patch  r   r4   c                  J    t        j                  ddddgdgg ddddd	d
      S )NrN  r   z-cloudbuild.projects.locations.workflows.patchrv   r   ry   rJ  0CloudbuildProjectsLocationsWorkflowsPatchRequestrh   FrL   rX   rZ   r4   r3   r[   z7CloudbuildV2.ProjectsLocationsWorkflowsService.<lambda>  s4    ("8"8\AxHC" L&#r4   c                 L    | j                  d      }| j                  |||      S )zRuns a Workflow.

      Args:
        request: (CloudbuildProjectsLocationsWorkflowsRunRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      Runr>   r@   rC   s       r3   r]  z2CloudbuildV2.ProjectsLocationsWorkflowsService.Run  r   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )NzLv2/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}:runrG   z+cloudbuild.projects.locations.workflows.runrv   zv2/{+name}:runrunWorkflowRequest.CloudbuildProjectsLocationsWorkflowsRunRequestrh   FrL   rX   rZ   r4   r3   r[   z7CloudbuildV2.ProjectsLocationsWorkflowsService.<lambda>  s4     6 6`?xH&*J&!r4   c                 L    | j                  d      }| j                  |||      S )aB  Processes webhooks posted towards a WorkflowTrigger.

      Args:
        request: (CloudbuildProjectsLocationsWorkflowsWebhookRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ProcessWorkflowTriggerWebhookResponse) The response message.
      Webhookr>   r@   rC   s       r3   rb  z6CloudbuildV2.ProjectsLocationsWorkflowsService.Webhook  s1     ##I.f__
'  8 8r4   c                  F    t        j                  ddddgdgg ddddd	
      S )NzPv2/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}:webhookrG   z/cloudbuild.projects.locations.workflows.webhookrJ  zv2/{+workflow}:webhook$processWorkflowTriggerWebhookRequest2CloudbuildProjectsLocationsWorkflowsWebhookRequest%ProcessWorkflowTriggerWebhookResponseFrL   rX   rZ   r4   r3   r[   z7CloudbuildV2.ProjectsLocationsWorkflowsService.<lambda>&  s4    H$:$:dC"|L.<NB%r4   r8   )r   r   r   r   r   r   rj   r   rr   r   r   r   r]  rb  r   r   s   @r3   r*   rC  m  s|    F*E
8F8F8C8D8E8C8G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 )	%CloudbuildV2.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.CloudbuildV2.ProjectsLocationsService.__init__9  s"    L114A&Idr4   c                 L    | j                  d      }| j                  |||      S )a  Gets information about a location.

      Args:
        request: (CloudbuildProjectsLocationsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Location) The response message.
      r   r>   r@   rC   s       r3   r   z)CloudbuildV2.ProjectsLocationsService.Get>  r   r4   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz0v2/projects/{projectsId}/locations/{locationsId}r   z!cloudbuild.projects.locations.getrv   ry   rz   %CloudbuildProjectsLocationsGetRequestLocationFrL   rX   rZ   r4   r3   r[   z.CloudbuildV2.ProjectsLocationsService.<lambda>K  s4     6 6D5xH"A%!r4   c                 L    | j                  d      }| j                  |||      S )a3  Lists information about the supported locations for this service.

      Args:
        request: (CloudbuildProjectsLocationsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListLocationsResponse) The response message.
      r   r>   r@   rC   s       r3   r   z*CloudbuildV2.ProjectsLocationsService.ListY  r   r4   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nz"v2/projects/{projectsId}/locationsr   z"cloudbuild.projects.locations.listrv   )extraLocationTypesr   r   r   zv2/{+name}/locationsrz   &CloudbuildProjectsLocationsListRequestListLocationsResponseFrL   rX   rZ   r4   r3   r[   z.CloudbuildV2.ProjectsLocationsService.<lambda>f  s4    !7!766xHN,B2"r4   r8   r  r   s   @r3   r,   rh  4  s1    < E
8C8Dr4   r,   c                   &     e Zd ZdZdZ fdZ xZS )CloudbuildV2.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%CloudbuildV2.ProjectsService.__init__y  s"    L(($8@dr4   )r   r   r   r   r   r   r   r   s   @r3   r.   rt  t  s    2E r4   r.   )rz   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.   r   r   s   @r3   r   r   
   s;   C/1(;-(=>'(*"."+%,()-6:/4<@?C	/6`8O8O `DVH,C,C Vp>8+B+B >@tX-D-D tl>x/F/F >@>(?(? >@t)@)@ tlOH4K4K ObE(*A*A EN>!8!8 >@//  r4   r   N)
r   
__future__r   apitools.base.pyr   3googlecloudsdk.generated_clients.apis.cloudbuild.v2r   rv  BaseApiClientr   rZ   r4   r3   <module>r     s'    9 ' % br8)) rr4   