class ErrorGroupStats extends Message

Data extracted for a specific group based on certain filter criteria, such as a given time period and/or service filter.

Protobuf type Google\Devtools\Clouderrorreporting\V1beta1\ErrorGroupStats

Methods

__construct()

No description

getGroup()

Group data that is independent of the filter criteria.

setGroup(ErrorGroup $var)

Group data that is independent of the filter criteria.

int|string
getCount()

Approximate total number of events in the given group that match the filter criteria.

setCount(int|string $var)

Approximate total number of events in the given group that match the filter criteria.

int|string
getAffectedUsersCount()

Approximate number of affected users in the given group that match the filter criteria.

setAffectedUsersCount(int|string $var)

Approximate number of affected users in the given group that match the filter criteria.

RepeatedField
getTimedCounts()

Approximate number of occurrences over time.

setTimedCounts(array|RepeatedField $var)

Approximate number of occurrences over time.

getFirstSeenTime()

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.

setFirstSeenTime(Timestamp $var)

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.

getLastSeenTime()

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.

setLastSeenTime(Timestamp $var)

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.

RepeatedField
getAffectedServices()

Service contexts with a non-zero error count for the given filter criteria. This list can be truncated if multiple services are affected.

setAffectedServices(array|RepeatedField $var)

Service contexts with a non-zero error count for the given filter criteria. This list can be truncated if multiple services are affected.

int
getNumAffectedServices()

The total number of services with a non-zero error count for the given filter criteria.

setNumAffectedServices(int $var)

The total number of services with a non-zero error count for the given filter criteria.

getRepresentative()

An arbitrary event that is chosen as representative for the whole group.

setRepresentative(ErrorEvent $var)

An arbitrary event that is chosen as representative for the whole group.

Details

at line 101
__construct()

at line 112
ErrorGroup getGroup()

Group data that is independent of the filter criteria.

Generated from protobuf field .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;

Return Value

ErrorGroup

at line 123
setGroup(ErrorGroup $var)

Group data that is independent of the filter criteria.

Generated from protobuf field .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;

Parameters

ErrorGroup $var

at line 136
int|string getCount()

Approximate total number of events in the given group that match the filter criteria.

Generated from protobuf field int64 count = 2;

Return Value

int|string

at line 148
setCount(int|string $var)

Approximate total number of events in the given group that match the filter criteria.

Generated from protobuf field int64 count = 2;

Parameters

int|string $var

at line 171
int|string getAffectedUsersCount()

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.

Generated from protobuf field int64 affected_users_count = 3;

Return Value

int|string

at line 193
setAffectedUsersCount(int|string $var)

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.

Generated from protobuf field int64 affected_users_count = 3;

Parameters

int|string $var

at line 209
RepeatedField getTimedCounts()

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.

Generated from protobuf field repeated .google.devtools.clouderrorreporting.v1beta1.TimedCount timed_counts = 4;

Return Value

RepeatedField

at line 224
setTimedCounts(array|RepeatedField $var)

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.

Generated from protobuf field repeated .google.devtools.clouderrorreporting.v1beta1.TimedCount timed_counts = 4;

Parameters

array|RepeatedField $var

at line 238
Timestamp getFirstSeenTime()

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.

Generated from protobuf field .google.protobuf.Timestamp first_seen_time = 5;

Return Value

Timestamp

at line 251
setFirstSeenTime(Timestamp $var)

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.

Generated from protobuf field .google.protobuf.Timestamp first_seen_time = 5;

Parameters

Timestamp $var

at line 265
Timestamp getLastSeenTime()

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.

Generated from protobuf field .google.protobuf.Timestamp last_seen_time = 6;

Return Value

Timestamp

at line 278
setLastSeenTime(Timestamp $var)

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.

Generated from protobuf field .google.protobuf.Timestamp last_seen_time = 6;

Parameters

Timestamp $var

at line 292
RepeatedField getAffectedServices()

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.

Generated from protobuf field repeated .google.devtools.clouderrorreporting.v1beta1.ServiceContext affected_services = 7;

Return Value

RepeatedField

at line 305
setAffectedServices(array|RepeatedField $var)

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.

Generated from protobuf field repeated .google.devtools.clouderrorreporting.v1beta1.ServiceContext affected_services = 7;

Parameters

array|RepeatedField $var

at line 318
int getNumAffectedServices()

The total number of services with a non-zero error count for the given filter criteria.

Generated from protobuf field int32 num_affected_services = 8;

Return Value

int

at line 330
setNumAffectedServices(int $var)

The total number of services with a non-zero error count for the given filter criteria.

Generated from protobuf field int32 num_affected_services = 8;

Parameters

int $var

at line 346
ErrorEvent getRepresentative()

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.

Generated from protobuf field .google.devtools.clouderrorreporting.v1beta1.ErrorEvent representative = 9;

Return Value

ErrorEvent

at line 361
setRepresentative(ErrorEvent $var)

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.

Generated from protobuf field .google.devtools.clouderrorreporting.v1beta1.ErrorEvent representative = 9;

Parameters

ErrorEvent $var