# REST Resource: projects.locations.skus

- [Resource: Sku](https://docs.cloud.google.com/distributed-cloud/connected/1.7.0/docs/reference/hardware/rest/v1alpha/projects.locations.skus#Sku)
  - [JSON representation](https://docs.cloud.google.com/distributed-cloud/connected/1.7.0/docs/reference/hardware/rest/v1alpha/projects.locations.skus#Sku.SCHEMA_REPRESENTATION)
- [SkuConfig](https://docs.cloud.google.com/distributed-cloud/connected/1.7.0/docs/reference/hardware/rest/v1alpha/projects.locations.skus#SkuConfig)
  - [JSON representation](https://docs.cloud.google.com/distributed-cloud/connected/1.7.0/docs/reference/hardware/rest/v1alpha/projects.locations.skus#SkuConfig.SCHEMA_REPRESENTATION)
- [SkuInstance](https://docs.cloud.google.com/distributed-cloud/connected/1.7.0/docs/reference/hardware/rest/v1alpha/projects.locations.skus#SkuInstance)
  - [JSON representation](https://docs.cloud.google.com/distributed-cloud/connected/1.7.0/docs/reference/hardware/rest/v1alpha/projects.locations.skus#SkuInstance.SCHEMA_REPRESENTATION)
- [Type](https://docs.cloud.google.com/distributed-cloud/connected/1.7.0/docs/reference/hardware/rest/v1alpha/projects.locations.skus#Type)
- [Methods](https://docs.cloud.google.com/distributed-cloud/connected/1.7.0/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/1.7.0/docs/reference/hardware/rest/v1alpha/projects.locations.skus#SkuConfig`) }, "instances": [ { object (`https://docs.cloud.google.com/distributed-cloud/connected/1.7.0/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/1.7.0/docs/reference/hardware/rest/v1alpha/projects.locations.skus#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 (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.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 (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.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 (`https://docs.cloud.google.com/distributed-cloud/connected/1.7.0/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/1.7.0/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/1.7.0/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. |

## 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/1.7.0/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/1.7.0/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. |

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