Class WorkflowTemplateService.WorkflowTemplateServiceClient (3.4.0)

public class WorkflowTemplateServiceClient : ClientBase<WorkflowTemplateService.WorkflowTemplateServiceClient>

Client for WorkflowTemplateService

Inheritance

Object > ClientBase > ClientBase<WorkflowTemplateService.WorkflowTemplateServiceClient> > WorkflowTemplateService.WorkflowTemplateServiceClient

Namespace

Google.Cloud.Dataproc.V1

Assembly

Google.Cloud.Dataproc.V1.dll

Constructors

WorkflowTemplateServiceClient()

protected WorkflowTemplateServiceClient()

Protected parameterless constructor to allow creation of test doubles.

WorkflowTemplateServiceClient(CallInvoker)

public WorkflowTemplateServiceClient(CallInvoker callInvoker)

Creates a new client for WorkflowTemplateService that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

WorkflowTemplateServiceClient(ChannelBase)

public WorkflowTemplateServiceClient(ChannelBase channel)

Creates a new client for WorkflowTemplateService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

WorkflowTemplateServiceClient(ClientBase.ClientBaseConfiguration)

protected WorkflowTemplateServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
TypeDescription
Operations.OperationsClient

A new Operations client for the same target as this client.

CreateWorkflowTemplate(CreateWorkflowTemplateRequest, CallOptions)

public virtual WorkflowTemplate CreateWorkflowTemplate(CreateWorkflowTemplateRequest request, CallOptions options)

Creates new workflow template.

Parameters
NameDescription
requestCreateWorkflowTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
WorkflowTemplate

The response received from the server.

CreateWorkflowTemplate(CreateWorkflowTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual WorkflowTemplate CreateWorkflowTemplate(CreateWorkflowTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Creates new workflow template.

Parameters
NameDescription
requestCreateWorkflowTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
WorkflowTemplate

The response received from the server.

CreateWorkflowTemplateAsync(CreateWorkflowTemplateRequest, CallOptions)

public virtual AsyncUnaryCall<WorkflowTemplate> CreateWorkflowTemplateAsync(CreateWorkflowTemplateRequest request, CallOptions options)

Creates new workflow template.

Parameters
NameDescription
requestCreateWorkflowTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<WorkflowTemplate>

The call object.

CreateWorkflowTemplateAsync(CreateWorkflowTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<WorkflowTemplate> CreateWorkflowTemplateAsync(CreateWorkflowTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Creates new workflow template.

Parameters
NameDescription
requestCreateWorkflowTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<WorkflowTemplate>

The call object.

DeleteWorkflowTemplate(DeleteWorkflowTemplateRequest, CallOptions)

public virtual Empty DeleteWorkflowTemplate(DeleteWorkflowTemplateRequest request, CallOptions options)

Deletes a workflow template. It does not cancel in-progress workflows.

Parameters
NameDescription
requestDeleteWorkflowTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteWorkflowTemplate(DeleteWorkflowTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty DeleteWorkflowTemplate(DeleteWorkflowTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes a workflow template. It does not cancel in-progress workflows.

Parameters
NameDescription
requestDeleteWorkflowTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteWorkflowTemplateAsync(DeleteWorkflowTemplateRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteWorkflowTemplateAsync(DeleteWorkflowTemplateRequest request, CallOptions options)

Deletes a workflow template. It does not cancel in-progress workflows.

Parameters
NameDescription
requestDeleteWorkflowTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteWorkflowTemplateAsync(DeleteWorkflowTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteWorkflowTemplateAsync(DeleteWorkflowTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes a workflow template. It does not cancel in-progress workflows.

Parameters
NameDescription
requestDeleteWorkflowTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

GetWorkflowTemplate(GetWorkflowTemplateRequest, CallOptions)

public virtual WorkflowTemplate GetWorkflowTemplate(GetWorkflowTemplateRequest request, CallOptions options)

Retrieves the latest workflow template.

Can retrieve previously instantiated template by specifying optional version parameter.

Parameters
NameDescription
requestGetWorkflowTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
WorkflowTemplate

The response received from the server.

GetWorkflowTemplate(GetWorkflowTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual WorkflowTemplate GetWorkflowTemplate(GetWorkflowTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Retrieves the latest workflow template.

Can retrieve previously instantiated template by specifying optional version parameter.

Parameters
NameDescription
requestGetWorkflowTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
WorkflowTemplate

The response received from the server.

GetWorkflowTemplateAsync(GetWorkflowTemplateRequest, CallOptions)

public virtual AsyncUnaryCall<WorkflowTemplate> GetWorkflowTemplateAsync(GetWorkflowTemplateRequest request, CallOptions options)

Retrieves the latest workflow template.

Can retrieve previously instantiated template by specifying optional version parameter.

Parameters
NameDescription
requestGetWorkflowTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<WorkflowTemplate>

The call object.

GetWorkflowTemplateAsync(GetWorkflowTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<WorkflowTemplate> GetWorkflowTemplateAsync(GetWorkflowTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Retrieves the latest workflow template.

Can retrieve previously instantiated template by specifying optional version parameter.

Parameters
NameDescription
requestGetWorkflowTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<WorkflowTemplate>

The call object.

InstantiateInlineWorkflowTemplate(InstantiateInlineWorkflowTemplateRequest, CallOptions)

public virtual Operation InstantiateInlineWorkflowTemplate(InstantiateInlineWorkflowTemplateRequest request, CallOptions options)

Instantiates a template and begins execution.

This method is equivalent to executing the sequence [CreateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplate], [InstantiateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplate], [DeleteWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.DeleteWorkflowTemplate].

The returned Operation can be used to track execution of workflow by polling [operations.get][google.longrunning.Operations.GetOperation]. The Operation will complete when entire workflow is finished.

The running workflow can be aborted via [operations.cancel][google.longrunning.Operations.CancelOperation]. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.

The [Operation.metadata][google.longrunning.Operation.metadata] will be WorkflowMetadata. Also see Using WorkflowMetadata.

On successful completion, [Operation.response][google.longrunning.Operation.response] will be [Empty][google.protobuf.Empty].

Parameters
NameDescription
requestInstantiateInlineWorkflowTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

InstantiateInlineWorkflowTemplate(InstantiateInlineWorkflowTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation InstantiateInlineWorkflowTemplate(InstantiateInlineWorkflowTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Instantiates a template and begins execution.

This method is equivalent to executing the sequence [CreateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplate], [InstantiateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplate], [DeleteWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.DeleteWorkflowTemplate].

The returned Operation can be used to track execution of workflow by polling [operations.get][google.longrunning.Operations.GetOperation]. The Operation will complete when entire workflow is finished.

The running workflow can be aborted via [operations.cancel][google.longrunning.Operations.CancelOperation]. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.

The [Operation.metadata][google.longrunning.Operation.metadata] will be WorkflowMetadata. Also see Using WorkflowMetadata.

On successful completion, [Operation.response][google.longrunning.Operation.response] will be [Empty][google.protobuf.Empty].

Parameters
NameDescription
requestInstantiateInlineWorkflowTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

InstantiateInlineWorkflowTemplateAsync(InstantiateInlineWorkflowTemplateRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> InstantiateInlineWorkflowTemplateAsync(InstantiateInlineWorkflowTemplateRequest request, CallOptions options)

Instantiates a template and begins execution.

This method is equivalent to executing the sequence [CreateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplate], [InstantiateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplate], [DeleteWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.DeleteWorkflowTemplate].

The returned Operation can be used to track execution of workflow by polling [operations.get][google.longrunning.Operations.GetOperation]. The Operation will complete when entire workflow is finished.

The running workflow can be aborted via [operations.cancel][google.longrunning.Operations.CancelOperation]. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.

The [Operation.metadata][google.longrunning.Operation.metadata] will be WorkflowMetadata. Also see Using WorkflowMetadata.

On successful completion, [Operation.response][google.longrunning.Operation.response] will be [Empty][google.protobuf.Empty].

Parameters
NameDescription
requestInstantiateInlineWorkflowTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

InstantiateInlineWorkflowTemplateAsync(InstantiateInlineWorkflowTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> InstantiateInlineWorkflowTemplateAsync(InstantiateInlineWorkflowTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Instantiates a template and begins execution.

This method is equivalent to executing the sequence [CreateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplate], [InstantiateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplate], [DeleteWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.DeleteWorkflowTemplate].

The returned Operation can be used to track execution of workflow by polling [operations.get][google.longrunning.Operations.GetOperation]. The Operation will complete when entire workflow is finished.

The running workflow can be aborted via [operations.cancel][google.longrunning.Operations.CancelOperation]. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.

The [Operation.metadata][google.longrunning.Operation.metadata] will be WorkflowMetadata. Also see Using WorkflowMetadata.

On successful completion, [Operation.response][google.longrunning.Operation.response] will be [Empty][google.protobuf.Empty].

Parameters
NameDescription
requestInstantiateInlineWorkflowTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

InstantiateWorkflowTemplate(InstantiateWorkflowTemplateRequest, CallOptions)

public virtual Operation InstantiateWorkflowTemplate(InstantiateWorkflowTemplateRequest request, CallOptions options)

Instantiates a template and begins execution.

The returned Operation can be used to track execution of workflow by polling [operations.get][google.longrunning.Operations.GetOperation]. The Operation will complete when entire workflow is finished.

The running workflow can be aborted via [operations.cancel][google.longrunning.Operations.CancelOperation]. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.

The [Operation.metadata][google.longrunning.Operation.metadata] will be WorkflowMetadata. Also see Using WorkflowMetadata.

On successful completion, [Operation.response][google.longrunning.Operation.response] will be [Empty][google.protobuf.Empty].

Parameters
NameDescription
requestInstantiateWorkflowTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

InstantiateWorkflowTemplate(InstantiateWorkflowTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation InstantiateWorkflowTemplate(InstantiateWorkflowTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Instantiates a template and begins execution.

The returned Operation can be used to track execution of workflow by polling [operations.get][google.longrunning.Operations.GetOperation]. The Operation will complete when entire workflow is finished.

The running workflow can be aborted via [operations.cancel][google.longrunning.Operations.CancelOperation]. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.

The [Operation.metadata][google.longrunning.Operation.metadata] will be WorkflowMetadata. Also see Using WorkflowMetadata.

On successful completion, [Operation.response][google.longrunning.Operation.response] will be [Empty][google.protobuf.Empty].

Parameters
NameDescription
requestInstantiateWorkflowTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

InstantiateWorkflowTemplateAsync(InstantiateWorkflowTemplateRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> InstantiateWorkflowTemplateAsync(InstantiateWorkflowTemplateRequest request, CallOptions options)

Instantiates a template and begins execution.

The returned Operation can be used to track execution of workflow by polling [operations.get][google.longrunning.Operations.GetOperation]. The Operation will complete when entire workflow is finished.

The running workflow can be aborted via [operations.cancel][google.longrunning.Operations.CancelOperation]. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.

The [Operation.metadata][google.longrunning.Operation.metadata] will be WorkflowMetadata. Also see Using WorkflowMetadata.

On successful completion, [Operation.response][google.longrunning.Operation.response] will be [Empty][google.protobuf.Empty].

Parameters
NameDescription
requestInstantiateWorkflowTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

InstantiateWorkflowTemplateAsync(InstantiateWorkflowTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> InstantiateWorkflowTemplateAsync(InstantiateWorkflowTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Instantiates a template and begins execution.

The returned Operation can be used to track execution of workflow by polling [operations.get][google.longrunning.Operations.GetOperation]. The Operation will complete when entire workflow is finished.

The running workflow can be aborted via [operations.cancel][google.longrunning.Operations.CancelOperation]. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.

The [Operation.metadata][google.longrunning.Operation.metadata] will be WorkflowMetadata. Also see Using WorkflowMetadata.

On successful completion, [Operation.response][google.longrunning.Operation.response] will be [Empty][google.protobuf.Empty].

Parameters
NameDescription
requestInstantiateWorkflowTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

ListWorkflowTemplates(ListWorkflowTemplatesRequest, CallOptions)

public virtual ListWorkflowTemplatesResponse ListWorkflowTemplates(ListWorkflowTemplatesRequest request, CallOptions options)

Lists workflows that match the specified filter in the request.

Parameters
NameDescription
requestListWorkflowTemplatesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListWorkflowTemplatesResponse

The response received from the server.

ListWorkflowTemplates(ListWorkflowTemplatesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListWorkflowTemplatesResponse ListWorkflowTemplates(ListWorkflowTemplatesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists workflows that match the specified filter in the request.

Parameters
NameDescription
requestListWorkflowTemplatesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListWorkflowTemplatesResponse

The response received from the server.

ListWorkflowTemplatesAsync(ListWorkflowTemplatesRequest, CallOptions)

public virtual AsyncUnaryCall<ListWorkflowTemplatesResponse> ListWorkflowTemplatesAsync(ListWorkflowTemplatesRequest request, CallOptions options)

Lists workflows that match the specified filter in the request.

Parameters
NameDescription
requestListWorkflowTemplatesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListWorkflowTemplatesResponse>

The call object.

ListWorkflowTemplatesAsync(ListWorkflowTemplatesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListWorkflowTemplatesResponse> ListWorkflowTemplatesAsync(ListWorkflowTemplatesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists workflows that match the specified filter in the request.

Parameters
NameDescription
requestListWorkflowTemplatesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListWorkflowTemplatesResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override WorkflowTemplateService.WorkflowTemplateServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
WorkflowTemplateService.WorkflowTemplateServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Dataproc.V1.WorkflowTemplateService.WorkflowTemplateServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateWorkflowTemplate(UpdateWorkflowTemplateRequest, CallOptions)

public virtual WorkflowTemplate UpdateWorkflowTemplate(UpdateWorkflowTemplateRequest request, CallOptions options)

Updates (replaces) workflow template. The updated template must contain version that matches the current server version.

Parameters
NameDescription
requestUpdateWorkflowTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
WorkflowTemplate

The response received from the server.

UpdateWorkflowTemplate(UpdateWorkflowTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual WorkflowTemplate UpdateWorkflowTemplate(UpdateWorkflowTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates (replaces) workflow template. The updated template must contain version that matches the current server version.

Parameters
NameDescription
requestUpdateWorkflowTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
WorkflowTemplate

The response received from the server.

UpdateWorkflowTemplateAsync(UpdateWorkflowTemplateRequest, CallOptions)

public virtual AsyncUnaryCall<WorkflowTemplate> UpdateWorkflowTemplateAsync(UpdateWorkflowTemplateRequest request, CallOptions options)

Updates (replaces) workflow template. The updated template must contain version that matches the current server version.

Parameters
NameDescription
requestUpdateWorkflowTemplateRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<WorkflowTemplate>

The call object.

UpdateWorkflowTemplateAsync(UpdateWorkflowTemplateRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<WorkflowTemplate> UpdateWorkflowTemplateAsync(UpdateWorkflowTemplateRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates (replaces) workflow template. The updated template must contain version that matches the current server version.

Parameters
NameDescription
requestUpdateWorkflowTemplateRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<WorkflowTemplate>

The call object.