Class: Google::Apis::TracingV1::SpanUpdates

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

Collection of spans to update.

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) ⇒ 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

#spansArray<Google::Apis::TracingV1::Span>

A collection of spans. Corresponds to the JSON property spans

Returns:



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