# BigQuery Reservation v1 API - Enum CapacityCommitment.Types.CommitmentPlan (2.12.0)

2.12.0 (latest) 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0

    public enum CapacityCommitment.Types.CommitmentPlan

Reference documentation and code samples for the BigQuery Reservation v1 API enum CapacityCommitment.Types.CommitmentPlan.

Commitment plan defines the current committed period. Capacity commitment
cannot be deleted during it's committed period.

## Namespace

[Google.Cloud.BigQuery.Reservation.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.Reservation.V1/latest/Google.Cloud.BigQuery.Reservation.V1)

## Assembly

Google.Cloud.BigQuery.Reservation.V1.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `Annual` | Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
| `AnnualFlatRate` | Same as ANNUAL, should only be used if flat-rate commitments are still available. |
| `Flex` | Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
| `FlexFlatRate` | Same as FLEX, should only be used if flat-rate commitments are still available. |
| `Monthly` | Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time. |
| `MonthlyFlatRate` | Same as MONTHLY, should only be used if flat-rate commitments are still available. |
| `None` | Should only be used for `renewal_plan` and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error code `google.rpc.Code.INVALID_ARGUMENT`. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period. |
| `ThreeYear` | 3-year commitments have a committed period of 1095(3 \* 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan. |
| `Trial` | Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the `renewal_plan`. Default `renewal_plan` for Trial commitment is Flex so that it can be deleted right after committed period ends. |
| `Unspecified` | Invalid plan value. Requests with this value will be rejected with error code `google.rpc.Code.INVALID_ARGUMENT`. |