release_tracks: [GA, BETA, ALPHA]
help_text:
  brief: |
    Export authorization policy.
  description: |
    Export an authorization policy.
  examples: |
      To export an authorization policy, run:

        $ {command} my-authz-policy --destination=my-authz-policy.yaml --location=global

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

arguments:
  resource:
    spec: !REF googlecloudsdk.command_lib.network_security.resources:authorizationPolicy
    help_text: |
      Name of the authorization policy to export.
