gcloud compute public-advertised-prefixes update

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-configured

To announce a public advertised prefix:

gcloudcomputepublic-advertised-prefixesupdatemy-pap--announce-prefix

To 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.STATUS must be(only one value is supported):ptr-configured.
--withdraw-prefix
Specify if the prefix will be withdrawn. Default is false.
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 help for details.

NOTES
These variants are also available:
gcloudalphacomputepublic-advertised-prefixesupdate
gcloudbetacomputepublic-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.