Class: Google::Apis::CloudtraceV2::TimeEvents
- Inherits:
-
Object
- Object
- Google::Apis::CloudtraceV2::TimeEvents
- 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 TimeEvents. A TimeEvent is a time-stamped annotation
on the span, consisting of either user-supplied key:value pairs, or
details of an RPC message sent/received on the network.
Instance Attribute Summary collapse
-
#dropped_annotations_count ⇒ Fixnum
The number of dropped annotations in all the included time events.
-
#dropped_network_events_count ⇒ Fixnum
The number of dropped network events in all the included time events.
-
#time_event ⇒ Array<Google::Apis::CloudtraceV2::TimeEvent>
A collection of
TimeEvents.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TimeEvents
constructor
A new instance of TimeEvents.
-
#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) ⇒ TimeEvents
Returns a new instance of TimeEvents
735 736 737 |
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 735 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
722 723 724 |
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 722 def dropped_annotations_count @dropped_annotations_count end |
#dropped_network_events_count ⇒ Fixnum
The number of dropped network events in all the included time events.
If the value is 0, then no network events were dropped.
Corresponds to the JSON property droppedNetworkEventsCount
728 729 730 |
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 728 def dropped_network_events_count @dropped_network_events_count end |
#time_event ⇒ Array<Google::Apis::CloudtraceV2::TimeEvent>
A collection of TimeEvents.
Corresponds to the JSON property timeEvent
733 734 735 |
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 733 def time_event @time_event end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
740 741 742 743 744 |
# File 'generated/google/apis/cloudtrace_v2/classes.rb', line 740 def update!(**args) @dropped_annotations_count = args[:dropped_annotations_count] if args.key?(:dropped_annotations_count) @dropped_network_events_count = args[:dropped_network_events_count] if args.key?(:dropped_network_events_count) @time_event = args[:time_event] if args.key?(:time_event) end |