HealthCheck メソッド
このメソッドでは、予約サーバーの健全性ステータスを返します。これにより、Google はお客様の予約サーバーの配信状態を継続的にモニタリングできます。
リクエスト
なし
戻り値
なし
HTTP ステータス コードを使って、サーバーの配信ステータスを示します。サーバーが正常に動作している場合は HTTP ステータス コード 200(OK)を返し、エラーを示す場合は、HTTP ステータス コードの 1 つを返してください。
200 以外のステータス コードを返すと、統合ステータスに影響する可能性があります。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-11-26 UTC。
[null,null,["最終更新日 2024-11-26 UTC。"],[[["This method allows Google to monitor the health of your Booking Server."],["You need to use HTTP status codes to indicate the server's health (200 for OK, other codes for errors)."],["Returning a non-200 status code might impact your integration with Google."]]],["The Booking Server health status is checked via an HTTP request with no request body or return value. A successful server is indicated by an HTTP status code of 200 (OK). Any other HTTP status code, as defined in the provided status code documentation, signals an error. Returning a non-200 status code may negatively impact integration. Google uses this method to monitor the operational status of the server.\n"]]