- NAME
-
- gcloud compute target-tcp-proxies update - update a target TCP proxy
- SYNOPSIS
-
-
gcloud compute target-tcp-proxies updateNAME[--backend-service=BACKEND_SERVICE] [--proxy-header=PROXY_HEADER] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
gcloud compute target-tcp-proxies updateis used to change the backend service or proxy header of existing target TCP proxies. A target TCP proxy is referenced by one or more forwarding rules which define which packets the proxy is responsible for routing. The target TCP proxy in turn points to a backend service which will handle the requests. - POSITIONAL ARGUMENTS
-
-
NAME - Name of the target TCP proxy to update.
-
- FLAGS
-
-
--backend-service=BACKEND_SERVICE - A backend service that will be used for connections to the target TCP proxy.
-
--proxy-header=PROXY_HEADER - The type of proxy protocol header to be sent to the backend.
PROXY_HEADERmust be one of:-
NONE - No proxy header is added.
-
PROXY_V1 - Enables PROXY protocol (version 1) for passing client connection information.
-
-
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--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 helpfor details. - NOTES
- These variants are also available:
gcloud alpha compute target-tcp-proxies updategcloud beta compute target-tcp-proxies updategcloud preview compute target-tcp-proxies update
gcloud compute target-tcp-proxies 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.

