release_tracks: [ALPHA, GA]
hidden: true

help_text:
  brief: |
    Export a target association.
  description: |
    Export the specified target association.
  examples: |
      To export a target association named `my-target_association`, run:

        $ {command} my-target_association --destination=my-target_association.yaml --location=us-central1

arguments:
  resource:
    spec: !REF googlecloudsdk.command_lib.authz_toolkit.resources:target_association
    help_text: |
      Name of the target association to be exported.

request:
  ALPHA:
    api_version: v1alpha
  GA:
    api_version: v1
  collection: authztoolkit.projects.locations.targetAssociations
