Reference documentation and code samples for the Cloud Error Reporting V1beta1 API class Google::Cloud::ErrorReporting::V1beta1::ErrorGroupStats.
Data extracted for a specific group based on certain filter criteria, such as a given time period and/or service filter.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#affected_services
def affected_services() -> ::Array<::Google::Cloud::ErrorReporting::V1beta1::ServiceContext>
-
(::Array<::Google::Cloud::ErrorReporting::V1beta1::ServiceContext>) — Service contexts with a non-zero error count for the given filter
criteria. This list can be truncated if multiple services are affected.
Refer to
num_affected_services
for the total count.
#affected_services=
def affected_services=(value) -> ::Array<::Google::Cloud::ErrorReporting::V1beta1::ServiceContext>
-
value (::Array<::Google::Cloud::ErrorReporting::V1beta1::ServiceContext>) — Service contexts with a non-zero error count for the given filter
criteria. This list can be truncated if multiple services are affected.
Refer to
num_affected_services
for the total count.
-
(::Array<::Google::Cloud::ErrorReporting::V1beta1::ServiceContext>) — Service contexts with a non-zero error count for the given filter
criteria. This list can be truncated if multiple services are affected.
Refer to
num_affected_services
for the total count.
#affected_users_count
def affected_users_count() -> ::Integer
-
(::Integer) — Approximate number of affected users in the given group that
match the filter criteria.
Users are distinguished by data in the
ErrorContext
of the individual error events, such as their login name or their remote IP address in case of HTTP requests. The number of affected users can be zero even if the number of errors is non-zero if no data was provided from which the affected user could be deduced. Users are counted based on data in the request context that was provided in the error report. If more users are implicitly affected, such as due to a crash of the whole service, this is not reflected here.
#affected_users_count=
def affected_users_count=(value) -> ::Integer
-
value (::Integer) — Approximate number of affected users in the given group that
match the filter criteria.
Users are distinguished by data in the
ErrorContext
of the individual error events, such as their login name or their remote IP address in case of HTTP requests. The number of affected users can be zero even if the number of errors is non-zero if no data was provided from which the affected user could be deduced. Users are counted based on data in the request context that was provided in the error report. If more users are implicitly affected, such as due to a crash of the whole service, this is not reflected here.
-
(::Integer) — Approximate number of affected users in the given group that
match the filter criteria.
Users are distinguished by data in the
ErrorContext
of the individual error events, such as their login name or their remote IP address in case of HTTP requests. The number of affected users can be zero even if the number of errors is non-zero if no data was provided from which the affected user could be deduced. Users are counted based on data in the request context that was provided in the error report. If more users are implicitly affected, such as due to a crash of the whole service, this is not reflected here.
#count
def count() -> ::Integer
- (::Integer) — Approximate total number of events in the given group that match the filter criteria.
#count=
def count=(value) -> ::Integer
- value (::Integer) — Approximate total number of events in the given group that match the filter criteria.
- (::Integer) — Approximate total number of events in the given group that match the filter criteria.
#first_seen_time
def first_seen_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Approximate first occurrence that was ever seen for this group and which matches the given filter criteria, ignoring the time_range that was specified in the request.
#first_seen_time=
def first_seen_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — Approximate first occurrence that was ever seen for this group and which matches the given filter criteria, ignoring the time_range that was specified in the request.
- (::Google::Protobuf::Timestamp) — Approximate first occurrence that was ever seen for this group and which matches the given filter criteria, ignoring the time_range that was specified in the request.
#group
def group() -> ::Google::Cloud::ErrorReporting::V1beta1::ErrorGroup
- (::Google::Cloud::ErrorReporting::V1beta1::ErrorGroup) — Group data that is independent of the filter criteria.
#group=
def group=(value) -> ::Google::Cloud::ErrorReporting::V1beta1::ErrorGroup
- value (::Google::Cloud::ErrorReporting::V1beta1::ErrorGroup) — Group data that is independent of the filter criteria.
- (::Google::Cloud::ErrorReporting::V1beta1::ErrorGroup) — Group data that is independent of the filter criteria.
#last_seen_time
def last_seen_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Approximate last occurrence that was ever seen for this group and which matches the given filter criteria, ignoring the time_range that was specified in the request.
#last_seen_time=
def last_seen_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — Approximate last occurrence that was ever seen for this group and which matches the given filter criteria, ignoring the time_range that was specified in the request.
- (::Google::Protobuf::Timestamp) — Approximate last occurrence that was ever seen for this group and which matches the given filter criteria, ignoring the time_range that was specified in the request.
#num_affected_services
def num_affected_services() -> ::Integer
- (::Integer) — The total number of services with a non-zero error count for the given filter criteria.
#num_affected_services=
def num_affected_services=(value) -> ::Integer
- value (::Integer) — The total number of services with a non-zero error count for the given filter criteria.
- (::Integer) — The total number of services with a non-zero error count for the given filter criteria.
#representative
def representative() -> ::Google::Cloud::ErrorReporting::V1beta1::ErrorEvent
- (::Google::Cloud::ErrorReporting::V1beta1::ErrorEvent) — An arbitrary event that is chosen as representative for the whole group. The representative event is intended to be used as a quick preview for the whole group. Events in the group are usually sufficiently similar to each other such that showing an arbitrary representative provides insight into the characteristics of the group as a whole.
#representative=
def representative=(value) -> ::Google::Cloud::ErrorReporting::V1beta1::ErrorEvent
- value (::Google::Cloud::ErrorReporting::V1beta1::ErrorEvent) — An arbitrary event that is chosen as representative for the whole group. The representative event is intended to be used as a quick preview for the whole group. Events in the group are usually sufficiently similar to each other such that showing an arbitrary representative provides insight into the characteristics of the group as a whole.
- (::Google::Cloud::ErrorReporting::V1beta1::ErrorEvent) — An arbitrary event that is chosen as representative for the whole group. The representative event is intended to be used as a quick preview for the whole group. Events in the group are usually sufficiently similar to each other such that showing an arbitrary representative provides insight into the characteristics of the group as a whole.
#timed_counts
def timed_counts() -> ::Array<::Google::Cloud::ErrorReporting::V1beta1::TimedCount>
-
(::Array<::Google::Cloud::ErrorReporting::V1beta1::TimedCount>) —
Approximate number of occurrences over time. Timed counts returned by ListGroups are guaranteed to be:
- Inside the requested time interval
- Non-overlapping, and
- Ordered by ascending time.
#timed_counts=
def timed_counts=(value) -> ::Array<::Google::Cloud::ErrorReporting::V1beta1::TimedCount>
-
value (::Array<::Google::Cloud::ErrorReporting::V1beta1::TimedCount>) —
Approximate number of occurrences over time. Timed counts returned by ListGroups are guaranteed to be:
- Inside the requested time interval
- Non-overlapping, and
- Ordered by ascending time.
-
(::Array<::Google::Cloud::ErrorReporting::V1beta1::TimedCount>) —
Approximate number of occurrences over time. Timed counts returned by ListGroups are guaranteed to be:
- Inside the requested time interval
- Non-overlapping, and
- Ordered by ascending time.