Transaction API 将于 2023 年 5 月 3 日弃用,在此之前,会话操作将于 2023 年 6 月 13 日停用。如需了解详情,请参阅
对话型 Action 停用。
UserInfoProperty
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
应用可请求的用户信息的属性。所请求的信息会在订单中通过 [com.google.actions.transactions.v3.TransactionDecisionValue] 传回应用。
枚举 |
USER_INFO_PROPERTY_UNSPECIFIED |
未指定。 |
EMAIL |
电子邮件地址。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThe app can request user information, such as email address, which will be returned in \u003ccode\u003ecom.google.actions.transactions.v3.TransactionDecisionValue\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis information is used as part of the order process and is specified using enums like \u003ccode\u003eEMAIL\u003c/code\u003e or \u003ccode\u003eUSER_INFO_PROPERTY_UNSPECIFIED\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# UserInfoProperty\n\nProperty of user info that the app can request for. Requested information will be passed back to the app in \\[com.google.actions.transactions.v3.TransactionDecisionValue\\] as part of the order.\n\n| Enums ||\n|----------------------------------|----------------|\n| `USER_INFO_PROPERTY_UNSPECIFIED` | Unspecified. |\n| `EMAIL` | Email address. |"]]