Reference documentation and code samples for the Backup for GKE V1 API module Google::Cloud::GkeBackup::V1::RestoreConfig::ClusterResourceConflictPolicy.
Defines the behavior for handling the situation where cluster-scoped
resources being restored already exist in the target cluster.
Constants
CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED
value: 0 Unspecified. Only allowed if no cluster-scoped resources will be
restored.
USE_EXISTING_VERSION
value: 1 Do not attempt to restore the conflicting resource.
USE_BACKUP_VERSION
value: 2 Delete the existing version before re-creating it from the Backup.
Note that this is a dangerous option which could cause unintentional
data loss if used inappropriately - for example, deleting a CRD will
cause Kubernetes to delete all CRs of that type.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]