File: //snap/google-cloud-cli/current/lib/surface/network_services/gateways/list.yaml
release_tracks: [GA, ALPHA]
help_text:
brief: |
List gateways.
description: |
List all Network Services gateways in the specified location of the current project.
examples: |
To list gateways in the current project, run:
$ {command} --location=global
request: &request
ALPHA:
api_version: v1alpha1
GA:
api_version: v1
collection: networkservices.projects.locations.gateways
arguments:
resource:
spec: !REF googlecloudsdk.command_lib.network_services.resources:location
help_text: |
The project of the gateways to display.
response:
id_field: name
output:
format: |
table(
name.basename():label=NAME
)