Reference documentation and code samples for the Google Cloud Commerce Producer V1beta Client class AiPlatformProvisionedThroughputFee.
Details about a SKU pricing reservation of AI Platform Provisioned Throughput.
Customers may purchase provisioned throughput reservations for AI Platform managed model products. This provides the customer with provisioned throughput quota for a particular model and location. Model usage below the provisioned throughput quota threshold is voided and is not charged by the product's managed model usage fees.
Generated from protobuf message google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformProvisionedThroughputFee
Namespace
Google \ Cloud \ CommerceProducer \ V1beta \ Sku \ SkuPriceMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ term_duration_months |
int
Output only. The duration of the provisioned throughput reservation in months. |
↳ gsu_price_per_unit |
Google\Type\Money
The price per Generative AI Scale Unit (GSU) per |
↳ location |
AiPlatformManagedModelEndpointLocation
Output only. The location where provisioned throughput is priced by this SKU. |
↳ unit |
string
Output only. The price unit of the SKU. See https://ucum.org/ucum.html for the format of the price unit. Since provisioned throughput reservations are billed by duration, this will always be a time unit. The price unit of a provisioned throughput SKU is not necessarily the same as the reservation term. This field is unrelated to the Generative AI Scale Unit (GSU). Currently the unit is always months ('mo'). Additional time units may be supported in future. The customary unit month ('mo') requires special handling to account for the variable duration of months. A price may be denominated in units of months, but the duration the reservation is active is measured in metric time and customers are billed on that basis. The exact hourly or per-second price can be calculated by dividing the monthly price by the number of hours or seconds in the desired month. A reservation active for N months is rarely billed exactly N times the monthly price. This is intended and is not a billing error. |
getTermDurationMonths
Output only. The duration of the provisioned throughput reservation in months.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasTermDurationMonths
setTermDurationMonths
Output only. The duration of the provisioned throughput reservation in months.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getGsuPricePerUnit
The price per Generative AI Scale Unit
(GSU)
per unit.
A provisioned throughput reservation reserves a certain number of GSUs, and the customer is billed for those GSUs on a continuous basis for the duration of the reservation.
| Returns | |
|---|---|
| Type | Description |
Google\Type\Money|null |
|
hasGsuPricePerUnit
setGsuPricePerUnit
The price per Generative AI Scale Unit
(GSU)
per unit.
A provisioned throughput reservation reserves a certain number of GSUs, and the customer is billed for those GSUs on a continuous basis for the duration of the reservation.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Type\Money
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLocation
Output only. The location where provisioned throughput is priced by this SKU.
| Returns | |
|---|---|
| Type | Description |
AiPlatformManagedModelEndpointLocation|null |
|
hasLocation
clearLocation
setLocation
Output only. The location where provisioned throughput is priced by this SKU.
| Parameter | |
|---|---|
| Name | Description |
var |
AiPlatformManagedModelEndpointLocation
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUnit
Output only. The price unit of the SKU.
See https://ucum.org/ucum.html for the format of the price unit. Since provisioned throughput reservations are billed by duration, this will always be a time unit. The price unit of a provisioned throughput SKU is not necessarily the same as the reservation term. This field is unrelated to the Generative AI Scale Unit (GSU). Currently the unit is always months ('mo'). Additional time units may be supported in future. The customary unit month ('mo') requires special handling to account for the variable duration of months. A price may be denominated in units of months, but the duration the reservation is active is measured in metric time and customers are billed on that basis. The exact hourly or per-second price can be calculated by dividing the monthly price by the number of hours or seconds in the desired month. A reservation active for N months is rarely billed exactly N times the monthly price. This is intended and is not a billing error.
| Returns | |
|---|---|
| Type | Description |
string |
|
setUnit
Output only. The price unit of the SKU.
See https://ucum.org/ucum.html for the format of the price unit. Since provisioned throughput reservations are billed by duration, this will always be a time unit. The price unit of a provisioned throughput SKU is not necessarily the same as the reservation term. This field is unrelated to the Generative AI Scale Unit (GSU). Currently the unit is always months ('mo'). Additional time units may be supported in future. The customary unit month ('mo') requires special handling to account for the variable duration of months. A price may be denominated in units of months, but the duration the reservation is active is measured in metric time and customers are billed on that basis. The exact hourly or per-second price can be calculated by dividing the monthly price by the number of hours or seconds in the desired month. A reservation active for N months is rarely billed exactly N times the monthly price. This is intended and is not a billing error.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTerm
| Returns | |
|---|---|
| Type | Description |
string |
|
getPriceStructure
| Returns | |
|---|---|
| Type | Description |
string |
|