# Google Cloud Gke Backup V1 Client - Class ClusterResourceConflictPolicy (1.3.3)

1.3.3 (latest) 1.3.2 1.2.1 1.0.3 0.8.1 0.7.2 0.6.0 0.5.3 0.4.0 0.3.1 0.2.0 0.1.7 Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class ClusterResourceConflictPolicy.

Defines the behavior for handling the situation where cluster-scoped
resources being restored already exist in the target cluster.

Protobuf type `google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy`

## Namespace

Google \\ Cloud \\ GkeBackup \\ V1 \\ RestoreConfig

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED

    Value: 0

Unspecified. Only allowed if no cluster-scoped resources will be
restored.

Generated from protobuf enum `CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED = 0;`

### USE_EXISTING_VERSION

    Value: 1

Do not attempt to restore the conflicting resource.

Generated from protobuf enum `USE_EXISTING_VERSION = 1;`

### USE_BACKUP_VERSION

    Value: 2

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.

Generated from protobuf enum `USE_BACKUP_VERSION = 2;`