File: //snap/google-cloud-cli/current/lib/surface/filestore/snapshots/describe.yaml
- help_text:
brief: |
Describe a Filestore snapshot.
description: |
Displays all data associated with a Filestore snapshot given a valid snapshot name.
This command can fail for the following reasons:
* The snapshot specified does not exist.
* The active account does not have permission to access the given
snapshot.
examples: |
To display all data associated with a snapshot of the name 'my-snapshot' in the
region us-central1:
$ {command} my-snapshot --region=us-central1
arguments:
params:
- arg_name: snapshot
is_positional: true
help_text: |
Arguments and flags that specify the Filestore snapshot you want to
create.
- group:
mutex: true
required: true
params:
- arg_name: zone
help_text: |
Zone (e.g. us-central1-c) for the snapshot.
- arg_name: region
help_text: |
Region (e.g. us-central1) for the snapshot.
request:
api_version: v1p1alpha1
collection: file.projects.locations.snapshots
disable_resource_check: true
modify_request_hooks:
- googlecloudsdk.command_lib.filestore.snapshots.util:FormatSnapshotAccessRequest