Class: Google::Apis::DatamigrationV1::RestartMigrationJobRequest
- Inherits:
-
Object
- Object
- Google::Apis::DatamigrationV1::RestartMigrationJobRequest
- 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
Request message for 'RestartMigrationJob' request.
Instance Attribute Summary collapse
-
#objects_filter ⇒ Google::Apis::DatamigrationV1::MigrationJobObjectsConfig
Configuration for the objects to be migrated.
-
#skip_validation ⇒ Boolean
(also: #skip_validation?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RestartMigrationJobRequest
constructor
A new instance of RestartMigrationJobRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RestartMigrationJobRequest
Returns a new instance of RestartMigrationJobRequest.
4305 4306 4307 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4305 def initialize(**args) update!(**args) end |
Instance Attribute Details
#objects_filter ⇒ Google::Apis::DatamigrationV1::MigrationJobObjectsConfig
Configuration for the objects to be migrated.
Corresponds to the JSON property objectsFilter
4296 4297 4298 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4296 def objects_filter @objects_filter end |
#skip_validation ⇒ Boolean Also known as: skip_validation?
Optional. Restart the migration job without running prior configuration
verification. Defaults to false.
Corresponds to the JSON property skipValidation
4302 4303 4304 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4302 def skip_validation @skip_validation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4310 4311 4312 4313 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 4310 def update!(**args) @objects_filter = args[:objects_filter] if args.key?(:objects_filter) @skip_validation = args[:skip_validation] if args.key?(:skip_validation) end |