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