# Google Cloud Datastore Admin V1 Client - Class DeleteIndexRequest (1.1.2)

1.1.2 (latest) 1.1.1 1.0.4 0.8.5 0.7.5 0.6.0 0.5.8 Reference documentation and code samples for the Google Cloud Datastore Admin V1 Client class DeleteIndexRequest.

The request for
[google.datastore.admin.v1.DatastoreAdmin.DeleteIndex](https://docs.cloud.google.com/php/docs/reference/cloud-datastore-admin/latest/V1.Client.DatastoreAdminClient#_Google_Cloud_Datastore_Admin_V1_Client_DatastoreAdminClient__deleteIndex__).

Generated from protobuf message `google.datastore.admin.v1.DeleteIndexRequest`

## Namespace

Google \\ Cloud \\ Datastore \\ Admin \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ project_id` | `string` Project ID against which to make the request. |
| `↳ index_id` | `string` The resource ID of the index to delete. |

### getProjectId

Project ID against which to make the request.

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

### setProjectId

Project ID against which to make the request.

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

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

### getIndexId

The resource ID of the index to delete.

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

### setIndexId

The resource ID of the index to delete.

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

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