Class: Google::Apis::CloudtraceV2beta1::ListTraceSinksResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudtraceV2beta1::ListTraceSinksResponse
- 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
-
#next_page_token ⇒ String
A paginated response where more pages might be available has
next_page_token
set. -
#sinks ⇒ Array<Google::Apis::CloudtraceV2beta1::TraceSink>
A list of sinks.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListTraceSinksResponse
constructor
A new instance of ListTraceSinksResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_token ⇒ String
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
50 51 52 |
# File 'lib/google/apis/cloudtrace_v2beta1/classes.rb', line 50 def next_page_token @next_page_token end |
#sinks ⇒ Array<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 |