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

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



282
283
284
# File 'generated/google/apis/servicedirectory_v1/classes.rb', line 282

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

Instance Attribute Details

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

The list of endpoints. Corresponds to the JSON property endpoints



274
275
276
# File 'generated/google/apis/servicedirectory_v1/classes.rb', line 274

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)


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

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



287
288
289
290
# File 'generated/google/apis/servicedirectory_v1/classes.rb', line 287

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