
    5-                     V    S r SSKJr  SSKJr  SSKJr   " S S\R                  5      r	g)z8Generated client library for cloudbuild version v1beta1.    )absolute_import)base_api)cloudbuild_v1beta1_messagesc                     ^  \ rS rSrSr\rSrSrSr	S/r
SrSrS	rS
rS rSrSr     SU 4S jjr " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      rSrU =r$ )CloudbuildV1beta1
   z@Generated client library for service cloudbuild version v1beta1.z"https://cloudbuild.googleapis.com/z'https://cloudbuild.mtls.googleapis.com/
cloudbuildz.https://www.googleapis.com/auth/cloud-platformv1beta1	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        g)zCreate a new cloudbuild handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)BASE_URLsuperr   __init__"ProjectsLocationsOperationsServiceprojects_locations_operations#ProjectsLocationsWorkerPoolsServiceprojects_locations_workerPoolsProjectsLocationsServiceprojects_locationsProjectsServiceprojects)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               Ylib/googlecloudsdk/generated_clients/apis/cloudbuild/v1beta1/cloudbuild_v1beta1_client.pyr   CloudbuildV1beta1.__init__   s     
C	
T+'%)3 7+ , - *.)P)PQU)VD&*.*R*RSW*XD'";;DAD((.DM    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$ )4CloudbuildV1beta1.ProjectsLocationsOperationsService/   z=Service class for the projects_locations_operations resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g N)r   r   r   r   _upload_configsr#   clientr%   s     r&   r   =CloudbuildV1beta1.ProjectsLocationsOperationsService.__init__4   s$    @@$PQWXdr(   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.
Cancelglobal_paramsGetMethodConfig
_RunMethodr#   requestr5   configs       r&   r3   ;CloudbuildV1beta1.ProjectsLocationsOperationsService.Cancel9   /     ##H-f__
  8 8r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzVv1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancelPOSTz/cloudbuild.projects.locations.operations.cancelnamezv1beta1/{+name}:cancelcancelOperationRequest2CloudbuildProjectsLocationsOperationsCancelRequestEmptyF	flat_pathhttp_method	method_idordered_paramspath_paramsquery_paramsrelative_pathrequest_fieldrequest_type_nameresponse_type_namesupports_downloadr   ApiMethodInfo r(   r&   <lambda>=CloudbuildV1beta1.ProjectsLocationsOperationsService.<lambda>F   s4    8#9#9jCxH..N"$r(   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.
Getr4   r6   r9   s       r&   rV   8CloudbuildV1beta1.ProjectsLocationsOperationsService.GetT   /     ##E*f__
  8 8r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzOv1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}GETz,cloudbuild.projects.locations.operations.getr@   v1beta1/{+name} /CloudbuildProjectsLocationsOperationsGetRequest	OperationFrD   rP   rR   r(   r&   rS   rT   a   s4     6 6c@xH'K&!r(   r.   r-   )__name__
__module____qualname____firstlineno____doc___NAMEr   r3   method_configrV   __static_attributes____classcell__r%   s   @r&   r   r*   /   s1    G+E
8F8Cr(   r   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SrU =r$ )5CloudbuildV1beta1.ProjectsLocationsWorkerPoolsServiceo   z>Service class for the projects_locations_workerPools resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r-   )r   r   r   r   r.   r/   s     r&   r   >CloudbuildV1beta1.ProjectsLocationsWorkerPoolsService.__init__t   s$    AA4QRXYdr(   c                 D    U R                  S5      nU R                  X1US9$ )af  Creates a `WorkerPool` to run the builds, and returns the new worker pool. NOTE: As of now, this method returns an `Operation` that is always complete.

Args:
  request: (CloudbuildProjectsLocationsWorkerPoolsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Creater4   r6   r9   s       r&   rp   <CloudbuildV1beta1.ProjectsLocationsWorkerPoolsService.Createy   r=   r(   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NAv1beta1/projects/{projectsId}/locations/{locationsId}/workerPoolsr?   z0cloudbuild.projects.locations.workerPools.createparentworkerPoolIdv1beta1/{+parent}/workerPools
workerPool3CloudbuildProjectsLocationsWorkerPoolsCreateRequestr^   FrD   rP   rR   r(   r&   rS   >CloudbuildV1beta1.ProjectsLocationsWorkerPoolsService.<lambda>   s7    8#9#9UD zJ$%5"O&$r(   c                 D    U R                  S5      nU R                  X1US9$ )a3  Deletes a `WorkerPool`. NOTE: As of now, this method returns an `Operation` that is always complete.

Args:
  request: (CloudbuildProjectsLocationsWorkerPoolsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Deleter4   r6   r9   s       r&   r{   <CloudbuildV1beta1.ProjectsLocationsWorkerPoolsService.Delete   r=   r(   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NQv1beta1/projects/{projectsId}/locations/{locationsId}/workerPools/{workerPoolsId}DELETEz0cloudbuild.projects.locations.workerPools.deleter@   etagr[   r\   3CloudbuildProjectsLocationsWorkerPoolsDeleteRequestr^   FrD   rP   rR   r(   r&   rS   ry      s6    8#9#9eDxHX'O&$r(   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.
rV   r4   r6   r9   s       r&   rV   9CloudbuildV1beta1.ProjectsLocationsWorkerPoolsService.Get   rX   r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr~   rZ   z-cloudbuild.projects.locations.workerPools.getr@   r[   r\   0CloudbuildProjectsLocationsWorkerPoolsGetRequest
WorkerPoolFrD   rP   rR   r(   r&   rS   ry      s4     6 6eAxH'L'!r(   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists `WorkerPool`s in the given project.

Args:
  request: (CloudbuildProjectsLocationsWorkerPoolsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListWorkerPoolsResponse) The response message.
Listr4   r6   r9   s       r&   r   :CloudbuildV1beta1.ProjectsLocationsWorkerPoolsService.List   s/     ##F+f__
  8 8r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nrs   rZ   z.cloudbuild.projects.locations.workerPools.listrt   rv   r\   1CloudbuildProjectsLocationsWorkerPoolsListRequestListWorkerPoolsResponseFrD   rP   rR   r(   r&   rS   ry      s4    !7!7UB zJ5M4"r(   c                 D    U R                  S5      nU R                  X1US9$ )a2  Updates a `WorkerPool`. NOTE: As of now, this method returns an `Operation` that is always complete.

Args:
  request: (CloudbuildProjectsLocationsWorkerPoolsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Patchr4   r6   r9   s       r&   r   ;CloudbuildV1beta1.ProjectsLocationsWorkerPoolsService.Patch   s/     ##G,f__
  8 8r(   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr~   PATCHz/cloudbuild.projects.locations.workerPools.patchr@   
updateMaskr[   rw   2CloudbuildProjectsLocationsWorkerPoolsPatchRequestr^   FrD   rP   rR   r(   r&   rS   ry      s6    ("8"8eCxH"^'"N&#r(   r_   r-   )r`   ra   rb   rc   rd   re   r   rp   rf   r{   rV   r   r   rg   rh   ri   s   @r&   r   rk   o   s^    H,E
8F8F8C8D8Er(   r   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ )*CloudbuildV1beta1.ProjectsLocationsService   z2Service class for the projects_locations resource.r    c                 N   > [         [        R                  U ]  U5        0 U l        g r-   )r   r   r   r   r.   r/   s     r&   r   3CloudbuildV1beta1.ProjectsLocationsService.__init__  s#    66FvNdr(   r_   	r`   ra   rb   rc   rd   re   r   rg   rh   ri   s   @r&   r   r      s    < E r(   r   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ )!CloudbuildV1beta1.ProjectsServicei
  z(Service class for the projects resource.r"   c                 N   > [         [        R                  U ]  U5        0 U l        g r-   )r   r   r!   r   r.   r/   s     r&   r   *CloudbuildV1beta1.ProjectsService.__init__  s#    --t=fEdr(   r_   r   ri   s   @r&   r!   r   
  s    2E r(   r!   )r"   r    r   r   )r\   NTNNFFNNNN)r`   ra   rb   rc   rd   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!   rg   rh   ri   s   @r&   r   r   
   s    H/1(;-(=>'(*"."+*,()-6:/4<@?C	/(>8+B+B >@OH,C,C Ob!8!8 //  r(   r   N)
rd   
__future__r   apitools.base.pyr   8googlecloudsdk.generated_clients.apis.cloudbuild.v1beta1r   r   BaseApiClientr   rR   r(   r&   <module>r      s'    > ' % lH.. Hr(   