# Google Cloud Vision Ai V1 Client - Class UndeployIndexRequest (0.3.0)

0.3.0 (latest) 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class UndeployIndexRequest.

Request message for UndeployIndexEndpoint.

Generated from protobuf message `google.cloud.visionai.v1.UndeployIndexRequest`

## Namespace

Google \\ Cloud \\ VisionAI \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ index_endpoint` | `string` Required. Resource name of the IndexEndpoint resource on which the undeployment will act. Format: `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` |

### getIndexEndpoint

Required. Resource name of the IndexEndpoint resource on which the
undeployment will act. Format:
`projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setIndexEndpoint

Required. Resource name of the IndexEndpoint resource on which the
undeployment will act. Format:
`projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}`

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

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