class Google::Apis::CloudtraceV2::TimeEvent
A time-stamped annotation or message event in the Span
.
Attributes
annotation[RW]
Text annotation with a set of attributes. Corresponds to the JSON property `annotation` @return [Google::Apis::CloudtraceV2::Annotation]
message_event[RW]
An event describing a message sent/received between Spans. Corresponds to the JSON property `messageEvent` @return [Google::Apis::CloudtraceV2::MessageEvent]
time[RW]
The timestamp indicating the time the event occurred. Corresponds to the JSON property `time` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudtrace_v2/classes.rb, line 574 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 579 def update!(**args) @annotation = args[:annotation] if args.key?(:annotation) @message_event = args[:message_event] if args.key?(:message_event) @time = args[:time] if args.key?(:time) end