Class: Google::Apis::TracingV1::SpanUpdates
- Inherits:
-
Object
- Object
- Google::Apis::TracingV1::SpanUpdates
- 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
Collection of spans to update.
Instance Attribute Summary collapse
-
#spans ⇒ Array<Google::Apis::TracingV1::Span>
A collection of spans.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SpanUpdates
constructor
A new instance of SpanUpdates.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SpanUpdates
Returns a new instance of SpanUpdates
137 138 139 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 137 def initialize(**args) update!(**args) end |
Instance Attribute Details
#spans ⇒ Array<Google::Apis::TracingV1::Span>
A collection of spans.
Corresponds to the JSON property spans
135 136 137 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 135 def spans @spans end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
142 143 144 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 142 def update!(**args) @spans = args[:spans] if args.key?(:spans) end |