# Stackdriver Error Reporting V1beta1 Client - Class TimedCountAlignment (0.26.1)

0.26.1 (latest) 0.26.0 0.25.3 0.24.0 0.23.1 0.22.10 0.21.1 0.20.2 0.19.12

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Stackdriver Error Reporting V1beta1 Client class TimedCountAlignment.

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

Protobuf type `google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment`

## Namespace

Google \\ Cloud \\ ErrorReporting \\ V1beta1

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### ERROR_COUNT_ALIGNMENT_UNSPECIFIED

    Value: 0

No alignment specified.

Generated from protobuf enum `ERROR_COUNT_ALIGNMENT_UNSPECIFIED = 0;`

### 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](https://docs.cloud.google.com/php/docs/reference/cloud-error-reporting/latest/V1beta1.ListGroupStatsRequest#_Google_Cloud_ErrorReporting_V1beta1_ListGroupStatsRequest__getAlignmentTime__)
provided in the request.

The [alignment_time](https://docs.cloud.google.com/php/docs/reference/cloud-error-reporting/latest/V1beta1.ListGroupStatsRequest#_Google_Cloud_ErrorReporting_V1beta1_ListGroupStatsRequest__getAlignmentTime__)
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.

Generated from protobuf enum `ALIGNMENT_EQUAL_ROUNDED = 1;`

### 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.

Generated from protobuf enum `ALIGNMENT_EQUAL_AT_END = 2;`