Class: Google::Apis::CloudtraceV2::TimeEvent
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::CloudtraceV2::TimeEvent
 
 
- Defined in:
 - generated/google/apis/cloudtrace_v2/classes.rb,
generated/google/apis/cloudtrace_v2/representations.rb,
generated/google/apis/cloudtrace_v2/representations.rb 
Overview
A time-stamped annotation or message event in the Span.
Instance Attribute Summary collapse
- 
  
    
      #annotation  ⇒ Google::Apis::CloudtraceV2::Annotation 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Text annotation with a set of attributes.
 - 
  
    
      #message_event  ⇒ Google::Apis::CloudtraceV2::MessageEvent 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
An event describing a message sent/received between Spans.
 - 
  
    
      #time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The timestamp indicating the time the event occurred.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TimeEvent 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of TimeEvent.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ TimeEvent
Returns a new instance of TimeEvent
      644 645 646  | 
    
      # File 'generated/google/apis/cloudtrace_v2/classes.rb', line 644 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#annotation ⇒ Google::Apis::CloudtraceV2::Annotation
Text annotation with a set of attributes.
Corresponds to the JSON property annotation
      632 633 634  | 
    
      # File 'generated/google/apis/cloudtrace_v2/classes.rb', line 632 def annotation @annotation end  | 
  
#message_event ⇒ Google::Apis::CloudtraceV2::MessageEvent
An event describing a message sent/received between Spans.
Corresponds to the JSON property messageEvent
      637 638 639  | 
    
      # File 'generated/google/apis/cloudtrace_v2/classes.rb', line 637 def @message_event end  | 
  
#time ⇒ String
The timestamp indicating the time the event occurred.
Corresponds to the JSON property time
      642 643 644  | 
    
      # File 'generated/google/apis/cloudtrace_v2/classes.rb', line 642 def time @time end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      649 650 651 652 653  | 
    
      # File 'generated/google/apis/cloudtrace_v2/classes.rb', line 649 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  |