Class: Google::Apis::MigrationcenterV1alpha1::DatabasePreferencesCloudSqlCommonBackup
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::DatabasePreferencesCloudSqlCommonBackup
- 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
-
#backup_mode ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DatabasePreferencesCloudSqlCommonBackup
constructor
A new instance of DatabasePreferencesCloudSqlCommonBackup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DatabasePreferencesCloudSqlCommonBackup
Returns a new instance of DatabasePreferencesCloudSqlCommonBackup.
1906 1907 1908 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1906 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backup_mode ⇒ String
Optional. Mode of automated backups.
Corresponds to the JSON property backupMode
1904 1905 1906 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1904 def backup_mode @backup_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1911 1912 1913 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1911 def update!(**args) @backup_mode = args[:backup_mode] if args.key?(:backup_mode) end |