Batch gets entities for a menu.
HTTP request
GET https://foodorderingaiagent.googleapis.com/v1beta/{parent=projects/*/locations/*/menus/*}/entities:batchGet
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The name of the menu to retrieve entities from. Format: projects/{project}/locations/{location}/menus/{menu} |
Query parameters
| Parameters | |
|---|---|
itemIds[] |
Optional. The IDs of the items to retrieve. |
modifierIds[] |
Optional. The IDs of the modifier to retrieve. |
modifierGroupIds[] |
Optional. The IDs of the modifier groups to retrieve. |
categoryIds[] |
Optional. The IDs of the categories to retrieve. |
Request body
The request body must be empty.
Response body
Response message for MenuService.BatchGetMenuEntities.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "items": [ { object ( |
| Fields | |
|---|---|
items[] |
The items requested. |
modifiers[] |
The modifiers requested. |
modifierGroups[] |
The modifier groups requested. |
categories[] |
The categories requested. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.