Class: Google::Apis::ObservabilityV1::ListLinksResponse

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

Overview

Response for listing links.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListLinksResponse

Returns a new instance of ListLinksResponse.



312
313
314
# File 'lib/google/apis/observability_v1/classes.rb', line 312

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

Instance Attribute Details

The list of links. Corresponds to the JSON property links



304
305
306
# File 'lib/google/apis/observability_v1/classes.rb', line 304

def links
  @links
end

#next_page_tokenString

Optional. A token that can be sent as page_token to retrieve the next page. When this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


310
311
312
# File 'lib/google/apis/observability_v1/classes.rb', line 310

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



317
318
319
320
# File 'lib/google/apis/observability_v1/classes.rb', line 317

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