Class: Google::Apis::MigrationcenterV1::ListErrorFramesResponse

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

A response for listing error frames.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListErrorFramesResponse

Returns a new instance of ListErrorFramesResponse.



2324
2325
2326
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2324

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

Instance Attribute Details

#error_framesArray<Google::Apis::MigrationcenterV1::ErrorFrame>

The list of error frames. Corresponds to the JSON property errorFrames



2312
2313
2314
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2312

def error_frames
  @error_frames
end

#next_page_tokenString

A token identifying a page of results the server should return. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2317
2318
2319
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2317

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>)


2322
2323
2324
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2322

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2329
2330
2331
2332
2333
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 2329

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