Reference documentation and code samples for the Error Reporting V1beta1 API class Google::Cloud::ErrorReporting::V1beta1::TimedCount.
The number of errors in a given time period. All numbers are approximate since the error events are sampled before counting them.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#count
def count() -> ::Integer
Returns
- (::Integer) — Approximate number of occurrences in the given time period.
#count=
def count=(value) -> ::Integer
Parameter
- value (::Integer) — Approximate number of occurrences in the given time period.
Returns
- (::Integer) — Approximate number of occurrences in the given time period.
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
Returns
-
(::Google::Protobuf::Timestamp) — End of the time period to which
count
refers (excluded).
#end_time=
def end_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
-
value (::Google::Protobuf::Timestamp) — End of the time period to which
count
refers (excluded).
Returns
-
(::Google::Protobuf::Timestamp) — End of the time period to which
count
refers (excluded).
#start_time
def start_time() -> ::Google::Protobuf::Timestamp
Returns
-
(::Google::Protobuf::Timestamp) — Start of the time period to which
count
refers (included).
#start_time=
def start_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
-
value (::Google::Protobuf::Timestamp) — Start of the time period to which
count
refers (included).
Returns
-
(::Google::Protobuf::Timestamp) — Start of the time period to which
count
refers (included).