release_tracks: [ALPHA, BETA, GA]
help_text:
  brief: |
    Export service LB policy.
  description: |
    Export a service LB policy.
  examples: |
      To export a service LB policy named `my-service-lb-policy` to a YAML file, run:

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

request:
  collection: networkservices.projects.locations.serviceLbPolicies
  ALPHA:
    api_version: v1alpha1
  BETA:
    api_version: v1beta1
  GA:
    api_version: v1

arguments:
  resource:
    spec: !REF googlecloudsdk.command_lib.network_services.resources:serviceLbPolicy
    help_text: |
      Name of the service LB policy to export.
