gcloud compute https-health-checks update NAME [--check-interval=CHECK_INTERVAL] [--description=DESCRIPTION] [--healthy-threshold=HEALTHY_THRESHOLD] [--host=HOST] [--port=PORT] [--request-path=REQUEST_PATH] [--timeout=TIMEOUT] [--unhealthy-threshold=UNHEALTHY_THRESHOLD] [GCLOUD_WIDE_FLAG …]
gcloud compute https-health-checks update is used to update an
existing legacy HTTPS health check. Only arguments passed in will be updated on
the health check. Other attributes will remain unaffected.
NAME--check-interval=CHECK_INTERVAL10s will run the check every 10 seconds.
See $ gcloud topic datetimes
for information on duration formats.
--description=DESCRIPTION--healthy-threshold=HEALTHY_THRESHOLD--host=HOST--port=PORT--request-path=REQUEST_PATH/healthcheck.
--timeout=TIMEOUT10s will
cause the check to wait for 10 seconds before considering the request a failure.
See $ gcloud topic datetimes
for information on duration formats.
--unhealthy-threshold=UNHEALTHY_THRESHOLD--access-token-file,
--account, --billing-project,
--configuration,
--flags-file,
--flatten, --format, --help, --impersonate-service-account,
--log-http,
--project, --quiet, --trace-token, --user-output-enabled,
--verbosity.
Run $ gcloud help for details.
gcloud alpha compute https-health-checks updategcloud beta compute https-health-checks updategcloud preview compute https-health-checks update
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.