Class: Google::Apis::DatamigrationV1::SqlServerDatabaseBackup
- Inherits:
-
Object
- Object
- Google::Apis::DatamigrationV1::SqlServerDatabaseBackup
- 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
-
#database ⇒ String
Required.
-
#encryption_options ⇒ Google::Apis::DatamigrationV1::SqlServerEncryptionOptions
Encryption settings for the SQL Server database.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SqlServerDatabaseBackup
constructor
A new instance of SqlServerDatabaseBackup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SqlServerDatabaseBackup
Returns a new instance of SqlServerDatabaseBackup.
4822 4823 4824 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4822 def initialize(**args) update!(**args) end |
Instance Attribute Details
#database ⇒ String
Required. Name of a SQL Server database for which to define backup
configuration.
Corresponds to the JSON property database
4815 4816 4817 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4815 def database @database end |
#encryption_options ⇒ Google::Apis::DatamigrationV1::SqlServerEncryptionOptions
Encryption settings for the SQL Server database.
Corresponds to the JSON property encryptionOptions
4820 4821 4822 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4820 def @encryption_options end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4827 4828 4829 4830 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4827 def update!(**args) @database = args[:database] if args.key?(:database) @encryption_options = args[:encryption_options] if args.key?(:encryption_options) end |