public sealed class WorkflowsServiceV2BetaClientImpl : WorkflowsServiceV2BetaClient
WorkflowsServiceV2Beta client wrapper implementation, for convenient use.
Namespace
Google.Cloud.LifeSciences.V2BetaAssembly
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 | |
---|---|
Name | Description |
grpcClient | WorkflowsServiceV2Beta.WorkflowsServiceV2BetaClient The underlying gRPC client. |
settings | WorkflowsServiceV2BetaSettings The base WorkflowsServiceV2BetaSettings used within this client. |
Properties
GrpcClient
public override WorkflowsServiceV2Beta.WorkflowsServiceV2BetaClient GrpcClient { get; }
The underlying gRPC WorkflowsServiceV2Beta client
Property Value | |
---|---|
Type | Description |
WorkflowsServiceV2Beta.WorkflowsServiceV2BetaClient |
RunPipelineOperationsClient
public override OperationsClient RunPipelineOperationsClient { get; }
The long-running operations client for RunPipeline
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
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 | |
---|---|
Name | Description |
request | RunPipelineRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<RunPipelineResponse, Metadata> | The RPC response. |
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 | |
---|---|
Name | Description |
request | RunPipelineRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<RunPipelineResponse, Metadata>> | A Task containing the RPC response. |