gcloud alpha compute public-advertised-prefixes update

NAME
gcloud alpha compute public-advertised-prefixes update - updates a Compute Engine public advertised prefix
SYNOPSIS
gcloud alpha compute public-advertised-prefixes updateNAME(--announce-prefix    |--status=STATUS    |--withdraw-prefix)[GCLOUD_WIDE_FLAG]
EXAMPLES
To update a public advertised prefix:
gcloudalphacomputepublic-advertised-prefixesupdatemy-pap--status=ptr-configured

To announce a public advertised prefix:

gcloudalphacomputepublic-advertised-prefixesupdatemy-pap--announce-prefix

To withdraw a public advertised prefix:

gcloudalphacomputepublic-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
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:
gcloudcomputepublic-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.