Class: Google::Apis::DatamigrationV1::SqlServerDatabaseBackup

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datamigration_v1/classes.rb,
lib/google/apis/datamigration_v1/representations.rb,
lib/google/apis/datamigration_v1/representations.rb

Overview

Specifies the backup details for a single database in Cloud Storage for homogeneous migration to Cloud SQL for SQL Server.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SqlServerDatabaseBackup

Returns a new instance of SqlServerDatabaseBackup.



4750
4751
4752
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4750

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

Instance Attribute Details

#databaseString

Required. Name of a SQL Server database for which to define backup configuration. Corresponds to the JSON property database

Returns:

  • (String)


4743
4744
4745
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4743

def database
  @database
end

#encryption_optionsGoogle::Apis::DatamigrationV1::SqlServerEncryptionOptions

Encryption settings for the SQL Server database. Corresponds to the JSON property encryptionOptions



4748
4749
4750
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4748

def encryption_options
  @encryption_options
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4755
4756
4757
4758
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4755

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