**Full name**: projects.locations.metadataStores.metadataSchemas.list

Lists MetadataSchemas.

### Endpoint

get `https://{service-endpoint}/v1beta1/{parent}/metadataSchemas`   
Where `{service-endpoint}` is one of the [supported service endpoints](https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest#rest_endpoints).

### Path parameters

`parent` `string` Required. The MetadataStore whose MetadataSchemas should be listed. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}`

### Query parameters

`pageSize` `integer` The maximum number of MetadataSchemas to return. The service may return fewer. Must be in range 1-100, inclusive. Defaults to 100.
`pageToken` `string` A page token, received from a previous `https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/projects.locations.metadataStores.metadataSchemas/list#google.cloud.aiplatform.v1beta1.MetadataService.ListMetadataSchemas` call. Provide this to retrieve the next page.

When paginating, all other provided parameters must match the call that provided the page token. (Otherwise the request will fail with INVALID_ARGUMENT error.)
`filter` `string` A query to filter available MetadataSchemas for matching results.

### Request body

The request body must be empty.

### Response body

Response message for `https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/projects.locations.metadataStores.metadataSchemas/list#google.cloud.aiplatform.v1beta1.MetadataService.ListMetadataSchemas`.

If successful, the response body contains data with the following structure:
Fields `metadataSchemas[]` ``object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/projects.locations.metadataStores.metadataSchemas#MetadataSchema`)`` The MetadataSchemas found for the MetadataStore.
`nextPageToken` `string` A token, which can be sent as `https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/projects.locations.metadataStores.metadataSchemas/list#body.QUERY_PARAMETERS.page_token` to retrieve the next page. If this field is not populated, there are no subsequent pages.

| JSON representation |
|---|
| ``` { "metadataSchemas": [ { object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/projects.locations.metadataStores.metadataSchemas#MetadataSchema`) } ], "nextPageToken": string } ``` |

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource:

- `aiplatform.metadataSchemas.list`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).