Class: Google::Apis::SqladminV1::ImportContext::BakImportOptions

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

Import parameters specific to SQL Server .BAK files

Defined Under Namespace

Classes: EncryptionOptions

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BakImportOptions

Returns a new instance of BakImportOptions.



1627
1628
1629
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 1627

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

Instance Attribute Details

#encryption_optionsGoogle::Apis::SqladminV1::ImportContext::BakImportOptions::EncryptionOptions

Corresponds to the JSON property encryptionOptions



1618
1619
1620
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 1618

def encryption_options
  @encryption_options
end

#stripedBoolean Also known as: striped?

Whether or not the backup set being restored is striped. Applies only to Cloud SQL for SQL Server. Corresponds to the JSON property striped

Returns:

  • (Boolean)


1624
1625
1626
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 1624

def striped
  @striped
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1632
1633
1634
1635
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 1632

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