Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::Commitment::Type.
The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines.
Constants
UNDEFINED_TYPE
value: 0
A value indicating that the enum field is not set.
ACCELERATOR_OPTIMIZED
value: 280848403
COMPUTE_OPTIMIZED
value: 158349023
COMPUTE_OPTIMIZED_C2D
value: 383246453
GENERAL_PURPOSE
value: 299793543
GENERAL_PURPOSE_E2
value: 301911877
GENERAL_PURPOSE_N2
value: 301912156
GENERAL_PURPOSE_N2D
value: 232471400
GENERAL_PURPOSE_T2D
value: 232477166
MEMORY_OPTIMIZED
value: 281753417
TYPE_UNSPECIFIED
value: 437714322