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.



2517
2518
2519
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2517

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



2510
2511
2512
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2510

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)


2515
2516
2517
# File 'lib/google/apis/datamigration_v1/classes.rb', line 2515

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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