- release_tracks: [GA, BETA, ALPHA]

  help_text:
    brief: |
      List workstation clusters.
    description: |
      List all workstation clusters under the specified project and region.
    examples: |
      To list workstation clusters, run:

        $ {command}

  arguments:
    resource:
      spec: !REF googlecloudsdk.command_lib.workstations.resources:region_with_global_fallthrough
      help_text: |
        The region of the clusters to display.

  request:
    GA:
      api_version: v1
    BETA:
      api_version: v1beta
    ALPHA:
      api_version: v1beta
    collection: workstations.projects.locations.workstationClusters

  output:
    format: |
      table(
        name.basename():sort=1,
        name.scope(locations).segment(0):label='REGION',
        createTime.date()
      )
