Class: Google::Apis::RapidmigrationassessmentV1::ListCollectorsResponse

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

Overview

Message for response to listing Collectors.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListCollectorsResponse

Returns a new instance of ListCollectorsResponse.



239
240
241
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 239

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

Instance Attribute Details

#collectorsArray<Google::Apis::RapidmigrationassessmentV1::Collector>

The list of Collectors. Corresponds to the JSON property collectors



227
228
229
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 227

def collectors
  @collectors
end

#next_page_tokenString

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

Returns:

  • (String)


232
233
234
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 232

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


237
238
239
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 237

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



244
245
246
247
248
# File 'lib/google/apis/rapidmigrationassessment_v1/classes.rb', line 244

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