Class: Google::Apis::MigrationcenterV1::ListImportDataFilesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/representations.rb

Overview

Response for listing payload files of an import job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListImportDataFilesResponse

Returns a new instance of ListImportDataFilesResponse.



2461
2462
2463
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2461

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

Instance Attribute Details

#import_data_filesArray<Google::Apis::MigrationcenterV1::ImportDataFile>

The list of import data files. Corresponds to the JSON property importDataFiles



2448
2449
2450
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2448

def import_data_files
  @import_data_files
end

#next_page_tokenString

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2454
2455
2456
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2454

def next_page_token
  @next_page_token
end

#unreachableArray<String>

Locations that could not be reached. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


2459
2460
2461
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2459

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2466
2467
2468
2469
2470
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2466

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