Class: WorkerDeploymentSummary
(-- api-linter: core::0123::resource-annotation=disabled --) A subset of WorkerDeploymentInfo
Properties
createTime?
optionalcreateTime?:$Properties|null
WorkerDeploymentSummary createTime.
currentVersionSummary?
optionalcurrentVersionSummary?:$Properties|null
Summary of the current version of the Worker Deployment.
latestVersionSummary?
optionallatestVersionSummary?:$Properties|null
Summary of the version that was added most recently in the Worker Deployment.
name
name:
string
WorkerDeploymentSummary name.
rampingVersionSummary?
optionalrampingVersionSummary?:$Properties|null
Summary of the ramping version of the Worker Deployment.
routingConfig?
optionalroutingConfig?:$Properties|null
WorkerDeploymentSummary routingConfig.
Methods
toJSON()
toJSON():
object
Converts this WorkerDeploymentSummary to JSON.
Returns
object
JSON object
create()
Call Signature
staticcreate(properties?):WorkerDeploymentSummary&$Properties
Creates a new WorkerDeploymentSummary instance using the specified properties.
Parameters
properties?
Properties to set
Returns
WorkerDeploymentSummary & $Properties
WorkerDeploymentSummary instance
Call Signature
staticcreate(properties?):WorkerDeploymentSummary
Creates a new WorkerDeploymentSummary instance using the specified properties.
Parameters
properties?
Properties to set
Returns
WorkerDeploymentSummary
WorkerDeploymentSummary instance
decode()
staticdecode(reader,length?):WorkerDeploymentSummary&$Properties
Decodes a WorkerDeploymentSummary message from the specified reader or buffer.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader or buffer to decode from
length?
number
Message 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()
staticdecodeDelimited(reader):WorkerDeploymentSummary&$Properties
Decodes a WorkerDeploymentSummary message from the specified reader or buffer, length delimited.
Parameters
reader
Uint8Array<ArrayBufferLike> | Reader
Reader 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()
staticencode(message,writer?):Writer
Encodes the specified WorkerDeploymentSummary message. Does not implicitly temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary.verify|verify messages.
Parameters
message
WorkerDeploymentSummary message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
encodeDelimited()
staticencodeDelimited(message,writer?):Writer
Encodes the specified WorkerDeploymentSummary message, length delimited. Does not implicitly temporal.api.workflowservice.v1.ListWorkerDeploymentsResponse.WorkerDeploymentSummary.verify|verify messages.
Parameters
message
WorkerDeploymentSummary message or plain object to encode
writer?
Writer
Writer to encode to
Returns
Writer
Writer
fromObject()
staticfromObject(object):WorkerDeploymentSummary
Creates a WorkerDeploymentSummary message from a plain object. Also converts values to their respective internal types.
Parameters
object
Plain object
Returns
WorkerDeploymentSummary
WorkerDeploymentSummary
toObject()
statictoObject(message,options?):object
Creates a plain object from a WorkerDeploymentSummary message. Also converts values to other types if specified.
Parameters
message
WorkerDeploymentSummary
WorkerDeploymentSummary
options?
IConversionOptions
Conversion options
Returns
object
Plain object