release_tracks: [GA, BETA, ALPHA]

help_text:
  brief: |
    List authorization policies.
  description: |
    List all authorization policies in the specified location of the current project.
  examples: |
      To list authorization policies in the current project, run:

        $ {command} --location=global

request: &request
  ALPHA:
    api_version: v1alpha1
  BETA:
    api_version: v1beta1
  GA:
    api_version: v1
  collection: networksecurity.projects.locations.authorizationPolicies

arguments:
  resource:
    spec: !REF googlecloudsdk.command_lib.network_security.resources:location
    help_text: |
      The project of the authorization policies to display.

response:
  id_field: name

output:
  format: |
     table(
        name.basename():label=NAME
      )
