gcloud ai index-endpoints mutate-deployed-index (INDEX_ENDPOINT : --region=REGION) --deployed-index-id=DEPLOYED_INDEX_ID [--allowed-issuers=[ALLOWED_ISSUERS,…]] [--audiences=[AUDIENCES,…]] [--deployment-group=DEPLOYMENT_GROUP] [--enable-access-logging] [--machine-type=MACHINE_TYPE] [--max-replica-count=MAX_REPLICA_COUNT] [--min-replica-count=MIN_REPLICA_COUNT] [--reserved-ip-ranges=[RESERVED_IP_RANGES,…]] [GCLOUD_WIDE_FLAG …]
deployed-index-123 from an index endpoint
456 with 2 min replica count and 10 max
replica count under project example in
region us-central1, within
vertex-ai-ip-ranges-1 and
vertex-ai-ip-ranges-2, within deployment
group test, enabling access logging, with
JWT audiences aud1 and
aud2, JWT issuers
issuer1 and
issuer2 run:
gcloud ai index-endpoints mutate-deployed-index 456 --project=example --region=us-central1 --deployed-index-id=deployed-index-123 --min-replica-count=2 --max-replica-count=10 --reserved-ip-ranges=vertex-ai-ip-ranges-1,vertex-ai-ip-ranges-2 --enable-access-logging --audiences=aud1,aud2 --allowed-issuers=issuer1,issuer2 --deployment-group=test
To set the project attribute:
index_endpoint on the command line with a
fully specified name;
--project on the command line;
core/project.
INDEX_ENDPOINT
To set the name attribute:
index_endpoint on the command line.
--region=REGIONregion attribute:
index_endpoint on the command line with a
fully specified name;
--region on the command line;
ai/region;
--deployed-index-id=DEPLOYED_INDEX_ID--allowed-issuers=[ALLOWED_ISSUERS,…]service-account-name@project-id.iam.gserviceaccount.com
--audiences=[AUDIENCES,…]--deployment-group=DEPLOYMENT_GROUPtest,
prod). If not set, we will use the default deployment
group.
Creating deployment_groups with reserved_ip_ranges is a recommended
practice when the peered network has multiple peering ranges.This creates your
deployments from predictable IP spaces for easier traffic administration.
--enable-access-logging--machine-type=MACHINE_TYPE--max-replica-count=MAX_REPLICA_COUNT--min-replica-count=MIN_REPLICA_COUNT--reserved-ip-ranges=[RESERVED_IP_RANGES,…]--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.
gcloud alpha ai index-endpoints mutate-deployed-indexgcloud beta ai index-endpoints mutate-deployed-index
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.