Skip to main content

Class: UpdateWorkflowExecutionRequest

workflowservice.v1.UpdateWorkflowExecutionRequest

(-- api-linter: core::0134=disabled aip.dev/not-precedent: Update RPCs don't follow Google API format. --)

Implements

Constructors

constructor

new UpdateWorkflowExecutionRequest(properties?): UpdateWorkflowExecutionRequest

Constructs a new UpdateWorkflowExecutionRequest.

Parameters

NameTypeDescription
properties?IUpdateWorkflowExecutionRequestProperties to set

Returns

UpdateWorkflowExecutionRequest

Properties

firstExecutionRunId

firstExecutionRunId: string

If set, this call will error if the most recent (if no run id is set on workflow_execution), or specified (if it is) workflow execution is not part of the same execution chain as this id.

Implementation of

IUpdateWorkflowExecutionRequest.firstExecutionRunId


namespace

namespace: string

The namespace name of the target workflow

Implementation of

IUpdateWorkflowExecutionRequest.namespace


request

Optional request: null | IRequest

The request information that will be delivered all the way down to the workflow execution.

Implementation of

IUpdateWorkflowExecutionRequest.request


waitPolicy

Optional waitPolicy: null | IWaitPolicy

Describes when this request should return - basically whether the update is synchronous, asynchronous, or somewhere in between.

Implementation of

IUpdateWorkflowExecutionRequest.waitPolicy


workflowExecution

Optional workflowExecution: null | IWorkflowExecution

The target workflow id and (optionally) a specific run thereof (-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: false positive triggered by the word "optional" --)

Implementation of

IUpdateWorkflowExecutionRequest.workflowExecution

Methods

toJSON

toJSON(): Object

Converts this UpdateWorkflowExecutionRequest to JSON.

Returns

Object

JSON object


create

create(properties?): UpdateWorkflowExecutionRequest

Creates a new UpdateWorkflowExecutionRequest instance using the specified properties.

Parameters

NameTypeDescription
properties?IUpdateWorkflowExecutionRequestProperties to set

Returns

UpdateWorkflowExecutionRequest

UpdateWorkflowExecutionRequest instance


decode

decode(reader, length?): UpdateWorkflowExecutionRequest

Decodes an UpdateWorkflowExecutionRequest message from the specified reader or buffer.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from
length?numberMessage length if known beforehand

Returns

UpdateWorkflowExecutionRequest

UpdateWorkflowExecutionRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): UpdateWorkflowExecutionRequest

Decodes an UpdateWorkflowExecutionRequest message from the specified reader or buffer, length delimited.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

UpdateWorkflowExecutionRequest

UpdateWorkflowExecutionRequest

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


encode

encode(message, writer?): Writer

Encodes the specified UpdateWorkflowExecutionRequest message. Does not implicitly temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest.verify|verify messages.

Parameters

NameTypeDescription
messageIUpdateWorkflowExecutionRequestUpdateWorkflowExecutionRequest message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

Encodes the specified UpdateWorkflowExecutionRequest message, length delimited. Does not implicitly temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest.verify|verify messages.

Parameters

NameTypeDescription
messageIUpdateWorkflowExecutionRequestUpdateWorkflowExecutionRequest message or plain object to encode
writer?WriterWriter to encode to

Returns

Writer

Writer


fromObject

fromObject(object): UpdateWorkflowExecutionRequest

Creates an UpdateWorkflowExecutionRequest message from a plain object. Also converts values to their respective internal types.

Parameters

NameTypeDescription
objectObjectPlain object

Returns

UpdateWorkflowExecutionRequest

UpdateWorkflowExecutionRequest


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for UpdateWorkflowExecutionRequest

Parameters

NameTypeDescription
typeUrlPrefix?stringyour custom typeUrlPrefix(default "type.googleapis.com")

Returns

string

The default type url


toObject

toObject(message, options?): Object

Creates a plain object from an UpdateWorkflowExecutionRequest message. Also converts values to other types if specified.

Parameters

NameTypeDescription
messageUpdateWorkflowExecutionRequestUpdateWorkflowExecutionRequest
options?IConversionOptionsConversion options

Returns

Object

Plain object