Class: Google::Apis::TracingV1::BatchUpdateSpansRequest
- Inherits:
-
Object
- Object
- Google::Apis::TracingV1::BatchUpdateSpansRequest
- 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 request message for the BatchUpdateSpans
method.
Instance Attribute Summary collapse
-
#span_updates ⇒ Hash<String,Google::Apis::TracingV1::SpanUpdates>
A map from trace name to spans to be stored or updated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchUpdateSpansRequest
constructor
A new instance of BatchUpdateSpansRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BatchUpdateSpansRequest
Returns a new instance of BatchUpdateSpansRequest
653 654 655 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 653 def initialize(**args) update!(**args) end |
Instance Attribute Details
#span_updates ⇒ Hash<String,Google::Apis::TracingV1::SpanUpdates>
A map from trace name to spans to be stored or updated.
Corresponds to the JSON property spanUpdates
651 652 653 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 651 def span_updates @span_updates end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
658 659 660 |
# File 'generated/google/apis/tracing_v1/classes.rb', line 658 def update!(**args) @span_updates = args[:span_updates] if args.key?(:span_updates) end |