- release_tracks: [ALPHA, GA]
  help_text:
    brief: List Metadata Job resources under a project.
    description: List all Metadata Job resource under a specific project and location.
    examples: |
      To List Metadata Jobs in project `test-dataplex` at location `us-central1`

          $ {command} --location=us-central1 --project=test-dataplex
  request:
    collection: dataplex.projects.locations.metadataJobs
    ALPHA:
      api_version: v1
  response:
    id_field: name
  arguments:
    resource:
      help_text: Location in which to list Metadata Jobs.
      spec: !REF googlecloudsdk.command_lib.dataplex.resources:location
  output:
    format: |
      table(
        name.basename():label=NAME,
        type:label=TYPE,
        status.state:label=STATUS,
        status.completion_percent:label=COMPLETION_PERCENT,
        labels:label=LABELS,
        createTime:label=CREATE_TIME,
        name.scope("locations").segment(0):label=LOCATION
      )
