Error Reporting V1beta1 API - Module Google::Cloud::ErrorReporting::V1beta1::TimedCountAlignment (v0.12.0)

Reference documentation and code samples for the Error Reporting V1beta1 API module Google::Cloud::ErrorReporting::V1beta1::TimedCountAlignment.

Specifies how the time periods of error group counts are aligned.

Constants

ERROR_COUNT_ALIGNMENT_UNSPECIFIED

value: 0
No alignment specified.

ALIGNMENT_EQUAL_ROUNDED

value: 1
The time periods shall be consecutive, have width equal to the requested duration, and be aligned at the [alignment_time] [google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest.alignment_time] provided in the request.

The [alignment_time] [google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest.alignment_time] does not have to be inside the query period but even if it is outside, only time periods are returned which overlap with the query period.

A rounded alignment will typically result in a different size of the first or the last time period.

ALIGNMENT_EQUAL_AT_END

value: 2
The time periods shall be consecutive, have width equal to the requested duration, and be aligned at the end of the requested time period. This can result in a different size of the first time period.