CapacityCommitmentPlan

enum CapacityCommitmentPlan : Enum<CapacityCommitmentPlan> , ConvertibleToJava<CapacityCommitmentPlan>

Capacity commitment commitment plan.

Entries

Link copied to clipboard

Invalid plan value. Requests with this value will be rejected with error code google.rpc.Code.INVALID_ARGUMENT.

Link copied to clipboard

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.

Link copied to clipboard

Same as FLEX, should only be used if flat-rate commitments are still available.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

Same as MONTHLY, should only be used if flat-rate commitments are still available.

Link copied to clipboard

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.

Link copied to clipboard

Same as ANNUAL, should only be used if flat-rate commitments are still available.

Link copied to clipboard

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.

Link copied to clipboard

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.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): CapacityCommitmentPlan
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val javaValue: CapacityCommitmentPlan
Link copied to clipboard
Link copied to clipboard