# REST Resource: projects.locations.skus

- [Resource: Sku](https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.skus#Sku)
  - [JSON representation](https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.skus#Sku.SCHEMA_REPRESENTATION)
- [SkuConfig](https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.skus#SkuConfig)
  - [JSON representation](https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.skus#SkuConfig.SCHEMA_REPRESENTATION)
- [SkuInstance](https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.skus#SkuInstance)
  - [JSON representation](https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.skus#SkuInstance.SCHEMA_REPRESENTATION)
- [Type](https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.skus#Type)
- [Range](https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.skus#Range)
  - [JSON representation](https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.skus#Range.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.skus#METHODS_SUMMARY)

## Resource: Sku

A stock keeping unit (SKU) of GDC hardware.

| JSON representation |
|---|
| ``` { "name": string, "displayName": string, "createTime": string, "updateTime": string, "config": { object (`https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.skus#SkuConfig`) }, "instances": [ { object (`https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.skus#SkuInstance`) } ], "description": string, "revisionId": string, "isActive": boolean, "type": enum (`https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.skus#Type`), "vcpuCount": integer, "hardwareCountRanges": [ { object (`https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.skus#Range`) } ], "aiCapable": boolean, "customerSourced": boolean } ``` |

| 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 (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Time when this SKU was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `updateTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Time when this SKU was last updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `config` | ``object (`https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.skus#SkuConfig`)`` Output only. Configuration for this SKU. |
| `instances[]` | ``object (`https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.skus#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 (`https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.skus#Type`)`` Output only. Type of this SKU. |
| `vcpuCount` | `integer` Output only. The vCPU count associated with this SKU. |
| `hardwareCountRanges[]` | ``object (`https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.skus#Range`)`` Output only. The inclusive ranges of hardware counts that are allowed in a zone using this SKU. |
| `aiCapable` | `boolean` Output only. Whether this SKU is for hardware running Gemini on GDC Software. |
| `customerSourced` | `boolean` Output only. Whether this SKU is for customer sourced hardware. |

## 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 (`https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/PowerSupply`), "billingSku": string, "billingSkuPerVcpu": string, "subscriptionDurationMonths": integer } ``` |

| Fields ||
|---|---|
| `regionCode` | `string` The [Unicode CLDR](https://cldr.unicode.org) region code where this instance is available. |
| `powerSupply` | ``enum (`https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/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. |

## Range

Inclusive range.

| JSON representation |
|---|
| ``` { "min": integer, "max": integer } ``` |

| Fields ||
|---|---|
| `min` | `integer` The minimum value of the range. |
| `max` | `integer` The maximum value of the range. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.skus/get` | Gets details of an SKU. |
| ### `https://docs.cloud.google.com/distributed-cloud/connected/latest/docs/reference/hardware/rest/v1alpha/projects.locations.skus/list` | Lists SKUs for a given project and location. |