DeploymentGroup

A DeploymentGroup is a collection of DeploymentUnits that in a DAG-like structure.

JSON representation
{
  "name": string,
  "createTime": string,
  "updateTime": string,
  "labels": {
    string: string,
    ...
  },
  "annotations": {
    string: string,
    ...
  },
  "state": enum (State),
  "stateDescription": string,
  "deploymentUnits": [
    {
      object (DeploymentUnit)
    }
  ],
  "provisioningState": enum (ProvisioningState),
  "provisioningStateDescription": string,
  "provisioningError": {
    object (google.rpc.Status)
  }
}
Fields
name

string

Identifier. The name of the deployment group. Format: 'projects/{projectId}/locations/{location}/deploymentGroups/{deploymentGroup}'.

createTime

string (Timestamp format)

Output only. Time when the deployment group was created.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

updateTime

string (Timestamp format)

Output only. Time when the deployment group was last updated.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

labels

map (key: string, value: string)

Optional. User-defined metadata for the deployment group.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

annotations

map (key: string, value: string)

Optional. Arbitrary key-value metadata storage e.g. to help client tools identify deployment group during automation. See https://google.aip.dev/148#annotations for details on format and size limitations.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

state

enum (State)

Output only. Current state of the deployment group.

stateDescription

string

Output only. Additional information regarding the current state.

deploymentUnits[]

object (DeploymentUnit)

The deployment units of the deployment group in a DAG like structure. When a deployment group is being provisioned, the deployment units are deployed in a DAG order. The provided units must be in a DAG order, otherwise an error will be returned.

provisioningState

enum (ProvisioningState)

Output only. The provisioning state of the deployment group.

provisioningStateDescription

string

Output only. Additional information regarding the current provisioning state.

provisioningError

object (google.rpc.Status)

Output only. The error status of the deployment group provisioning or deprovisioning.

DeploymentUnit

A DeploymentUnit is a container for a deployment and its dependencies. An existing deployment can be provided directly in the unit, or the unit can act as a placeholder to define the DAG, with the deployment specs supplied in a provisionDeploymentRequest.

JSON representation
{
  "id": string,
  "dependencies": [
    string
  ],
  "deployment": string
}
Fields
id

string

The id of the deployment unit. Must be unique within the deployment group.

dependencies[]

string

Required. The IDs of the deployment units within the deployment group that this unit depends on.

deployment

string

Optional. The name of the deployment to be provisioned. Format: 'projects/{projectId}/locations/{location}/deployments/{deployment}'.