Metodo HealthCheck
Questo metodo restituisce lo stato di integrità del server di prenotazione. Consente a Google di monitorare costantemente lo stato di pubblicazione del server di prenotazione.
Richiedi
Nessuno
Valore restituito
Nessuno.
Utilizza il codice di stato HTTP per indicare lo stato di pubblicazione del server. Restituire un codice di stato HTTP 200 (OK) se il server è attivo e funziona correttamente oppure, per indicare un errore, restituire uno dei codici di stato HTTP.
Tieni presente che la restituzione di un codice di stato diverso da 200 potrebbe influire sullo stato dell'integrazione.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-11-26 UTC.
[null,null,["Ultimo aggiornamento 2024-11-26 UTC."],[[["This method allows Google to monitor the health and serving status of your Booking Server."],["You should return a 200 (OK) HTTP status code if your server is running successfully."],["Return a non-200 HTTP status code to indicate an error, using the provided status code reference."],["Using a non-200 status code may impact your integration status with Google."]]],["The core content details a method for checking a Booking Server's health status. Google monitors this status, and no request or return value is needed. The server's status is conveyed solely through HTTP status codes. A 200 (OK) code signifies a healthy server, while other HTTP status codes from a specified list indicate errors. Non-200 codes can impact integration status.\n"]]