File: //snap/google-cloud-cli/current/lib/surface/looker/backups/list.yaml
- release_tracks: [ALPHA, GA]
help_text:
brief: |
List backups of a Looker instance.
description: |
List all backups of a Looker instance under the specified project and region.
To specify the maximum number of backups to list, use the --limit flag.
examples: |
To list up to five backups, of a Looker instance named `my-looker-instance` in the region `us-central1` run:
$ {command} --instance='my-looker-instance' --limit=5 --region='us-central1'
arguments:
resource:
spec: !REF googlecloudsdk.command_lib.looker.resources:instance
help_text: |
The instance of the backups to display.
request:
ALPHA:
api_version: v1alpha2
GA:
api_version: v1
collection: looker.projects.locations.instances.backups
response:
id_field: name
output:
format: |
table(
name.basename():label=NAME:sort=2,
state:label=STATUS,
createTime.date():sort=1:reverse,
expireTime.date()
)