- [HTTP request](https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.menus/list#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.menus/list#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.menus/list#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.menus/list#body.request_body)
- [Response body](https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.menus/list#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.menus/list#body.ListMenusResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.menus/list#body.aspect)
- [MenuView](https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.menus/list#MenuView)

Lists menus.

### HTTP request

`GET https://foodorderingaiagent.googleapis.com/v1beta/{parent=projects/*/locations/*}/menus`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. The parent, which owns this collection of menus. Format: projects/{project}/locations/{location} |

### Query parameters

| Parameters ||
|---|---|
| `pageSize` | `integer` Optional. The maximum number of menus to return. The service may return fewer than this value. |
| `pageToken` | `string` Optional. A page token, received from a previous `menus.list` call. Provide this to retrieve the subsequent page. |
| `filter` | `string` Optional. A filter expression that filters the results. The expression syntax is documented in <https://google.aip.dev/160>. The following fields are supported: - `store` - `brand` `store=projects/my-project/locations/us-central1/brands/my-brand/stores/my-store` - `brand=projects/my-project/locations/us-central1/brands/my-brand` |
| `view` | ``enum (`https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.menus/list#MenuView`)`` Optional. The view to return for the menus. |

### Request body

The request body must be empty.

### Response body

Response message for `https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.menus/list#google.cloud.foodorderingaiagent.v1beta.MenuService.ListMenus`.

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

| JSON representation |
|---|
| ``` { "menus": [ { object (`https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.menus#Menu`) } ], "nextPageToken": string } ``` |

| Fields ||
|---|---|
| `menus[]` | ``object (`https://docs.cloud.google.com/gemini-enterprise-cx/commerce-agents/food/reference/rest/v1beta/projects.locations.menus#Menu`)`` The menus from the specified collection. |
| `nextPageToken` | `string` A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages. |

### 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).

## MenuView

Specifies the level of detail to return for menus.

| Enums ||
|---|---|
| `MENU_VIEW_UNSPECIFIED` | The default / unset value. The API will default to the FULL view. |
| `MENU_VIEW_BASIC` | Include basic metadata about the menu. |
| `MENU_VIEW_NAME_ONLY` | Only include the name of the menu |
| `MENU_VIEW_FULL` | Include everything. This is the default value. |