gcloud beta services vpc-peerings update

NAME
gcloud beta services vpc-peerings update - update a private service connection to a service for a project network
SYNOPSIS
gcloud beta services vpc-peerings update--network=NETWORK[--async][--force][--ranges=RANGES][--service=SERVICE; default="servicenetworking.googleapis.com"][GCLOUD_WIDE_FLAG]
DESCRIPTION
(BETA) This command updates a private service connection to aservice via a VPC network.
EXAMPLES
To update connection for a network calledmy-network on the currentproject to a service calledyour-service with IP CIDR rangesgoogle-range-1,google-range-2 for the service to use, run:
gcloudbetaservicesvpc-peeringsupdate--network=my-network--service=your-service--ranges=google-range-1,google-range-2

To run the same command asynchronously (non-blocking), run:

gcloudbetaservicesvpc-peeringsupdate--network=my-network--service=your-service--ranges=google-range-1,google-range-2--async
REQUIRED FLAGS
--network=NETWORK
The network in the current project to be peered with the service
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.
--force
If specified, the update call will proceed even if the update can bedestructive.
--ranges=RANGES
The names of IP CIDR ranges for service to use.
--service=SERVICE; default="servicenetworking.googleapis.com"
The service to connect to
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 beta and might change without notice. Thesevariants are also available:
gcloudservicesvpc-peeringsupdate
gcloudalphaservicesvpc-peeringsupdate

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.