RateCardEntryType
One priced dimension: its rate and, where it has one, its hourly free allowance. A dimension with a price of 0 is metered but not charged.
type RateCardEntryType {
scope: RateScope!
metric: String!
unitLabel: String!
unitQuantity: BigInt!
priceCents: Float!
currency: String!
freePerHour: BigInt
freePerMonth: BigInt
freeUnits: BigInt
freePeriod: AllowancePeriod
description: String
}
Fields
RateCardEntryType.scope ● RateScope! non-null enum
Which card this row is on.
RateCardEntryType.metric ● String! non-null scalar
The metered dimension, e.g. "graphql_recv_ops" or "player_wasm_compute_units". Matches a key the billing tick aggregates.
RateCardEntryType.unitLabel ● String! non-null scalar
Human unit this price is quoted in, e.g. "GiB" or "M units". Display only; the arithmetic uses unitQuantity.
RateCardEntryType.unitQuantity ● BigInt! non-null scalar
How many raw metric units one priceCents charge covers, as a BigInt decimal string. A price of 19 with unitQuantity 1073741824 is 19 cents per GiB.
RateCardEntryType.priceCents ● Float! non-null scalar
Cents charged per unitQuantity raw units, above the free allowance. Fractional values are permitted (the column is NUMERIC(20,6)). 0 means metered but not charged.
RateCardEntryType.currency ● String! non-null scalar
ISO currency code. USD today.
RateCardEntryType.freePerHour ● BigInt scalar
Raw metric units free per clock hour before anything is charged, as a BigInt decimal string. Null when this dimension has no allowance row, which for a priced dimension means it bills from the first unit.
RateCardEntryType.freePerMonth ● BigInt scalar
Raw metric units free per UTC calendar month, as a BigInt decimal string. On the PLAYER card this is the pooled monthly trial budget per (player, app), and player_wasm_compute_units is its canonical key. Null when this dimension has no monthly allowance.
RateCardEntryType.freeUnits ● BigInt scalar
The allowance as the biller reads it: raw metric units free per freePeriod, as a BigInt decimal string. freePerHour and freePerMonth are views of this same row for the periods they name; a DAY allowance shows only here. Null when the dimension has no allowance row.
RateCardEntryType.freePeriod ● AllowancePeriod enum
The period freeUnits resets on. Null when the dimension has no allowance row.
RateCardEntryType.description ● String scalar
Operator note on the seed row; null when unset.
Returned By
billingRateCard query
Member Of
SetRateCardResult object