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/network_connectivity/spokes/gateways/update.yaml
- release_tracks: [BETA]

  help_text:
    brief: Update a Gateway spoke.
    description: Update the details of a Gateway spoke.

    examples: |
      To update the description of a Gateway spoke named ``my-spoke'', run:

        $ {command} my-spoke --region=us-central1 --description="new spoke description"

  arguments:
    resource:
      spec: !REF googlecloudsdk.command_lib.network_connectivity.resources:spoke
      help_text: Name of the spoke to update.
    params:
    - arg_name: description
      BETA:
        api_field: googleCloudNetworkconnectivityV1betaSpoke.description
      help_text: New description of the spoke.
    - arg_name: capacity
      BETA:
        api_field: googleCloudNetworkconnectivityV1betaSpoke.gateway.capacity
      choices:
      - enum_value: CAPACITY_1_GBPS
        arg_value: 1g
      - enum_value: CAPACITY_10_GBPS
        arg_value: 10g
      - enum_value: CAPACITY_100_GBPS
        arg_value: 100g
      help_text: New gateway capacity of the spoke.
    labels:
      BETA:
        api_field: googleCloudNetworkconnectivityV1betaSpoke.labels

  update:
    read_modify_update: true

  async:
    collection: networkconnectivity.projects.locations.operations

  request:
    BETA:
      api_version: v1beta
    collection: networkconnectivity.projects.locations.spokes
    method: patch