Class: Google::Apis::TracingV1::ListSpansResponse
- Inherits:
-
Object
- Object
- Google::Apis::TracingV1::ListSpansResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/tracing_v1/classes.rb,
generated/google/apis/tracing_v1/representations.rb,
generated/google/apis/tracing_v1/representations.rb
Overview
The response message for the ListSpans
method.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
If defined, indicates that there are more spans that match the request.
-
#spans ⇒ Array<Google::Apis::TracingV1::Span>
The requested spans if there are any in the specified trace.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListSpansResponse
constructor
A new instance of ListSpansResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListSpansResponse
Returns a new instance of ListSpansResponse
163 164 165 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 163 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
If defined, indicates that there are more spans that match the request.
Pass this as the value of pageToken
in a subsequent request to retrieve
additional spans.
Corresponds to the JSON property nextPageToken
156 157 158 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 156 def next_page_token @next_page_token end |
#spans ⇒ Array<Google::Apis::TracingV1::Span>
The requested spans if there are any in the specified trace.
Corresponds to the JSON property spans
161 162 163 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 161 def spans @spans end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
168 169 170 171 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 168 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @spans = args[:spans] if args.key?(:spans) end |