
                        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 v1.    )absolute_import)base_api)cloudbuild_v1_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     SPU 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# 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/ S0\R(                  5      r& " S1 S2\R(                  5      r' " S3 S4\R(                  5      r( " S5 S6\R(                  5      r) " S7 S8\R(                  5      r* " S9 S:\R(                  5      r+ " S; S<\R(                  5      r, " S= S>\R(                  5      r- " S? S@\R(                  5      r. " SA SB\R(                  5      r/ " SC SD\R(                  5      r0 " SE SF\R(                  5      r1 " SG SH\R(                  5      r2 " SI SJ\R(                  5      r3 " SK SL\R(                  5      r4 " SM SN\R(                  5      r5SOr6U =r7$ )QCloudbuildV1
   z;Generated client library for service cloudbuild version v1.z"https://cloudbuild.googleapis.com/z'https://cloudbuild.mtls.googleapis.com/
cloudbuildz.https://www.googleapis.com/auth/cloud-platformv1	CLIENT_IDCLIENT_SECRETzgoogle-cloud-sdkNc                   > U=(       d    U R                   n[        [        U ]  XX4UXgUU	U
US9  U R	                  U 5      U l        U R                  U 5      U l        U R                  U 5      U l	        U R                  U 5      U l        U R                  U 5      U l        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        U R5                  U 5      U l        U R9                  U 5      U l        U R=                  U 5      U l        U RA                  U 5      U l!        U RE                  U 5      U l#        U RI                  U 5      U l%        U RM                  U 5      U l'        U RQ                  U 5      U l)        U RU                  U 5      U l+        U RY                  U 5      U l-        U R]                  U 5      U l/        U Ra                  U 5      U l1        U Re                  U 5      U l3        U Ri                  U 5      U l5        U Rm                  U 5      U l7        U Rq                  U 5      U l9        U Ru                  U 5      U l;        U Ry                  U 5      U l=        U R}                  U 5      U l?        U R                  U 5      U lA        U R                  U 5      U lC        U R                  U 5      U lE        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)FBASE_URLsuperr   __init__'GithubInstallationsInstallationsService"github_installations_installations"GithubInstallationsProjectsServicegithub_installations_projectsGithubInstallationsServicegithub_installationsGithubServicegithubGithubDotComWebhookServicegithubDotComWebhook!InstallationsInstallationsServiceinstallations_installationsInstallationsServiceinstallationsLocationsService	locationsOauthServiceoauthOperationsService
operationsProjectsBuildsServiceprojects_builds"ProjectsGithubInstallationsServiceprojects_github_installationsProjectsGithubServiceprojects_github&ProjectsGithubEnterpriseConfigsService projects_githubEnterpriseConfigsProjectsInstallationsServiceprojects_installationsCProjectsLocationsBitbucketServerConfigsConnectedRepositoriesService?projects_locations_bitbucketServerConfigs_connectedRepositories3ProjectsLocationsBitbucketServerConfigsReposService/projects_locations_bitbucketServerConfigs_repos.ProjectsLocationsBitbucketServerConfigsService)projects_locations_bitbucketServerConfigsProjectsLocationsBuildsServiceprojects_locations_builds:ProjectsLocationsGitLabConfigsConnectedRepositoriesService6projects_locations_gitLabConfigs_connectedRepositories*ProjectsLocationsGitLabConfigsReposService&projects_locations_gitLabConfigs_repos%ProjectsLocationsGitLabConfigsService projects_locations_gitLabConfigs+ProjectsLocationsGithubInstallationsService'projects_locations_github_installationsProjectsLocationsGithubServiceprojects_locations_github/ProjectsLocationsGithubEnterpriseConfigsService*projects_locations_githubEnterpriseConfigs%ProjectsLocationsInstallationsService projects_locations_installations"ProjectsLocationsOperationsServiceprojects_locations_operations ProjectsLocationsTriggersServiceprojects_locations_triggers#ProjectsLocationsWorkerPoolsServiceprojects_locations_workerPoolsProjectsLocationsServiceprojects_locationsProjectsTriggersServiceprojects_triggersProjectsServiceprojects	V1Servicer
   )selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               Olib/googlecloudsdk/generated_clients/apis/cloudbuild/v1/cloudbuild_v1_client.pyr   CloudbuildV1.__init__   s    
C	,&'%)3 7+ ' - /3.Z.Z[_.`D+)-)P)PQU)VD& $ ? ? ED$$T*DK#>>tDD'+'M'Md'SD$2248D**40DN""4(DJ,,T2DO55d;D)-)P)PQU)VD&55d;D,0,W,WX\,]D)"&"C"CD"IDKO  LT  LT  UY  LZDH;?;s;stx;yD8595h5him5nD2%)%H%H%ND"BF  CB  CB  CG  CHD?262a2abf2gD/,0,V,VW[,\D)373c3cdh3iD0%)%H%H%ND"6:6j6jko6pD3,0,V,VW[,\D))-)P)PQU)VD&'+'L'LT'RD$*.*R*RSW*XD'";;DAD!99$?D((.DMnnT"DG    c                   J   ^  \ rS rSrSrSrU 4S jrSS jrS \l        Sr	U =r
$ )	4CloudbuildV1.GithubInstallationsInstallationsServiceL   zBService class for the github_installations_installations resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g N)r   r   r   r   _upload_configsr\   clientr^   s     r_   r   =CloudbuildV1.GithubInstallationsInstallationsService.__init__Q   s#    L@@$PQWXdra   c                 D    U R                  S5      nU R                  X1US9$ )am  For given installation id, list project-installation mappings across all GCB projects visible to the caller. This API is experimental.

Args:
  request: (CloudbuildGithubInstallationsInstallationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListGitHubInstallationsResponse) The response message.
Listglobal_paramsGetMethodConfig
_RunMethodr\   requestrn   configs       r_   rl   9CloudbuildV1.GithubInstallationsInstallationsService.ListV   /     ##F+f__
  8 8ra   c                  @    [         R                  " SSS/S// SSSSSS	9
$ )
NGETz2cloudbuild.github.installations.installations.listinstallationIdz6v1/github/installations/{installationId}/installations 5CloudbuildGithubInstallationsInstallationsListRequestListGitHubInstallationsResponseF
http_method	method_idordered_paramspath_paramsquery_paramsrelative_pathrequest_fieldrequest_type_nameresponse_type_namesupports_downloadr   ApiMethodInfo ra   r_   <lambda>=CloudbuildV1.GithubInstallationsInstallationsService.<lambda>c   s3    !7!7F()%&NQ<"ra   rg   rf   __name__
__module____qualname____firstlineno____doc___NAMEr   rl   method_config__static_attributes____classcell__r^   s   @r_   r   rc   L   s"    L0E
8Dra   r   c                   J   ^  \ rS rSrSrSrU 4S jrSS jrS \l        Sr	U =r
$ )	/CloudbuildV1.GithubInstallationsProjectsServicep   z=Service class for the github_installations_projects resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   r   r   rg   rh   s     r_   r   8CloudbuildV1.GithubInstallationsProjectsService.__init__u   "    L;;TKFSdra   c                 D    U R                  S5      nU R                  X1US9$ )ah  For given installation id, list project-installation mappings across all GCB projects visible to the caller. This API is experimental.

Args:
  request: (CloudbuildGithubInstallationsProjectsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListGitHubInstallationsResponse) The response message.
rl   rm   ro   rr   s       r_   rl   4CloudbuildV1.GithubInstallationsProjectsService.Listz   rv   ra   c                  @    [         R                  " SSS/S// SSSSSS	9
$ )
Nrx   z-cloudbuild.github.installations.projects.listry   z1v1/github/installations/{installationId}/projectsrz   0CloudbuildGithubInstallationsProjectsListRequestr|   Fr}   r   r   ra   r_   r   8CloudbuildV1.GithubInstallationsProjectsService.<lambda>   s3    !7!7A()%&IL<"ra   r   rf   r   r   s   @r_   r   r   p   s"    G+E
8Dra   r   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ )'CloudbuildV1.GithubInstallationsService   z4Service class for the github_installations resource.r    c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   r   r   rg   rh   s     r_   r   0CloudbuildV1.GithubInstallationsService.__init__   "    L33TCFKdra   r   	r   r   r   r   r   r   r   r   r   r   s   @r_   r   r      s    >"E ra   r   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ )CloudbuildV1.GithubService   z&Service class for the github resource.r"   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   r!   r   rg   rh   s     r_   r   #CloudbuildV1.GithubService.__init__   s"    L&&6v>dra   r   r   r   s   @r_   r!   r      s    0E ra   r!   c                   J   ^  \ rS rSrSrSrU 4S jrSS jrS \l        Sr	U =r
$ )	'CloudbuildV1.GithubDotComWebhookService   z3Service class for the githubDotComWebhook resource.r$   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   r#   r   rg   rh   s     r_   r   0CloudbuildV1.GithubDotComWebhookService.__init__   r   ra   c                 D    U R                  S5      nU R                  X1US9$ )a  ReceiveGitHubDotComWebhook is called when the API receives a github.com webhook.

Args:
  request: (CloudbuildGithubDotComWebhookReceiveRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
Receiverm   ro   rr   s       r_   r   /CloudbuildV1.GithubDotComWebhookService.Receive   /     ##I.f__
  8 8ra   c                  >    [         R                  " SS/ / S/SSSSSS	9
$ )
NPOSTz&cloudbuild.githubDotComWebhook.receive
webhookKeyzv1/githubDotComWebhook:receivehttpBody+CloudbuildGithubDotComWebhookReceiveRequestEmptyFr}   r   r   ra   r_   r   0CloudbuildV1.GithubDotComWebhookService.<lambda>   s/    H$:$::"^6 G"%ra   r   rf   )r   r   r   r   r   r   r   r   r   r   r   r   s   @r_   r#   r      s"    =!E
8Gra   r#   c                   J   ^  \ rS rSrSrSrU 4S jrSS jrS \l        Sr	U =r
$ )	.CloudbuildV1.InstallationsInstallationsService   z;Service class for the installations_installations resource.r&   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   r%   r   rg   rh   s     r_   r   7CloudbuildV1.InstallationsInstallationsService.__init__   s"    L::DJ6Rdra   c                 D    U R                  S5      nU R                  X1US9$ )ag  For given installation id, list project-installation mappings across all GCB projects visible to the caller. This API is experimental.

Args:
  request: (CloudbuildInstallationsInstallationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListGitHubInstallationsResponse) The response message.
rl   rm   ro   rr   s       r_   rl   3CloudbuildV1.InstallationsInstallationsService.List   rv   ra   c                  @    [         R                  " SSS/S// SSSSSS	9
$ )
Nrx   z+cloudbuild.installations.installations.listry   z/v1/installations/{installationId}/installationsrz   /CloudbuildInstallationsInstallationsListRequestr|   Fr}   r   r   ra   r_   r   7CloudbuildV1.InstallationsInstallationsService.<lambda>   s3    !7!7?()%&GK<"ra   r   rf   r   r   s   @r_   r%   r      s"    E)E
8Dra   r%   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ )!CloudbuildV1.InstallationsService   z-Service class for the installations resource.r(   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   r'   r   rg   rh   s     r_   r   *CloudbuildV1.InstallationsService.__init__   s"    L--t=fEdra   r   r   r   s   @r_   r'   r      s    7E ra   r'   c                   J   ^  \ rS rSrSrSrU 4S jrSS jrS \l        Sr	U =r
$ )	CloudbuildV1.LocationsService   z)Service class for the locations resource.r*   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   r)   r   rg   rh   s     r_   r   &CloudbuildV1.LocationsService.__init__   s"    L))49&Adra   c                 D    U R                  S5      nU R                  X1US9$ )a  ReceiveRegionalWebhook is called when the API receives a regional GitHub webhook.

Args:
  request: (CloudbuildLocationsRegionalWebhookRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
RegionalWebhookrm   ro   rr   s       r_   r   -CloudbuildV1.LocationsService.RegionalWebhook  0     ##$56f__
  8 8ra   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nz*v1/locations/{locationsId}/regionalWebhookr   z$cloudbuild.locations.regionalWebhooklocationr   zv1/{+location}/regionalWebhookr   )CloudbuildLocationsRegionalWebhookRequestr   F	flat_pathr~   r   r   r   r   r   r   r   r   r   r   r   ra   r_   r   &CloudbuildV1.LocationsService.<lambda>  s6    H,B,B>8"|L"^6 E"-ra   r   rf   )r   r   r   r   r   r   r   r   r   r   r   r   s   @r_   r)   r      s"    3E
8%O!!ra   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$ )CloudbuildV1.OauthServicei  z%Service class for the oauth resource.r,   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   r+   r   rg   rh   s     r_   r   "CloudbuildV1.OauthService.__init__$  s"    L%%t5f=dra   c                 D    U R                  S5      nU R                  X1US9$ )aD  Get a URL that a customer should use to initiate an OAuth flow on an external source provider. This API is experimental.

Args:
  request: (CloudbuildOauthGetRegistrationRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (OAuthRegistrationURI) The response message.
GetRegistrationrm   ro   rr   s       r_   r   )CloudbuildV1.OauthService.GetRegistration)  r   ra   c                  @    [         R                  " SS/ / / SQSSSSSS	9
$ )
Nrx   z cloudbuild.oauth.getRegistration)authUsercsesidxgithubEnterpriseConfighostUrl	namespacezv1/oauth/registrationrz   %CloudbuildOauthGetRegistrationRequestOAuthRegistrationURIFr}   r   r   ra   r_   r   "CloudbuildV1.OauthService.<lambda>6  s-    H,B,B4^-A1-ra   c                 D    U R                  S5      nU R                  X1US9$ )a  ProcessOAuthCallback fulfills the last leg of the OAuth dance with a source provider. For GitHub this is as defined by https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#2-users-are-redirected-back-to-your-site-by-github Users will not be able to call this in any meaningful way since they don't have access to the OAuth code used in the exchange. For now, this rpc only supports GitHubEnterprise, but will eventually replace GenerateGitHubAccessToken.

Args:
  request: (CloudbuildOauthProcessOAuthCallbackRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
ProcessOAuthCallbackrm   ro   rr   s       r_   r   .CloudbuildV1.OauthService.ProcessOAuthCallbackC  s0     ##$:;f__
  8 8ra   c                  @    [         R                  " SS/ / / SQSSSSSS	9
$ )
Nrx   z%cloudbuild.oauth.processOAuthCallback)coder   r   r   statezv1/oauth:processOAuthCallbackrz   *CloudbuildOauthProcessOAuthCallbackRequestr   Fr}   r   r   ra   r_   r   r   P  s-    1G1G9X5F"2ra   r   rf   )r   r   r   r   r   r   r   r   r   r   r   r   r   s   @r_   r+   r     s2    /E
8%O!8*&&ra   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$ )CloudbuildV1.OperationsServicei]  z*Service class for the operations resource.r.   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   r-   r   rg   rh   s     r_   r   'CloudbuildV1.OperationsService.__init__b  s"    L**D:6Bdra   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: (CloudbuildOperationsCancelRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
Cancelrm   ro   rr   s       r_   r   %CloudbuildV1.OperationsService.Cancelg  /     ##H-f__
  8 8ra   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz#v1/operations/{operationsId}:cancelr   zcloudbuild.operations.cancelnamev1/{+name}:cancelcancelOperationRequest!CloudbuildOperationsCancelRequestr   Fr   r   r   ra   r_   r   'CloudbuildV1.OperationsService.<lambda>t  s4    8#9#970xH).="$ra   c                 D    U R                  S5      nU R                  X1US9$ )aU  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: (CloudbuildOperationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Getrm   ro   rr   s       r_   r  "CloudbuildV1.OperationsService.Get  /     ##E*f__
  8 8ra   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzv1/operations/{operationsId}rx   zcloudbuild.operations.getr   
v1/{+name}rz   CloudbuildOperationsGetRequest	OperationFr   r   r   ra   r_   r   r    s4     6 60-xH":&!ra   r   rf   r   r   r   r   r   r   r   r   r   r  r   r   r   s   @r_   r-   r   ]  s1    4E
8F8Cra   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rU =r$ )"CloudbuildV1.ProjectsBuildsServicei  z/Service class for the projects_builds resource.r0   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   r/   r   rg   rh   s     r_   r   +CloudbuildV1.ProjectsBuildsService.__init__  "    L..>vFdra   c                 D    U R                  S5      nU R                  X1US9$ )a  Approves or rejects a pending build. If approved, the returned long-running operation (LRO) will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done.

Args:
  request: (CloudbuildProjectsBuildsApproveRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Approverm   ro   rr   s       r_   r  *CloudbuildV1.ProjectsBuildsService.Approve  r   ra   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz2v1/projects/{projectsId}/builds/{buildsId}:approver   z"cloudbuild.projects.builds.approver   v1/{+name}:approveapproveBuildRequest&CloudbuildProjectsBuildsApproveRequestr
  Fr   r   r   ra   r_   r   +CloudbuildV1.ProjectsBuildsService.<lambda>  s4    H$:$:F6xH*+B&%ra   c                 D    U R                  S5      nU R                  X1US9$ )zCancels a build in progress.

Args:
  request: (CloudbuildProjectsBuildsCancelRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Build) The response message.
r   rm   ro   rr   s       r_   r   )CloudbuildV1.ProjectsBuildsService.Cancel  r   ra   c                  D    [         R                  " SSSS/SS// SSSSS	S
9
$ )Nr   z!cloudbuild.projects.builds.cancel	projectIdidz*v1/projects/{projectId}/builds/{id}:cancelcancelBuildRequest%CloudbuildProjectsBuildsCancelRequestBuildFr}   r   r   ra   r_   r   r    s7    8#9#95#T*;'B*A"$ra   c                 D    U R                  S5      nU R                  X1US9$ )a  Starts a build with the specified configuration. This method returns a long-running `Operation`, which includes the build ID. Pass the build ID to `GetBuild` to determine the build status (such as `SUCCESS` or `FAILURE`).

Args:
  request: (CloudbuildProjectsBuildsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Createrm   ro   rr   s       r_   r"  )CloudbuildV1.ProjectsBuildsService.Create  r   ra   c                  B    [         R                  " SSS/S/S/SSSSS	S
9
$ )Nr   z!cloudbuild.projects.builds.creater  parentv1/projects/{projectId}/buildsbuild%CloudbuildProjectsBuildsCreateRequestr
  Fr}   r   r   ra   r_   r   r    s3    8#9#95#} MZ6A&$ra   c                 D    U R                  S5      nU R                  X1US9$ )ah  Returns information about a previously requested build. The `Build` that is returned includes its status (such as `SUCCESS`, `FAILURE`, or `WORKING`), and timing information.

Args:
  request: (CloudbuildProjectsBuildsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Build) The response message.
r  rm   ro   rr   s       r_   r  &CloudbuildV1.ProjectsBuildsService.Get  r  ra   c                  F    [         R                  " SSSS/SS/S/SSSS	S
S9
$ )Nrx   zcloudbuild.projects.builds.getr  r  r   z#v1/projects/{projectId}/builds/{id}rz   "CloudbuildProjectsBuildsGetRequestr   Fr}   r   r   ra   r_   r   r    s9     6 62#T*;'X;>"!ra   c                 D    U R                  S5      nU R                  X1US9$ )aU  Lists previously requested builds. Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully.

Args:
  request: (CloudbuildProjectsBuildsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListBuildsResponse) The response message.
rl   rm   ro   rr   s       r_   rl   'CloudbuildV1.ProjectsBuildsService.List  rv   ra   c                  D    [         R                  " SSS/S// SQSSSSS	S
9
$ )Nrx   zcloudbuild.projects.builds.listr  )filterpageSize	pageTokenr%  r&  rz   #CloudbuildProjectsBuildsListRequestListBuildsResponseFr}   r   r   ra   r_   r   r    s1    !7!73#} MB6?/"ra   c                 D    U R                  S5      nU R                  X1US9$ a.  Creates a new build based on the specified build. This method creates a new build using the original build request, which may or may not result in an identical build. For triggered builds: * Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision. For non-triggered builds that specify `RepoSource`: * If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the original build. * If the original build specified a commit sha or revision ID, the retried build will use the identical source. For builds that specify `StorageSource`: * If the original build pulled source from Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may not be available depending on the bucket's lifecycle management settings.

Args:
  request: (RetryBuildRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Retryrm   ro   rr   s       r_   r7  (CloudbuildV1.ProjectsBuildsService.Retry*  /     ##G,f__
  8 8ra   c                  D    [         R                  " SSSS/SS// SSSSS	S
9
$ )Nr   z cloudbuild.projects.builds.retryr  r  z)v1/projects/{projectId}/builds/{id}:retry	<request>RetryBuildRequestr
  Fr}   r   r   ra   r_   r   r  7  s7    ("8"84#T*;'A!-&#ra   r   rf   r   r   r   r   r   r   r   r  r   r   r"  r  rl   r7  r   r   r   s   @r_   r/   r    sm    9E
8G8F8F8C8D8Era   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$ )/CloudbuildV1.ProjectsGithubInstallationsServiceiD  z=Service class for the projects_github_installations resource.r2   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   r1   r   rg   rh   s     r_   r   8CloudbuildV1.ProjectsGithubInstallationsService.__init__I  r   ra   c                 D    U R                  S5      nU R                  X1US9$ )a*  Create an association between a GCP project and a GitHub installation. This API is experimental.

Args:
  request: (CloudbuildProjectsGithubInstallationsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
r"  rm   ro   rr   s       r_   r"  6CloudbuildV1.ProjectsGithubInstallationsService.CreateN  r   ra   c                  D    [         R                  " SSS/S// SQSSSSS	S
9
$ )Nr   z/cloudbuild.projects.github.installations.creater  )r%  
projectId1userOauthCode,v1/projects/{projectId}/github/installationsinstallation2CloudbuildProjectsGithubInstallationsCreateRequestr   Fr}   r   r   ra   r_   r   8CloudbuildV1.ProjectsGithubInstallationsService.<lambda>[  s1    8#9#9C#} M>D$N"$ra   c                 D    U R                  S5      nU R                  X1US9$ )a*  Delete an association between a GCP project and a GitHub installation. This API is experimental.

Args:
  request: (CloudbuildProjectsGithubInstallationsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
Deleterm   ro   rr   s       r_   rL  6CloudbuildV1.ProjectsGithubInstallationsService.Deleteh  r   ra   c                  F    [         R                  " SSSS/SS/S/SSSS	S
S9
$ )NDELETEz/cloudbuild.projects.github.installations.deleter  ry   r   z=v1/projects/{projectId}/github/installations/{installationId}rz   2CloudbuildProjectsGithubInstallationsDeleteRequestr   Fr}   r   r   ra   r_   r   rJ  u  s:    8#9#9C#%56%{3XUN"$ra   c                 D    U R                  S5      nU R                  X1US9$ )a4  List all Installations for a given project id. This API is experimental.

Args:
  request: (CloudbuildProjectsGithubInstallationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListGitHubInstallationsForProjectResponse) The response message.
rl   rm   ro   rr   s       r_   rl   4CloudbuildV1.ProjectsGithubInstallationsService.List  rv   ra   c                  B    [         R                  " SSS/S/S/SSSSS	S
9
$ )Nrx   z-cloudbuild.projects.github.installations.listr  r%  rG  rz   0CloudbuildProjectsGithubInstallationsListRequest)ListGitHubInstallationsForProjectResponseFr}   r   r   ra   r_   r   rJ    s3    !7!7A#} MZDLF"ra   c                 D    U R                  S5      nU R                  X1US9$ )a$  Update settings for a GCP project to GitHub installation mapping. This API is experimental.

Args:
  request: (CloudbuildProjectsGithubInstallationsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
Patchrm   ro   rr   s       r_   rW  5CloudbuildV1.ProjectsGithubInstallationsService.Patch  r9  ra   c                  H    [         R                  " SSSS/SS// SQSSSS	S
S9
$ )NPATCHz.cloudbuild.projects.github.installations.patchr  r  )ry   r   rE  
updateMaskz1v1/projects/{projectId}/github/installations/{id}rH  1CloudbuildProjectsGithubInstallationsPatchRequestr   Fr}   r   r   ra   r_   r   rJ    s7    ("8"8B#T*;'KI$M"#ra   r   rf   r   r   r   r   r   r   r   r"  r   rL  rl   rW  r   r   r   s   @r_   r1   r?  D  sO    G+E
8F8F8D8Era   r1   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ )"CloudbuildV1.ProjectsGithubServicei  z/Service class for the projects_github resource.r4   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   r3   r   rg   rh   s     r_   r   +CloudbuildV1.ProjectsGithubService.__init__  r  ra   r   r   r   s   @r_   r3   r_    s    9E ra   r3   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rU =r$ )3CloudbuildV1.ProjectsGithubEnterpriseConfigsServicei  z@Service class for the projects_githubEnterpriseConfigs resource.r6   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   r5   r   rg   rh   s     r_   r   <CloudbuildV1.ProjectsGithubEnterpriseConfigsService.__init__  s#    L??OPVWdra   c                 D    U R                  S5      nU R                  X1US9$ )a  Create an association between a GCP project and a GitHub Enterprise server.

Args:
  request: (CloudbuildProjectsGithubEnterpriseConfigsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r"  rm   ro   rr   s       r_   r"  :CloudbuildV1.ProjectsGithubEnterpriseConfigsService.Create  r   ra   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )N0v1/projects/{projectsId}/githubEnterpriseConfigsr   z2cloudbuild.projects.githubEnterpriseConfigs.creater%  gheConfigIdr  $v1/{+parent}/githubEnterpriseConfigsgitHubEnterpriseConfig6CloudbuildProjectsGithubEnterpriseConfigsCreateRequestr
  Fr   r   r   ra   r_   r   <CloudbuildV1.ProjectsGithubEnterpriseConfigsService.<lambda>  s9    8#9#9DF zJ#[1<.R&$ra   c                 D    U R                  S5      nU R                  X1US9$ )a  Delete an association between a GCP project and a GitHub Enterprise server.

Args:
  request: (CloudbuildProjectsGithubEnterpriseConfigsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
rL  rm   ro   rr   s       r_   rL  :CloudbuildV1.ProjectsGithubEnterpriseConfigsService.Delete  r   ra   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )NLv1/projects/{projectsId}/githubEnterpriseConfigs/{githubEnterpriseConfigsId}rO  z2cloudbuild.projects.githubEnterpriseConfigs.deleter   configIdr  r  rz   6CloudbuildProjectsGithubEnterpriseConfigsDeleteRequestr
  Fr   r   r   ra   r_   r   rn    s9    8#9#9`FxH +."R&$ra   c                 D    U R                  S5      nU R                  X1US9$ )zRetrieve a GitHubEnterpriseConfig.

Args:
  request: (CloudbuildProjectsGithubEnterpriseConfigsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GitHubEnterpriseConfig) The response message.
r  rm   ro   rr   s       r_   r  7CloudbuildV1.ProjectsGithubEnterpriseConfigsService.Get   r  ra   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nrr  rx   z/cloudbuild.projects.githubEnterpriseConfigs.getr   rs  r  r  rz   3CloudbuildProjectsGithubEnterpriseConfigsGetRequestGitHubEnterpriseConfigFr   r   r   ra   r_   r   rn    s9     6 6`CxH +."O3!ra   c                 D    U R                  S5      nU R                  X1US9$ )a  Get the GitHub App associated with a GitHub Enterprise Config. Uses the GitHub API: https://developer.github.com/enterprise/2.21/v3/apps/#get-an-app This API is experimental.

Args:
  request: (CloudbuildProjectsGithubEnterpriseConfigsGetAppRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GitHubEnterpriseApp) The response message.
GetApprm   ro   rr   s       r_   r{  :CloudbuildV1.ProjectsGithubEnterpriseConfigsService.GetApp  r   ra   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzPv1/projects/{projectsId}/githubEnterpriseConfigs/{githubEnterpriseConfigsId}/apprx   z2cloudbuild.projects.githubEnterpriseConfigs.getAppenterpriseConfigResource"v1/{+enterpriseConfigResource}/apprz   6CloudbuildProjectsGithubEnterpriseConfigsGetAppRequestGitHubEnterpriseAppFr   r   r   ra   r_   r   rn  (  s6    8#9#9dF23/0:R0$ra   c                 D    U R                  S5      nU R                  X1US9$ )a  List all GitHubEnterpriseConfigs for a given project.

Args:
  request: (CloudbuildProjectsGithubEnterpriseConfigsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListGithubEnterpriseConfigsResponse) The response message.
rl   rm   ro   rr   s       r_   rl   8CloudbuildV1.ProjectsGithubEnterpriseConfigsService.List6  rv   ra   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nri  rx   z0cloudbuild.projects.githubEnterpriseConfigs.listr%  r  rk  rz   4CloudbuildProjectsGithubEnterpriseConfigsListRequest#ListGithubEnterpriseConfigsResponseFr   r   r   ra   r_   r   rn  C  s6    !7!7DD zJ!]<P@"ra   c                 D    U R                  S5      nU R                  X1US9$ )a  Update an association between a GCP project and a GitHub Enterprise server.

Args:
  request: (CloudbuildProjectsGithubEnterpriseConfigsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
rW  rm   ro   rr   s       r_   rW  9CloudbuildV1.ProjectsGithubEnterpriseConfigsService.PatchQ  r9  ra   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nrr  rZ  z1cloudbuild.projects.githubEnterpriseConfigs.patchr   r[  r  rl  5CloudbuildProjectsGithubEnterpriseConfigsPatchRequestr
  Fr   r   r   ra   r_   r   rn  ^  s6    ("8"8`ExH"^".Q&#ra   r   rf   r   r   r   r   r   r   r   r"  r   rL  r  r{  rl   rW  r   r   r   s   @r_   r5   rc    sm    J.E
8F8F8C8F8D8Era   r5   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$ ))CloudbuildV1.ProjectsInstallationsServiceil  z6Service class for the projects_installations resource.r8   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   r7   r   rg   rh   s     r_   r   2CloudbuildV1.ProjectsInstallationsService.__init__q  s"    L55tEfMdra   c                 D    U R                  S5      nU R                  X1US9$ )a$  Create an association between a GCP project and a GitHub installation. This API is experimental.

Args:
  request: (CloudbuildProjectsInstallationsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
r"  rm   ro   rr   s       r_   r"  0CloudbuildV1.ProjectsInstallationsService.Createv  r   ra   c                  D    [         R                  " SSS/S/SS/SSSS	S
S9
$ )Nr   z(cloudbuild.projects.installations.creater  r%  rF  %v1/projects/{projectId}/installationsrH  ,CloudbuildProjectsInstallationsCreateRequestr   Fr}   r   r   ra   r_   r   2CloudbuildV1.ProjectsInstallationsService.<lambda>  s6    8#9#9<#} M0=$H"$ra   c                 D    U R                  S5      nU R                  X1US9$ )a$  Delete an association between a GCP project and a GitHub installation. This API is experimental.

Args:
  request: (CloudbuildProjectsInstallationsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
rL  rm   ro   rr   s       r_   rL  0CloudbuildV1.ProjectsInstallationsService.Delete  r   ra   c                  F    [         R                  " SSSS/SS/S/SSSS	S
S9
$ )NrO  z(cloudbuild.projects.installations.deleter  ry   r   z6v1/projects/{projectId}/installations/{installationId}rz   ,CloudbuildProjectsInstallationsDeleteRequestr   Fr}   r   r   ra   r_   r   r    s:    8#9#9<#%56%{3XNH"$ra   c                 D    U R                  S5      nU R                  X1US9$ )a.  List all Installations for a given project id. This API is experimental.

Args:
  request: (CloudbuildProjectsInstallationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListGitHubInstallationsForProjectResponse) The response message.
rl   rm   ro   rr   s       r_   rl   .CloudbuildV1.ProjectsInstallationsService.List  rv   ra   c                  B    [         R                  " SSS/S/S/SSSSS	S
9
$ )Nrx   z&cloudbuild.projects.installations.listr  r%  r  rz   *CloudbuildProjectsInstallationsListRequestrU  Fr}   r   r   ra   r_   r   r    s3    !7!7:#} MZ=FF"ra   c                 D    U R                  S5      nU R                  X1US9$ )a  Update settings for a GCP project to GitHub installation mapping. This API is experimental.

Args:
  request: (CloudbuildProjectsInstallationsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
rW  rm   ro   rr   s       r_   rW  /CloudbuildV1.ProjectsInstallationsService.Patch  r9  ra   c                  H    [         R                  " SSSS/SS// SQSSSS	S
S9
$ )NrZ  z'cloudbuild.projects.installations.patch
projectNumr  )ry   r   r  r[  z+v1/projects/{projectNum}/installations/{id}rH  +CloudbuildProjectsInstallationsPatchRequestr   Fr}   r   r   ra   r_   r   r    s7    ("8"8;$d+<(JC$G"#ra   r   rf   r]  r   s   @r_   r7   r  l  sO    @$E
8F8F8D8Era   r7   c                   J   ^  \ rS rSrSrSrU 4S jrSS jrS \l        Sr	U =r
$ )	PCloudbuildV1.ProjectsLocationsBitbucketServerConfigsConnectedRepositoriesServicei  z_Service class for the projects_locations_bitbucketServerConfigs_connectedRepositories resource.r:   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   r9   r   rg   rh   s     r_   r   YCloudbuildV1.ProjectsLocationsBitbucketServerConfigsConnectedRepositoriesService.__init__  s$    L\\^blmstdra   c                 D    U R                  S5      nU R                  X1US9$ )a2  Batch connecting Bitbucket Server repositories to Cloud Build.

Args:
  request: (CloudbuildProjectsLocationsBitbucketServerConfigsConnectedRepositoriesBatchCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
BatchCreaterm   ro   rr   s       r_   r  \CloudbuildV1.ProjectsLocationsBitbucketServerConfigsConnectedRepositoriesService.BatchCreate  /     ##M2f__
  8 8ra   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzv1/projects/{projectsId}/locations/{locationsId}/bitbucketServerConfigs/{bitbucketServerConfigsId}/connectedRepositories:batchCreater   zVcloudbuild.projects.locations.bitbucketServerConfigs.connectedRepositories.batchCreater%  .v1/{+parent}/connectedRepositories:batchCreate6batchCreateBitbucketServerConnectedRepositoriesRequestXCloudbuildProjectsLocationsBitbucketServerConfigsConnectedRepositoriesBatchCreateRequestr
  Fr   r   r   ra   r_   r   YCloudbuildV1.ProjectsLocationsBitbucketServerConfigsConnectedRepositoriesService.<lambda>  s7    (>(> Yj zJFNt&)ra   r   rf   r   r   r   r   r   r   r   r  r   r   r   r   s   @r_   r9   r    s"    iME
8!Kra   r9   c                   J   ^  \ rS rSrSrSrU 4S jrSS jrS \l        Sr	U =r
$ )	@CloudbuildV1.ProjectsLocationsBitbucketServerConfigsReposServicei  zOService class for the projects_locations_bitbucketServerConfigs_repos resource.r<   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   r;   r   rg   rh   s     r_   r   ICloudbuildV1.ProjectsLocationsBitbucketServerConfigsReposService.__init__  s#    LLLd\]cddra   c                 D    U R                  S5      nU R                  X1US9$ )aO  List all repositories for a given `BitbucketServerConfig`. This API is experimental.

Args:
  request: (CloudbuildProjectsLocationsBitbucketServerConfigsReposListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListBitbucketServerRepositoriesResponse) The response message.
rl   rm   ro   rr   s       r_   rl   ECloudbuildV1.ProjectsLocationsBitbucketServerConfigsReposService.List  rv   ra   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nzhv1/projects/{projectsId}/locations/{locationsId}/bitbucketServerConfigs/{bitbucketServerConfigsId}/reposrx   z?cloudbuild.projects.locations.bitbucketServerConfigs.repos.listr%  r1  r2  v1/{+parent}/reposrz   ACloudbuildProjectsLocationsBitbucketServerConfigsReposListRequest'ListBitbucketServerRepositoriesResponseFr   r   r   ra   r_   r   ICloudbuildV1.ProjectsLocationsBitbucketServerConfigsReposService.<lambda>  s9    !7!7|S zJ +.*]D"ra   r   rf   r   r   s   @r_   r;   r    s"    Y=E
8Dra   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rU =r$ );CloudbuildV1.ProjectsLocationsBitbucketServerConfigsServicei(  zIService class for the projects_locations_bitbucketServerConfigs resource.r>   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   r=   r   rg   rh   s     r_   r   DCloudbuildV1.ProjectsLocationsBitbucketServerConfigsService.__init__-  s#    LGGWX^_dra   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a new `BitbucketServerConfig`. This API is experimental.

Args:
  request: (CloudbuildProjectsLocationsBitbucketServerConfigsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r"  rm   ro   rr   s       r_   r"  BCloudbuildV1.ProjectsLocationsBitbucketServerConfigsService.Create2  r   ra   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NGv1/projects/{projectsId}/locations/{locationsId}/bitbucketServerConfigsr   z;cloudbuild.projects.locations.bitbucketServerConfigs.creater%  bitbucketServerConfigId#v1/{+parent}/bitbucketServerConfigsbitbucketServerConfig>CloudbuildProjectsLocationsBitbucketServerConfigsCreateRequestr
  Fr   r   r   ra   r_   r   DCloudbuildV1.ProjectsLocationsBitbucketServerConfigsService.<lambda>?  s7    8#9#9[O zJ/0;-Z&$ra   c                 D    U R                  S5      nU R                  X1US9$ )a  Delete a `BitbucketServerConfig`. This API is experimental.

Args:
  request: (CloudbuildProjectsLocationsBitbucketServerConfigsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
rL  rm   ro   rr   s       r_   rL  BCloudbuildV1.ProjectsLocationsBitbucketServerConfigsService.DeleteM  r   ra   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nbv1/projects/{projectsId}/locations/{locationsId}/bitbucketServerConfigs/{bitbucketServerConfigsId}rO  z;cloudbuild.projects.locations.bitbucketServerConfigs.deleter   r  rz   >CloudbuildProjectsLocationsBitbucketServerConfigsDeleteRequestr
  Fr   r   r   ra   r_   r   r  Z  s4    8#9#9vOxH"Z&$ra   c                 D    U R                  S5      nU R                  X1US9$ )a   Retrieve a `BitbucketServerConfig`. This API is experimental.

Args:
  request: (CloudbuildProjectsLocationsBitbucketServerConfigsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (BitbucketServerConfig) The response message.
r  rm   ro   rr   s       r_   r  ?CloudbuildV1.ProjectsLocationsBitbucketServerConfigsService.Geth  r  ra   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr  rx   z8cloudbuild.projects.locations.bitbucketServerConfigs.getr   r  rz   ;CloudbuildProjectsLocationsBitbucketServerConfigsGetRequestBitbucketServerConfigFr   r   r   ra   r_   r   r  u  s4     6 6vLxH"W2!ra   c                 D    U R                  S5      nU R                  X1US9$ )aA  List all `BitbucketServerConfigs` for a given project. This API is experimental.

Args:
  request: (CloudbuildProjectsLocationsBitbucketServerConfigsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListBitbucketServerConfigsResponse) The response message.
rl   rm   ro   rr   s       r_   rl   @CloudbuildV1.ProjectsLocationsBitbucketServerConfigsService.List  rv   ra   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr  rx   z9cloudbuild.projects.locations.bitbucketServerConfigs.listr%  r1  r2  r  rz   <CloudbuildProjectsLocationsBitbucketServerConfigsListRequest"ListBitbucketServerConfigsResponseFr   r   r   ra   r_   r   r    s9    !7!7[M zJ +.;X?"ra   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates an existing `BitbucketServerConfig`. This API is experimental.

Args:
  request: (CloudbuildProjectsLocationsBitbucketServerConfigsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
rW  rm   ro   rr   s       r_   rW  ACloudbuildV1.ProjectsLocationsBitbucketServerConfigsService.Patch  r9  ra   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr  rZ  z:cloudbuild.projects.locations.bitbucketServerConfigs.patchr   r[  r  r  =CloudbuildProjectsLocationsBitbucketServerConfigsPatchRequestr
  Fr   r   r   ra   r_   r   r    s6    ("8"8vNxH"^"-Y&#ra   c                 D    U R                  S5      nU R                  X1US9$ )as  Remove a Bitbucket Server repository from a given BitbucketServerConfig's connected repositories. This API is experimental.

Args:
  request: (CloudbuildProjectsLocationsBitbucketServerConfigsRemoveBitbucketServerConnectedRepositoryRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
(RemoveBitbucketServerConnectedRepositoryrm   ro   rr   s       r_   r  dCloudbuildV1.ProjectsLocationsBitbucketServerConfigsService.RemoveBitbucketServerConnectedRepository  s0     ##$NOf__
  8 8ra   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzv1/projects/{projectsId}/locations/{locationsId}/bitbucketServerConfigs/{bitbucketServerConfigsId}:removeBitbucketServerConnectedRepositoryr   z]cloudbuild.projects.locations.bitbucketServerConfigs.removeBitbucketServerConnectedRepositoryrt   z5v1/{+config}:removeBitbucketServerConnectedRepository/removeBitbucketServerConnectedRepositoryRequest`CloudbuildProjectsLocationsBitbucketServerConfigsRemoveBitbucketServerConnectedRepositoryRequestr   Fr   r   r   ra   r_   r   r    s8    XE[E[ `q zJMG|"Fra   r   rf   )r   r   r   r   r   r   r   r"  r   rL  r  rl   rW  r  r   r   r   s   @r_   r=   r  (  sn    S7E
8F8F8C8D8E8>,::ra   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rU =r$ )+CloudbuildV1.ProjectsLocationsBuildsServicei  z9Service class for the projects_locations_builds resource.r@   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   r?   r   rg   rh   s     r_   r   4CloudbuildV1.ProjectsLocationsBuildsService.__init__  "    L77GOdra   c                 D    U R                  S5      nU R                  X1US9$ )a  Approves or rejects a pending build. If approved, the returned long-running operation (LRO) will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done.

Args:
  request: (CloudbuildProjectsLocationsBuildsApproveRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r  rm   ro   rr   s       r_   r  3CloudbuildV1.ProjectsLocationsBuildsService.Approve  r   ra   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzJv1/projects/{projectsId}/locations/{locationsId}/builds/{buildsId}:approver   z,cloudbuild.projects.locations.builds.approver   r  r  /CloudbuildProjectsLocationsBuildsApproveRequestr
  Fr   r   r   ra   r_   r   4CloudbuildV1.ProjectsLocationsBuildsService.<lambda>  s4    H$:$:^@xH*+K&%ra   c                 D    U R                  S5      nU R                  X1US9$ )zCancels a build in progress.

Args:
  request: (CancelBuildRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Build) The response message.
r   rm   ro   rr   s       r_   r   2CloudbuildV1.ProjectsLocationsBuildsService.Cancel  r   ra   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzIv1/projects/{projectsId}/locations/{locationsId}/builds/{buildsId}:cancelr   z+cloudbuild.projects.locations.builds.cancelr   r   r;  CancelBuildRequestr   Fr   r   r   ra   r_   r   r    s4    8#9#9]?xH)!."$ra   c                 D    U R                  S5      nU R                  X1US9$ )a  Starts a build with the specified configuration. This method returns a long-running `Operation`, which includes the build ID. Pass the build ID to `GetBuild` to determine the build status (such as `SUCCESS` or `FAILURE`).

Args:
  request: (CloudbuildProjectsLocationsBuildsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r"  rm   ro   rr   s       r_   r"  2CloudbuildV1.ProjectsLocationsBuildsService.Create  r   ra   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )N7v1/projects/{projectsId}/locations/{locationsId}/buildsr   z+cloudbuild.projects.locations.builds.creater%  r  v1/{+parent}/buildsr'  .CloudbuildProjectsLocationsBuildsCreateRequestr
  Fr   r   r   ra   r_   r   r  !  s6    8#9#9K? zJ!]+J&$ra   c                 D    U R                  S5      nU R                  X1US9$ )aq  Returns information about a previously requested build. The `Build` that is returned includes its status (such as `SUCCESS`, `FAILURE`, or `WORKING`), and timing information.

Args:
  request: (CloudbuildProjectsLocationsBuildsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Build) The response message.
r  rm   ro   rr   s       r_   r  /CloudbuildV1.ProjectsLocationsBuildsService.Get/  r  ra   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )NzBv1/projects/{projectsId}/locations/{locationsId}/builds/{buildsId}rx   z(cloudbuild.projects.locations.builds.getr   r  r  r  rz   +CloudbuildProjectsLocationsBuildsGetRequestr   Fr   r   r   ra   r_   r   r  <  s9     6 6V<xHK("G"!ra   c                 D    U R                  S5      nU R                  X1US9$ )a^  Lists previously requested builds. Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully.

Args:
  request: (CloudbuildProjectsLocationsBuildsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListBuildsResponse) The response message.
rl   rm   ro   rr   s       r_   rl   0CloudbuildV1.ProjectsLocationsBuildsService.ListJ  rv   ra   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr  rx   z)cloudbuild.projects.locations.builds.listr%  )r0  r1  r2  r  r  rz   ,CloudbuildProjectsLocationsBuildsListRequestr4  Fr   r   r   ra   r_   r   r  W  s4    !7!7K= zJE+H/"ra   c                 D    U R                  S5      nU R                  X1US9$ r6  ro   rr   s       r_   r7  1CloudbuildV1.ProjectsLocationsBuildsService.Retrye  r9  ra   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzHv1/projects/{projectsId}/locations/{locationsId}/builds/{buildsId}:retryr   z*cloudbuild.projects.locations.builds.retryr   zv1/{+name}:retryr;  r<  r
  Fr   r   r   ra   r_   r   r  r  s4    ("8"8\>xH(!-&#ra   r   rf   r=  r   s   @r_   r?   r    sm    C'E
8G8F8F8C8D8Era   r?   c                   J   ^  \ rS rSrSrSrU 4S jrSS jrS \l        Sr	U =r
$ )	GCloudbuildV1.ProjectsLocationsGitLabConfigsConnectedRepositoriesServicei  zVService class for the projects_locations_gitLabConfigs_connectedRepositories resource.rB   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   rA   r   rg   rh   s     r_   r   PCloudbuildV1.ProjectsLocationsGitLabConfigsConnectedRepositoriesService.__init__  s$    LSSUYcdjkdra   c                 D    U R                  S5      nU R                  X1US9$ )a9  Batch connecting GitLab repositories to Cloud Build. This API is experimental.

Args:
  request: (CloudbuildProjectsLocationsGitLabConfigsConnectedRepositoriesBatchCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r  rm   ro   rr   s       r_   r  SCloudbuildV1.ProjectsLocationsGitLabConfigsConnectedRepositoriesService.BatchCreate  r  ra   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzrv1/projects/{projectsId}/locations/{locationsId}/gitLabConfigs/{gitLabConfigsId}/connectedRepositories:batchCreater   zMcloudbuild.projects.locations.gitLabConfigs.connectedRepositories.batchCreater%  r  -batchCreateGitLabConnectedRepositoriesRequestOCloudbuildProjectsLocationsGitLabConfigsConnectedRepositoriesBatchCreateRequestr
  Fr   r   r   ra   r_   r   PCloudbuildV1.ProjectsLocationsGitLabConfigsConnectedRepositoriesService.<lambda>  s7    (>(> Ga zJFEk&)ra   r   rf   r  r   s   @r_   rA   r    s"    `DE
8!Kra   rA   c                   J   ^  \ rS rSrSrSrU 4S jrSS jrS \l        Sr	U =r
$ )	7CloudbuildV1.ProjectsLocationsGitLabConfigsReposServicei  zFService class for the projects_locations_gitLabConfigs_repos resource.rD   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   rC   r   rg   rh   s     r_   r   @CloudbuildV1.ProjectsLocationsGitLabConfigsReposService.__init__  s#    LCCTSTZ[dra   c                 D    U R                  S5      nU R                  X1US9$ )a4  List all repositories for a given `GitLabConfig`. This API is experimental.

Args:
  request: (CloudbuildProjectsLocationsGitLabConfigsReposListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListGitLabRepositoriesResponse) The response message.
rl   rm   ro   rr   s       r_   rl   <CloudbuildV1.ProjectsLocationsGitLabConfigsReposService.List  rv   ra   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )NzVv1/projects/{projectsId}/locations/{locationsId}/gitLabConfigs/{gitLabConfigsId}/reposrx   z6cloudbuild.projects.locations.gitLabConfigs.repos.listr%  r1  r2  r  rz   8CloudbuildProjectsLocationsGitLabConfigsReposListRequestListGitLabRepositoriesResponseFr   r   r   ra   r_   r   @CloudbuildV1.ProjectsLocationsGitLabConfigsReposService.<lambda>  s9    !7!7jJ zJ +.*T;"ra   r   rf   r   r   s   @r_   rC   r    s"    P4E
8Dra   rC   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rU =r$ )2CloudbuildV1.ProjectsLocationsGitLabConfigsServicei  z@Service class for the projects_locations_gitLabConfigs resource.rF   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   rE   r   rg   rh   s     r_   r   ;CloudbuildV1.ProjectsLocationsGitLabConfigsService.__init__  "    L>>NvVdra   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a new `GitLabConfig`. This API is experimental.

Args:
  request: (CloudbuildProjectsLocationsGitLabConfigsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r"  rm   ro   rr   s       r_   r"  9CloudbuildV1.ProjectsLocationsGitLabConfigsService.Create  r   ra   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )N>v1/projects/{projectsId}/locations/{locationsId}/gitLabConfigsr   z2cloudbuild.projects.locations.gitLabConfigs.creater%  gitlabConfigIdv1/{+parent}/gitLabConfigsgitLabConfig5CloudbuildProjectsLocationsGitLabConfigsCreateRequestr
  Fr   r   r   ra   r_   r   ;CloudbuildV1.ProjectsLocationsGitLabConfigsService.<lambda>  s7    8#9#9RF zJ&'2$Q&$ra   c                 D    U R                  S5      nU R                  X1US9$ )a  Delete a `GitLabConfig`. This API is experimental.

Args:
  request: (CloudbuildProjectsLocationsGitLabConfigsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
rL  rm   ro   rr   s       r_   rL  9CloudbuildV1.ProjectsLocationsGitLabConfigsService.Delete  r   ra   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NPv1/projects/{projectsId}/locations/{locationsId}/gitLabConfigs/{gitLabConfigsId}rO  z2cloudbuild.projects.locations.gitLabConfigs.deleter   r  rz   5CloudbuildProjectsLocationsGitLabConfigsDeleteRequestr
  Fr   r   r   ra   r_   r   r"    s4    8#9#9dFxH"Q&$ra   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieves a `GitLabConfig`. This API is experimental.

Args:
  request: (CloudbuildProjectsLocationsGitLabConfigsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GitLabConfig) The response message.
r  rm   ro   rr   s       r_   r  6CloudbuildV1.ProjectsLocationsGitLabConfigsService.Get
  r  ra   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr&  rx   z/cloudbuild.projects.locations.gitLabConfigs.getr   r  rz   2CloudbuildProjectsLocationsGitLabConfigsGetRequestGitLabConfigFr   r   r   ra   r_   r   r"    s4     6 6dCxH"N)!ra   c                 D    U R                  S5      nU R                  X1US9$ )a&  List all `GitLabConfigs` for a given project. This API is experimental.

Args:
  request: (CloudbuildProjectsLocationsGitLabConfigsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListGitLabConfigsResponse) The response message.
rl   rm   ro   rr   s       r_   rl   7CloudbuildV1.ProjectsLocationsGitLabConfigsService.List%  rv   ra   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr  rx   z0cloudbuild.projects.locations.gitLabConfigs.listr%  r1  r2  r  rz   3CloudbuildProjectsLocationsGitLabConfigsListRequestListGitLabConfigsResponseFr   r   r   ra   r_   r   r"  2  s9    !7!7RD zJ +.2O6"ra   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates an existing `GitLabConfig`. This API is experimental.

Args:
  request: (CloudbuildProjectsLocationsGitLabConfigsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
rW  rm   ro   rr   s       r_   rW  8CloudbuildV1.ProjectsLocationsGitLabConfigsService.Patch@  r9  ra   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr&  rZ  z1cloudbuild.projects.locations.gitLabConfigs.patchr   r[  r  r   4CloudbuildProjectsLocationsGitLabConfigsPatchRequestr
  Fr   r   r   ra   r_   r   r"  M  s6    ("8"8dExH"^"$P&#ra   c                 D    U R                  S5      nU R                  X1US9$ )aN  Remove a GitLab repository from a given GitLabConfig's connected repositories. This API is experimental.

Args:
  request: (CloudbuildProjectsLocationsGitLabConfigsRemoveGitLabConnectedRepositoryRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
RemoveGitLabConnectedRepositoryrm   ro   rr   s       r_   r7  RCloudbuildV1.ProjectsLocationsGitLabConfigsService.RemoveGitLabConnectedRepository[  s0     ##$EFf__
  8 8ra   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzpv1/projects/{projectsId}/locations/{locationsId}/gitLabConfigs/{gitLabConfigsId}:removeGitLabConnectedRepositoryr   zKcloudbuild.projects.locations.gitLabConfigs.removeGitLabConnectedRepositoryrt   z,v1/{+config}:removeGitLabConnectedRepository&removeGitLabConnectedRepositoryRequestNCloudbuildProjectsLocationsGitLabConfigsRemoveGitLabConnectedRepositoryRequestr   Fr   r   r   ra   r_   r   r"  h  s7    H<R<R E_ zJD>j"=ra   r   rf   )r   r   r   r   r   r   r   r"  r   rL  r  rl   rW  r7  r   r   r   s   @r_   rE   r    sn    J.E
8F8F8C8D8E85#11ra   rE   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$ )8CloudbuildV1.ProjectsLocationsGithubInstallationsServiceiv  zGService class for the projects_locations_github_installations resource.rH   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   rG   r   rg   rh   s     r_   r   ACloudbuildV1.ProjectsLocationsGithubInstallationsService.__init__{  s#    LDDdTU[\dra   c                 D    U R                  S5      nU R                  X1US9$ )a3  Create an association between a GCP project and a GitHub installation. This API is experimental.

Args:
  request: (CloudbuildProjectsLocationsGithubInstallationsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
r"  rm   ro   rr   s       r_   r"  ?CloudbuildV1.ProjectsLocationsGithubInstallationsService.Create  r   ra   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )NEv1/projects/{projectsId}/locations/{locationsId}/github/installationsr   z9cloudbuild.projects.locations.github.installations.creater%  r  rF  !v1/{+parent}/github/installationsrH  ;CloudbuildProjectsLocationsGithubInstallationsCreateRequestr   Fr   r   r   ra   r_   r   ACloudbuildV1.ProjectsLocationsGithubInstallationsService.<lambda>  s9    8#9#9YM zJ!?39$W"$ra   c                 D    U R                  S5      nU R                  X1US9$ )a3  Delete an association between a GCP project and a GitHub installation. This API is experimental.

Args:
  request: (CloudbuildProjectsLocationsGithubInstallationsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
rL  rm   ro   rr   s       r_   rL  ?CloudbuildV1.ProjectsLocationsGithubInstallationsService.Delete  r   ra   c                  J    [         R                  " SSSSS/SS/SS/SS	S
SSS9$ )NWv1/projects/{projectsId}/locations/{locationsId}/github/installations/{installationsId}rO  z9cloudbuild.projects.locations.github.installations.deleter   installationsIdry   r  1v1/{+name}/github/installations/{installationsId}rz   ;CloudbuildProjectsLocationsGithubInstallationsDeleteRequestr   Fr   r   r   ra   r_   r   rF    s@    8#9#9kM 12&/&4IW"$ra   c                 D    U R                  S5      nU R                  X1US9$ )a=  List all Installations for a given project id. This API is experimental.

Args:
  request: (CloudbuildProjectsLocationsGithubInstallationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListGitHubInstallationsForProjectResponse) The response message.
rl   rm   ro   rr   s       r_   rl   =CloudbuildV1.ProjectsLocationsGithubInstallationsService.List  rv   ra   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NrC  rx   z7cloudbuild.projects.locations.github.installations.listr%  r  rD  rz   9CloudbuildProjectsLocationsGithubInstallationsListRequestrU  Fr   r   r   ra   r_   r   rF    s6    !7!7YK zJ!]9UF"ra   c                 D    U R                  S5      nU R                  X1US9$ )a-  Update settings for a GCP project to GitHub installation mapping. This API is experimental.

Args:
  request: (CloudbuildProjectsLocationsGithubInstallationsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
rW  rm   ro   rr   s       r_   rW  >CloudbuildV1.ProjectsLocationsGithubInstallationsService.Patch  r9  ra   c                  J    [         R                  " SSSSS/SS// SQSSS	S
SS9$ )NrJ  rZ  z8cloudbuild.projects.locations.github.installations.patchr   rK  ry   name1r  r[  rL  rH  :CloudbuildProjectsLocationsGithubInstallationsPatchRequestr   Fr   r   r   ra   r_   r   rF    s;    ("8"8kL 12&/KI$V"#ra   r   rf   r]  r   s   @r_   rG   r=  v  sO    Q5E
8F8F8D8Era   rG   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ )+CloudbuildV1.ProjectsLocationsGithubServicei  z9Service class for the projects_locations_github resource.rJ   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   rI   r   rg   rh   s     r_   r   4CloudbuildV1.ProjectsLocationsGithubService.__init__  r  ra   r   r   r   s   @r_   rI   rY    s    C'E ra   rI   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rU =r$ )<CloudbuildV1.ProjectsLocationsGithubEnterpriseConfigsServicei  zJService class for the projects_locations_githubEnterpriseConfigs resource.rL   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   rK   r   rg   rh   s     r_   r   ECloudbuildV1.ProjectsLocationsGithubEnterpriseConfigsService.__init__  s#    LHH$XY_`dra   c                 D    U R                  S5      nU R                  X1US9$ )a&  Create an association between a GCP project and a GitHub Enterprise server.

Args:
  request: (CloudbuildProjectsLocationsGithubEnterpriseConfigsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r"  rm   ro   rr   s       r_   r"  CCloudbuildV1.ProjectsLocationsGithubEnterpriseConfigsService.Create   r   ra   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )NHv1/projects/{projectsId}/locations/{locationsId}/githubEnterpriseConfigsr   z<cloudbuild.projects.locations.githubEnterpriseConfigs.creater%  rj  r  rk  rl  ?CloudbuildProjectsLocationsGithubEnterpriseConfigsCreateRequestr
  Fr   r   r   ra   r_   r   ECloudbuildV1.ProjectsLocationsGithubEnterpriseConfigsService.<lambda>  s9    8#9#9\P zJ#[1<.[&$ra   c                 D    U R                  S5      nU R                  X1US9$ )a&  Delete an association between a GCP project and a GitHub Enterprise server.

Args:
  request: (CloudbuildProjectsLocationsGithubEnterpriseConfigsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
rL  rm   ro   rr   s       r_   rL  CCloudbuildV1.ProjectsLocationsGithubEnterpriseConfigsService.Delete  r   ra   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Ndv1/projects/{projectsId}/locations/{locationsId}/githubEnterpriseConfigs/{githubEnterpriseConfigsId}rO  z<cloudbuild.projects.locations.githubEnterpriseConfigs.deleter   rs  r  r  rz   ?CloudbuildProjectsLocationsGithubEnterpriseConfigsDeleteRequestr
  Fr   r   r   ra   r_   r   re  (  s9    8#9#9xPxH +."[&$ra   c                 D    U R                  S5      nU R                  X1US9$ )a  Retrieve a GitHubEnterpriseConfig.

Args:
  request: (CloudbuildProjectsLocationsGithubEnterpriseConfigsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GitHubEnterpriseConfig) The response message.
r  rm   ro   rr   s       r_   r  @CloudbuildV1.ProjectsLocationsGithubEnterpriseConfigsService.Get6  r  ra   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nri  rx   z9cloudbuild.projects.locations.githubEnterpriseConfigs.getr   rs  r  r  rz   <CloudbuildProjectsLocationsGithubEnterpriseConfigsGetRequestry  Fr   r   r   ra   r_   r   re  C  s9     6 6xMxH +."X3!ra   c                 D    U R                  S5      nU R                  X1US9$ )a  Get the GitHub App associated with a GitHub Enterprise Config. Uses the GitHub API: https://developer.github.com/enterprise/2.21/v3/apps/#get-an-app This API is experimental.

Args:
  request: (CloudbuildProjectsLocationsGithubEnterpriseConfigsGetAppRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GitHubEnterpriseApp) The response message.
r{  rm   ro   rr   s       r_   r{  CCloudbuildV1.ProjectsLocationsGithubEnterpriseConfigsService.GetAppQ  r   ra   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzhv1/projects/{projectsId}/locations/{locationsId}/githubEnterpriseConfigs/{githubEnterpriseConfigsId}/apprx   z<cloudbuild.projects.locations.githubEnterpriseConfigs.getAppr~  r  rz   ?CloudbuildProjectsLocationsGithubEnterpriseConfigsGetAppRequestr  Fr   r   r   ra   r_   r   re  ^  s6    8#9#9|P23/0:[0$ra   c                 D    U R                  S5      nU R                  X1US9$ )a(  List all GitHubEnterpriseConfigs for a given project.

Args:
  request: (CloudbuildProjectsLocationsGithubEnterpriseConfigsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListGithubEnterpriseConfigsResponse) The response message.
rl   rm   ro   rr   s       r_   rl   ACloudbuildV1.ProjectsLocationsGithubEnterpriseConfigsService.Listl  rv   ra   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nrc  rx   z:cloudbuild.projects.locations.githubEnterpriseConfigs.listr%  r  rk  rz   =CloudbuildProjectsLocationsGithubEnterpriseConfigsListRequestr  Fr   r   r   ra   r_   r   re  y  s6    !7!7\N zJ!]<Y@"ra   c                 D    U R                  S5      nU R                  X1US9$ )a%  Update an association between a GCP project and a GitHub Enterprise server.

Args:
  request: (CloudbuildProjectsLocationsGithubEnterpriseConfigsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
rW  rm   ro   rr   s       r_   rW  BCloudbuildV1.ProjectsLocationsGithubEnterpriseConfigsService.Patch  r9  ra   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nri  rZ  z;cloudbuild.projects.locations.githubEnterpriseConfigs.patchr   r[  r  rl  >CloudbuildProjectsLocationsGithubEnterpriseConfigsPatchRequestr
  Fr   r   r   ra   r_   r   re    s6    ("8"8xOxH"^".Z&#ra   r   rf   r  r   s   @r_   rK   r]    sm    T8E
8F8F8C8F8D8Era   rK   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rU =r$ )2CloudbuildV1.ProjectsLocationsInstallationsServicei  z@Service class for the projects_locations_installations resource.rN   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   rM   r   rg   rh   s     r_   r   ;CloudbuildV1.ProjectsLocationsInstallationsService.__init__  r  ra   c                 D    U R                  S5      nU R                  X1US9$ )a-  Delete an association between a GCP project and a GitHub installation. This API is experimental.

Args:
  request: (CloudbuildProjectsLocationsInstallationsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
rL  rm   ro   rr   s       r_   rL  9CloudbuildV1.ProjectsLocationsInstallationsService.Delete  r   ra   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )NPv1/projects/{projectsId}/locations/{locationsId}/installations/{installationsId}rO  z2cloudbuild.projects.locations.installations.deleter   ry   r  r  rz   5CloudbuildProjectsLocationsInstallationsDeleteRequestr   Fr   r   r   ra   r_   r   ;CloudbuildV1.ProjectsLocationsInstallationsService.<lambda>  s9    8#9#9dFxH&4"Q"$ra   c                 D    U R                  S5      nU R                  X1US9$ )a7  List all Installations for a given project id. This API is experimental.

Args:
  request: (CloudbuildProjectsLocationsInstallationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListGitHubInstallationsForProjectResponse) The response message.
rl   rm   ro   rr   s       r_   rl   7CloudbuildV1.ProjectsLocationsInstallationsService.List  rv   ra   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nz>v1/projects/{projectsId}/locations/{locationsId}/installationsrx   z0cloudbuild.projects.locations.installations.listr%  r  zv1/{+parent}/installationsrz   3CloudbuildProjectsLocationsInstallationsListRequestrU  Fr   r   r   ra   r_   r   r    s6    !7!7RD zJ!]2OF"ra   c                 D    U R                  S5      nU R                  X1US9$ )a'  Update settings for a GCP project to GitHub installation mapping. This API is experimental.

Args:
  request: (CloudbuildProjectsLocationsInstallationsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
rW  rm   ro   rr   s       r_   rW  8CloudbuildV1.ProjectsLocationsInstallationsService.Patch  r9  ra   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr  rZ  z1cloudbuild.projects.locations.installations.patchr   rU  r  rH  4CloudbuildProjectsLocationsInstallationsPatchRequestr   Fr   r   r   ra   r_   r   r    s4    ("8"8dExHK"$P"#ra   r   rf   )r   r   r   r   r   r   r   rL  r   rl   rW  r   r   r   s   @r_   rM   r|    s@    J.E
8F8D8Era   rM   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$ )/CloudbuildV1.ProjectsLocationsOperationsServicei  z=Service class for the projects_locations_operations resource.rP   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   rO   r   rg   rh   s     r_   r   8CloudbuildV1.ProjectsLocationsOperationsService.__init__  r   ra   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.
r   rm   ro   rr   s       r_   r   6CloudbuildV1.ProjectsLocationsOperationsService.Cancel  r   ra   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzQv1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancelr   z/cloudbuild.projects.locations.operations.cancelr   r   r   2CloudbuildProjectsLocationsOperationsCancelRequestr   Fr   r   r   ra   r_   r   8CloudbuildV1.ProjectsLocationsOperationsService.<lambda>  s4    8#9#9eCxH).N"$ra   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  rm   ro   rr   s       r_   r  3CloudbuildV1.ProjectsLocationsOperationsService.Get"  r  ra   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzJv1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}rx   z,cloudbuild.projects.locations.operations.getr   r  rz   /CloudbuildProjectsLocationsOperationsGetRequestr
  Fr   r   r   ra   r_   r   r  /  s4     6 6^@xH"K&!ra   r   rf   r  r   s   @r_   rO   r    s1    G+E
8F8Cra   rO   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$ )-CloudbuildV1.ProjectsLocationsTriggersServicei=  z;Service class for the projects_locations_triggers resource.rR   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   rQ   r   rg   rh   s     r_   r   6CloudbuildV1.ProjectsLocationsTriggersService.__init__B  s"    L994I&Qdra   c                 D    U R                  S5      nU R                  X1US9$ )zCreates a new `BuildTrigger`.

Args:
  request: (CloudbuildProjectsLocationsTriggersCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (BuildTrigger) The response message.
r"  rm   ro   rr   s       r_   r"  4CloudbuildV1.ProjectsLocationsTriggersService.CreateG  r   ra   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )N9v1/projects/{projectsId}/locations/{locationsId}/triggersr   z-cloudbuild.projects.locations.triggers.creater%  r  v1/{+parent}/triggersbuildTrigger0CloudbuildProjectsLocationsTriggersCreateRequestBuildTriggerFr   r   r   ra   r_   r   6CloudbuildV1.ProjectsLocationsTriggersService.<lambda>T  s6    8#9#9MA zJ!]-$L)$ra   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes a `BuildTrigger` by its project ID and trigger ID.

Args:
  request: (CloudbuildProjectsLocationsTriggersDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
rL  rm   ro   rr   s       r_   rL  4CloudbuildV1.ProjectsLocationsTriggersService.Deleteb  r   ra   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )NFv1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}rO  z-cloudbuild.projects.locations.triggers.deleter   r  	triggerIdr  rz   0CloudbuildProjectsLocationsTriggersDeleteRequestr   Fr   r   r   ra   r_   r   r  o  s9    8#9#9ZAxH!;/"L"$ra   c                 D    U R                  S5      nU R                  X1US9$ )zReturns information about a `BuildTrigger`.

Args:
  request: (CloudbuildProjectsLocationsTriggersGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (BuildTrigger) The response message.
r  rm   ro   rr   s       r_   r  1CloudbuildV1.ProjectsLocationsTriggersService.Get}  r  ra   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr  rx   z*cloudbuild.projects.locations.triggers.getr   r  r  r  rz   -CloudbuildProjectsLocationsTriggersGetRequestr  Fr   r   r   ra   r_   r   r    s9     6 6Z>xH!;/"I)!ra   c                 D    U R                  S5      nU R                  X1US9$ )zLists existing `BuildTrigger`s.

Args:
  request: (CloudbuildProjectsLocationsTriggersListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListBuildTriggersResponse) The response message.
rl   rm   ro   rr   s       r_   rl   2CloudbuildV1.ProjectsLocationsTriggersService.List  rv   ra   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr  rx   z+cloudbuild.projects.locations.triggers.listr%  )r1  r2  r  r  rz   .CloudbuildProjectsLocationsTriggersListRequestListBuildTriggersResponseFr   r   r   ra   r_   r   r    s4    !7!7M? zJ;-J6"ra   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates a `BuildTrigger` by its project ID and trigger ID.

Args:
  request: (CloudbuildProjectsLocationsTriggersPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (BuildTrigger) The response message.
rW  rm   ro   rr   s       r_   rW  3CloudbuildV1.ProjectsLocationsTriggersService.Patch  r9  ra   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr  rZ  z,cloudbuild.projects.locations.triggers.patchresourceName)r  r  r[  zv1/{+resourceName}r  /CloudbuildProjectsLocationsTriggersPatchRequestr  Fr   r   r   ra   r_   r   r    s6    ("8"8Z@&'#$=*$K)#ra   c                 D    U R                  S5      nU R                  X1US9$ )a,  Runs a `BuildTrigger` at a particular source revision. To run a regional or global trigger, use the POST request that includes the location endpoint in the path (ex. v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run). The POST request that does not include the location endpoint in the path can only be used when running global triggers.

Args:
  request: (CloudbuildProjectsLocationsTriggersRunRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Runrm   ro   rr   s       r_   r  1CloudbuildV1.ProjectsLocationsTriggersService.Run  r  ra   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzJv1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}:runr   z*cloudbuild.projects.locations.triggers.runr   zv1/{+name}:runrunBuildTriggerRequest-CloudbuildProjectsLocationsTriggersRunRequestr
  Fr   r   r   ra   r_   r   r    s4     6 6^>xH&.I&!ra   c                 D    U R                  S5      nU R                  X1US9$ )aW  ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger.

Args:
  request: (CloudbuildProjectsLocationsTriggersWebhookRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ReceiveTriggerWebhookResponse) The response message.
Webhookrm   ro   rr   s       r_   r  5CloudbuildV1.ProjectsLocationsTriggersService.Webhook  r   ra   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )NzNv1/projects/{projectsId}/locations/{locationsId}/triggers/{triggersId}:webhookr   z.cloudbuild.projects.locations.triggers.webhookr   )r  secrettriggerzv1/{+name}:webhookr   1CloudbuildProjectsLocationsTriggersWebhookRequestReceiveTriggerWebhookResponseFr   r   r   ra   r_   r   r    s4    H$:$:bBxH7* M:%ra   r   rf   r   r   r   r   r   r   r   r"  r   rL  r  rl   rW  r  r  r   r   r   s   @r_   rQ   r  =  s|    E)E
8F8F8C8D8E8C8Gra   rQ   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$ )0CloudbuildV1.ProjectsLocationsWorkerPoolsServicei	  z>Service class for the projects_locations_workerPools resource.rT   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   rS   r   rg   rh   s     r_   r   9CloudbuildV1.ProjectsLocationsWorkerPoolsService.__init__		  s"    L<<dLVTdra   c                 D    U R                  S5      nU R                  X1US9$ )zCreates a `WorkerPool`.

Args:
  request: (CloudbuildProjectsLocationsWorkerPoolsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r"  rm   ro   rr   s       r_   r"  7CloudbuildV1.ProjectsLocationsWorkerPoolsService.Create	  r   ra   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )N<v1/projects/{projectsId}/locations/{locationsId}/workerPoolsr   z0cloudbuild.projects.locations.workerPools.creater%  validateOnlyworkerPoolIdv1/{+parent}/workerPools
workerPool3CloudbuildProjectsLocationsWorkerPoolsCreateRequestr
  Fr   r   r   ra   r_   r   9CloudbuildV1.ProjectsLocationsWorkerPoolsService.<lambda>	  s9    8#9#9PD zJ$n50"O&$ra   c                 D    U R                  S5      nU R                  X1US9$ )zDeletes a `WorkerPool`.

Args:
  request: (CloudbuildProjectsLocationsWorkerPoolsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
rL  rm   ro   rr   s       r_   rL  7CloudbuildV1.ProjectsLocationsWorkerPoolsService.Delete)	  r   ra   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )NLv1/projects/{projectsId}/locations/{locationsId}/workerPools/{workerPoolsId}rO  z0cloudbuild.projects.locations.workerPools.deleter   )allowMissingetagr  r  rz   3CloudbuildProjectsLocationsWorkerPoolsDeleteRequestr
  Fr   r   r   ra   r_   r   r  6	  s4    8#9#9`DxH="O&$ra   c                 D    U R                  S5      nU R                  X1US9$ )zReturns details of a `WorkerPool`.

Args:
  request: (CloudbuildProjectsLocationsWorkerPoolsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (WorkerPool) The response message.
r  rm   ro   rr   s       r_   r  4CloudbuildV1.ProjectsLocationsWorkerPoolsService.GetD	  r  ra   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr  rx   z-cloudbuild.projects.locations.workerPools.getr   r  rz   0CloudbuildProjectsLocationsWorkerPoolsGetRequest
WorkerPoolFr   r   r   ra   r_   r   r  Q	  s4     6 6`AxH"L'!ra   c                 D    U R                  S5      nU R                  X1US9$ )zLists `WorkerPool`s.

Args:
  request: (CloudbuildProjectsLocationsWorkerPoolsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListWorkerPoolsResponse) The response message.
rl   rm   ro   rr   s       r_   rl   5CloudbuildV1.ProjectsLocationsWorkerPoolsService.List_	  rv   ra   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr  rx   z.cloudbuild.projects.locations.workerPools.listr%  r1  r2  r  rz   1CloudbuildProjectsLocationsWorkerPoolsListRequestListWorkerPoolsResponseFr   r   r   ra   r_   r   r  l	  s9    !7!7PB zJ +.0M4"ra   c                 D    U R                  S5      nU R                  X1US9$ )zUpdates a `WorkerPool`.

Args:
  request: (CloudbuildProjectsLocationsWorkerPoolsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
rW  rm   ro   rr   s       r_   rW  6CloudbuildV1.ProjectsLocationsWorkerPoolsService.Patchz	  r9  ra   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nr  rZ  z/cloudbuild.projects.locations.workerPools.patchr   r[  r  r  r  2CloudbuildProjectsLocationsWorkerPoolsPatchRequestr
  Fr   r   r   ra   r_   r   r  	  s9    ("8"8`CxH"N3""N&#ra   r   rf   )r   r   r   r   r   r   r   r"  r   rL  r  rl   rW  r   r   r   s   @r_   rS   r  	  s^    H,E
8F8F8C8D8Era   rS   c                   J   ^  \ rS rSrSrSrU 4S jrSS jrS \l        Sr	U =r
$ )	%CloudbuildV1.ProjectsLocationsServicei	  z2Service class for the projects_locations resource.rV   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   rU   r   rg   rh   s     r_   r   .CloudbuildV1.ProjectsLocationsService.__init__	  s"    L114A&Idra   c                 D    U R                  S5      nU R                  X1US9$ )a  Returns the `DefaultServiceAccount` used by the project.

Args:
  request: (CloudbuildProjectsLocationsGetDefaultServiceAccountRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (DefaultServiceAccount) The response message.
GetDefaultServiceAccountrm   ro   rr   s       r_   r  >CloudbuildV1.ProjectsLocationsService.GetDefaultServiceAccount	  s0     ##$>?f__
  8 8ra   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzFv1/projects/{projectsId}/locations/{locationsId}/defaultServiceAccountrx   z6cloudbuild.projects.locations.getDefaultServiceAccountr   r  rz   :CloudbuildProjectsLocationsGetDefaultServiceAccountRequestDefaultServiceAccountFr   r   r   ra   r_   r   .CloudbuildV1.ProjectsLocationsService.<lambda>	  s4    X5K5KZJxH"V26ra   r   rf   )r   r   r   r   r   r   r   r  r   r   r   r   s   @r_   rU   r  	  s#    < E
8.**ra   rU   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$ )$CloudbuildV1.ProjectsTriggersServicei	  z1Service class for the projects_triggers resource.rX   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   rW   r   rg   rh   s     r_   r   -CloudbuildV1.ProjectsTriggersService.__init__	  s"    L00$@Hdra   c                 D    U R                  S5      nU R                  X1US9$ )zCreates a new `BuildTrigger`.

Args:
  request: (CloudbuildProjectsTriggersCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (BuildTrigger) The response message.
r"  rm   ro   rr   s       r_   r"  +CloudbuildV1.ProjectsTriggersService.Create	  r   ra   c                  B    [         R                  " SSS/S/S/SSSSS	S
9
$ )Nr   z#cloudbuild.projects.triggers.creater  r%   v1/projects/{projectId}/triggersr  'CloudbuildProjectsTriggersCreateRequestr  Fr}   r   r   ra   r_   r   -CloudbuildV1.ProjectsTriggersService.<lambda>	  s3    8#9#97#} MZ8$C)$ra   c                 D    U R                  S5      nU R                  X1US9$ )zDeletes a `BuildTrigger` by its project ID and trigger ID.

Args:
  request: (CloudbuildProjectsTriggersDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
rL  rm   ro   rr   s       r_   rL  +CloudbuildV1.ProjectsTriggersService.Delete	  r   ra   c                  F    [         R                  " SSSS/SS/S/SSSS	S
S9
$ )NrO  z#cloudbuild.projects.triggers.deleter  r  r   ,v1/projects/{projectId}/triggers/{triggerId}rz   'CloudbuildProjectsTriggersDeleteRequestr   Fr}   r   r   ra   r_   r   r  	  s9    8#9#97#[1 +.XDC"$ra   c                 D    U R                  S5      nU R                  X1US9$ )zReturns information about a `BuildTrigger`.

Args:
  request: (CloudbuildProjectsTriggersGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (BuildTrigger) The response message.
r  rm   ro   rr   s       r_   r  (CloudbuildV1.ProjectsTriggersService.Get	  r  ra   c                  F    [         R                  " SSSS/SS/S/SSSS	S
S9
$ )Nrx   z cloudbuild.projects.triggers.getr  r  r   r  rz   $CloudbuildProjectsTriggersGetRequestr  Fr}   r   r   ra   r_   r   r  
  s9     6 64#[1 +.XD@)!ra   c                 D    U R                  S5      nU R                  X1US9$ )zLists existing `BuildTrigger`s.

Args:
  request: (CloudbuildProjectsTriggersListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListBuildTriggersResponse) The response message.
rl   rm   ro   rr   s       r_   rl   )CloudbuildV1.ProjectsTriggersService.List
  rv   ra   c                  D    [         R                  " SSS/S// SQSSSSS	S
9
$ )Nrx   z!cloudbuild.projects.triggers.listr  )r1  r2  r%  r  rz   %CloudbuildProjectsTriggersListRequestr  Fr}   r   r   ra   r_   r   r  
  s1    !7!75#} M88A6"ra   c                 D    U R                  S5      nU R                  X1US9$ )zUpdates a `BuildTrigger` by its project ID and trigger ID.

Args:
  request: (CloudbuildProjectsTriggersPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (BuildTrigger) The response message.
rW  rm   ro   rr   s       r_   rW  *CloudbuildV1.ProjectsTriggersService.Patch,
  r9  ra   c                  F    [         R                  " SSSS/SS/S/SSSS	S
S9
$ )NrZ  z"cloudbuild.projects.triggers.patchr  r  r[  r  r  &CloudbuildProjectsTriggersPatchRequestr  Fr}   r   r   ra   r_   r   r  9
  s9    ("8"86#[1 +."^D$B)#ra   c                 D    U R                  S5      nU R                  X1US9$ )a#  Runs a `BuildTrigger` at a particular source revision. To run a regional or global trigger, use the POST request that includes the location endpoint in the path (ex. v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run). The POST request that does not include the location endpoint in the path can only be used when running global triggers.

Args:
  request: (CloudbuildProjectsTriggersRunRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r  rm   ro   rr   s       r_   r  (CloudbuildV1.ProjectsTriggersService.RunF
  r  ra   c                  F    [         R                  " SSSS/SS/S/SSSS	S
S9
$ )Nr   z cloudbuild.projects.triggers.runr  r  r   z0v1/projects/{projectId}/triggers/{triggerId}:run
repoSource$CloudbuildProjectsTriggersRunRequestr
  Fr}   r   r   ra   r_   r   r  S
  s9     6 64#[1 +.XH"@&!ra   c                 D    U R                  S5      nU R                  X1US9$ )aN  ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger.

Args:
  request: (CloudbuildProjectsTriggersWebhookRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ReceiveTriggerWebhookResponse) The response message.
r  rm   ro   rr   s       r_   r  ,CloudbuildV1.ProjectsTriggersService.Webhook`
  r   ra   c                  H    [         R                  " SSSS/SS/SS/SSS	S
SS9
$ )Nr   z$cloudbuild.projects.triggers.webhookr  r  r   r  z2v1/projects/{projectId}/triggers/{trigger}:webhookr   (CloudbuildProjectsTriggersWebhookRequestr  Fr}   r   r   ra   r_   r   r  m
  s<    H$:$:8#Y/ ),h'J D:%ra   r   rf   r  r   s   @r_   rW   r  	  s|    ;E
8F8F8C8D8E8C8Gra   rW   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ )CloudbuildV1.ProjectsServiceiz
  z(Service class for the projects resource.rZ   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   rY   r   rg   rh   s     r_   r   %CloudbuildV1.ProjectsService.__init__
  s"    L(($8@dra   r   r   r   s   @r_   rY   r  z
  s    2E ra   rY   c                   J   ^  \ rS rSrSrSrU 4S jrSS jrS \l        Sr	U =r
$ )	CloudbuildV1.V1Servicei
  z"Service class for the v1 resource.r
   c                 N   > [         [        R                  U ]  U5        0 U l        g rf   )r   r   r[   r   rg   rh   s     r_   r   CloudbuildV1.V1Service.__init__
  s"    L""D26:dra   c                 D    U R                  S5      nU R                  X1US9$ )zReceiveWebhook is called when the API receives a GitHub webhook.

Args:
  request: (CloudbuildWebhookRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
r  rm   ro   rr   s       r_   r  CloudbuildV1.V1Service.Webhook
  r   ra   c                  >    [         R                  " SS/ / S/SSSSSS	9
$ )
Nr   zcloudbuild.webhookr   z
v1/webhookr   CloudbuildWebhookRequestr   Fr}   r   r   ra   r_   r   CloudbuildV1.V1Service.<lambda>
  s/    H$:$:&"^" 4"%ra   r   rf   )r   r   r   r   r   r   r   r  r   r   r   r   s   @r_   r[   r!  
  s"    ,E
8Gra   r[   )!r"   r$   r    r   r   r(   r&   r*   r,   r.   rZ   r0   r4   r6   r2   r8   rV   r>   r:   r<   r@   rF   rB   rD   rJ   rL   rH   rN   rP   rR   rT   rX   r
   )rz   NTNNFFNNNN)8r   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/   r1   r3   r5   r7   r9   r;   r=   r?   rA   rC   rE   rG   rI   rK   rM   rO   rQ   rS   rU   rW   rY   r[   r   r   r   s   @r_   r   r   
   s   C/1(;-(=>'(*"."+%,()-6:/4<@?C	/#b"0G0G "H"8+B+B "H8#:#: h-- "8#:#: "H"(*A*A "HX44 #00 #J<X,, <|>(11 >@eh55 eNp8+B+B pdh55 jx/F/F jXpX%<%< pd#HLcLc #J#H<S<S #Jjx7N7N jXjx'>'> jX#8CZCZ #J#83J3J #Jjh.E.E jXtH4K4K tlx'>'> j8O8O jXYh.E.E Yv>8+B+B >@E)@)@ ENOH,C,C Ob#!8!8 #J~ 7 7 ~@// "()) " "ra   r   N)
r   
__future__r   apitools.base.pyr   3googlecloudsdk.generated_clients.apis.cloudbuild.v1r   r)  BaseApiClientr   r   ra   r_   <module>r:     s'    9 ' % b\*8)) \*ra   