Class: Google::Apis::CloudtraceV2::ListTracesResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudtraceV2::ListTracesResponse
- Defined in:
- generated/google/apis/cloudtrace_v2/classes.rb,
generated/google/apis/cloudtrace_v2/representations.rb,
generated/google/apis/cloudtrace_v2/representations.rb
Overview
The response message for the ListTraces method.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
If there might be more results than those appearing in this response, then
next_page_tokenis included. -
#traces ⇒ Array<Google::Apis::CloudtraceV2::Trace>
List of trace records returned.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListTracesResponse
constructor
A new instance of ListTracesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListTracesResponse
Returns a new instance of ListTracesResponse
263 264 265 |
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 263 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
If there might be more results than those appearing in this response, then
next_page_token is included. To get the next set of results, call this
method again using the value of next_page_token as page_token.
Corresponds to the JSON property nextPageToken
256 257 258 |
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 256 def next_page_token @next_page_token end |
#traces ⇒ Array<Google::Apis::CloudtraceV2::Trace>
List of trace records returned.
Corresponds to the JSON property traces
261 262 263 |
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 261 def traces @traces end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
268 269 270 271 |
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 268 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @traces = args[:traces] if args.key?(:traces) end |