Google Cloud Commerce Producer V1beta Client - Class MachineResource (0.2.0)

Reference documentation and code samples for the Google Cloud Commerce Producer V1beta Client class MachineResource.

The machine resource type that the SKU applies to, if any.

Protobuf type google.cloud.commerceproducer.v1beta.Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResource

Namespace

Google \ Cloud \ CommerceProducer \ V1beta \ Sku \ SkuPrice \ ComputeEngineLicenseUsageFee

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

MACHINE_RESOURCE_UNSPECIFIED

Value: 0

The SKU applies to all instances irrespective of machine shape.

This is referred to as "instance-based pricing" because the price is the same for all instances.

Generated from protobuf enum MACHINE_RESOURCE_UNSPECIFIED = 0;

VCPU_COUNT

Value: 1

The SKU applies based on the instance's vCPU count.

Generated from protobuf enum VCPU_COUNT = 1;

MEMORY_BYTES

Value: 2

The SKU applies based on the instance's memory size in bytes.

Generated from protobuf enum MEMORY_BYTES = 2;

GPU_COUNT

Value: 3

The SKU applies based on the instance's GPU count.

Generated from protobuf enum GPU_COUNT = 3;