public enum ResourceCommitment.Type extends Enum<ResourceCommitment.Type> implements ProtocolMessageEnumThe type of hardware resource that you want to specify. You can specify any of the following values:
- VCPU
- MEMORY
- LOCAL_SSD
- ACCELERATOR
Specify as a separate entry in the list for each individual resource type.
Protobuf enum google.cloud.compute.v1.ResourceCommitment.Type
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
ACCELERATOR |
|
ACCELERATOR_VALUE |
|
LOCAL_SSD |
|
LOCAL_SSD_VALUE |
|
MEMORY |
|
MEMORY_VALUE |
|
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 |
|
UNSPECIFIED |
|
UNSPECIFIED_VALUE |
|
VCPU |
|
VCPU_VALUE |
|
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() |
|