Class: Google::Apis::ClouderrorreportingV1beta1::TimedCount
- Inherits:
-
Object
- Object
- Google::Apis::ClouderrorreportingV1beta1::TimedCount
- Defined in:
- generated/google/apis/clouderrorreporting_v1beta1/classes.rb,
generated/google/apis/clouderrorreporting_v1beta1/representations.rb,
generated/google/apis/clouderrorreporting_v1beta1/representations.rb
Overview
The number of errors in a given time period. All numbers are approximate since the error events are sampled before counting them.
Instance Attribute Summary collapse
-
#count ⇒ Fixnum
Approximate number of occurrences in the given time period.
-
#end_time ⇒ String
End of the time period to which
countrefers (excluded). -
#start_time ⇒ String
Start of the time period to which
countrefers (included).
Instance Method Summary collapse
-
#initialize(**args) ⇒ TimedCount
constructor
A new instance of TimedCount.
-
#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) ⇒ TimedCount
Returns a new instance of TimedCount
394 395 396 |
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 394 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
Approximate number of occurrences in the given time period.
Corresponds to the JSON property count
387 388 389 |
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 387 def count @count end |
#end_time ⇒ String
End of the time period to which count refers (excluded).
Corresponds to the JSON property endTime
382 383 384 |
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 382 def end_time @end_time end |
#start_time ⇒ String
Start of the time period to which count refers (included).
Corresponds to the JSON property startTime
392 393 394 |
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 392 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
399 400 401 402 403 |
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 399 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @count = args[:count] if args.key?(:count) @start_time = args[:start_time] if args.key?(:start_time) end |