| Server IP : 35.236.43.222 / Your IP : 216.73.216.143 Web Server : Apache System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64 User : deploy ( 1002) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/google-cloud-sdk/lib/surface/network_connectivity/hubs/ |
Upload File : |
- release_tracks: [ALPHA, BETA, GA]
help_text:
brief: List hubs.
description: Retrieve and display a list of all hubs in the specified project.
examples: |
To list all hubs, run:
$ {command}
request: &request
ALPHA:
api_version: v1alpha1
BETA:
api_version: v1beta
GA:
api_version: v1
collection: networkconnectivity.projects.locations.global.hubs
modify_request_hooks:
- googlecloudsdk.command_lib.network_connectivity.util:AppendLocationsGlobalToParent
arguments:
resource:
spec: !REF googlecloudsdk.command_lib.network_connectivity.resources:project
help_text: Project of the hubs to display.
output:
format: table(name.basename(), description)