對話動作已於 2023 年 6 月 13 日淘汰。詳情請參閱「
對話動作已淘汰」。
TransactionDecisionValueSpec
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
從應用程式傳遞為 actions.intent.TRANSACTION_DECISION 的輸入內容。
PresentationOptions
已淘汰:請改用 V3 Proto。用於自訂使用者訂單呈現方式的選項。
| JSON 表示法 |
{
"callToAction": string
} |
| 欄位 |
callToAction |
string
callToAction 可以是下列其中一個值: PLACE_ORDER:用於下單。PAY:用於付款。BUY:用於購買交易。SEND:用於匯款。BOOK:用於預訂。RESERVE:用於預留項目。SCHEDULE:用於預約預約。SUBSCRIBE:用於訂閱項目。
callToAction 是指最能描述此順序的動作動詞。這項功能會用於提示、建議方塊等多種位置,同時向使用者建議訂單。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間: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"]],["上次更新時間:2025-07-26 (世界標準時間)。"],[],["The core content details the structure and fields for presenting a transaction decision to a user, passed as input for `actions.intent.TRANSACTION_DECISION`. It includes `proposedOrder`, `orderOptions`, `paymentOptions`, and `presentationOptions`. `presentationOptions` offers a `callToAction` field, which specifies the action verb for the order (e.g., `PLACE_ORDER`, `PAY`, `BUY`). This helps customize how the order is presented and the prompt to the user.\n"]]