1.9.0 (latest) 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class DbBackupConfig : IMessage<DbBackupConfig>, IEquatable<DbBackupConfig>, IDeepCloneable<DbBackupConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Oracle Database@Google Cloud v1 API class DbBackupConfig.

Backup Options for the Database.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> DbBackupConfig

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DbBackupConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.DbBackupConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DbBackupConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.DbBackupConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DbBackupConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.DbBackupConfig), [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.OracleDatabase.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1)

## Assembly

Google.Cloud.OracleDatabase.V1.dll

## Constructors

### DbBackupConfig()

    public DbBackupConfig()

### DbBackupConfig(DbBackupConfig)

    public DbBackupConfig(DbBackupConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.DbBackupConfig` |

## Properties

### AutoBackupEnabled

    public bool AutoBackupEnabled { get; set; }

Optional. If set to true, enables automatic backups on the database.

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

### AutoFullBackupDay

    public DayOfWeek AutoFullBackupDay { get; set; }

Optional. The day of the week on which the full backup should be performed
on the database. If no value is provided, it will default to Sunday.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Type.DayOfWeek.html` |   |

### AutoFullBackupWindow

    public DbBackupConfig.Types.BackupWindow AutoFullBackupWindow { get; set; }

Optional. The window in which the full backup should be performed on the
database. If no value is provided, the default is anytime.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.DbBackupConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.DbBackupConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.DbBackupConfig.Types.BackupWindow` |   |

### AutoIncrementalBackupWindow

    public DbBackupConfig.Types.BackupWindow AutoIncrementalBackupWindow { get; set; }

Optional. The window in which the incremental backup should be performed on
the database. If no value is provided, the default is anytime except the
auto full backup day.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.DbBackupConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.DbBackupConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.DbBackupConfig.Types.BackupWindow` |   |

### BackupDeletionPolicy

    public DbBackupConfig.Types.BackupDeletionPolicy BackupDeletionPolicy { get; set; }

Optional. This defines when the backups will be deleted after Database
termination.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.DbBackupConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.DbBackupConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.DbBackupConfig.Types.BackupDeletionPolicy` |   |

### BackupDestinationDetails

    public RepeatedField<DbBackupConfig.Types.BackupDestinationDetails> BackupDestinationDetails { get; }

Optional. Details of the database backup destinations.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.DbBackupConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.DbBackupConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.DbBackupConfig.Types.BackupDestinationDetails` |   |

### RetentionPeriodDays

    public int RetentionPeriodDays { get; set; }

Optional. The number of days an automatic backup is retained before being
automatically deleted. This value determines the earliest point in time to
which a database can be restored. Min: 1, Max: 60.

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