# Google Cloud Datastore Admin V1 Client - Class ListIndexesRequest (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 ListIndexesRequest.

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

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

## 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. |
| `↳ filter` | `string` |
| `↳ page_size` | `int` The maximum number of items to return. If zero, then all results will be returned. |
| `↳ page_token` | `string` The next_page_token value returned from a previous List request, if any. |

### 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` |   |

### getFilter

Generated from protobuf field `string filter = 3;`

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

### setFilter

Generated from protobuf field `string filter = 3;`

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

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

### getPageSize

The maximum number of items to return. If zero, then all results will be
returned.

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

### setPageSize

The maximum number of items to return. If zero, then all results will be
returned.

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

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

### getPageToken

The next_page_token value returned from a previous List request, if any.

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

### setPageToken

The next_page_token value returned from a previous List request, if any.

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

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