Class WorkflowsServiceV2BetaGrpc.WorkflowsServiceV2BetaStub (0.36.0)

public static final class WorkflowsServiceV2BetaGrpc.WorkflowsServiceV2BetaStub extends AbstractAsyncStub<WorkflowsServiceV2BetaGrpc.WorkflowsServiceV2BetaStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > WorkflowsServiceV2BetaGrpc.WorkflowsServiceV2BetaStub

Methods

build(Channel channel, CallOptions callOptions)

protected WorkflowsServiceV2BetaGrpc.WorkflowsServiceV2BetaStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
WorkflowsServiceV2BetaGrpc.WorkflowsServiceV2BetaStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

runPipeline(RunPipelineRequest request, StreamObserver<Operation> responseObserver)

public void runPipeline(RunPipelineRequest request, StreamObserver<Operation> responseObserver)

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
Parameters
NameDescription
requestRunPipelineRequest
responseObserverio.grpc.stub.StreamObserver<Operation>