State(value)
State defines which state the current deployment is in.
Values:
STATE_UNSPECIFIED (0):
Unspecified state.
DRAFT (1):
A deployment starts in DRAFT state. All edits
are made in DRAFT state. A deployment opened for
editing after applying will be in draft state,
while its prevision revision will be its current
applied version.
APPLIED (2):
This state means that the contents (YAML
files containing kubernetes resources) of the
deployment have been applied to an Orchestration
or Workload Cluster. A revision is created when
a deployment is applied. This revision will
represent the latest view of what is applied on
the cluster until the deployment is modified and
applied again, which will create a new revision.
DELETING (3):
A deployment in DELETING state has been marked for deletion.
Its deletion status can be queried using
ComputeDeploymentStatus
API. No updates are allowed to a
deployment in DELETING state.