- NAME
 - 
- gcloud beta compute networks vpc-access connectors update - update a VPC Access connector
 
 - SYNOPSIS
 - 
- 
gcloud beta compute networks vpc-access connectors update(CONNECTOR:--region=REGION) [--async] [--machine-type=MACHINE_TYPE] [--max-instances=MAX_INSTANCES] [--min-instances=MIN_INSTANCES] [GCLOUD_WIDE_FLAG …] 
 - 
 - DESCRIPTION
 - 
(BETA)Update an existing VPC Access connector with the given name.This command can fail for the following reasons:
- Invalid parameters are passed to this command.
 - The active account does not have permission to update instances.
 
 - EXAMPLES
 - 
The following command updates a VPC Access connector with name
my-vpc-connectorin regionus-central1:gcloud beta compute networks vpc-access connectors update my-vpc-connector --region=us-central1 --min-instances=3 --max-instances=5 - POSITIONAL ARGUMENTS
 - 
- 
Connector resource - Arguments and flags that specify the VPC Access connector
you want to update. The arguments in this group can be used to specify the
attributes of this resource. (NOTE) Some attributes are not given arguments in
this group but can be set in other ways.
To set the
projectattribute:- 
provide the argument 
connectoron the command line with a fully specified name; - 
provide the argument 
--projecton the command line; - 
set the property 
core/project. 
This must be specified.
CONNECTOR- 
ID of the connector or fully qualified identifier for the connector.
To set the
connectorattribute:- 
provide the argument 
connectoron the command line. 
This positional argument must be specified if any of the other arguments in this group are specified.
 - 
provide the argument 
 --region=REGION- 
Compute region (e.g. us-central1) for the connector.
To set the 
regionattribute:- 
provide the argument 
connectoron the command line with a fully specified name; - 
provide the argument 
--regionon the command line. 
 - 
provide the argument 
 
 - 
provide the argument 
 
 - 
Connector resource - Arguments and flags that specify the VPC Access connector
you want to update. The arguments in this group can be used to specify the
attributes of this resource. (NOTE) Some attributes are not given arguments in
this group but can be set in other ways.
 - FLAGS
 - 
--async- Return immediately, without waiting for the operation in progress to complete.
 --machine-type=MACHINE_TYPE- If set, updates the machine type of VMs underlying the connector. Accepted values are "e2-micro", "f1-micro", and "e2-standard-4".
 --max-instances=MAX_INSTANCES- 
If set, updates the maximum number of instances within an autoscaling group
underlying the connector. Value must be between 3 and 10, inclusive, greater
than or equal to the currently set maximum number of instances, and greater than
the value specified by 
--min-instances.--min-instancesmust be provided. --min-instances=MIN_INSTANCES- 
If set, updates the minimum number of instances within an autoscaling group
underlying the connector. Value must be between 2 and 9, inclusive, greater than
or equal to the currently set minimum number of instances, and less than the
value specified by --max-instances
.--max-instancesmust be provided 
 - 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 helpfor details. - API REFERENCE
 - 
This command uses the 
vpcaccess/v1beta1API. The full documentation for this API can be found at: https://cloud.google.com/vpc/docs/configure-serverless-vpc-access - NOTES
 - 
This command is currently in beta and might change without notice. This variant
is also available:
gcloud compute networks vpc-access connectors update 
      gcloud beta compute networks vpc-access connectors update
  
  
  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 2025-05-07 UTC.