Class: Google::Apis::DatamigrationV1::ListMigrationJobObjectsResponse

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

Response containing the objects for a migration job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListMigrationJobObjectsResponse

Returns a new instance of ListMigrationJobObjectsResponse.



2604
2605
2606
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2604

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

Instance Attribute Details

#migration_job_objectsArray<Google::Apis::DatamigrationV1::MigrationJobObject>

List of migration job objects. Corresponds to the JSON property migrationJobObjects



2597
2598
2599
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2597

def migration_job_objects
  @migration_job_objects
end

#next_page_tokenString

A token, which can be sent as page_token to retrieve the next page. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2602
2603
2604
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2602

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2609
2610
2611
2612
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2609

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