# Backup for GKE v1 API - Class BackupPlanBinding.Types.BackupPlanDetails.Types.BackupConfigDetails (2.9.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.9.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetails.Types.BackupConfigDetails)
- [2.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.8.0/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetails.Types.BackupConfigDetails)
- [2.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.7.0/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetails.Types.BackupConfigDetails)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.6.0/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetails.Types.BackupConfigDetails)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.5.0/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetails.Types.BackupConfigDetails)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.4.0/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetails.Types.BackupConfigDetails)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.3.0/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetails.Types.BackupConfigDetails)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.2.0/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetails.Types.BackupConfigDetails)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.1.0/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetails.Types.BackupConfigDetails)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/2.0.0/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetails.Types.BackupConfigDetails)
- [1.0.0-beta01](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/1.0.0-beta01/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetails.Types.BackupConfigDetails)

    public sealed class BackupPlanBinding.Types.BackupPlanDetails.Types.BackupConfigDetails : IMessage<BackupPlanBinding.Types.BackupPlanDetails.Types.BackupConfigDetails>, IEquatable<BackupPlanBinding.Types.BackupPlanDetails.Types.BackupConfigDetails>, IDeepCloneable<BackupPlanBinding.Types.BackupPlanDetails.Types.BackupConfigDetails>, IBufferMessage, IMessage

Reference documentation and code samples for the Backup for GKE v1 API class BackupPlanBinding.Types.BackupPlanDetails.Types.BackupConfigDetails.

BackupConfigDetails defines the configuration of Backups created via this
BackupPlan.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> BackupPlanBinding.Types.BackupPlanDetails.Types.BackupConfigDetails

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[BackupPlanBinding](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBinding)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types)[BackupPlanDetails](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetails)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetails.Types)[BackupConfigDetails](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetails.Types.BackupConfigDetails), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BackupPlanBinding](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBinding)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types)[BackupPlanDetails](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetails)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetails.Types)[BackupConfigDetails](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetails.Types.BackupConfigDetails), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[BackupPlanBinding](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBinding)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types)[BackupPlanDetails](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetails)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetails.Types)[BackupConfigDetails](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetails.Types.BackupConfigDetails), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.GkeBackup.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1)

## Assembly

Google.Cloud.GkeBackup.V1.dll

## Constructors

### BackupConfigDetails()

    public BackupConfigDetails()

### BackupConfigDetails(BackupConfigDetails)

    public BackupConfigDetails(BackupPlanBinding.Types.BackupPlanDetails.Types.BackupConfigDetails other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBindinghttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetailshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetails.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetails.Types.BackupConfigDetails` |

## Properties

### AllNamespaces

    public bool AllNamespaces { get; set; }

Output only. If True, include all namespaced resources

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### BackupScopeCase

    public BackupPlanBinding.Types.BackupPlanDetails.Types.BackupConfigDetails.BackupScopeOneofCase BackupScopeCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBindinghttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetailshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetails.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetails.Types.BackupConfigDetailshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.BackupPlanBinding.Types.BackupPlanDetails.Types.BackupConfigDetails.BackupScopeOneofCase` |   |

### EncryptionKey

    public EncryptionKey EncryptionKey { get; set; }

Output only. This defines a customer managed encryption key that will
be used to encrypt the "config" portion (the Kubernetes resources) of
Backups created via this plan.

Default (empty): Config backup artifacts will not be encrypted.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.EncryptionKey` |   |

### HasAllNamespaces

    public bool HasAllNamespaces { get; }

Gets whether the "all_namespaces" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### IncludeSecrets

    public bool IncludeSecrets { get; set; }

Output only. This flag specifies whether Kubernetes Secret resources
should be included when they fall into the scope of Backups.

Default: False

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### IncludeVolumeData

    public bool IncludeVolumeData { get; set; }

Output only. This flag specifies whether volume data should be backed
up when PVCs are included in the scope of a Backup.

Default: False

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### SelectedApplications

    public NamespacedNames SelectedApplications { get; set; }

Output only. If set, include just the resources referenced by the
listed ProtectedApplications.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.NamespacedNames` |   |

### SelectedNamespaces

    public Namespaces SelectedNamespaces { get; set; }

Output only. If set, include just the resources in the listed
namespaces.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GkeBackup.V1/latest/Google.Cloud.GkeBackup.V1.Namespaces` |   |