Skip to main content

Class: ScheduleNexusOperationCommandAttributes

command.v1.ScheduleNexusOperationCommandAttributes

Represents a ScheduleNexusOperationCommandAttributes.

Implements

Constructors

constructor

new ScheduleNexusOperationCommandAttributes(properties?): ScheduleNexusOperationCommandAttributes

Constructs a new ScheduleNexusOperationCommandAttributes.

Parameters

NameTypeDescription
properties?IScheduleNexusOperationCommandAttributesProperties to set

Returns

ScheduleNexusOperationCommandAttributes

Properties

endpoint

endpoint: string

Endpoint name, must exist in the endpoint registry or this command will fail.

Implementation of

IScheduleNexusOperationCommandAttributes.endpoint


input

Optional input: null | IPayload

Input for the operation. The server converts this into Nexus request content and the appropriate content headers internally when sending the StartOperation request. On the handler side, if it is also backed by Temporal, the content is transformed back to the original Payload sent in this command.

Implementation of

IScheduleNexusOperationCommandAttributes.input


nexusHeader

nexusHeader: Object

Header to attach to the Nexus request. Users are responsible for encrypting sensitive data in this header as it is stored in workflow history and transmitted to external services as-is. This is useful for propagating tracing information. Note these headers are not the same as Temporal headers on internal activities and child workflows, these are transmitted to Nexus operations that may be external and are not traditional payloads.

Index signature

▪ [k: string]: string

Implementation of

IScheduleNexusOperationCommandAttributes.nexusHeader


operation

operation: string

Operation name.

Implementation of

IScheduleNexusOperationCommandAttributes.operation


scheduleToCloseTimeout

Optional scheduleToCloseTimeout: null | IDuration

Schedule-to-close timeout for this operation. Indicates how long the caller is willing to wait for operation completion. Calls are retried internally by the server. (-- api-linter: core::0140::prepositions=disabled aip.dev/not-precedent: "to" is used to indicate interval. --)

Implementation of

IScheduleNexusOperationCommandAttributes.scheduleToCloseTimeout


service

service: string

Service name.

Implementation of

IScheduleNexusOperationCommandAttributes.service

Methods

toJSON

toJSON(): Object

Converts this ScheduleNexusOperationCommandAttributes to JSON.

Returns

Object

JSON object


create

create(properties?): ScheduleNexusOperationCommandAttributes

Creates a new ScheduleNexusOperationCommandAttributes instance using the specified properties.

Parameters

NameTypeDescription
properties?IScheduleNexusOperationCommandAttributesProperties to set

Returns

ScheduleNexusOperationCommandAttributes

ScheduleNexusOperationCommandAttributes instance


decode

decode(reader, length?): ScheduleNexusOperationCommandAttributes

Decodes a ScheduleNexusOperationCommandAttributes message from the specified reader or buffer.

Parameters

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

Returns

ScheduleNexusOperationCommandAttributes

ScheduleNexusOperationCommandAttributes

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited

decodeDelimited(reader): ScheduleNexusOperationCommandAttributes

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

Parameters

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns

ScheduleNexusOperationCommandAttributes

ScheduleNexusOperationCommandAttributes

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

Parameters

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

Returns

Writer

Writer


encodeDelimited

encodeDelimited(message, writer?): Writer

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

Parameters

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

Returns

Writer

Writer


fromObject

fromObject(object): ScheduleNexusOperationCommandAttributes

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

Parameters

NameTypeDescription
objectObjectPlain object

Returns

ScheduleNexusOperationCommandAttributes

ScheduleNexusOperationCommandAttributes


getTypeUrl

getTypeUrl(typeUrlPrefix?): string

Gets the default type url for ScheduleNexusOperationCommandAttributes

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

Parameters

NameTypeDescription
messageScheduleNexusOperationCommandAttributesScheduleNexusOperationCommandAttributes
options?IConversionOptionsConversion options

Returns

Object

Plain object