Class: Google::Apis::TracingV1::BatchUpdateSpansRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_updatesHash<String,Google::Apis::TracingV1::SpanUpdates>

A map from trace name to spans to be stored or updated. Corresponds to the JSON property spanUpdates

Returns:



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