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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[],[],null,["# Error Reporting V1beta1 API - Module Google::Cloud::ErrorReporting::V1beta1::TimedCountAlignment (v0.14.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.14.0 (latest)](/ruby/docs/reference/google-cloud-error_reporting-v1beta1/latest/Google-Cloud-ErrorReporting-V1beta1-TimedCountAlignment)\n- [0.13.1](/ruby/docs/reference/google-cloud-error_reporting-v1beta1/0.13.1/Google-Cloud-ErrorReporting-V1beta1-TimedCountAlignment)\n- [0.12.0](/ruby/docs/reference/google-cloud-error_reporting-v1beta1/0.12.0/Google-Cloud-ErrorReporting-V1beta1-TimedCountAlignment)\n- [0.11.1](/ruby/docs/reference/google-cloud-error_reporting-v1beta1/0.11.1/Google-Cloud-ErrorReporting-V1beta1-TimedCountAlignment)\n- [0.10.0](/ruby/docs/reference/google-cloud-error_reporting-v1beta1/0.10.0/Google-Cloud-ErrorReporting-V1beta1-TimedCountAlignment)\n- [0.9.2](/ruby/docs/reference/google-cloud-error_reporting-v1beta1/0.9.2/Google-Cloud-ErrorReporting-V1beta1-TimedCountAlignment)\n- [0.8.0](/ruby/docs/reference/google-cloud-error_reporting-v1beta1/0.8.0/Google-Cloud-ErrorReporting-V1beta1-TimedCountAlignment)\n- [0.7.0](/ruby/docs/reference/google-cloud-error_reporting-v1beta1/0.7.0/Google-Cloud-ErrorReporting-V1beta1-TimedCountAlignment)\n- [0.6.0](/ruby/docs/reference/google-cloud-error_reporting-v1beta1/0.6.0/Google-Cloud-ErrorReporting-V1beta1-TimedCountAlignment)\n- [0.5.1](/ruby/docs/reference/google-cloud-error_reporting-v1beta1/0.5.1/Google-Cloud-ErrorReporting-V1beta1-TimedCountAlignment)\n- [0.4.5](/ruby/docs/reference/google-cloud-error_reporting-v1beta1/0.4.5/Google-Cloud-ErrorReporting-V1beta1-TimedCountAlignment) \nReference documentation and code samples for the Error Reporting V1beta1 API module Google::Cloud::ErrorReporting::V1beta1::TimedCountAlignment.\n\nSpecifies how the time periods of error group counts are aligned.\n\nConstants\n---------\n\n### ERROR_COUNT_ALIGNMENT_UNSPECIFIED\n\n**value:** 0 \nNo alignment specified.\n\n### ALIGNMENT_EQUAL_ROUNDED\n\n**value:** 1 \nThe time periods shall be consecutive, have width equal to the\nrequested duration, and be aligned at the\n\\[alignment_time\\]\n\\[google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest.alignment_time\\]\nprovided in the request.\n\n\nThe \\[alignment_time\\]\n\\[google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest.alignment_time\\]\ndoes not have to be inside the query period but even if it is outside, only\ntime periods are returned which overlap with the query period.\n\n\u003cbr /\u003e\n\nA rounded alignment will typically result in a different size of the first\nor the last time period.\n\n### ALIGNMENT_EQUAL_AT_END\n\n**value:** 2 \nThe time periods shall be consecutive, have width equal to the\nrequested duration, and be aligned at the end of the requested time\nperiod. This can result in a different size of the\nfirst time period."]]