Class: Google::Apis::CloudtraceV2::TimeEvents
- Inherits:
-
Object
- Object
- Google::Apis::CloudtraceV2::TimeEvents
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- 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 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.
Instance Attribute Summary collapse
-
#dropped_annotations_count ⇒ Fixnum
The number of dropped annotations in all the included time events.
-
#dropped_message_events_count ⇒ Fixnum
The number of dropped message events in all the included time events.
-
#time_event ⇒ Array<Google::Apis::CloudtraceV2::TimeEvent>
A collection of
TimeEvent
s.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TimeEvents
constructor
A new instance of TimeEvents.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TimeEvents
Returns a new instance of TimeEvents.
609 610 611 |
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 609 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dropped_annotations_count ⇒ Fixnum
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
596 597 598 |
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 596 def dropped_annotations_count @dropped_annotations_count end |
#dropped_message_events_count ⇒ Fixnum
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
602 603 604 |
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 602 def @dropped_message_events_count end |
#time_event ⇒ Array<Google::Apis::CloudtraceV2::TimeEvent>
A collection of TimeEvent
s.
Corresponds to the JSON property timeEvent
607 608 609 |
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 607 def time_event @time_event end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
614 615 616 617 618 |
# File 'generated/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 |