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.



2531
2532
2533
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2531

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



2524
2525
2526
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2524

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)


2529
2530
2531
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2529

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2536
2537
2538
2539
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2536

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