gcloud alpha compute public-delegated-prefixes update - updates a Compute Engine public delegated prefix
gcloud alpha compute public-delegated-prefixes update NAME (--announce-prefix | --withdraw-prefix) [--region=REGION] [GCLOUD_WIDE_FLAG ...]
To announce a regional v2 public delegated prefix:
$ gcloud alpha compute public-delegated-prefixes update my-pdp \ --announce-prefix --region=us-central1
To withdraw a regional v2 public delegated prefix:
$ gcloud alpha compute public-delegated-prefixes update my-pdp \ --withdraw-prefix --region=us-central1
- NAME
Name of the public delegated prefix to operate on.
- Exactly one of these must be specified:
- --announce-prefix
Specify if the prefix will be announced. Default is false.
- --withdraw-prefix
Specify if the prefix will be withdrawn. Default is false.
- --region=REGION
Region of the public delegated prefix to operate on. Overrides the default compute/region property value for this command invocation.
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.
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.