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.
TransactionDecisionValue
Stay organized with collections
Save and categorize content based on your preferences.
Returned to the action as output for actions.intent.TRANSACTION_DECISION
.
JSON representation |
{
"transactionDecision": enum (TransactionDecision ),
// Union field value can be only one of the following:
"order": {
object (Order )
},
"deliveryAddress": {
object (Location )
}
// End of list of possible types for union field value .
} |
Fields |
transactionDecision |
enum (TransactionDecision )
Decision regarding the order.
|
Union field value . value can be only one of the following:
|
order |
object (Order )
The order that user has approved. This field will be present only when transactionDecision is ORDER_ACCEPTED .
|
deliveryAddress |
object (Location )
If user requests for delivery address update, this field includes the new delivery address. This field will be present only when transactionDecision is DELIVERY_ADDRESS_UPDATED .
|
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 2019-09-23 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"lastModified": "Last updated 2019-09-23 UTC.",
"confidential": False
}