class Google::Apis::CloudtraceV2::BatchWriteSpansRequest
The request message for the `BatchWriteSpans` method.
Attributes
spans[RW]
Required. A list of new spans. The span names must not match existing spans, or the results are undefined. Corresponds to the JSON property `spans` @return [Array<Google::Apis::CloudtraceV2::Span>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudtrace_v2/classes.rb, line 123 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/cloudtrace_v2/classes.rb, line 128 def update!(**args) @spans = args[:spans] if args.key?(:spans) end