gcloud compute public-advertised-prefixes update Stay organized with collections Save and categorize content based on your preferences.
- NAME
- gcloud compute public-advertised-prefixes update - updates a Compute Engine public advertised prefix
- SYNOPSIS
gcloud compute public-advertised-prefixes updateNAME(--announce-prefix|--status=STATUS|--withdraw-prefix)[GCLOUD_WIDE_FLAG …]
- EXAMPLES
- To update a public advertised prefix:
gcloudcomputepublic-advertised-prefixesupdatemy-pap--status=ptr-configuredTo announce a public advertised prefix:
gcloudcomputepublic-advertised-prefixesupdatemy-pap--announce-prefixTo withdraw a public advertised prefix:
gcloudcomputepublic-advertised-prefixesupdatemy-pap--withdraw-prefix - POSITIONAL ARGUMENTS
NAME- Name of the public advertised prefix to operate on.
- REQUIRED FLAGS
- Exactly one of these must be specified:
--announce-prefix- Specify if the prefix will be announced. Default is false.
--status=STATUS- The status of public advertised prefix.
STATUSmust be(only one value is supported):ptr-configured. --withdraw-prefix- Specify if the prefix will be withdrawn. Default is false.
- Exactly one of these must be specified:
- 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:
gcloudalphacomputepublic-advertised-prefixesupdategcloudbetacomputepublic-advertised-prefixesupdate
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.