Class: Google::Apis::SqladminV1::BackupReencryptionConfig
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1::BackupReencryptionConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sqladmin_v1/classes.rb,
lib/google/apis/sqladmin_v1/representations.rb,
lib/google/apis/sqladmin_v1/representations.rb
Overview
Backup Reencryption Config
Instance Attribute Summary collapse
-
#backup_limit ⇒ Fixnum
Backup re-encryption limit Corresponds to the JSON property
backupLimit
. -
#backup_type ⇒ String
Type of backups users want to re-encrypt.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackupReencryptionConfig
constructor
A new instance of BackupReencryptionConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BackupReencryptionConfig
Returns a new instance of BackupReencryptionConfig.
311 312 313 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 311 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backup_limit ⇒ Fixnum
Backup re-encryption limit
Corresponds to the JSON property backupLimit
304 305 306 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 304 def backup_limit @backup_limit end |
#backup_type ⇒ String
Type of backups users want to re-encrypt.
Corresponds to the JSON property backupType
309 310 311 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 309 def backup_type @backup_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
316 317 318 319 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 316 def update!(**args) @backup_limit = args[:backup_limit] if args.key?(:backup_limit) @backup_type = args[:backup_type] if args.key?(:backup_type) end |