gcloud alpha compute target-tcp-proxies update Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud alpha compute target-tcp-proxies update - update a target TCP proxy
- SYNOPSIS
gcloud alpha compute target-tcp-proxies updateNAME[--backend-service=BACKEND_SERVICE][--proxy-header=PROXY_HEADER][GCLOUD_WIDE_FLAG …]
- DESCRIPTION
(ALPHA)gcloud alpha compute target-tcp-proxies updateis used to change the backend service or proxy header of existing target TCPproxies. A target TCP proxy is referenced by one or more forwarding rules whichdefine which packets the proxy is responsible for routing. The target TCP proxyin 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
- This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. These variants are also available:
gcloudcomputetarget-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.