release_tracks: [GA, BETA, ALPHA]
help_text:
  brief: |
    Export Gateway Security Policy.
  description: |
    Export a Gateway Security Policy.
  examples: |
      To export a Gateway Security Policy, run:

        $ {command} my-gateway-security-policy --destination=my-gateway-security-policy-list.yaml --location=global

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

arguments:
  resource:
    spec: !REF googlecloudsdk.command_lib.network_security.resources:gatewaySecurityPolicy
    help_text: |
      Name of the Gateway Security Policy to export.
