Class DeploymentReferencePolicy (0.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
DeploymentReferencePolicy(value)
Policy on how to handle referenced deployments when deleting
the DeploymentGroup.
Enums
Name
Description
DEPLOYMENT_REFERENCE_POLICY_UNSPECIFIED
The default behavior. If unspecified, the system will act as if `FAIL_IF_ANY_REFERENCES_EXIST` is specified.
FAIL_IF_ANY_REFERENCES_EXIST
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
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
Ignore any deployments currently referenced in the `deployment_units` of the DeploymentGroup or in the latest revision.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-05-09 UTC."],[],[]]