
    e+                     V    S r SSKJr  SSKJr  SSKJr   " S S\R                  5      r	g)z9Generated client library for lifesciences version v2beta.    )absolute_import)base_api)lifesciences_v2beta_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$ )LifesciencesV2beta
   zAGenerated client library for service lifesciences version v2beta.z$https://lifesciences.googleapis.com/z)https://lifesciences.mtls.googleapis.com/lifesciencesz.https://www.googleapis.com/auth/cloud-platformv2beta	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 lifesciences 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!ProjectsLocationsPipelinesServiceprojects_locations_pipelinesProjectsLocationsServiceprojects_locationsProjectsServiceprojects)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               [lib/googlecloudsdk/generated_clients/apis/lifesciences/v2beta/lifesciences_v2beta_client.pyr   LifesciencesV2beta.__init__   s     
C	
d,'%)3 7+ - - *.)P)PQU)VD&(,(N(Nt(TD%";;DAD((.DM    c                   ~   ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SrU =r$ )5LifesciencesV2beta.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   >LifesciencesV2beta.ProjectsLocationsOperationsService.__init__4   s$    AA4QRXY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. Clients may use Operations.GetOperation or Operations.ListOperations to check whether the cancellation succeeded or the operation completed despite cancellation. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission: * `lifesciences.operations.cancel`.

Args:
  request: (LifesciencesProjectsLocationsOperationsCancelRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
Cancelglobal_paramsGetMethodConfig
_RunMethodr#   requestr5   configs       r&   r3   <LifesciencesV2beta.ProjectsLocationsOperationsService.Cancel9   s/     ##H-f__
  8 8r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzUv2beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancelPOSTz1lifesciences.projects.locations.operations.cancelnamezv2beta/{+name}:cancelcancelOperationRequest4LifesciencesProjectsLocationsOperationsCancelRequest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>>LifesciencesV2beta.ProjectsLocationsOperationsService.<lambda>F   s4    8#9#9iExH-.P"$r(   c                 D    U R                  S5      nU R                  X1US9$ )a  Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission: * `lifesciences.operations.get`.

Args:
  request: (LifesciencesProjectsLocationsOperationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Getr4   r6   r9   s       r&   rU   9LifesciencesV2beta.ProjectsLocationsOperationsService.GetT   /     ##E*f__
  8 8r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzNv2beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}GETz.lifesciences.projects.locations.operations.getr?   v2beta/{+name} 1LifesciencesProjectsLocationsOperationsGetRequest	OperationFrC   rO   rQ   r(   r&   rR   rS   a   s4     6 6bBxH&M&!r(   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists operations that match the specified filter in the request. Authorization requires the following [Google IAM](https://cloud.google.com/iam) permission: * `lifesciences.operations.list`.

Args:
  request: (LifesciencesProjectsLocationsOperationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListOperationsResponse) The response message.
Listr4   r6   r9   s       r&   r_   :LifesciencesV2beta.ProjectsLocationsOperationsService.Listo   /     ##F+f__
  8 8r(   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz?v2beta/projects/{projectsId}/locations/{locationsId}/operationsrY   z/lifesciences.projects.locations.operations.listr?   )filterpageSize	pageTokenreturnPartialSuccesszv2beta/{+name}/operationsr[   2LifesciencesProjectsLocationsOperationsListRequestListOperationsResponseFrC   rO   rQ   r(   r&   rR   rS   |   s4    !7!7SCxHP1N3"r(   r.   r-   )__name__
__module____qualname____firstlineno____doc___NAMEr   r3   method_configrU   r_   __static_attributes____classcell__r%   s   @r&   r   r*   /   s@    G+E
8F8C8Dr(   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
$ )	4LifesciencesV2beta.ProjectsLocationsPipelinesService   z<Service class for the projects_locations_pipelines resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g r-   )r   r   r   r   r.   r/   s     r&   r   =LifesciencesV2beta.ProjectsLocationsPipelinesService.__init__   s$    @@$PQWXdr(   c                 D    U R                  S5      nU R                  X1US9$ )a  Runs a pipeline. The returned Operation's metadata field will contain a google.cloud.lifesciences.v2beta.Metadata object describing the status of the pipeline execution. The response field will contain a google.cloud.lifesciences.v2beta.RunPipelineResponse object if the pipeline completes successfully. **Note:** Before you can use this method, the *Life Sciences Service Agent* must have access to your project. This is done automatically when the Cloud Life Sciences API is first enabled, but if you delete this permission you must disable and re-enable the API to grant the Life Sciences Service Agent the required permissions. Authorization requires the following [Google IAM](https://cloud.google.com/iam/) permission: * `lifesciences.workflows.run`.

Args:
  request: (LifesciencesProjectsLocationsPipelinesRunRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
Runr4   r6   r9   s       r&   rz   8LifesciencesV2beta.ProjectsLocationsPipelinesService.Run   rW   r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzBv2beta/projects/{projectsId}/locations/{locationsId}/pipelines:runr>   z-lifesciences.projects.locations.pipelines.runparentzv2beta/{+parent}/pipelines:runrunPipelineRequest0LifesciencesProjectsLocationsPipelinesRunRequestr]   FrC   rO   rQ   r(   r&   rR   =LifesciencesV2beta.ProjectsLocationsPipelinesService.<lambda>   s4     6 6VA zJ6*L&!r(   ri   r-   )rj   rk   rl   rm   rn   ro   r   rz   rp   rq   rr   rs   s   @r&   r   ru      s"    F*E
8Cr(   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$ )+LifesciencesV2beta.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   4LifesciencesV2beta.ProjectsLocationsService.__init__   s#    77GOdr(   c                 D    U R                  S5      nU R                  X1US9$ )zGets information about a location.

Args:
  request: (LifesciencesProjectsLocationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Location) The response message.
rU   r4   r6   r9   s       r&   rU   /LifesciencesV2beta.ProjectsLocationsService.Get   rW   r(   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz4v2beta/projects/{projectsId}/locations/{locationsId}rY   z#lifesciences.projects.locations.getr?   rZ   r[   'LifesciencesProjectsLocationsGetRequestLocationFrC   rO   rQ   r(   r&   rR   4LifesciencesV2beta.ProjectsLocationsService.<lambda>   s4     6 6H7xH&C%!r(   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists information about the supported locations for this service.

Args:
  request: (LifesciencesProjectsLocationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListLocationsResponse) The response message.
r_   r4   r6   r9   s       r&   r_   0LifesciencesV2beta.ProjectsLocationsService.List   ra   r(   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz&v2beta/projects/{projectsId}/locationsrY   z$lifesciences.projects.locations.listr?   )extraLocationTypesrc   rd   re   zv2beta/{+name}/locationsr[   (LifesciencesProjectsLocationsListRequestListLocationsResponseFrC   rO   rQ   r(   r&   rR   r      s4    !7!7:8xHN0D2"r(   ri   r-   )rj   rk   rl   rm   rn   ro   r   rU   rp   r_   rq   rr   rs   s   @r&   r   r      s1    < E
8C8Dr(   r   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ )"LifesciencesV2beta.ProjectsService   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   +LifesciencesV2beta.ProjectsService.__init__   s#    ..>vFdr(   ri   )	rj   rk   rl   rm   rn   ro   r   rq   rr   rs   s   @r&   r!   r      s    2E r(   r!   )r"   r    r   r   )r[   NTNNFFNNNN)rj   rk   rl   rm   rn   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!   rq   rr   rs   s   @r&   r   r   
   s    I/3(=-(=>'(*"."++,()-6:/4<@?C	/(Y8+B+B Yv#(*A*A #J>!8!8 >@//  r(   r   N)
rn   
__future__r   apitools.base.pyr   9googlecloudsdk.generated_clients.apis.lifesciences.v2betar   r   BaseApiClientr   rQ   r(   r&   <module>r      s'    ? ' % nm// mr(   