Enum Commitment.Category (1.69.0)

public enum Commitment.Category extends Enum<Commitment.Category> implements ProtocolMessageEnum

The category of the commitment; specifies whether the commitment is for hardware or software resources. Category MACHINE specifies that you are committing to hardware machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies that you are committing to software licenses, listed in licenseResources. Note that if you specify MACHINE commitments, then you must also specify a type to indicate the machine series of the hardware resource that you are committing to.

Protobuf enum google.cloud.compute.v1.Commitment.Category

Implements

ProtocolMessageEnum

Static Fields

Name Description
CATEGORY_UNSPECIFIED

CATEGORY_UNSPECIFIED = 509189462;

CATEGORY_UNSPECIFIED_VALUE

CATEGORY_UNSPECIFIED = 509189462;

LICENSE

LICENSE = 347869217;

LICENSE_VALUE

LICENSE = 347869217;

MACHINE

MACHINE = 469553191;

MACHINE_VALUE

MACHINE = 469553191;

UNDEFINED_CATEGORY

A value indicating that the enum field is not set.

UNDEFINED_CATEGORY = 0;

UNDEFINED_CATEGORY_VALUE

A value indicating that the enum field is not set.

UNDEFINED_CATEGORY = 0;

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()