Class: Google::Apis::MigrationcenterV1alpha1::DatabasePreferencesCloudSqlCommonBackup

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb

Overview

Preferences for database backups.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DatabasePreferencesCloudSqlCommonBackup

Returns a new instance of DatabasePreferencesCloudSqlCommonBackup.



1885
1886
1887
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1885

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#backup_modeString

Optional. Mode of automated backups. Corresponds to the JSON property backupMode

Returns:

  • (String)


1883
1884
1885
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1883

def backup_mode
  @backup_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1890
1891
1892
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1890

def update!(**args)
  @backup_mode = args[:backup_mode] if args.key?(:backup_mode)
end