# Oracle Database@Google Cloud V1 API - Class Google::Cloud::OracleDatabase::V1::DbBackupConfig (v0.15.0)

0.15.0 (latest) 0.14.0 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.1 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Oracle Database@Google Cloud V1 API class Google::Cloud::OracleDatabase::V1::DbBackupConfig.

Backup Options for the Database.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #auto_backup_enabled

    def auto_backup_enabled() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. If set to true, enables automatic backups on the database.

### #auto_backup_enabled=

    def auto_backup_enabled=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. If set to true, enables automatic backups on the database.
**Returns**

- (::Boolean) --- Optional. If set to true, enables automatic backups on the database.

### #auto_full_backup_day

    def auto_full_backup_day() -> ::Google::Type::DayOfWeek

**Returns**

- ([::Google::Type::DayOfWeek](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Type-DayOfWeek)) --- 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.

### #auto_full_backup_day=

    def auto_full_backup_day=(value) -> ::Google::Type::DayOfWeek

**Parameter**

- **value** ([::Google::Type::DayOfWeek](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Type-DayOfWeek)) --- 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.
**Returns**

- ([::Google::Type::DayOfWeek](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Type-DayOfWeek)) --- 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.

### #auto_full_backup_window

    def auto_full_backup_window() -> ::Google::Cloud::OracleDatabase::V1::DbBackupConfig::BackupWindow

**Returns**

- ([::Google::Cloud::OracleDatabase::V1::DbBackupConfig::BackupWindow](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-DbBackupConfig-BackupWindow)) --- Optional. The window in which the full backup should be performed on the database. If no value is provided, the default is anytime.

### #auto_full_backup_window=

    def auto_full_backup_window=(value) -> ::Google::Cloud::OracleDatabase::V1::DbBackupConfig::BackupWindow

**Parameter**

- **value** ([::Google::Cloud::OracleDatabase::V1::DbBackupConfig::BackupWindow](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-DbBackupConfig-BackupWindow)) --- Optional. The window in which the full backup should be performed on the database. If no value is provided, the default is anytime.
**Returns**

- ([::Google::Cloud::OracleDatabase::V1::DbBackupConfig::BackupWindow](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-DbBackupConfig-BackupWindow)) --- Optional. The window in which the full backup should be performed on the database. If no value is provided, the default is anytime.

### #auto_incremental_backup_window

    def auto_incremental_backup_window() -> ::Google::Cloud::OracleDatabase::V1::DbBackupConfig::BackupWindow

**Returns**

- ([::Google::Cloud::OracleDatabase::V1::DbBackupConfig::BackupWindow](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-DbBackupConfig-BackupWindow)) --- 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.

### #auto_incremental_backup_window=

    def auto_incremental_backup_window=(value) -> ::Google::Cloud::OracleDatabase::V1::DbBackupConfig::BackupWindow

**Parameter**

- **value** ([::Google::Cloud::OracleDatabase::V1::DbBackupConfig::BackupWindow](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-DbBackupConfig-BackupWindow)) --- 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.
**Returns**

- ([::Google::Cloud::OracleDatabase::V1::DbBackupConfig::BackupWindow](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-DbBackupConfig-BackupWindow)) --- 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.

### #backup_deletion_policy

    def backup_deletion_policy() -> ::Google::Cloud::OracleDatabase::V1::DbBackupConfig::BackupDeletionPolicy

**Returns**

- ([::Google::Cloud::OracleDatabase::V1::DbBackupConfig::BackupDeletionPolicy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-DbBackupConfig-BackupDeletionPolicy)) --- Optional. This defines when the backups will be deleted after Database termination.

### #backup_deletion_policy=

    def backup_deletion_policy=(value) -> ::Google::Cloud::OracleDatabase::V1::DbBackupConfig::BackupDeletionPolicy

**Parameter**

- **value** ([::Google::Cloud::OracleDatabase::V1::DbBackupConfig::BackupDeletionPolicy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-DbBackupConfig-BackupDeletionPolicy)) --- Optional. This defines when the backups will be deleted after Database termination.
**Returns**

- ([::Google::Cloud::OracleDatabase::V1::DbBackupConfig::BackupDeletionPolicy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-DbBackupConfig-BackupDeletionPolicy)) --- Optional. This defines when the backups will be deleted after Database termination.

### #backup_destination_details

    def backup_destination_details() -> ::Array<::Google::Cloud::OracleDatabase::V1::DbBackupConfig::BackupDestinationDetails>

**Returns**

- (::Array\<[::Google::Cloud::OracleDatabase::V1::DbBackupConfig::BackupDestinationDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-DbBackupConfig-BackupDestinationDetails)\>) --- Optional. Details of the database backup destinations.

### #backup_destination_details=

    def backup_destination_details=(value) -> ::Array<::Google::Cloud::OracleDatabase::V1::DbBackupConfig::BackupDestinationDetails>

**Parameter**

- **value** (::Array\<[::Google::Cloud::OracleDatabase::V1::DbBackupConfig::BackupDestinationDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-DbBackupConfig-BackupDestinationDetails)\>) --- Optional. Details of the database backup destinations.
**Returns**

- (::Array\<[::Google::Cloud::OracleDatabase::V1::DbBackupConfig::BackupDestinationDetails](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-DbBackupConfig-BackupDestinationDetails)\>) --- Optional. Details of the database backup destinations.

### #retention_period_days

    def retention_period_days() -> ::Integer

**Returns**

- (::Integer) --- 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.

### #retention_period_days=

    def retention_period_days=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- 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.
**Returns**

- (::Integer) --- 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.