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.
485 486 487 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 485 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backup_limit ⇒ Fixnum
Backup re-encryption limit
Corresponds to the JSON property backupLimit
478 479 480 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 478 def backup_limit @backup_limit end |
#backup_type ⇒ String
Type of backups users want to re-encrypt.
Corresponds to the JSON property backupType
483 484 485 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 483 def backup_type @backup_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
490 491 492 493 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 490 def update!(**args) @backup_limit = args[:backup_limit] if args.key?(:backup_limit) @backup_type = args[:backup_type] if args.key?(:backup_type) end |