Class: Google::Apis::DatamigrationV1::SqlServerBackups
- Inherits:
-
Object
- Object
- Google::Apis::DatamigrationV1::SqlServerBackups
- 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 in Cloud Storage for homogeneous migration to Cloud SQL for SQL Server.
Instance Attribute Summary collapse
-
#gcs_bucket ⇒ String
Required.
-
#gcs_prefix ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SqlServerBackups
constructor
A new instance of SqlServerBackups.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SqlServerBackups
Returns a new instance of SqlServerBackups.
4699 4700 4701 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4699 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gcs_bucket ⇒ String
Required. The Cloud Storage bucket that stores backups for all replicated
databases.
Corresponds to the JSON property gcsBucket
4692 4693 4694 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4692 def gcs_bucket @gcs_bucket end |
#gcs_prefix ⇒ String
Optional. Cloud Storage path inside the bucket that stores backups.
Corresponds to the JSON property gcsPrefix
4697 4698 4699 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4697 def gcs_prefix @gcs_prefix end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4704 4705 4706 4707 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4704 def update!(**args) @gcs_bucket = args[:gcs_bucket] if args.key?(:gcs_bucket) @gcs_prefix = args[:gcs_prefix] if args.key?(:gcs_prefix) end |