TosError
Błąd Warunków korzystania z usługi. Jeśli użytkownik (reprezentowany przez dane uwierzytelniające OAuth) nie zaakceptował najnowszej wersji warunków korzystania z usługi rejestracji bezdotykowej, metody interfejsu API zwracają kod stanu HTTP 403 Forbidden
.
Użytkownicy interfejsów API mogą akceptować nowe lub zaktualizowane Warunki korzystania z usługi, logując się w portalu rejestracji typu zero-touch. Portal wyświetla użytkownikom panel akceptacji Warunków korzystania z usługi podczas logowania.
Zapis JSON |
{
"latestTosAccepted": boolean
} |
Pola |
latestTosAccepted |
boolean
Określa, czy użytkownik zaakceptował najnowszą wersję Warunków korzystania z usługi. Gdy wartość jest uwzględniona w błędzie, ma wartość false .
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-10-18 UTC.
[null,null,["Ostatnia aktualizacja: 2024-10-18 UTC."],[[["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"]]