Transaction API 将于 2023 年 5 月 3 日弃用,在此之前,会话操作将于 2023 年 6 月 13 日停用。如需了解详情,请参阅
对话型 Action 停用。
PresentationOptions
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"actionDisplayName": string
} |
字段 |
actionDisplayName |
string
actionDisplayName 可以是以下值之一: PLACE_ORDER :用于下单。PAY :用于付款。BUY :用于购买交易。SEND :用于转账。BOOK :用于预订。RESERVE :用于预留。SCHEDULE :用于安排预约。SUBSCRIBE :用于订阅。
actionDisplayName 是指最符合该顺序的操作名称。在向用户建议订单时,会在提示、建议内容信息卡等各种位置使用此信息。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-26。"],[[["JSON representation is used to customize how an order is presented to the user."],["`actionDisplayName` is a string field that categorizes the order's primary action (e.g., placing an order, making a payment)."],["This categorization influences how the order is presented to the user, such as in prompts or suggestion chips."],["Possible values for `actionDisplayName` include: `PLACE_ORDER`, `PAY`, `BUY`, `SEND`, `BOOK`, `RESERVE`, `SCHEDULE`, and `SUBSCRIBE`."]]],["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"]]