
                         V    S r SSKJr  SSKJr  SSKJr   " S S\R                  5      r	g)z3Generated client library for cloudbuild version v2.    )absolute_import)base_api)cloudbuild_v2_messagesc                   :  ^  \ rS rSrSr\rSrSrSr	S/r
SrSrS	rS
rS rSrSr     S$U 4S jjr " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S \R(                  5      r " S! S"\R(                  5      rS#r U =r!$ )%CloudbuildV2
   z;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                 D  > U=(       d    U R                   n[        [        U ]  XX4UXgUU	U
US9  U R	                  U 5      U l        U R                  U 5      U l        U R                  U 5      U l	        U R                  U 5      U l        U R                  U 5      U l        U R                  U 5      U l        U R!                  U 5      U l        U R%                  U 5      U l        U R)                  U 5      U l        U R-                  U 5      U l        U R1                  U 5      U l        g)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   CloudbuildV2.__init__   s    
C	,&'%)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                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ )<CloudbuildV2.ProjectsLocationsConnectionsRepositoriesService6   zKService class for the projects_locations_connections_repositories resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g N)r   r   r   r   _upload_configsr1   clientr3   s     r4   r   ECloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.__init__;   s#    LHH$XY_`dr6   c                 D    U R                  S5      nU R                  X1US9$ )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r1   requestrC   configs       r4   rA   LCloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.AccessReadToken@   s0     ##$56f__
  8 8r6   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )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 r6   r4   <lambda>ECloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.<lambda>M   s7    H,B,B OZ$~!N8-d3-r6   c                 D    U R                  S5      nU R                  X1US9$ )a*  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.
AccessReadWriteTokenrB   rD   rG   s       r4   rc   QCloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.AccessReadWriteToken[   s0     ##$:;f__
  8 8r6   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzv2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositories/{repositoriesId}:accessReadWriteTokenrL   zKcloudbuild.projects.locations.connections.repositories.accessReadWriteTokenrM   z%v2/{+repository}:accessReadWriteTokenfetchReadWriteTokenRequestMCloudbuildProjectsLocationsConnectionsRepositoriesAccessReadWriteTokenRequestFetchReadWriteTokenResponseFrQ   r]   r_   r6   r4   r`   ra   h   s7    1G1G T_$~!N=2i82r6   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates multiple repositories inside a connection.

Args:
  request: (CloudbuildProjectsLocationsConnectionsRepositoriesBatchCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
BatchCreaterB   rD   rG   s       r4   rj   HCloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.BatchCreatev   s/     ##M2f__
  8 8r6   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzev2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositories:batchCreaterL   zBcloudbuild.projects.locations.connections.repositories.batchCreateparentz%v2/{+parent}/repositories:batchCreatebatchCreateRepositoriesRequestDCloudbuildProjectsLocationsConnectionsRepositoriesBatchCreateRequest	OperationFrQ   r]   r_   r6   r4   r`   ra      s4    (>(>yV zJ=6`&)r6   c                 D    U R                  S5      nU R                  X1US9$ )zCreates a Repository.

Args:
  request: (CloudbuildProjectsLocationsConnectionsRepositoriesCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
CreaterB   rD   rG   s       r4   rr   CCloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.Create   /     ##H-f__
  8 8r6   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NYv2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositoriesrL   z=cloudbuild.projects.locations.connections.repositories.createrm   repositoryIdv2/{+parent}/repositoriesrM   ?CloudbuildProjectsLocationsConnectionsRepositoriesCreateRequestrp   FrQ   r]   r_   r6   r4   r`   ra      s7    8#9#9mQ zJ$%1"[&$r6   c                 D    U R                  S5      nU R                  X1US9$ )zDeletes a single repository.

Args:
  request: (CloudbuildProjectsLocationsConnectionsRepositoriesDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
DeleterB   rD   rG   s       r4   r{   CCloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.Delete   rt   r6   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Njv2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositories/{repositoriesId}DELETEz=cloudbuild.projects.locations.connections.repositories.deletenameetagvalidateOnly
v2/{+name} ?CloudbuildProjectsLocationsConnectionsRepositoriesDeleteRequestrp   FrQ   r]   r_   r6   r4   r`   ra      s9    8#9#9~QxHn-"[&$r6   c                 D    U R                  S5      nU R                  X1US9$ )a&  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.
FetchGitRefsrB   rD   rG   s       r4   r   ICloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.FetchGitRefs   /     ##N3f__
  8 8r6   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nzwv2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/repositories/{repositoriesId}:fetchGitRefsGETzCcloudbuild.projects.locations.connections.repositories.fetchGitRefsrM   )pageSize	pageTokenrefTypezv2/{+repository}:fetchGitRefsr   ECloudbuildProjectsLocationsConnectionsRepositoriesFetchGitRefsRequestFetchGitRefsResponseFrQ   r]   r_   r6   r4   r`   ra      s7    )?)? LW$~!N95a1*r6   c                 D    U R                  S5      nU R                  X1US9$ )zGets details of a single repository.

Args:
  request: (CloudbuildProjectsLocationsConnectionsRepositoriesGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Repository) The response message.
GetrB   rD   rG   s       r4   r   @CloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.Get   /     ##E*f__
  8 8r6   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr~   r   z:cloudbuild.projects.locations.connections.repositories.getr   r   r   <CloudbuildProjectsLocationsConnectionsRepositoriesGetRequest
RepositoryFrQ   r]   r_   r6   r4   r`   ra      s4     6 6~NxH"X'!r6   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists Repositories in a given connection.

Args:
  request: (CloudbuildProjectsLocationsConnectionsRepositoriesListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListRepositoriesResponse) The response message.
ListrB   rD   rG   s       r4   r   ACloudbuildV2.ProjectsLocationsConnectionsRepositoriesService.List   /     ##F+f__
  8 8r6   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nrv   r   z;cloudbuild.projects.locations.connections.repositories.listrm   )filterr   r   returnPartialSuccessrx   r   =CloudbuildProjectsLocationsConnectionsRepositoriesListRequestListRepositoriesResponseFrQ   r]   r_   r6   r4   r`   ra   
  s4    !7!7mO zJP1Y5"r6   r<   r;   )__name__
__module____qualname____firstlineno____doc___NAMEr   rA   method_configrc   rj   rr   r{   r   r   r   __static_attributes____classcell__r3   s   @r4   r   r8   6   s    U9E
8%O!8*&8!K8F8F8"L8C8Dr6   r   c                   4  ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ )0CloudbuildV2.ProjectsLocationsConnectionsServicei  z>Service class for the projects_locations_connections resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r;   )r   r   r   r   r<   r=   s     r4   r   9CloudbuildV2.ProjectsLocationsConnectionsService.__init__  s"    L<<dLVTdr6   c                 D    U R                  S5      nU R                  X1US9$ )zCreates a Connection.

Args:
  request: (CloudbuildProjectsLocationsConnectionsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
rr   rB   rD   rG   s       r4   rr   7CloudbuildV2.ProjectsLocationsConnectionsService.Create"  rt   r6   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )N<v2/projects/{projectsId}/locations/{locationsId}/connectionsrL   z0cloudbuild.projects.locations.connections.createrm   connectionIdv2/{+parent}/connections
connection3CloudbuildProjectsLocationsConnectionsCreateRequestrp   FrQ   r]   r_   r6   r4   r`   9CloudbuildV2.ProjectsLocationsConnectionsService.<lambda>/  s7    8#9#9PD zJ$%0"O&$r6   c                 D    U R                  S5      nU R                  X1US9$ )zDeletes a single connection.

Args:
  request: (CloudbuildProjectsLocationsConnectionsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r{   rB   rD   rG   s       r4   r{   7CloudbuildV2.ProjectsLocationsConnectionsService.Delete=  rt   r6   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )NLv2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}r   z0cloudbuild.projects.locations.connections.deleter   r   r   r   r   3CloudbuildProjectsLocationsConnectionsDeleteRequestrp   FrQ   r]   r_   r6   r4   r`   r   J  s9    8#9#9`DxHn-"O&$r6   c                 D    U R                  S5      nU R                  X1US9$ )ag  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.
FetchLinkableRepositoriesrB   rD   rG   s       r4   r   JCloudbuildV2.ProjectsLocationsConnectionsService.FetchLinkableRepositoriesX  s0     ##$?@f__
  8 8r6   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nzfv2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:fetchLinkableRepositoriesr   zCcloudbuild.projects.locations.connections.fetchLinkableRepositoriesr   r   r   z*v2/{+connection}:fetchLinkableRepositoriesr   FCloudbuildProjectsLocationsConnectionsFetchLinkableRepositoriesRequest!FetchLinkableRepositoriesResponseFrQ   r]   r_   r6   r4   r`   r   e  s9    h6L6LzW$~!N +.Bb>7r6   c                 D    U R                  S5      nU R                  X1US9$ )zGets details of a single connection.

Args:
  request: (CloudbuildProjectsLocationsConnectionsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Connection) The response message.
r   rB   rD   rG   s       r4   r   4CloudbuildV2.ProjectsLocationsConnectionsService.Gets  r   r6   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr   r   z-cloudbuild.projects.locations.connections.getr   r   r   0CloudbuildProjectsLocationsConnectionsGetRequest
ConnectionFrQ   r]   r_   r6   r4   r`   r     s4     6 6`AxH"L'!r6   c                 D    U R                  S5      nU R                  X1US9$ )aO  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.
GetIamPolicyrB   rD   rG   s       r4   r   =CloudbuildV2.ProjectsLocationsConnectionsService.GetIamPolicy  r   r6   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NzYv2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:getIamPolicyr   z6cloudbuild.projects.locations.connections.getIamPolicyresourceoptions_requestedPolicyVersionzv2/{+resource}:getIamPolicyr   9CloudbuildProjectsLocationsConnectionsGetIamPolicyRequestPolicyFrQ   r]   r_   r6   r4   r`   r     s7    )?)?mJ"|L673U#*r6   c                 D    U R                  S5      nU R                  X1US9$ )a  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   rB   rD   rG   s       r4   r   5CloudbuildV2.ProjectsLocationsConnectionsService.List  r   r6   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr   r   z.cloudbuild.projects.locations.connections.listrm   )r   r   r   r   r   1CloudbuildProjectsLocationsConnectionsListRequestListConnectionsResponseFrQ   r]   r_   r6   r4   r`   r     s4    !7!7PB zJF0M4"r6   c                 D    U R                  S5      nU R                  X1US9$ )zUpdates a single connection.

Args:
  request: (CloudbuildProjectsLocationsConnectionsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
PatchrB   rD   rG   s       r4   r   6CloudbuildV2.ProjectsLocationsConnectionsService.Patch  /     ##G,f__
  8 8r6   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr   PATCHz/cloudbuild.projects.locations.connections.patchr   )allowMissingr   
updateMaskr   r   2CloudbuildProjectsLocationsConnectionsPatchRequestrp   FrQ   r]   r_   r6   r4   r`   r     s4    ("8"8`CxH;""N&#r6   c                 D    U R                  S5      nU R                  X1US9$ )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.
ProcessWebhookrB   rD   rG   s       r4   r   ?CloudbuildV2.ProjectsLocationsConnectionsService.ProcessWebhook  s0     ##$45f__
  8 8r6   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NzKv2/projects/{projectsId}/locations/{locationsId}/connections:processWebhookrL   z8cloudbuild.projects.locations.connections.processWebhookrm   
webhookKeyz'v2/{+parent}/connections:processWebhookhttpBody;CloudbuildProjectsLocationsConnectionsProcessWebhookRequestEmptyFrQ   r]   r_   r6   r4   r`   r     s6    8+A+A_L zJ"^? W",r6   c                 D    U R                  S5      nU R                  X1US9$ )au  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.
SetIamPolicyrB   rD   rG   s       r4   r   =CloudbuildV2.ProjectsLocationsConnectionsService.SetIamPolicy  r   r6   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzYv2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:setIamPolicyrL   z6cloudbuild.projects.locations.connections.setIamPolicyr   zv2/{+resource}:setIamPolicysetIamPolicyRequest9CloudbuildProjectsLocationsConnectionsSetIamPolicyRequestr   FrQ   r]   r_   r6   r4   r`   r     s4    )?)?mJ"|L3+U#*r6   c                 D    U R                  S5      nU R                  X1US9$ )aI  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.
TestIamPermissionsrB   rD   rG   s       r4   r   CCloudbuildV2.ProjectsLocationsConnectionsService.TestIamPermissions  s0     ##$89f__
  8 8r6   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz_v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}:testIamPermissionsrL   z<cloudbuild.projects.locations.connections.testIamPermissionsr   z!v2/{+resource}:testIamPermissionstestIamPermissionsRequest?CloudbuildProjectsLocationsConnectionsTestIamPermissionsRequestTestIamPermissionsResponseFrQ   r]   r_   r6   r4   r`   r   "  s4    x/E/EsP"|L91[70r6   r   r;   )r   r   r   r   r   r   r   rr   r   r{   r   r   r   r   r   r   r   r   r   r   r   s   @r4   r   r     s    H,E
8F8F8/+8C8"L8D8E8$N 8"L8($$r6   r   c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ )/CloudbuildV2.ProjectsLocationsOperationsServicei0  z=Service class for the projects_locations_operations resource.r    c                 N   > [         [        R                  U ]  U5        0 U l        g r;   )r   r   r   r   r<   r=   s     r4   r   8CloudbuildV2.ProjectsLocationsOperationsService.__init__5  s"    L;;TKFSdr6   c                 D    U R                  S5      nU R                  X1US9$ )a  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.
CancelrB   rD   rG   s       r4   r   6CloudbuildV2.ProjectsLocationsOperationsService.Cancel:  rt   r6   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzQv2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancelrL   z/cloudbuild.projects.locations.operations.cancelr   zv2/{+name}:cancelcancelOperationRequest2CloudbuildProjectsLocationsOperationsCancelRequestr   FrQ   r]   r_   r6   r4   r`   8CloudbuildV2.ProjectsLocationsOperationsService.<lambda>G  s4    8#9#9eCxH).N"$r6   c                 D    U R                  S5      nU R                  X1US9$ )af  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   rB   rD   rG   s       r4   r   3CloudbuildV2.ProjectsLocationsOperationsService.GetU  r   r6   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzJv2/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}r   z,cloudbuild.projects.locations.operations.getr   r   r   /CloudbuildProjectsLocationsOperationsGetRequestrp   FrQ   r]   r_   r6   r4   r`   r   b  s4     6 6^@xH"K&!r6   r   r;   )r   r   r   r   r   r   r   r   r   r   r   r   r   s   @r4   r   r   0  s1    G+E
8F8Cr6   r   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SrU =r$ )1CloudbuildV2.ProjectsLocationsPipelineRunsServiceip  z?Service class for the projects_locations_pipelineRuns resource.r"   c                 N   > [         [        R                  U ]  U5        0 U l        g r;   )r   r   r!   r   r<   r=   s     r4   r   :CloudbuildV2.ProjectsLocationsPipelineRunsService.__init__u  s"    L==tMfUdr6   c                 D    U R                  S5      nU R                  X1US9$ )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.
rr   rB   rD   rG   s       r4   rr   8CloudbuildV2.ProjectsLocationsPipelineRunsService.Createz  rt   r6   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )N=v2/projects/{projectsId}/locations/{locationsId}/pipelineRunsrL   z1cloudbuild.projects.locations.pipelineRuns.createrm   pipelineRunIdr   v2/{+parent}/pipelineRunspipelineRun4CloudbuildProjectsLocationsPipelineRunsCreateRequestrp   FrQ   r]   r_   r6   r4   r`   :CloudbuildV2.ProjectsLocationsPipelineRunsService.<lambda>  s9    8#9#9QE zJ%~61#P&$r6   c                 D    U R                  S5      nU R                  X1US9$ )zGets details of a single PipelineRun.

Args:
  request: (CloudbuildProjectsLocationsPipelineRunsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (PipelineRun) The response message.
r   rB   rD   rG   s       r4   r   5CloudbuildV2.ProjectsLocationsPipelineRunsService.Get  r   r6   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NNv2/projects/{projectsId}/locations/{locationsId}/pipelineRuns/{pipelineRunsId}r   z.cloudbuild.projects.locations.pipelineRuns.getr   r   r   1CloudbuildProjectsLocationsPipelineRunsGetRequestPipelineRunFrQ   r]   r_   r6   r4   r`   r    s4     6 6bBxH"M(!r6   c                 D    U R                  S5      nU R                  X1US9$ )a  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   rB   rD   rG   s       r4   r   6CloudbuildV2.ProjectsLocationsPipelineRunsService.List  r   r6   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr
  r   z/cloudbuild.projects.locations.pipelineRuns.listrm   r   r   r   r  r   2CloudbuildProjectsLocationsPipelineRunsListRequestListPipelineRunsResponseFrQ   r]   r_   r6   r4   r`   r    s4    !7!7QC zJ81N5"r6   c                 D    U R                  S5      nU R                  X1US9$ )zUpdates the parameters of a single PipelineRun.

Args:
  request: (CloudbuildProjectsLocationsPipelineRunsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r   rB   rD   rG   s       r4   r   7CloudbuildV2.ProjectsLocationsPipelineRunsService.Patch  r   r6   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr  r   z0cloudbuild.projects.locations.pipelineRuns.patchr   r   r   r   r   r  3CloudbuildProjectsLocationsPipelineRunsPatchRequestrp   FrQ   r]   r_   r6   r4   r`   r    s4    ("8"8bDxHC"#O&#r6   r   r;   r   r   r   r   r   r   r   rr   r   r   r   r   r   r   r   s   @r4   r!   r  p  sO    I-E
8F8C8D8Er6   r!   c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ )3CloudbuildV2.ProjectsLocationsResultsRecordsServicei  zBService class for the projects_locations_results_records resource.r$   c                 N   > [         [        R                  U ]  U5        0 U l        g r;   )r   r   r#   r   r<   r=   s     r4   r   <CloudbuildV2.ProjectsLocationsResultsRecordsService.__init__  s#    L??OPVWdr6   c                 D    U R                  S5      nU R                  X1US9$ )zGets 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   rB   rD   rG   s       r4   r   7CloudbuildV2.ProjectsLocationsResultsRecordsService.Get  r   r6   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzXv2/projects/{projectsId}/locations/{locationsId}/results/{resultsId}/records/{recordsId}r   z1cloudbuild.projects.locations.results.records.getr   r   r   3CloudbuildProjectsLocationsResultsRecordsGetRequestRecordFrQ   r]   r_   r6   r4   r`   <CloudbuildV2.ProjectsLocationsResultsRecordsService.<lambda>  s4     6 6lExH"O#!r6   c                 D    U R                  S5      nU R                  X1US9$ )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   rB   rD   rG   s       r4   r   8CloudbuildV2.ProjectsLocationsResultsRecordsService.List  r   r6   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )NzLv2/projects/{projectsId}/locations/{locationsId}/results/{resultsId}/recordsr   z2cloudbuild.projects.locations.results.records.listrm   r  zv2/{+parent}/recordsr   4CloudbuildProjectsLocationsResultsRecordsListRequestListRecordsResponseFrQ   r]   r_   r6   r4   r`   r+    s4    !7!7`F zJ8,P0"r6   r   r;   r   r   r   r   r   r   r   r   r   r   r   r   r   s   @r4   r#   r#    s1    L0E
8C8Dr6   r#   c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ ),CloudbuildV2.ProjectsLocationsResultsServicei&  z:Service class for the projects_locations_results resource.r&   c                 N   > [         [        R                  U ]  U5        0 U l        g r;   )r   r   r%   r   r<   r=   s     r4   r   5CloudbuildV2.ProjectsLocationsResultsService.__init__+  s"    L88$HPdr6   c                 D    U R                  S5      nU R                  X1US9$ )zGets 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   rB   rD   rG   s       r4   r   0CloudbuildV2.ProjectsLocationsResultsService.Get0  r   r6   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzDv2/projects/{projectsId}/locations/{locationsId}/results/{resultsId}r   z)cloudbuild.projects.locations.results.getr   r   r   ,CloudbuildProjectsLocationsResultsGetRequestResultFrQ   r]   r_   r6   r4   r`   5CloudbuildV2.ProjectsLocationsResultsService.<lambda>=  s4     6 6X=xH"H#!r6   c                 D    U R                  S5      nU R                  X1US9$ )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   rB   rD   rG   s       r4   r   1CloudbuildV2.ProjectsLocationsResultsService.ListK  r   r6   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz8v2/projects/{projectsId}/locations/{locationsId}/resultsr   z*cloudbuild.projects.locations.results.listrm   r  zv2/{+parent}/resultsr   -CloudbuildProjectsLocationsResultsListRequestListResultsResponseFrQ   r]   r_   r6   r4   r`   r;  X  s4    !7!7L> zJ8,I0"r6   r   r;   r1  r   s   @r4   r%   r3  &  s1    D(E
8C8Dr6   r%   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SrU =r$ )-CloudbuildV2.ProjectsLocationsTaskRunsServiceif  z;Service class for the projects_locations_taskRuns resource.r(   c                 N   > [         [        R                  U ]  U5        0 U l        g r;   )r   r   r'   r   r<   r=   s     r4   r   6CloudbuildV2.ProjectsLocationsTaskRunsService.__init__k  s"    L994I&Qdr6   c                 D    U R                  S5      nU R                  X1US9$ )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.
rr   rB   rD   rG   s       r4   rr   4CloudbuildV2.ProjectsLocationsTaskRunsService.Createp  rt   r6   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )N9v2/projects/{projectsId}/locations/{locationsId}/taskRunsrL   z-cloudbuild.projects.locations.taskRuns.createrm   	taskRunIdr   v2/{+parent}/taskRunstaskRun0CloudbuildProjectsLocationsTaskRunsCreateRequestrp   FrQ   r]   r_   r6   r4   r`   6CloudbuildV2.ProjectsLocationsTaskRunsService.<lambda>}  s9    8#9#9MA zJ!>2-L&$r6   c                 D    U R                  S5      nU R                  X1US9$ )zGets details of a single TaskRun.

Args:
  request: (CloudbuildProjectsLocationsTaskRunsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (TaskRun) The response message.
r   rB   rD   rG   s       r4   r   1CloudbuildV2.ProjectsLocationsTaskRunsService.Get  r   r6   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NFv2/projects/{projectsId}/locations/{locationsId}/taskRuns/{taskRunsId}r   z*cloudbuild.projects.locations.taskRuns.getr   r   r   -CloudbuildProjectsLocationsTaskRunsGetRequestTaskRunFrQ   r]   r_   r6   r4   r`   rM    s4     6 6Z>xH"I$!r6   c                 D    U R                  S5      nU R                  X1US9$ )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   rB   rD   rG   s       r4   r   2CloudbuildV2.ProjectsLocationsTaskRunsService.List  r   r6   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )NrH  r   z+cloudbuild.projects.locations.taskRuns.listrm   r  rJ  r   .CloudbuildProjectsLocationsTaskRunsListRequestListTaskRunsResponseFrQ   r]   r_   r6   r4   r`   rM    s4    !7!7M? zJ8-J1"r6   c                 D    U R                  S5      nU R                  X1US9$ )zUpdates the parameters of a single TaskRun.

Args:
  request: (CloudbuildProjectsLocationsTaskRunsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r   rB   rD   rG   s       r4   r   3CloudbuildV2.ProjectsLocationsTaskRunsService.Patch  r   r6   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )NrQ  r   z,cloudbuild.projects.locations.taskRuns.patchr   r  r   rK  /CloudbuildProjectsLocationsTaskRunsPatchRequestrp   FrQ   r]   r_   r6   r4   r`   rM    s4    ("8"8Z@xHC"K&#r6   r   r;   r!  r   s   @r4   r'   rB  f  sO    E)E
8F8C8D8Er6   r'   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SrU =r$ )8CloudbuildV2.ProjectsLocationsWorkerPoolSecondGenServicei  zFService class for the projects_locations_workerPoolSecondGen resource.r*   c                 N   > [         [        R                  U ]  U5        0 U l        g r;   )r   r   r)   r   r<   r=   s     r4   r   ACloudbuildV2.ProjectsLocationsWorkerPoolSecondGenService.__init__  s#    LDDdTU[\dr6   c                 D    U R                  S5      nU R                  X1US9$ )zCreates a `WorkerPoolSecondGen`.

Args:
  request: (CloudbuildProjectsLocationsWorkerPoolSecondGenCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
rr   rB   rD   rG   s       r4   rr   ?CloudbuildV2.ProjectsLocationsWorkerPoolSecondGenService.Create  rt   r6   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )NDv2/projects/{projectsId}/locations/{locationsId}/workerPoolSecondGenrL   z8cloudbuild.projects.locations.workerPoolSecondGen.createrm   r   workerPoolSecondGenId v2/{+parent}/workerPoolSecondGenworkerPoolSecondGen;CloudbuildProjectsLocationsWorkerPoolSecondGenCreateRequestrp   FrQ   r]   r_   r6   r4   r`   ACloudbuildV2.ProjectsLocationsWorkerPoolSecondGenService.<lambda>  s:    8#9#9XL zJ$&=>8+W&$r6   c                 D    U R                  S5      nU R                  X1US9$ )zDeletes a `WorkerPoolSecondGen`.

Args:
  request: (CloudbuildProjectsLocationsWorkerPoolSecondGenDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r{   rB   rD   rG   s       r4   r{   ?CloudbuildV2.ProjectsLocationsWorkerPoolSecondGenService.Delete  rt   r6   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )N\v2/projects/{projectsId}/locations/{locationsId}/workerPoolSecondGen/{workerPoolSecondGenId}r   z8cloudbuild.projects.locations.workerPoolSecondGen.deleter   )r   r   r   r   r   ;CloudbuildProjectsLocationsWorkerPoolSecondGenDeleteRequestrp   FrQ   r]   r_   r6   r4   r`   ri    s4    8#9#9pLxH="W&$r6   c                 D    U R                  S5      nU R                  X1US9$ )a	  Returns details of a `WorkerPoolSecondGen`.

Args:
  request: (CloudbuildProjectsLocationsWorkerPoolSecondGenGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (WorkerPoolSecondGen) The response message.
r   rB   rD   rG   s       r4   r   <CloudbuildV2.ProjectsLocationsWorkerPoolSecondGenService.Get  r   r6   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nrm  r   z5cloudbuild.projects.locations.workerPoolSecondGen.getr   r   r   8CloudbuildProjectsLocationsWorkerPoolSecondGenGetRequestWorkerPoolSecondGenFrQ   r]   r_   r6   r4   r`   ri  )  s4     6 6pIxH"T0!r6   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists `WorkerPoolSecondGen`.

Args:
  request: (CloudbuildProjectsLocationsWorkerPoolSecondGenListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListWorkerPoolSecondGenResponse) The response message.
r   rB   rD   rG   s       r4   r   =CloudbuildV2.ProjectsLocationsWorkerPoolSecondGenService.List7  r   r6   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nrd  r   z6cloudbuild.projects.locations.workerPoolSecondGen.listrm   r   r   rf  r   9CloudbuildProjectsLocationsWorkerPoolSecondGenListRequestListWorkerPoolSecondGenResponseFrQ   r]   r_   r6   r4   r`   ri  D  s9    !7!7XJ zJ +.8U<"r6   c                 D    U R                  S5      nU R                  X1US9$ )zUpdates a `WorkerPoolSecondGen`.

Args:
  request: (CloudbuildProjectsLocationsWorkerPoolSecondGenPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r   rB   rD   rG   s       r4   r   >CloudbuildV2.ProjectsLocationsWorkerPoolSecondGenService.PatchR  r   r6   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nrm  r   z7cloudbuild.projects.locations.workerPoolSecondGen.patchr   r  r   rg  :CloudbuildProjectsLocationsWorkerPoolSecondGenPatchRequestrp   FrQ   r]   r_   r6   r4   r`   ri  _  s4    ("8"8pKxHC"+V&#r6   r   r;   )r   r   r   r   r   r   r   rr   r   r{   r   r   r   r   r   r   s   @r4   r)   r^    s^    P4E
8F8F8C8D8Er6   r)   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ ).CloudbuildV2.ProjectsLocationsWorkflowsServiceim  z<Service class for the projects_locations_workflows resource.r,   c                 N   > [         [        R                  U ]  U5        0 U l        g r;   )r   r   r+   r   r<   r=   s     r4   r   7CloudbuildV2.ProjectsLocationsWorkflowsService.__init__r  s"    L::DJ6Rdr6   c                 D    U R                  S5      nU R                  X1US9$ )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.
rr   rB   rD   rG   s       r4   rr   5CloudbuildV2.ProjectsLocationsWorkflowsService.Createw  rt   r6   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )N:v2/projects/{projectsId}/locations/{locationsId}/workflowsrL   z.cloudbuild.projects.locations.workflows.createrm   r   
workflowIdv2/{+parent}/workflowsworkflow1CloudbuildProjectsLocationsWorkflowsCreateRequestrp   FrQ   r]   r_   r6   r4   r`   7CloudbuildV2.ProjectsLocationsWorkflowsService.<lambda>  s9    8#9#9NB zJ$l3. M&$r6   c                 D    U R                  S5      nU R                  X1US9$ )zDeletes a single Workflow.

Args:
  request: (CloudbuildProjectsLocationsWorkflowsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r{   rB   rD   rG   s       r4   r{   5CloudbuildV2.ProjectsLocationsWorkflowsService.Delete  rt   r6   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )NHv2/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}r   z.cloudbuild.projects.locations.workflows.deleter   r   r   r   r   1CloudbuildProjectsLocationsWorkflowsDeleteRequestrp   FrQ   r]   r_   r6   r4   r`   r    s9    8#9#9\BxHn-"M&$r6   c                 D    U R                  S5      nU R                  X1US9$ )zGets details of a single Workflow.

Args:
  request: (CloudbuildProjectsLocationsWorkflowsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Workflow) The response message.
r   rB   rD   rG   s       r4   r   2CloudbuildV2.ProjectsLocationsWorkflowsService.Get  r   r6   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr  r   z+cloudbuild.projects.locations.workflows.getr   r   r   .CloudbuildProjectsLocationsWorkflowsGetRequestWorkflowFrQ   r]   r_   r6   r4   r`   r    s4     6 6\?xH"J%!r6   c                 D    U R                  S5      nU R                  X1US9$ )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   rB   rD   rG   s       r4   r   3CloudbuildV2.ProjectsLocationsWorkflowsService.List  r   r6   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr  r   z,cloudbuild.projects.locations.workflows.listrm   )r   orderByr   r   r  r   /CloudbuildProjectsLocationsWorkflowsListRequestListWorkflowsResponseFrQ   r]   r_   r6   r4   r`   r    s4    !7!7N@ zJC.K2"r6   c                 D    U R                  S5      nU R                  X1US9$ )zUpdates the parameters of a single Workflow.

Args:
  request: (CloudbuildProjectsLocationsWorkflowsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r   rB   rD   rG   s       r4   r   4CloudbuildV2.ProjectsLocationsWorkflowsService.Patch  r   r6   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr  r   z-cloudbuild.projects.locations.workflows.patchr   r  r   r  0CloudbuildProjectsLocationsWorkflowsPatchRequestrp   FrQ   r]   r_   r6   r4   r`   r    s4    ("8"8\AxHC" L&#r6   c                 D    U R                  S5      nU R                  X1US9$ )zRuns a Workflow.

Args:
  request: (CloudbuildProjectsLocationsWorkflowsRunRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
RunrB   rD   rG   s       r4   r  2CloudbuildV2.ProjectsLocationsWorkflowsService.Run  r   r6   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzLv2/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}:runrL   z+cloudbuild.projects.locations.workflows.runr   zv2/{+name}:runrunWorkflowRequest.CloudbuildProjectsLocationsWorkflowsRunRequestrp   FrQ   r]   r_   r6   r4   r`   r    s4     6 6`?xH&*J&!r6   c                 D    U R                  S5      nU R                  X1US9$ )a  Processes webhooks posted towards a WorkflowTrigger.

Args:
  request: (CloudbuildProjectsLocationsWorkflowsWebhookRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ProcessWorkflowTriggerWebhookResponse) The response message.
WebhookrB   rD   rG   s       r4   r  6CloudbuildV2.ProjectsLocationsWorkflowsService.Webhook  s/     ##I.f__
  8 8r6   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzPv2/projects/{projectsId}/locations/{locationsId}/workflows/{workflowsId}:webhookrL   z/cloudbuild.projects.locations.workflows.webhookr  zv2/{+workflow}:webhook$processWorkflowTriggerWebhookRequest2CloudbuildProjectsLocationsWorkflowsWebhookRequest%ProcessWorkflowTriggerWebhookResponseFrQ   r]   r_   r6   r4   r`   r  &  s4    H$:$:dC"|L.<NB%r6   r   r;   )r   r   r   r   r   r   r   rr   r   r{   r   r   r   r  r  r   r   r   s   @r4   r+   r~  m  s|    F*E
8F8F8C8D8E8C8Gr6   r+   c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ )%CloudbuildV2.ProjectsLocationsServicei4  z2Service class for the projects_locations resource.r.   c                 N   > [         [        R                  U ]  U5        0 U l        g r;   )r   r   r-   r   r<   r=   s     r4   r   .CloudbuildV2.ProjectsLocationsService.__init__9  s"    L114A&Idr6   c                 D    U R                  S5      nU R                  X1US9$ )zGets information about a location.

Args:
  request: (CloudbuildProjectsLocationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Location) The response message.
r   rB   rD   rG   s       r4   r   )CloudbuildV2.ProjectsLocationsService.Get>  r   r6   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz0v2/projects/{projectsId}/locations/{locationsId}r   z!cloudbuild.projects.locations.getr   r   r   %CloudbuildProjectsLocationsGetRequestLocationFrQ   r]   r_   r6   r4   r`   .CloudbuildV2.ProjectsLocationsService.<lambda>K  s4     6 6D5xH"A%!r6   c                 D    U R                  S5      nU R                  X1US9$ )a  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   rB   rD   rG   s       r4   r   *CloudbuildV2.ProjectsLocationsService.ListY  r   r6   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz"v2/projects/{projectsId}/locationsr   z"cloudbuild.projects.locations.listr   )extraLocationTypesr   r   r   zv2/{+name}/locationsr   &CloudbuildProjectsLocationsListRequestListLocationsResponseFrQ   r]   r_   r6   r4   r`   r  f  s4    !7!766xHN,B2"r6   r   r;   r1  r   s   @r4   r-   r  4  s1    < E
8C8Dr6   r-   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ )CloudbuildV2.ProjectsServiceit  z(Service class for the projects resource.r0   c                 N   > [         [        R                  U ]  U5        0 U l        g r;   )r   r   r/   r   r<   r=   s     r4   r   %CloudbuildV2.ProjectsService.__init__y  s"    L(($8@dr6   r   )	r   r   r   r   r   r   r   r   r   r   s   @r4   r/   r  t  s    2E r6   r/   )r0   r.   r   r   r    r"   r&   r$   r(   r*   r,   )r   NTNNFFNNNN)"r   r   r   r   r   messagesMESSAGES_MODULEr   MTLS_BASE_URL_PACKAGE_SCOPES_VERSION
_CLIENT_ID_CLIENT_SECRET_USER_AGENT_CLIENT_CLASS_NAME_URL_VERSION_API_KEYr   r   BaseApiServicer   r   r   r!   r#   r%   r'   r)   r+   r-   r/   r   r   r   s   @r4   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 >@//  r6   r   N)
r   
__future__r   apitools.base.pyr   3googlecloudsdk.generated_clients.apis.cloudbuild.v2r   r  BaseApiClientr   r_   r6   r4   <module>r     s'    9 ' % br8)) rr6   