- release_tracks: [ALPHA, BETA]

  help_text:
    brief: List product sets in a location.
    description: List product sets in a location.
    examples: |-
      To list all product sets in location 'us-east1', run:

        $ {command} --location=us-east1

  request:
    collection: vision.projects.locations.productSets

  arguments:
    resource:
      help_text: Location to list all product sets.
      spec: !REF googlecloudsdk.command_lib.ml.vision.resources:location
      is_positional: false

  response:
    id_field: name

  output:
    format: |
      table(
        name.scope("productSets"):label=NAME,
        name.scope("locations").segment(0):label=LOCATION,
        displayName
      )
