# NetApp V1 API - Class Google::Cloud::NetApp::V1::BackupConfig (v2.11.0)

2.11.0 (latest) 2.10.0 2.9.0 2.8.0 2.7.0 2.6.1 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.2 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.6.0 0.5.2 0.4.2 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the NetApp V1 API class Google::Cloud::NetApp::V1::BackupConfig.

BackupConfig contains backup related config on a volume.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #backup_chain_bytes

    def backup_chain_bytes() -> ::Integer

**Returns**

- (::Integer) --- Output only. Total size of all backups in a chain in bytes = baseline backup size + sum(incremental backup size).

### #backup_policies

    def backup_policies() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Optional. When specified, schedule backups will be created based on the policy configuration.

### #backup_policies=

    def backup_policies=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Optional. When specified, schedule backups will be created based on the policy configuration.
**Returns**

- (::Array\<::String\>) --- Optional. When specified, schedule backups will be created based on the policy configuration.

### #backup_vault

    def backup_vault() -> ::String

**Returns**

- (::String) --- Optional. Name of backup vault. Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}

### #backup_vault=

    def backup_vault=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. Name of backup vault. Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}
**Returns**

- (::String) --- Optional. Name of backup vault. Format: projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}

### #scheduled_backup_enabled

    def scheduled_backup_enabled() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. When set to true, scheduled backup is enabled on the volume. This field should be nil when there's no backup policy attached.

### #scheduled_backup_enabled=

    def scheduled_backup_enabled=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. When set to true, scheduled backup is enabled on the volume. This field should be nil when there's no backup policy attached.
**Returns**

- (::Boolean) --- Optional. When set to true, scheduled backup is enabled on the volume. This field should be nil when there's no backup policy attached.