Class WorkflowsServiceV2BetaClientImpl (1.0.0-beta02)

public sealed class WorkflowsServiceV2BetaClientImpl : WorkflowsServiceV2BetaClient

WorkflowsServiceV2Beta client wrapper implementation, for convenient use.

Inheritance

Object > WorkflowsServiceV2BetaClient > WorkflowsServiceV2BetaClientImpl

Namespace

Google.Cloud.LifeSciences.V2Beta

Assembly

Google.Cloud.LifeSciences.V2Beta.dll

Remarks

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

Constructors

WorkflowsServiceV2BetaClientImpl(WorkflowsServiceV2Beta.WorkflowsServiceV2BetaClient, WorkflowsServiceV2BetaSettings)

public WorkflowsServiceV2BetaClientImpl(WorkflowsServiceV2Beta.WorkflowsServiceV2BetaClient grpcClient, WorkflowsServiceV2BetaSettings settings)

Constructs a client wrapper for the WorkflowsServiceV2Beta service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientWorkflowsServiceV2Beta.WorkflowsServiceV2BetaClient

The underlying gRPC client.

settingsWorkflowsServiceV2BetaSettings

The base WorkflowsServiceV2BetaSettings used within this client.

Properties

GrpcClient

public override WorkflowsServiceV2Beta.WorkflowsServiceV2BetaClient GrpcClient { get; }

The underlying gRPC WorkflowsServiceV2Beta client

Property Value
TypeDescription
WorkflowsServiceV2Beta.WorkflowsServiceV2BetaClient
Overrides

RunPipelineOperationsClient

public override OperationsClient RunPipelineOperationsClient { get; }

The long-running operations client for RunPipeline.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

RunPipeline(RunPipelineRequest, CallSettings)

public override Operation<RunPipelineResponse, Metadata> RunPipeline(RunPipelineRequest request, CallSettings callSettings = null)

Runs a pipeline. The returned Operation's [metadata] [google.longrunning.Operation.metadata] field will contain a [google.cloud.lifesciences.v2beta.Metadata][google.cloud.lifesciences.v2beta.Metadata] object describing the status of the pipeline execution. The [response][google.longrunning.Operation.response] field will contain a [google.cloud.lifesciences.v2beta.RunPipelineResponse][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

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<RunPipelineResponse, Metadata>

The RPC response.

Overrides

RunPipelineAsync(RunPipelineRequest, CallSettings)

public override Task<Operation<RunPipelineResponse, Metadata>> RunPipelineAsync(RunPipelineRequest request, CallSettings callSettings = null)

Runs a pipeline. The returned Operation's [metadata] [google.longrunning.Operation.metadata] field will contain a [google.cloud.lifesciences.v2beta.Metadata][google.cloud.lifesciences.v2beta.Metadata] object describing the status of the pipeline execution. The [response][google.longrunning.Operation.response] field will contain a [google.cloud.lifesciences.v2beta.RunPipelineResponse][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

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<RunPipelineResponse, Metadata>>

A Task containing the RPC response.

Overrides