HEX
Server: Apache/2.4.68 (Debian)
System: Linux as-cs-widget-demo-us-central1 6.1.0-44-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
User: root (0)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: //usr/lib/google-cloud-sdk/lib/surface/scheduler/jobs/list.yaml
- help_text:
    brief: List jobs.
    description: List jobs.
    examples: |
      The following command lists all jobs in a project:

        $ {command}

  request:
    collection: cloudscheduler.projects.locations.jobs

  response:
    id_field: name

  arguments:
    resource:
      help_text: The location where you want to list the jobs.
      spec: !REF googlecloudsdk.command_lib.scheduler.resources:location

  output:
    format: |
      table(
          name.basename():label=ID,
          name.segment(-3):label=LOCATION,
          format(
              "{0} ({1})",
              schedule,
              timeZone
          ):label="SCHEDULE (TZ)",
          format(
              "{0}{1}{2}",
              pubsubTarget.yesno(yes="Pub/Sub", no=""),
              appEngineHttpTarget.yesno(yes="App Engine", no=""),
              httpTarget.yesno(yes="HTTP", no="")
          ):label=TARGET_TYPE,
          state:label=STATE
      )