TosError
服务条款 (TOS) 错误。如果用户(由 OAuth 凭据表示)尚未接受最新版本的零触摸注册服务条款,API 方法会返回 HTTP 403 Forbidden
状态代码。
API 用户可以登录零触摸注册门户,接受新的或更新的服务条款。此门户会在用户登录时向其显示 aToS 接受面板。
JSON 表示法 |
{
"latestTosAccepted": boolean
} |
字段 |
latestTosAccepted |
boolean
用户是否已接受最新版本的服务条款。如果包含在错误中,则值为 false 。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-10-18。
[null,null,["最后更新时间 (UTC):2024-10-18。"],[[["API methods return a `403 Forbidden` error if the user hasn't accepted the latest Terms of Service (ToS)."],["Users can accept the new or updated ToS by signing into the zero-touch enrollment portal."],["The `latestTosAccepted` field in the JSON representation indicates whether the user has agreed to the current ToS, with a `false` value in case of an error."]]],[]]