Reference documentation and code samples for the Google Cloud Config V1 Client class DeploymentReferencePolicy.
Policy on how to handle referenced deployments when deleting the DeploymentGroup.
Protobuf type google.cloud.config.v1.DeleteDeploymentGroupRequest.DeploymentReferencePolicy
Namespace
Google \ Cloud \ Config \ V1 \ DeleteDeploymentGroupRequestMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
DEPLOYMENT_REFERENCE_POLICY_UNSPECIFIED
Value: 0The default behavior. If unspecified, the system will act as if
FAIL_IF_ANY_REFERENCES_EXIST is specified.
Generated from protobuf enum DEPLOYMENT_REFERENCE_POLICY_UNSPECIFIED = 0;
FAIL_IF_ANY_REFERENCES_EXIST
Value: 1Fail the deletion if any deployments currently referenced in the
deployment_units of the DeploymentGroup or in the latest revision
are not deleted.
Generated from protobuf enum FAIL_IF_ANY_REFERENCES_EXIST = 1;
FAIL_IF_METADATA_REFERENCES_EXIST
Value: 2Fail the deletion only if any deployments currently referenced in the
deployment_units of the DeploymentGroup are not deleted.
The deletion will proceed even if the deployments in the latest revision of the DeploymentGroup are not deleted.
Generated from protobuf enum FAIL_IF_METADATA_REFERENCES_EXIST = 2;
IGNORE_DEPLOYMENT_REFERENCES
Value: 3Ignore any deployments currently referenced in the
deployment_units of the DeploymentGroup or in the latest revision.
Generated from protobuf enum IGNORE_DEPLOYMENT_REFERENCES = 3;