class ProjectsLocationsPipelines extends Resource (View source)

The "pipelines" collection of methods.

Typical usage is:

 $lifesciencesService = new Google\Service\CloudLifeSciences(...);
 $pipelines = $lifesciencesService->projects_locations_pipelines;

Methods

run(string $parent, RunPipelineRequest $postBody, array $optParams = [])

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 permission: * lifesciences.workflows.run (pipelines.run)

Details

Operation run(string $parent, RunPipelineRequest $postBody, array $optParams = [])

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 permission: * lifesciences.workflows.run (pipelines.run)

Parameters

string $parent

The project and location that this request should be executed against.

RunPipelineRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception