# Google Cloud Vector Search V1 Client - Class DedicatedInfrastructure (0.4.0)

0.4.0 (latest) 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Vector Search V1 Client class DedicatedInfrastructure.

Represents dedicated infrastructure for the index.

Generated from protobuf message `google.cloud.vectorsearch.v1.DedicatedInfrastructure`

## Namespace

Google \\ Cloud \\ VectorSearch \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ mode` | `int` Optional. Mode of the dedicated infrastructure. |
| `↳ autoscaling_spec` | `https://docs.cloud.google.com/php/docs/reference/cloud-vectorsearch/latest/V1.DedicatedInfrastructure.AutoscalingSpec` Optional. Autoscaling specification. |

### getMode

Optional. Mode of the dedicated infrastructure.

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

### hasMode

### clearMode

### setMode

Optional. Mode of the dedicated infrastructure.

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

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

### getAutoscalingSpec

Optional. Autoscaling specification.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-vectorsearch/latest/V1.DedicatedInfrastructure.AutoscalingSpec|null` |   |

### hasAutoscalingSpec

### clearAutoscalingSpec

### setAutoscalingSpec

Optional. Autoscaling specification.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-vectorsearch/latest/V1.DedicatedInfrastructure.AutoscalingSpec` |

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