Skip to main content

Class: WorkflowPropertiesModifiedExternallyEventAttributes

history.v1.WorkflowPropertiesModifiedExternallyEventAttributes

Represents a WorkflowPropertiesModifiedExternallyEventAttributes.

Implements

Constructors

constructor

new WorkflowPropertiesModifiedExternallyEventAttributes(properties?): WorkflowPropertiesModifiedExternallyEventAttributes

Constructs a new WorkflowPropertiesModifiedExternallyEventAttributes.

Parameters

NameTypeDescription
properties?IWorkflowPropertiesModifiedExternallyEventAttributesProperties to set

Returns

WorkflowPropertiesModifiedExternallyEventAttributes

Properties

newTaskQueue

newTaskQueue: string

If set to a nonempty string, future workflow tasks for this workflow shall be dispatched on the provided queue.

Implementation of

IWorkflowPropertiesModifiedExternallyEventAttributes.newTaskQueue


newWorkflowExecutionTimeout

Optional newWorkflowExecutionTimeout: null | IDuration

If set, update the workflow execution timeout to this value. May be set to 0 for no timeout.

Implementation of

IWorkflowPropertiesModifiedExternallyEventAttributes.newWorkflowExecutionTimeout


newWorkflowRunTimeout

Optional newWorkflowRunTimeout: null | IDuration

If set, update the workflow run timeout to this value. May be set to 0 for no timeout.

Implementation of

IWorkflowPropertiesModifiedExternallyEventAttributes.newWorkflowRunTimeout


newWorkflowTaskTimeout

Optional newWorkflowTaskTimeout: null | IDuration

If set, update the workflow task timeout to this value.

Implementation of

IWorkflowPropertiesModifiedExternallyEventAttributes.newWorkflowTaskTimeout


upsertedMemo

Optional upsertedMemo: null | IMemo

If set, update the workflow memo with the provided values. The values will be merged with the existing memo. If the user wants to delete values, a default/empty Payload should be used as the value for the key being deleted.

Implementation of

IWorkflowPropertiesModifiedExternallyEventAttributes.upsertedMemo

Methods

toJSON

toJSON(): Object

Converts this WorkflowPropertiesModifiedExternallyEventAttributes to JSON.

Returns

Object

JSON object


create

create(properties?): WorkflowPropertiesModifiedExternallyEventAttributes

Creates a new WorkflowPropertiesModifiedExternallyEventAttributes instance using the specified properties.

Parameters

NameTypeDescription
properties?IWorkflowPropertiesModifiedExternallyEventAttributesProperties to set

Returns

WorkflowPropertiesModifiedExternallyEventAttributes

WorkflowPropertiesModifiedExternallyEventAttributes instance


decode

decode(reader, length?): WorkflowPropertiesModifiedExternallyEventAttributes

Decodes a WorkflowPropertiesModifiedExternallyEventAttributes message from the specified reader or buffer.

Parameters

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

Returns

WorkflowPropertiesModifiedExternallyEventAttributes

WorkflowPropertiesModifiedExternallyEventAttributes

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): WorkflowPropertiesModifiedExternallyEventAttributes

Decodes a WorkflowPropertiesModifiedExternallyEventAttributes message from the specified reader or buffer, length delimited.

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

WorkflowPropertiesModifiedExternallyEventAttributes

WorkflowPropertiesModifiedExternallyEventAttributes

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 WorkflowPropertiesModifiedExternallyEventAttributes message. Does not implicitly temporal.api.history.v1.WorkflowPropertiesModifiedExternallyEventAttributes.verify|verify messages.

Parameters

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

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

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

Returns

Writer

Writer


fromObject

fromObject(object): WorkflowPropertiesModifiedExternallyEventAttributes

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

WorkflowPropertiesModifiedExternallyEventAttributes

WorkflowPropertiesModifiedExternallyEventAttributes


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for WorkflowPropertiesModifiedExternallyEventAttributes

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 a WorkflowPropertiesModifiedExternallyEventAttributes message. Also converts values to other types if specified.

Parameters

NameTypeDescription
messageWorkflowPropertiesModifiedExternallyEventAttributesWorkflowPropertiesModifiedExternallyEventAttributes
options?IConversionOptionsConversion options

Returns

Object

Plain object