Class: DeploymentInfo
deployment.v1.DeploymentInfo
DeploymentInfo holds information about a deployment. Deployment information is tracked
automatically by server as soon as the first poll from that deployment reaches the server. There
can be multiple task queue workers in a single deployment which are listed in this message.
Deprecated.
Implements
Constructors
constructor
• new DeploymentInfo(properties?): DeploymentInfo
Constructs a new DeploymentInfo.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IDeploymentInfo | Properties to set |
Returns
Properties
createTime
• Optional createTime: null | ITimestamp
DeploymentInfo createTime.
Implementation of
deployment
• Optional deployment: null | IDeployment
DeploymentInfo deployment.
Implementation of
isCurrent
• isCurrent: boolean
If this deployment is the current deployment of its deployment series.
Implementation of
metadata
• metadata: Object
A user-defined set of key-values. Can be updated as part of write operations to the
deployment, such as SetCurrentDeployment.
Index signature
▪ [k: string]: IPayload
Implementation of
taskQueueInfos
• taskQueueInfos: ITaskQueueInfo[]
DeploymentInfo taskQueueInfos.
Implementation of
IDeploymentInfo.taskQueueInfos
Methods
toJSON
▸ toJSON(): Object
Converts this DeploymentInfo to JSON.
Returns
Object
JSON object
create
▸ create(properties?): DeploymentInfo
Creates a new DeploymentInfo instance using the specified properties.