# Google Cloud Discovery Engine V1 Client - Class ListSchemasRequest (1.11.1)

1.11.1 (latest) 1.11.0 1.10.1 1.9.1 1.8.0 1.7.0 1.6.1 1.5.1 1.4.0 1.3.3 1.2.0 1.1.0 1.0.0 0.11.3 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class ListSchemasRequest.

Request message for
[SchemaService.ListSchemas](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Client.SchemaServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_SchemaServiceClient__listSchemas__)
method.

Generated from protobuf message `google.cloud.discoveryengine.v1.ListSchemasRequest`

## Namespace

Google \\ Cloud \\ DiscoveryEngine \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The parent data store resource name, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. |
| `↳ page_size` | `int` The maximum number of [Schema](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Schema)s to return. The service may return fewer than this value. If unspecified, at most 100 [Schema](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Schema)s are returned. The maximum value is 1000; values above 1000 are set to 1000. |
| `↳ page_token` | `string` A page token, received from a previous [SchemaService.ListSchemas](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Client.SchemaServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_SchemaServiceClient__listSchemas__) call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to [SchemaService.ListSchemas](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Client.SchemaServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_SchemaServiceClient__listSchemas__) must match the call that provided the page token. |

### getParent

Required. The parent data store resource name, in the format of
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`.

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

### setParent

Required. The parent data store resource name, in the format of
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`.

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

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

### getPageSize

The maximum number of [Schema](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Schema)s to
return. The service may return fewer than this value.

If unspecified, at most 100
[Schema](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Schema)s are returned.
The maximum value is 1000; values above 1000 are set to 1000.

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

### setPageSize

The maximum number of [Schema](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Schema)s to
return. The service may return fewer than this value.

If unspecified, at most 100
[Schema](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Schema)s are returned.
The maximum value is 1000; values above 1000 are set to 1000.

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

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

### getPageToken

A page token, received from a previous
[SchemaService.ListSchemas](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Client.SchemaServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_SchemaServiceClient__listSchemas__)
call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to
[SchemaService.ListSchemas](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Client.SchemaServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_SchemaServiceClient__listSchemas__)
must match the call that provided the page token.

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

### setPageToken

A page token, received from a previous
[SchemaService.ListSchemas](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Client.SchemaServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_SchemaServiceClient__listSchemas__)
call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to
[SchemaService.ListSchemas](https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.Client.SchemaServiceClient#_Google_Cloud_DiscoveryEngine_V1_Client_SchemaServiceClient__listSchemas__)
must match the call that provided the page token.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent data store resource name, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. Please see SchemaServiceClient::dataStoreName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-discoveryengine/latest/V1.ListSchemasRequest` |   |