A structured action for remediation.
| JSON representation |
|---|
{ "actionType": enum ( |
| Fields | |
|---|---|
actionType |
Required. The specific operation to execute. |
| Payload containing the specific data required to execute the chosen action. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: | |
renamePayload |
The replacement display name to use when the action type is RENAME_ENTITY. |
updateCategoryPayload |
The target hierarchical category to use when the action type is UPDATE_CATEGORY. |
| End of mutually exclusive fields. | |
RenamePayload
Payload containing parameters for renaming a menu entity.
| JSON representation |
|---|
{ "displayName": string } |
| Fields | |
|---|---|
displayName |
Optional. The replacement display name to use for the target entity. |
UpdateCategoryPayload
Payload containing parameters for updating the hierarchical category of a menu entity.
| JSON representation |
|---|
{ "hierarchicalCategory": string } |
| Fields | |
|---|---|
hierarchicalCategory |
Optional. The new hierarchical category path to assign to the target entity. |
ActionType
Defines the specific operation to execute against the menu ingestion pipeline.
| Enums | |
|---|---|
ACTION_TYPE_UNSPECIFIED |
Unspecified action type. |
DISABLE_ITEM |
Disables the item entirely so customers cannot order it. |
SET_NON_A_LA_CARTE |
Restricts the item from being sold individually while preserving modifier behavior. |
RENAME_ENTITY |
Renames the entity to resolve ambiguous naming. |
UPDATE_CATEGORY |
Moves the item into a new, correct category. |