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

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

The range of machine resource values that the SKU applies to.

Generated from protobuf message google.cloud.commerceproducer.v1beta.Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange

Namespace

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

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ start_value int|string

Output only. The inclusive lower bound of the range. While the number zero may be the start of a range, it is not a possible machine resource value. An instance cannot exist with zero vCPU or memory, and an instance with no attached accelerators lacks a GPU dimension entirely rather than having a GPU count of zero.

↳ end_value int|string

Output only. The exclusive upper bound of the range. If no end value is specified, the range is unbounded from above.

getStartValue

Output only. The inclusive lower bound of the range.

While the number zero may be the start of a range, it is not a possible machine resource value. An instance cannot exist with zero vCPU or memory, and an instance with no attached accelerators lacks a GPU dimension entirely rather than having a GPU count of zero.

Returns
Type Description
int|string

setStartValue

Output only. The inclusive lower bound of the range.

While the number zero may be the start of a range, it is not a possible machine resource value. An instance cannot exist with zero vCPU or memory, and an instance with no attached accelerators lacks a GPU dimension entirely rather than having a GPU count of zero.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getEndValue

Output only. The exclusive upper bound of the range.

If no end value is specified, the range is unbounded from above.

Returns
Type Description
int|string

hasEndValue

clearEndValue

setEndValue

Output only. The exclusive upper bound of the range.

If no end value is specified, the range is unbounded from above.

Parameter
Name Description
var int|string
Returns
Type Description
$this