Reference documentation and code samples for the Google Cloud Commerce Producer V1beta Client class AiPlatformManagedModelUsageFee.
Details about a SKU pricing usage of an AI Platform Managed Model (MaaS).
Generated from protobuf message google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelUsageFee
Namespace
Google \ Cloud \ CommerceProducer \ V1beta \ Sku \ SkuPriceMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ tiered_price |
TieredPrice
Output only. Tiered pricing of the SKU. |
↳ usage_metric |
AiPlatformManagedModelUsageFee\AiPlatformManagedModelUsageMetric
Output only. The usage metric that the SKU applies to. |
↳ location |
AiPlatformManagedModelEndpointLocation
Output only. The model endpoint location where usage is priced by this SKU. If no location is specified, the SKU applies to usage in all locations. |
↳ prediction_mode |
int
Output only. The prediction mode of requests that the SKU applies to. |
↳ combined_request_input_tokens_range |
AiPlatformManagedModelUsageFee\CombinedRequestInputTokensRange
Output only. The range of aggregated input token values covered by the SKU. Unset if the SKU is not scoped to a particular range. A request is in scope for this SKU if its aggregated input token value falls within the range. The collection of SKUs in effect at any given time scoped to a particular aggregated input token value range will cover all possible values without overlap. Such a collection of SKUs form a "tiered" price structure over the possible value, with each SKU acting as a "tier". NOTE: This is distinct from a SKU with tiered pricing. |
↳ provisioned_throughput_overage |
AiPlatformManagedModelUsageFee\ProvisionedThroughputOverage
Output only. Set when the SKU is a historical provisioned throughput overage SKU. Starting 2025-08-26 such SKUs have no effect, and usage in excess of provisioned throughput quota is now metered as standard usage. This field is set only in historical SKU timeline entries for overage SKUs belonging to partners that offered provisioned throughput for AI Platform managed model products prior to the unification of standard usage and provisioned throughput overage metering. |
getTieredPrice
Output only. Tiered pricing of the SKU.
| Returns | |
|---|---|
| Type | Description |
TieredPrice|null |
|
hasTieredPrice
setTieredPrice
Output only. Tiered pricing of the SKU.
| Parameter | |
|---|---|
| Name | Description |
var |
TieredPrice
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUsageMetric
Output only. The usage metric that the SKU applies to.
| Returns | |
|---|---|
| Type | Description |
AiPlatformManagedModelUsageFee\AiPlatformManagedModelUsageMetric|null |
|
hasUsageMetric
clearUsageMetric
setUsageMetric
Output only. The usage metric that the SKU applies to.
| Parameter | |
|---|---|
| Name | Description |
var |
AiPlatformManagedModelUsageFee\AiPlatformManagedModelUsageMetric
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLocation
Output only. The model endpoint location where usage is priced by this SKU. If no location is specified, the SKU applies to usage in all locations.
| Returns | |
|---|---|
| Type | Description |
AiPlatformManagedModelEndpointLocation|null |
|
hasLocation
clearLocation
setLocation
Output only. The model endpoint location where usage is priced by this SKU. If no location is specified, the SKU applies to usage in all locations.
| Parameter | |
|---|---|
| Name | Description |
var |
AiPlatformManagedModelEndpointLocation
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPredictionMode
Output only. The prediction mode of requests that the SKU applies to.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type PredictionMode. |
setPredictionMode
Output only. The prediction mode of requests that the SKU applies to.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type PredictionMode. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCombinedRequestInputTokensRange
Output only. The range of aggregated input token values covered by the SKU. Unset if the SKU is not scoped to a particular range. A request is in scope for this SKU if its aggregated input token value falls within the range. The collection of SKUs in effect at any given time scoped to a particular aggregated input token value range will cover all possible values without overlap. Such a collection of SKUs form a "tiered" price structure over the possible value, with each SKU acting as a "tier".
NOTE: This is distinct from a SKU with tiered pricing.
| Returns | |
|---|---|
| Type | Description |
AiPlatformManagedModelUsageFee\CombinedRequestInputTokensRange|null |
|
hasCombinedRequestInputTokensRange
clearCombinedRequestInputTokensRange
setCombinedRequestInputTokensRange
Output only. The range of aggregated input token values covered by the SKU. Unset if the SKU is not scoped to a particular range. A request is in scope for this SKU if its aggregated input token value falls within the range. The collection of SKUs in effect at any given time scoped to a particular aggregated input token value range will cover all possible values without overlap. Such a collection of SKUs form a "tiered" price structure over the possible value, with each SKU acting as a "tier".
NOTE: This is distinct from a SKU with tiered pricing.
| Parameter | |
|---|---|
| Name | Description |
var |
AiPlatformManagedModelUsageFee\CombinedRequestInputTokensRange
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProvisionedThroughputOverage
Output only. Set when the SKU is a historical provisioned throughput overage SKU. Starting 2025-08-26 such SKUs have no effect, and usage in excess of provisioned throughput quota is now metered as standard usage. This field is set only in historical SKU timeline entries for overage SKUs belonging to partners that offered provisioned throughput for AI Platform managed model products prior to the unification of standard usage and provisioned throughput overage metering.
| Returns | |
|---|---|
| Type | Description |
AiPlatformManagedModelUsageFee\ProvisionedThroughputOverage|null |
|
hasProvisionedThroughputOverage
clearProvisionedThroughputOverage
setProvisionedThroughputOverage
Output only. Set when the SKU is a historical provisioned throughput overage SKU. Starting 2025-08-26 such SKUs have no effect, and usage in excess of provisioned throughput quota is now metered as standard usage. This field is set only in historical SKU timeline entries for overage SKUs belonging to partners that offered provisioned throughput for AI Platform managed model products prior to the unification of standard usage and provisioned throughput overage metering.
| Parameter | |
|---|---|
| Name | Description |
var |
AiPlatformManagedModelUsageFee\ProvisionedThroughputOverage
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPriceStructure
| Returns | |
|---|---|
| Type | Description |
string |
|