Class: Google::Apis::ServicedirectoryV1::ListEndpointsResponse

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

Overview

The response message for RegistrationService.ListEndpoints.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListEndpointsResponse

Returns a new instance of ListEndpointsResponse.



328
329
330
# File 'lib/google/apis/servicedirectory_v1/classes.rb', line 328

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

Instance Attribute Details

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

The list of endpoints. Corresponds to the JSON property endpoints



320
321
322
# File 'lib/google/apis/servicedirectory_v1/classes.rb', line 320

def endpoints
  @endpoints
end

#next_page_tokenString

Token to retrieve the next page of results, or empty if there are no more results in the list. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


326
327
328
# File 'lib/google/apis/servicedirectory_v1/classes.rb', line 326

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



333
334
335
336
# File 'lib/google/apis/servicedirectory_v1/classes.rb', line 333

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