Class: Google::Apis::SqladminV1::BackupReencryptionConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_limitFixnum

Backup re-encryption limit Corresponds to the JSON property backupLimit

Returns:

  • (Fixnum)


304
305
306
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 304

def backup_limit
  @backup_limit
end

#backup_typeString

Type of backups users want to re-encrypt. Corresponds to the JSON property backupType

Returns:

  • (String)


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