Interface Sku.SkuPrice.AiPlatformProvisionedThroughputFeeOrBuilder (0.1.0)

public static interface Sku.SkuPrice.AiPlatformProvisionedThroughputFeeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGsuPricePerUnit()

public abstract Money 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.

.google.type.Money gsu_price_per_unit = 4;

Returns
Type Description
com.google.type.Money

The gsuPricePerUnit.

getGsuPricePerUnitOrBuilder()

public abstract MoneyOrBuilder getGsuPricePerUnitOrBuilder()

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.

.google.type.Money gsu_price_per_unit = 4;

Returns
Type Description
com.google.type.MoneyOrBuilder

getLocation()

public abstract Sku.SkuPrice.AiPlatformManagedModelEndpointLocation getLocation()

Output only. The location where provisioned throughput is priced by this SKU.

.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelEndpointLocation location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Sku.SkuPrice.AiPlatformManagedModelEndpointLocation

The location.

getLocationOrBuilder()

public abstract Sku.SkuPrice.AiPlatformManagedModelEndpointLocationOrBuilder getLocationOrBuilder()

Output only. The location where provisioned throughput is priced by this SKU.

.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelEndpointLocation location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Sku.SkuPrice.AiPlatformManagedModelEndpointLocationOrBuilder

getPriceStructureCase()

public abstract Sku.SkuPrice.AiPlatformProvisionedThroughputFee.PriceStructureCase getPriceStructureCase()
Returns
Type Description
Sku.SkuPrice.AiPlatformProvisionedThroughputFee.PriceStructureCase

getTermCase()

public abstract Sku.SkuPrice.AiPlatformProvisionedThroughputFee.TermCase getTermCase()
Returns
Type Description
Sku.SkuPrice.AiPlatformProvisionedThroughputFee.TermCase

getTermDurationMonths()

public abstract int getTermDurationMonths()

Output only. The duration of the provisioned throughput reservation in months.

int32 term_duration_months = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The termDurationMonths.

getUnit()

public abstract String 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.

string unit = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The unit.

getUnitBytes()

public abstract ByteString getUnitBytes()

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.

string unit = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for unit.

hasGsuPricePerUnit()

public abstract boolean hasGsuPricePerUnit()

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.

.google.type.Money gsu_price_per_unit = 4;

Returns
Type Description
boolean

Whether the gsuPricePerUnit field is set.

hasLocation()

public abstract boolean hasLocation()

Output only. The location where provisioned throughput is priced by this SKU.

.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelEndpointLocation location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the location field is set.

hasTermDurationMonths()

public abstract boolean hasTermDurationMonths()

Output only. The duration of the provisioned throughput reservation in months.

int32 term_duration_months = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the termDurationMonths field is set.