release_tracks: [ALPHA]

help_text:
  brief: |
    List all Dialogflow intents for the agent of the current project.
  description: |
    List all Dialogflow intents for the agent of the current project.
  examples: |
    To list all intents for the current project:

      $ {command}

arguments:
  resource:
    help_text: The agent to list the intents under.
    spec: !REF googlecloudsdk.command_lib.dialogflow.resources:agent
    override_resource_collection: true

request:
  collection: dialogflow.projects.agent.intents

response:
  id_field: name

output:
  format: |
    table(name.basename(), displayName, priority)
