REST Resource: projects.locations.skus

Resource: Sku

A stock keeping unit (SKU) of GDC hardware.

JSON representation
{
  "name": string,
  "displayName": string,
  "createTime": string,
  "updateTime": string,
  "config": {
    object (SkuConfig)
  },
  "instances": [
    {
      object (SkuInstance)
    }
  ],
  "description": string,
  "revisionId": string,
  "isActive": boolean,
  "type": enum (Type),
  "vcpuCount": integer
}
Fields
name

string

Identifier. Name of this SKU. Format: projects/{project}/locations/{location}/skus/{sku}

displayName

string

Output only. Display name of this SKU.

createTime

string (Timestamp format)

Output only. Time when this SKU was created.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

Output only. Time when this SKU was last updated.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

config

object (SkuConfig)

Output only. Configuration for this SKU.

instances[]

object (SkuInstance)

Output only. Available instances of this SKU. This field should be used for checking availability of a SKU.

description

string

Output only. Description of this SKU.

revisionId

string

Output only. The SKU revision ID. A new revision is created whenever config is updated. The format is an 8-character hexadecimal string.

isActive

boolean

Output only. Flag to indicate whether or not this revision is active. Only an active revision can be used in a new Order.

type

enum (Type)

Output only. Type of this SKU.

vcpuCount

integer

Output only. The vCPU count associated with this SKU.

SkuConfig

Configuration for a SKU.

JSON representation
{
  "cpu": string,
  "gpu": string,
  "ram": string,
  "storage": string
}
Fields
cpu

string

Information about CPU configuration.

gpu

string

Information about GPU configuration.

ram

string

Information about RAM configuration.

storage

string

Information about storage configuration.

SkuInstance

A specific instance of the SKU.

JSON representation
{
  "regionCode": string,
  "powerSupply": enum (PowerSupply),
  "billingSku": string,
  "billingSkuPerVcpu": string,
  "subscriptionDurationMonths": integer
}
Fields
regionCode

string

The Unicode CLDR region code where this instance is available.

powerSupply

enum (PowerSupply)

Power supply type for this instance.

billingSku

string

Reference to the corresponding SKU in the Cloud Billing API. The estimated price information can be retrieved using that API. Format: services/{service}/skus/{sku}

billingSkuPerVcpu

string

Reference to the corresponding SKU per vCPU in the Cloud Billing API. The estimated price information can be retrieved using that API. Format: services/{service}/skus/{sku}

subscriptionDurationMonths

integer

Subscription duration for the hardware in months.

Type

Valid types of a SKU.

Enums
TYPE_UNSPECIFIED Type of the SKU is unspecified. This is not an allowed value.
RACK Rack SKU.
SERVER Server SKU.

Methods

get

Gets details of an SKU.

list

Lists SKUs for a given project and location.