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.