Class: Google::Apis::DatamigrationV1::VerifyMigrationJobRequest

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

Request message for 'VerifyMigrationJob' request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VerifyMigrationJobRequest

Returns a new instance of VerifyMigrationJobRequest.



5681
5682
5683
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5681

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

Instance Attribute Details

#migration_jobGoogle::Apis::DatamigrationV1::MigrationJob

Represents a Database Migration Service migration job object. Corresponds to the JSON property migrationJob



5673
5674
5675
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5673

def migration_job
  @migration_job
end

#update_maskString

Optional. Field mask is used to specify the changed fields to be verified. It will not update the migration job. Corresponds to the JSON property updateMask

Returns:

  • (String)


5679
5680
5681
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5679

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5686
5687
5688
5689
# File 'lib/google/apis/datamigration_v1/classes.rb', line 5686

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