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
516 517 518 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 516 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
514 515 516 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 514 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
507 508 509 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 507 def spans @spans end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
521 522 523 524 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 521 def update!(**args) @spans = args[:spans] if args.key?(:spans) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |