Billing API, REST: Sku methods
A set of methods for managing Sku resources.
JSON Representation
{
"id": "string",
"name": "string",
"description": "string",
"serviceId": "string",
"pricingUnit": "string",
"pricingVersions": [
{
"type": "string",
"effectiveTime": "string",
"pricingExpressions": [
{
"rates": [
{
"startPricingQuantity": "string",
"unitPrice": "string",
"currency": "string"
}
]
}
]
}
]
}
Field | Description |
---|---|
id | string ID of the SKU. |
name | string Name of the SKU. |
description | string Description of the sku. |
serviceId | string ID of the service that sku belongs to. |
pricingUnit | string Pricing unit of the SKU, e.g. |
pricingVersions[] | object List of pricing versions. |
pricingVersions[]. type |
string Type of the pricing version. Type of the pricing version.
|
pricingVersions[]. effectiveTime |
string (date-time) Timestamp pricing version is active since inclusive. The pricing version is active until next pricing version effective time exclusive. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
pricingVersions[]. pricingExpressions[] |
object List of pricing expressions. |
pricingVersions[]. pricingExpressions[]. rates[] |
object List of rates. |
pricingVersions[]. pricingExpressions[]. rates[]. startPricingQuantity |
string Start of the pricing quantity interval. The end of the interval is the start pricing quantity of the next rate. |
pricingVersions[]. pricingExpressions[]. rates[]. unitPrice |
string Unit price for the pricing quantity interval. |
pricingVersions[]. pricingExpressions[]. rates[]. currency |
string Currency of the unit price. Can be one of the following:
|
Methods
Method | Description |
---|---|
get | Returns the specified SKU. |
list | Retrieves the list of SKUs. |