Skip to main content

Class: WorkerDeploymentSummary

v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary

(-- api-linter: core::0123::resource-annotation=disabled --) A subset of WorkerDeploymentInfo

Properties​

createTime​

• Optional createTime: null | $Properties

WorkerDeploymentSummary createTime.


currentVersionSummary​

• Optional currentVersionSummary: null | $Properties

Summary of the current version of the Worker Deployment.


latestVersionSummary​

• Optional latestVersionSummary: null | $Properties

Summary of the version that was added most recently in the Worker Deployment.


name​

• name: string

WorkerDeploymentSummary name.


rampingVersionSummary​

• Optional rampingVersionSummary: null | $Properties

Summary of the ramping version of the Worker Deployment.


routingConfig​

• Optional routingConfig: null | $Properties

WorkerDeploymentSummary routingConfig.

Methods​

toJSON​

▸ toJSON(): Object

Converts this WorkerDeploymentSummary to JSON.

Returns​

Object

JSON object


create​

▸ create(properties?): WorkerDeploymentSummary & $Properties

Creates a new WorkerDeploymentSummary instance using the specified properties.

Parameters​

NameTypeDescription
properties?$PropertiesProperties to set

Returns​

WorkerDeploymentSummary & $Properties

WorkerDeploymentSummary instance

▸ create(properties?): WorkerDeploymentSummary

Parameters​

NameType
properties?$Properties

Returns​

WorkerDeploymentSummary


decode​

▸ decode(reader, length?): WorkerDeploymentSummary & $Properties

Decodes a WorkerDeploymentSummary message from the specified reader or buffer.

Parameters​

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

Returns​

WorkerDeploymentSummary & $Properties

WorkerDeploymentSummary

Throws

If the payload is not a reader or valid buffer

Throws

If required fields are missing


decodeDelimited​

▸ decodeDelimited(reader): WorkerDeploymentSummary & $Properties

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

Parameters​

NameTypeDescription
readerUint8Array | ReaderReader or buffer to decode from

Returns​

WorkerDeploymentSummary & $Properties

WorkerDeploymentSummary

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 WorkerDeploymentSummary message. Does not implicitly temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary.verify|verify messages.

Parameters​

NameTypeDescription
message$PropertiesWorkerDeploymentSummary message or plain object to encode
writer?WriterWriter to encode to

Returns​

Writer

Writer


encodeDelimited​

▸ encodeDelimited(message, writer?): Writer

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

Parameters​

NameTypeDescription
message$PropertiesWorkerDeploymentSummary message or plain object to encode
writer?WriterWriter to encode to

Returns​

Writer

Writer


fromObject​

▸ fromObject(object): WorkerDeploymentSummary

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

Parameters​

NameTypeDescription
objectObjectPlain object

Returns​

WorkerDeploymentSummary

WorkerDeploymentSummary


toObject​

▸ toObject(message, options?): Object

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

Parameters​

NameTypeDescription
messageWorkerDeploymentSummaryWorkerDeploymentSummary
options?IConversionOptionsConversion options

Returns​

Object

Plain object