skus
Creates, updates, deletes, gets or lists a skus
resource.
Overview
Name | skus |
Type | Resource |
Id | google.cloudbilling.skus |
Fields
The following fields are returned by SELECT
queries:
- list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | The resource name for the SKU. Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B" |
category | object | The category hierarchy of this SKU, purely for organizational purpose. (id: Category) |
description | string | A human readable description of the SKU, has a maximum length of 256 characters. |
geoTaxonomy | object | The geographic taxonomy for this sku. (id: GeoTaxonomy) |
pricingInfo | array | A timeline of pricing info for this SKU in chronological order. |
serviceProviderName | string | Identifies the service provider. This is 'Google' for first party services in Google Cloud Platform. |
serviceRegions | array | List of service regions this SKU is offered at. Example: "asia-east1" Service regions can be found at https://cloud.google.com/about/locations/ |
skuId | string | The identifier for the SKU. Example: "D041-B8A1-6E0B" |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | servicesId | startTime , endTime , currencyCode , pageSize , pageToken | Lists all publicly available SKUs for a given cloud service. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
servicesId | string | |
currencyCode | string | |
endTime | string (google-datetime) | |
pageSize | integer (int32) | |
pageToken | string | |
startTime | string (google-datetime) |
SELECT
examples
- list
Lists all publicly available SKUs for a given cloud service.
SELECT
name,
category,
description,
geoTaxonomy,
pricingInfo,
serviceProviderName,
serviceRegions,
skuId
FROM google.cloudbilling.skus
WHERE servicesId = '{{ servicesId }}' -- required
AND startTime = '{{ startTime }}'
AND endTime = '{{ endTime }}'
AND currencyCode = '{{ currencyCode }}'
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}';