Class: Google::Apis::ServicedirectoryV1beta1::ListEndpointsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/servicedirectory_v1beta1/classes.rb,
generated/google/apis/servicedirectory_v1beta1/representations.rb,
generated/google/apis/servicedirectory_v1beta1/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.



280
281
282
# File 'generated/google/apis/servicedirectory_v1beta1/classes.rb', line 280

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

Instance Attribute Details

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

The list of endpoints. Corresponds to the JSON property endpoints



272
273
274
# File 'generated/google/apis/servicedirectory_v1beta1/classes.rb', line 272

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)


278
279
280
# File 'generated/google/apis/servicedirectory_v1beta1/classes.rb', line 278

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



285
286
287
288
# File 'generated/google/apis/servicedirectory_v1beta1/classes.rb', line 285

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