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

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

The range of aggregated input token values covered by the SKU.

A request to a managed model has an aggregated input token value determined by the sum of the metric values of the input token metrics.

  • input tokens
  • cache read input tokens
  • cache write input tokens

Generated from protobuf message google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelUsageFee.CombinedRequestInputTokensRange

Namespace

Google \ Cloud \ CommerceProducer \ V1beta \ Sku \ SkuPrice \ AiPlatformManagedModelUsageFee

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.

↳ 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.

Returns
Type Description
int|string

setStartValue

Output only. The inclusive lower bound of the range.

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