HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/current/lib/surface/compute/networks/vpc_access/connectors/update.yaml
- release_tracks: [ALPHA, BETA, GA]
  help_text:
    brief: |
      Update a VPC Access connector.
    description: |
      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-connector` in region `us-central1`:

        $ {command} my-vpc-connector --region=us-central1 --min-instances=3 --max-instances=5

  async:
    collection: vpcaccess.projects.locations.operations

  request:
    collection: vpcaccess.projects.locations.connectors
    api_version: v1
    BETA:
      api_version: v1beta1
    ALPHA:
      api_version: v1alpha1

  arguments:
    resource:
      spec: !REF googlecloudsdk.command_lib.compute.networks.vpc_access.resources:connector_v1
      ALPHA:
        spec: !REF googlecloudsdk.command_lib.compute.networks.vpc_access.resources:connector
      help_text: |
        Arguments and flags that specify the VPC Access connector you want to update.
    params:
    - arg_name: min-instances
      release_tracks: [ALPHA, BETA, GA]
      api_field: connector.minInstances
      required: false
      help_text: |
        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-instances` must be provided
    - arg_name: max-instances
      release_tracks: [ALPHA, BETA, GA]
      api_field: connector.maxInstances
      required: false
      help_text: |
        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-instances` must be provided.
    - arg_name: machine-type
      release_tracks: [ALPHA, BETA, GA]
      api_field: connector.machineType
      required: false
      help_text: |
        If set, updates the machine type of VMs underlying the connector. Accepted values are
        "e2-micro", "f1-micro", and "e2-standard-4".