Compute V1 Client - Class Category (2.1.0)

Reference documentation and code samples for the Compute V1 Client class Category.

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 type google.cloud.compute.v1.Commitment.Category

Namespace

Google \ Cloud \ Compute \ V1 \ Commitment

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

UNDEFINED_CATEGORY

Value: 0

A value indicating that the enum field is not set.

Generated from protobuf enum UNDEFINED_CATEGORY = 0;

CATEGORY_UNSPECIFIED

Value: 509189462

Generated from protobuf enum CATEGORY_UNSPECIFIED = 509189462;

LICENSE

Value: 347869217

Generated from protobuf enum LICENSE = 347869217;

MACHINE

Value: 469553191

Generated from protobuf enum MACHINE = 469553191;