Transactions API will be deprecated on May 3, 2023, ahead of the Conversational Actions sunset on June 13, 2023. For more information, see
Conversational Actions sunset.
PresentationOptions
Stay organized with collections
Save and categorize content based on your preferences.
Options used to customize the order presentation to the user.
JSON representation |
{
"actionDisplayName": string
} |
Fields |
actionDisplayName |
string
actionDisplayName can be one of the following values: PLACE_ORDER : Used for placing an order. PAY : Used for a payment. BUY : Used for a purchase. SEND : Used for a money transfer. BOOK : Used for a booking. RESERVE : Used for reservation. SCHEDULE : Used for scheduling an appointment. SUBSCRIBE : Used for subscription.
actionDisplayName refers to the name of the action which best describes this order. This will be used in various places like prompt, suggestion chip etc while proposing the order to the user.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eJSON representation is used to customize how an order is presented to the user.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eactionDisplayName\u003c/code\u003e is a string field that categorizes the order's primary action (e.g., placing an order, making a payment).\u003c/p\u003e\n"],["\u003cp\u003eThis categorization influences how the order is presented to the user, such as in prompts or suggestion chips.\u003c/p\u003e\n"],["\u003cp\u003ePossible values for \u003ccode\u003eactionDisplayName\u003c/code\u003e include: \u003ccode\u003ePLACE_ORDER\u003c/code\u003e, \u003ccode\u003ePAY\u003c/code\u003e, \u003ccode\u003eBUY\u003c/code\u003e, \u003ccode\u003eSEND\u003c/code\u003e, \u003ccode\u003eBOOK\u003c/code\u003e, \u003ccode\u003eRESERVE\u003c/code\u003e, \u003ccode\u003eSCHEDULE\u003c/code\u003e, and \u003ccode\u003eSUBSCRIBE\u003c/code\u003e.\u003c/p\u003e\n"]]],["The document outlines a JSON representation for customizing order presentation. The key element is `actionDisplayName`, a string field specifying the action type. Possible values include `PLACE_ORDER`, `PAY`, `BUY`, `SEND`, `BOOK`, `RESERVE`, `SCHEDULE`, and `SUBSCRIBE`. This field determines how the order is displayed and proposed to the user in prompts and suggestions, using a specific name to describe the action.\n"],null,["# PresentationOptions\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nOptions used to customize the order presentation to the user.\n\n| JSON representation ||\n|-----------------------------------------|---|\n| ``` { \"actionDisplayName\": string } ``` |\n\n| Fields ||\n|---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `actionDisplayName` | `string` actionDisplayName can be one of the following values: `PLACE_ORDER`: Used for placing an order. `PAY`: Used for a payment. `BUY`: Used for a purchase. `SEND`: Used for a money transfer. `BOOK`: Used for a booking. `RESERVE`: Used for reservation. `SCHEDULE`: Used for scheduling an appointment. `SUBSCRIBE`: Used for subscription. actionDisplayName refers to the name of the action which best describes this order. This will be used in various places like prompt, suggestion chip etc while proposing the order to the user. \u003cbr /\u003e |"]]