displayName | string | | | up to 128 characters | Human-readable name. |
resource | object | yes | | | The kind of resource this price applies to. |
resource.group | string | yes | | | |
resource.version | string | | "v1alpha1" | | |
resource.plural | string | yes | | | |
meter | string (one of) | | "count" | count, gauge, counter, owner-cpu | How usage is measured: count (resources in phase Ready, per hour), gauge (bytes in each resource's status, integrated over time as GiB-seconds), counter (the increase of an ever-growing number in each resource's status, such as tokens served) or owner-cpu (the CPU time of the platform processes that work for a customer's resource of the SKU's ownerKind). |
ownerKind | string | | | up to 63 characters | For owner-cpu: the kind of the customer's resource whose platform processes are metered, for example Database. |
field | string | | | up to 128 characters | For gauge and counter: the path of the number in the resource's status, for example usage.storageBytes or usage.inputTokens. |
unit | string (one of) | | "hour" | hour, cpu-second, gib-second, token, request | The unit the price is per. |
priceMicros | integer | yes | | at least 0 | Price in millionths of the currency, per `per` units. |
per | integer | | 1 | at least 1 | How many units the price is for (1 000 000 for a price per million CPU-seconds). |
currency | string (one of) | | "USD" | USD, EUR | Currency of the price. |