class Google::Apis::CloudtraceV2::TimeEvents
A collection of `TimeEvent`s. A `TimeEvent` is a time-stamped annotation on the span, consisting of either user-supplied key:value pairs, or details of a message sent/received between Spans.
Attributes
dropped_annotations_count[RW]
The number of dropped annotations in all the included time events. If the value is 0, then no annotations were dropped. Corresponds to the JSON property `droppedAnnotationsCount` @return [Fixnum]
dropped_message_events_count[RW]
The number of dropped message events in all the included time events. If the value is 0, then no message events were dropped. Corresponds to the JSON property `droppedMessageEventsCount` @return [Fixnum]
time_event[RW]
A collection of `TimeEvent`s. Corresponds to the JSON property `timeEvent` @return [Array<Google::Apis::CloudtraceV2::TimeEvent>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudtrace_v2/classes.rb, line 609 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 614 def update!(**args) @dropped_annotations_count = args[:dropped_annotations_count] if args.key?(:dropped_annotations_count) @dropped_message_events_count = args[:dropped_message_events_count] if args.key?(:dropped_message_events_count) @time_event = args[:time_event] if args.key?(:time_event) end