Class: Google::Apis::CloudtraceV2beta1::ListTraceSinksResponse

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

Overview

Result returned from ListTraceSinks.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListTraceSinksResponse

Returns a new instance of ListTraceSinksResponse.



57
58
59
# File 'lib/google/apis/cloudtrace_v2beta1/classes.rb', line 57

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

Instance Attribute Details

#next_page_tokenString

A paginated response where more pages might be available has next_page_token set. To get the next set of results, call the same method again using the value of next_page_token as page_token. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


50
51
52
# File 'lib/google/apis/cloudtrace_v2beta1/classes.rb', line 50

def next_page_token
  @next_page_token
end

#sinksArray<Google::Apis::CloudtraceV2beta1::TraceSink>

A list of sinks. Corresponds to the JSON property sinks



55
56
57
# File 'lib/google/apis/cloudtrace_v2beta1/classes.rb', line 55

def sinks
  @sinks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



62
63
64
65
# File 'lib/google/apis/cloudtrace_v2beta1/classes.rb', line 62

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