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

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



58
59
60
# File 'generated/google/apis/cloudtrace_v2beta1/classes.rb', line 58

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

Instance Attribute Details

#next_page_tokenString

If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


51
52
53
# File 'generated/google/apis/cloudtrace_v2beta1/classes.rb', line 51

def next_page_token
  @next_page_token
end

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

A list of sinks. Corresponds to the JSON property sinks



56
57
58
# File 'generated/google/apis/cloudtrace_v2beta1/classes.rb', line 56

def sinks
  @sinks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



63
64
65
66
# File 'generated/google/apis/cloudtrace_v2beta1/classes.rb', line 63

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