public enum CapacityCommitment.CommitmentPlan extends Enum<CapacityCommitment.CommitmentPlan> implements ProtocolMessageEnum
Commitment plan defines the current committed period. Capacity commitment cannot be deleted during it's committed period.
Protobuf enum google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan
Implements
ProtocolMessageEnumStatic 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. |
ANNUAL_FLAT_RATE | Same as ANNUAL, should only be used if flat-rate commitments are still available. |
ANNUAL_FLAT_RATE_VALUE | Same as ANNUAL, should only be used if flat-rate commitments are still available. |
ANNUAL_VALUE | 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. |
COMMITMENT_PLAN_UNSPECIFIED | Invalid plan value. Requests with this value will be rejected with
error code |
COMMITMENT_PLAN_UNSPECIFIED_VALUE | Invalid plan value. Requests with this value will be rejected with
error code |
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. |
FLEX_FLAT_RATE | Same as FLEX, should only be used if flat-rate commitments are still available. |
FLEX_FLAT_RATE_VALUE | Same as FLEX, should only be used if flat-rate commitments are still available. |
FLEX_VALUE | 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. |
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. |
MONTHLY_FLAT_RATE | Same as MONTHLY, should only be used if flat-rate commitments are still available. |
MONTHLY_FLAT_RATE_VALUE | Same as MONTHLY, should only be used if flat-rate commitments are still available. |
MONTHLY_VALUE | 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. |
NONE | Should only be used for |
NONE_VALUE | Should only be used for |
THREE_YEAR | 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. |
THREE_YEAR_VALUE | 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
|
TRIAL_VALUE | Trial commitments have a committed period of 182 days after becoming
ACTIVE. After that, they are converted to a new commitment based on the
|
UNRECOGNIZED |
Static Methods | |
---|---|
Name | Description |
forNumber(int value) | |
getDescriptor() | |
internalGetValueMap() | |
valueOf(Descriptors.EnumValueDescriptor desc) | |
valueOf(int value) | Deprecated. Use #forNumber(int) instead. |
valueOf(String name) | |
values() |
Methods | |
---|---|
Name | Description |
getDescriptorForType() | |
getNumber() | |
getValueDescriptor() |