public enum Commitment.Plan extends Enum<Commitment.Plan> implements ProtocolMessageEnumThe minimum time duration that you commit to purchasing resources. The plan that you choose determines the preset term length of the commitment (which is 1 year or 3 years) and affects the discount rate that you receive for your resources. Committing to a longer time duration typically gives you a higher discount rate. The supported values for this field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years).
Protobuf enum google.cloud.compute.v1.Commitment.Plan
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
INVALID |
|
INVALID_VALUE |
|
THIRTY_SIX_MONTH |
|
THIRTY_SIX_MONTH_VALUE |
|
TWELVE_MONTH |
|
TWELVE_MONTH_VALUE |
|
UNDEFINED_PLAN |
A value indicating that the enum field is not set. |
UNDEFINED_PLAN_VALUE |
A value indicating that the enum field is not set. |
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() |
|