Skip to content

AppQuota

Source code in docs_src/capo_appmonetization/types/app_quota.py
class AppQuota(TypedDict, closed=True):
    included_quantity: "capo_appmonetization.types.quota_amount.QuotaAmount"
    """The free allowance included with the plan for this metric."""
    overage_policy: NotRequired[
        "capo_appmonetization.types.overage_policy.OveragePolicy"
    ]
    """How usage beyond the included allowance is handled."""
    overage_price: NotRequired["capo_appmonetization.types.price.Price"]
    """The per-unit price charged for usage beyond the included allowance under a fixed overage policy."""
    tiered_overage: NotRequired[
        "capo_appmonetization.types.tiered_overage.TieredOverage"
    ]
    """The tiered overage schedule applied to usage beyond the included allowance under a tiered overage policy."""
    max_quantity: NotRequired["capo_appmonetization.types.quota_amount.QuotaAmount"]
    """Usage at which further entitlement checks for this metric are denied, in whole units per billing period, counting the included allowance. Must be at least includedQuantity (equal is a hard stop at the allowance) and is allowed only on a grant that charges past its allowance. Checked at entitlement time against usage already recorded; one allowed action's quantity is not clamped. Prepaid usage-pack units sit outside it. One cap per billing period. Absent means no cap."""

included_quantity instance-attribute

included_quantity: QuotaAmount

The free allowance included with the plan for this metric.

max_quantity instance-attribute

max_quantity: NotRequired[QuotaAmount]

Usage at which further entitlement checks for this metric are denied, in whole units per billing period, counting the included allowance. Must be at least includedQuantity (equal is a hard stop at the allowance) and is allowed only on a grant that charges past its allowance. Checked at entitlement time against usage already recorded; one allowed action's quantity is not clamped. Prepaid usage-pack units sit outside it. One cap per billing period. Absent means no cap.

overage_policy instance-attribute

overage_policy: NotRequired[OveragePolicy]

How usage beyond the included allowance is handled.

overage_price instance-attribute

overage_price: NotRequired[Price]

The per-unit price charged for usage beyond the included allowance under a fixed overage policy.

tiered_overage instance-attribute

tiered_overage: NotRequired[TieredOverage]

The tiered overage schedule applied to usage beyond the included allowance under a tiered overage policy.