# Google Cloud Capacity Planner V1beta Client - Class AggregationMethod (0.1.2)

0.1.2 (latest) 0.1.1

> [!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 Google Cloud Capacity Planner V1beta Client class AggregationMethod.

Methods for converting sampled data to time series values.

Protobuf type `google.cloud.capacityplanner.v1beta.UsageHistory.AggregationMethod`

## Namespace

Google \\ Cloud \\ CapacityPlanner \\ V1beta \\ UsageHistory

## Methods

### static::name

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

### static::value

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

## Constants

### AGGREGATION_METHOD_UNSPECIFIED

    Value: 0

No aggregation method is specified.

Generated from protobuf enum `AGGREGATION_METHOD_UNSPECIFIED = 0;`

### MEDIAN

    Value: 1

Generated from protobuf enum `MEDIAN = 1;`

### PEAK

    Value: 2

Time series values represent the 99th percentile of the sampled values.

Generated from protobuf enum `PEAK = 2;`

### P50

    Value: 3

Time series values represent the 50th(median) percentile of the sampled
values.

Generated from protobuf enum `P50 = 3;`

### P75

    Value: 4

Time series values represent the 75th percentile of the sampled values.

Generated from protobuf enum `P75 = 4;`

### P99

    Value: 5

Time series values represent the 99th percentile of the sampled values.

Generated from protobuf enum `P99 = 5;`