Class: Google::Apis::IdsV1::ListEndpointsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListEndpointsResponse

Returns a new instance of ListEndpointsResponse.



363
364
365
# File 'lib/google/apis/ids_v1/classes.rb', line 363

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

Instance Attribute Details

#endpointsArray<Google::Apis::IdsV1::Endpoint>

The list of endpoints response. Corresponds to the JSON property endpoints

Returns:



350
351
352
# File 'lib/google/apis/ids_v1/classes.rb', line 350

def endpoints
  @endpoints
end

#next_page_tokenString

A token, which 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)


356
357
358
# File 'lib/google/apis/ids_v1/classes.rb', line 356

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


361
362
363
# File 'lib/google/apis/ids_v1/classes.rb', line 361

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



368
369
370
371
372
# File 'lib/google/apis/ids_v1/classes.rb', line 368

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