Unspecified. Only allowed if no cluster-scoped resources will be
restored.
UseBackupVersion
Delete the existing version before re-creating it from the Backup.
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.
UseExistingVersion
Do not attempt to restore the conflicting resource.
[[["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 2025-08-28 UTC."],[[["\u003cp\u003eThe document provides reference information for the \u003ccode\u003eRestoreConfig.Types.ClusterResourceConflictPolicy\u003c/code\u003e enum within the Google Cloud GKE Backup v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis enum defines how the API should handle conflicts when cluster-scoped resources being restored already exist in the target cluster.\u003c/p\u003e\n"],["\u003cp\u003eThere are three possible values for this policy: \u003ccode\u003eUnspecified\u003c/code\u003e, \u003ccode\u003eUseBackupVersion\u003c/code\u003e (delete the existing resource and replace it), and \u003ccode\u003eUseExistingVersion\u003c/code\u003e (do not restore the conflicting resource).\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the documentation available is 2.6.0, and older versions from 2.5.0 to 2.0.0, along with 1.0.0-beta01 are also available.\u003c/p\u003e\n"]]],[],null,["# Backup for GKE v1 API - Enum RestoreConfig.Types.ClusterResourceConflictPolicy (2.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.8.0 (latest)](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.RestoreConfig.Types.ClusterResourceConflictPolicy)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.7.0/Google.Cloud.GkeBackup.V1.RestoreConfig.Types.ClusterResourceConflictPolicy)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.6.0/Google.Cloud.GkeBackup.V1.RestoreConfig.Types.ClusterResourceConflictPolicy)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.5.0/Google.Cloud.GkeBackup.V1.RestoreConfig.Types.ClusterResourceConflictPolicy)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.4.0/Google.Cloud.GkeBackup.V1.RestoreConfig.Types.ClusterResourceConflictPolicy)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.3.0/Google.Cloud.GkeBackup.V1.RestoreConfig.Types.ClusterResourceConflictPolicy)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.2.0/Google.Cloud.GkeBackup.V1.RestoreConfig.Types.ClusterResourceConflictPolicy)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.1.0/Google.Cloud.GkeBackup.V1.RestoreConfig.Types.ClusterResourceConflictPolicy)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.0.0/Google.Cloud.GkeBackup.V1.RestoreConfig.Types.ClusterResourceConflictPolicy)\n- [1.0.0-beta01](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/1.0.0-beta01/Google.Cloud.GkeBackup.V1.RestoreConfig.Types.ClusterResourceConflictPolicy) \n\n public enum RestoreConfig.Types.ClusterResourceConflictPolicy\n\nReference documentation and code samples for the Backup for GKE v1 API enum RestoreConfig.Types.ClusterResourceConflictPolicy.\n\nDefines the behavior for handling the situation where cluster-scoped\nresources being restored already exist in the target cluster.\n\nNamespace\n---------\n\n[Google.Cloud.GkeBackup.V1](/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.GkeBackup.V1.dll"]]