TosError
یک خطای شرایط خدمات (ToS). اگر کاربر (که توسط اعتبارنامه OAuth ارائه می شود) آخرین نسخه ToS ثبت نام بدون لمس را نپذیرفته باشد، روش های API یک کد وضعیت 403 Forbidden
را برمی گرداند.
کاربران API می توانند با ورود به پورتال ثبت نام بدون لمس، ToS جدید یا به روز شده را بپذیرند. این پورتال پانل پذیرش aToS را به کاربران هنگام ورود به سیستم ارائه می دهد.
نمایندگی JSON |
---|
{
"latestTosAccepted": boolean
} |
فیلدها |
---|
latestTosAccepted | boolean آیا کاربر آخرین نسخه ToS را پذیرفته است یا خیر. مقدار false است زمانی که در یک خطا گنجانده شود. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-11-08 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-11-08 بهوقت ساعت هماهنگ جهانی."],[[["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."]]],["The API returns a `403 Forbidden` error when a user hasn't accepted the latest Terms of Service (ToS). Users can accept the ToS via the zero-touch enrollment portal. The JSON representation for ToS status includes a boolean field, `latestTosAccepted`. This field is `false` in error responses, indicating that the user needs to accept the latest ToS. Access the zero-touch enrollment portal to accept the ToS.\n"]]