Infrastructure Manager V1 API - Module Google::Cloud::ConfigService::V1::DeleteDeploymentGroupRequest::DeploymentReferencePolicy (v2.9.0)

Reference documentation and code samples for the Infrastructure Manager V1 API module Google::Cloud::ConfigService::V1::DeleteDeploymentGroupRequest::DeploymentReferencePolicy.

Policy on how to handle referenced deployments when deleting the DeploymentGroup.

Constants

DEPLOYMENT_REFERENCE_POLICY_UNSPECIFIED

value: 0
The default behavior. If unspecified, the system will act as if FAIL_IF_ANY_REFERENCES_EXIST is specified.

FAIL_IF_ANY_REFERENCES_EXIST

value: 1
Fail the deletion if any deployments currently referenced in the deployment_units of the DeploymentGroup or in the latest revision are not deleted.

FAIL_IF_METADATA_REFERENCES_EXIST

value: 2
Fail 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.

IGNORE_DEPLOYMENT_REFERENCES

value: 3
Ignore any deployments currently referenced in the deployment_units of the DeploymentGroup or in the latest revision.