gcloud compute target-tcp-proxies update Stay organized with collections Save and categorize content based on your preferences.
- 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 thebackend service or proxy header of existing target TCP proxies. A target TCPproxy is referenced by one or more forwarding rules which define which packetsthe proxy is responsible for routing. The target TCP proxy in turn points to abackend 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:
gcloudalphacomputetarget-tcp-proxiesupdategcloudbetacomputetarget-tcp-proxiesupdate
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.