Class WorkflowsServiceV2BetaGrpc.WorkflowsServiceV2BetaFutureStub (0.55.0)

public static final class WorkflowsServiceV2BetaGrpc.WorkflowsServiceV2BetaFutureStub extends AbstractFutureStub<WorkflowsServiceV2BetaGrpc.WorkflowsServiceV2BetaFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service WorkflowsServiceV2Beta.

A service for running workflows, such as pipelines consisting of Docker containers.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > WorkflowsServiceV2BetaGrpc.WorkflowsServiceV2BetaFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected WorkflowsServiceV2BetaGrpc.WorkflowsServiceV2BetaFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
WorkflowsServiceV2BetaGrpc.WorkflowsServiceV2BetaFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

runPipeline(RunPipelineRequest request)

public ListenableFuture<Operation> runPipeline(RunPipelineRequest request)

Runs a pipeline. The returned Operation's [metadata] [google.longrunning.Operation.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
Parameter
Name Description
request RunPipelineRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>