Reference documentation and code samples for the Cloud Commerce Producer V1BETA API class Google::Cloud::CommerceProducer::V1beta::Sku::SkuPrice::AiPlatformManagedModelUsageFee.
Details about a SKU pricing usage of an AI Platform Managed Model (MaaS).
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#combined_request_input_tokens_range
def combined_request_input_tokens_range() -> ::Google::Cloud::CommerceProducer::V1beta::Sku::SkuPrice::AiPlatformManagedModelUsageFee::CombinedRequestInputTokensRange
Returns
-
(::Google::Cloud::CommerceProducer::V1beta::Sku::SkuPrice::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.
#location
def location() -> ::Google::Cloud::CommerceProducer::V1beta::Sku::SkuPrice::AiPlatformManagedModelEndpointLocation
Returns
- (::Google::Cloud::CommerceProducer::V1beta::Sku::SkuPrice::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
def prediction_mode() -> ::Google::Cloud::CommerceProducer::V1beta::Sku::SkuPrice::AiPlatformManagedModelUsageFee::PredictionMode
Returns
- (::Google::Cloud::CommerceProducer::V1beta::Sku::SkuPrice::AiPlatformManagedModelUsageFee::PredictionMode) — Output only. The prediction mode of requests that the SKU applies to.
#provisioned_throughput_overage
def provisioned_throughput_overage() -> ::Google::Cloud::CommerceProducer::V1beta::Sku::SkuPrice::AiPlatformManagedModelUsageFee::ProvisionedThroughputOverage
Returns
- (::Google::Cloud::CommerceProducer::V1beta::Sku::SkuPrice::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.
#tiered_price
def tiered_price() -> ::Google::Cloud::CommerceProducer::V1beta::Sku::SkuPrice::TieredPrice
Returns
- (::Google::Cloud::CommerceProducer::V1beta::Sku::SkuPrice::TieredPrice) — Output only. Tiered pricing of the SKU.
#usage_metric
def usage_metric() -> ::Google::Cloud::CommerceProducer::V1beta::Sku::SkuPrice::AiPlatformManagedModelUsageFee::AiPlatformManagedModelUsageMetric
Returns
- (::Google::Cloud::CommerceProducer::V1beta::Sku::SkuPrice::AiPlatformManagedModelUsageFee::AiPlatformManagedModelUsageMetric) — Output only. The usage metric that the SKU applies to.