# Google Cloud Gke Recommender V1 Client - Class ResourcesUsed (0.2.0)

0.2.0 (latest) 0.1.0 Reference documentation and code samples for the Google Cloud Gke Recommender V1 Client class ResourcesUsed.

Resources used by a model deployment.

Generated from protobuf message `google.cloud.gkerecommender.v1.ResourcesUsed`

## Namespace

Google \\ Cloud \\ GkeRecommender \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ accelerator_count` | `int` Output only. The number of accelerators (e.g., GPUs or TPUs) used by the model deployment on the Kubernetes node. |

### getAcceleratorCount

Output only. The number of accelerators (e.g., GPUs or TPUs) used by the
model deployment on the Kubernetes node.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setAcceleratorCount

Output only. The number of accelerators (e.g., GPUs or TPUs) used by the
model deployment on the Kubernetes node.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |