class Google::Apis::ClouderrorreportingV1beta1::TimedCount

The number of errors in a given time period. All numbers are approximate since the error events are sampled before counting them.

Attributes

count[RW]

Approximate number of occurrences in the given time period. Corresponds to the JSON property `count` @return [Fixnum]

end_time[RW]

End of the time period to which `count` refers (excluded). Corresponds to the JSON property `endTime` @return [String]

start_time[RW]

Start of the time period to which `count` refers (included). Corresponds to the JSON property `startTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/clouderrorreporting_v1beta1/classes.rb, line 573
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/clouderrorreporting_v1beta1/classes.rb, line 578
def update!(**args)
  @count = args[:count] if args.key?(:count)
  @end_time = args[:end_time] if args.key?(:end_time)
  @start_time = args[:start_time] if args.key?(:start_time)
end