# Method: projects.locations.entryGroups.list

- [HTTP request](https://docs.cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups/list#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups/list#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups/list#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups/list#body.request_body)
- [Response body](https://docs.cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups/list#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups/list#body.ListEntryGroupsResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups/list#body.aspect)
- [Try it!](https://docs.cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups/list#try-it)

> [!WARNING]
> Data Catalog is deprecated. Please use Dataplex Universal Catalog instead.

Lists entry groups.

### HTTP request

`GET https://datacatalog.googleapis.com/v1beta1/{parent}/entryGroups`

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. The name of the location that contains the entry groups, which can be provided in URL format. Example: - projects/{projectId}/locations/{location} It takes the form `projects/{project}/locations/{location}`. |

### Query parameters

| Parameters ||
|---|---|
| `pageSize` | `integer` Optional. The maximum number of items to return. Default is 10. Max limit is 1000. Throws an invalid argument for `pageSize > 1000`. |
| `pageToken` | `string` Optional. Token that specifies which page is requested. If empty, the first page is returned. |

### Request body

The request body must be empty.

### Response body

Response message for `https://docs.cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups/list#google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups`.

If successful, the response body contains data with the following structure:

| JSON representation |
|---|
| ``` { "entryGroups": [ { object (`https://docs.cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups#EntryGroup`) } ], "nextPageToken": string } ``` |

| Fields ||
|---|---|
| `entryGroups[]` | ``object (`https://docs.cloud.google.com/data-catalog/docs/reference/rest/v1beta1/projects.locations.entryGroups#EntryGroup`)`` EntryGroup details. |
| `nextPageToken` | `string` Token to retrieve the next page of results. It is set to empty if no items remain in results. |

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).