HealthCheck 메서드
예약 서버 상태를 반환하는 메서드입니다. 이를 통해 Google에서 예약 서버의 서비스 제공 상태를 지속적으로 모니터링할 수 있습니다.
요청
없음
반환 값
없음
서버의 서비스 제공 상태를 나타내려면 HTTP 상태 코드를 사용하세요. 서버가 실행되고 있는 경우 HTTP 상태 코드 200 (OK)을 반환하고, 오류를 나타내려면 HTTP 상태 코드 중 하나를 반환하세요.
200이 아닌 상태 코드를 반환하면 통합 상태에 영향을 줄 수 있습니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 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"]]