Class: Google::Apis::CloudtraceV1::ListTracesResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudtraceV1::ListTracesResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudtrace_v1/classes.rb,
lib/google/apis/cloudtrace_v1/representations.rb,
lib/google/apis/cloudtrace_v1/representations.rb
Overview
The response message for the ListTraces
method.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
If defined, indicates that there are more traces that match the request and that this value should be passed to the next request to continue retrieving additional traces.
-
#traces ⇒ Array<Google::Apis::CloudtraceV1::Trace>
List of trace records as specified by the view parameter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListTracesResponse
constructor
A new instance of ListTracesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListTracesResponse
Returns a new instance of ListTracesResponse.
57 58 59 |
# File 'lib/google/apis/cloudtrace_v1/classes.rb', line 57 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
If defined, indicates that there are more traces that match the request and
that this value should be passed to the next request to continue retrieving
additional traces.
Corresponds to the JSON property nextPageToken
50 51 52 |
# File 'lib/google/apis/cloudtrace_v1/classes.rb', line 50 def next_page_token @next_page_token end |
#traces ⇒ Array<Google::Apis::CloudtraceV1::Trace>
List of trace records as specified by the view parameter.
Corresponds to the JSON property traces
55 56 57 |
# File 'lib/google/apis/cloudtrace_v1/classes.rb', line 55 def traces @traces end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
62 63 64 65 |
# File 'lib/google/apis/cloudtrace_v1/classes.rb', line 62 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @traces = args[:traces] if args.key?(:traces) end |