Skip to main content

skus

Creates, updates, deletes, gets or lists a skus resource.

Overview

Nameskus
TypeResource
Idgoogle.cloudbilling.skus

Fields

NameDatatypeDescription
namestringThe resource name for the SKU. Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"
descriptionstringA human readable description of the SKU, has a maximum length of 256 characters.
categoryobjectRepresents the category hierarchy of a SKU.
geoTaxonomyobjectEncapsulates the geographic taxonomy data for a sku.
pricingInfoarrayA timeline of pricing info for this SKU in chronological order.
serviceProviderNamestringIdentifies the service provider. This is 'Google' for first party services in Google Cloud Platform.
serviceRegionsarrayList of service regions this SKU is offered at. Example: "asia-east1" Service regions can be found at https://cloud.google.com/about/locations/
skuIdstringThe identifier for the SKU. Example: "D041-B8A1-6E0B"

Methods

NameAccessible byRequired ParamsDescription
listSELECTservicesIdLists all publicly available SKUs for a given cloud service.

SELECT examples

Lists all publicly available SKUs for a given cloud service.

SELECT
name,
description,
category,
geoTaxonomy,
pricingInfo,
serviceProviderName,
serviceRegions,
skuId
FROM google.cloudbilling.skus
WHERE servicesId = '{{ servicesId }}';