- 1.69.0 (latest)
- 1.68.0
- 1.67.0
- 1.66.0
- 1.65.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public enum Commitment.Type extends Enum<Commitment.Type> implements ProtocolMessageEnum
The type of commitment; specifies the machine series for which you want to commit to purchasing resources. The choice of machine series affects the discount rate and the eligible resource types. The type must be one of the following: ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3, ACCELERATOR_OPTIMIZED_A3_MEGA, COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D, COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D, COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE, GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2, GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D, GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D, GRAPHICS_OPTIMIZED, MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3, MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For example, type MEMORY_OPTIMIZED specifies a commitment that applies only to eligible resources of memory optimized M1 and M2 machine series. Type GENERAL_PURPOSE specifies a commitment that applies only to eligible resources of general purpose N1 machine series.
Protobuf enum google.cloud.compute.v1.Commitment.Type
Implements
ProtocolMessageEnumInherited Members
Static Fields |
|
---|---|
Name | Description |
ACCELERATOR_OPTIMIZED |
|
ACCELERATOR_OPTIMIZED_A3 |
|
ACCELERATOR_OPTIMIZED_A3_MEGA |
|
ACCELERATOR_OPTIMIZED_A3_MEGA_VALUE |
|
ACCELERATOR_OPTIMIZED_A3_ULTRA |
|
ACCELERATOR_OPTIMIZED_A3_ULTRA_VALUE |
|
ACCELERATOR_OPTIMIZED_A3_VALUE |
|
ACCELERATOR_OPTIMIZED_VALUE |
|
COMPUTE_OPTIMIZED |
|
COMPUTE_OPTIMIZED_C2D |
|
COMPUTE_OPTIMIZED_C2D_VALUE |
|
COMPUTE_OPTIMIZED_C3 |
|
COMPUTE_OPTIMIZED_C3D |
|
COMPUTE_OPTIMIZED_C3D_VALUE |
|
COMPUTE_OPTIMIZED_C3_VALUE |
|
COMPUTE_OPTIMIZED_H3 |
|
COMPUTE_OPTIMIZED_H3_VALUE |
|
COMPUTE_OPTIMIZED_VALUE |
|
GENERAL_PURPOSE |
|
GENERAL_PURPOSE_C4 |
|
GENERAL_PURPOSE_C4A |
|
GENERAL_PURPOSE_C4A_VALUE |
|
GENERAL_PURPOSE_C4_VALUE |
|
GENERAL_PURPOSE_E2 |
|
GENERAL_PURPOSE_E2_VALUE |
|
GENERAL_PURPOSE_N2 |
|
GENERAL_PURPOSE_N2D |
|
GENERAL_PURPOSE_N2D_VALUE |
|
GENERAL_PURPOSE_N2_VALUE |
|
GENERAL_PURPOSE_N4 |
|
GENERAL_PURPOSE_N4_VALUE |
|
GENERAL_PURPOSE_T2D |
|
GENERAL_PURPOSE_T2D_VALUE |
|
GENERAL_PURPOSE_VALUE |
|
GRAPHICS_OPTIMIZED |
|
GRAPHICS_OPTIMIZED_VALUE |
|
MEMORY_OPTIMIZED |
|
MEMORY_OPTIMIZED_M3 |
|
MEMORY_OPTIMIZED_M3_VALUE |
|
MEMORY_OPTIMIZED_VALUE |
|
MEMORY_OPTIMIZED_X4_16TB |
|
MEMORY_OPTIMIZED_X4_16TB_VALUE |
|
MEMORY_OPTIMIZED_X4_24TB |
|
MEMORY_OPTIMIZED_X4_24TB_VALUE |
|
MEMORY_OPTIMIZED_X4_32TB |
|
MEMORY_OPTIMIZED_X4_32TB_VALUE |
|
STORAGE_OPTIMIZED_Z3 |
|
STORAGE_OPTIMIZED_Z3_VALUE |
|
TYPE_UNSPECIFIED |
Note for internal users: When adding a new enum Type for v1, make sure to also add it in the comment for the |
TYPE_UNSPECIFIED_VALUE |
Note for internal users: When adding a new enum Type for v1, make sure to also add it in the comment for the |
UNDEFINED_TYPE |
A value indicating that the enum field is not set. |
UNDEFINED_TYPE_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() |