HealthCheck メソッド
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
このメソッドでは、予約サーバーの健全性ステータスを返します。これにより、Google はお客様の予約サーバーの配信状態を継続的にモニタリングできます。
リクエスト
なし
戻り値
なし
HTTP ステータス コードを使って、サーバーの配信ステータスを示します。サーバーが正常に動作している場合は HTTP ステータス コード 200(OK)を返し、エラーを示す場合は、HTTP ステータス コードの 1 つを返してください。
200 以外のステータス コードを返すと、統合ステータスに影響する可能性があります。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eThis method allows Google to monitor the health of your Booking Server.\u003c/p\u003e\n"],["\u003cp\u003eYou need to use HTTP status codes to indicate the server's health (200 for OK, other codes for errors).\u003c/p\u003e\n"],["\u003cp\u003eReturning a non-200 status code might impact your integration with Google.\u003c/p\u003e\n"]]],["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"],null,["# HealthCheck method\n\nThis method returns your Booking Server health status. It enables Google to\ncontinuously monitor the serving state of your Booking server.\n\n**Request**\n\nNone\n\n**Return value**\n\nNone.\n\nUse HTTP status code to indicate the serving status of your server. Return\nan HTTP status code 200 (OK) if the server is up and running successfully,\nor to indicate an error please return one of\n[HTTP status code](/actions-center/verticals/local-services/e2e/reference/booking-server-api-rest/e2e-methods/status-codes).\n\n\nPlease note that returning a non-200 status code may affect your integration status."]]