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: //lib/google-cloud-sdk/lib/surface/database_migration/operations/list.yaml
- release_tracks: [ALPHA, GA]
  help_text:
    brief: List operations.
    description: List operations.
    examples: |
      To list all operations in a project and region 'us-central1', run:

        $ {command} --region=us-central1

  request:
    collection: datamigration.projects.locations.operations
    GA:
      api_version: v1
    ALPHA:
      api_version: v1alpha2

  response:
    id_field: name

  arguments:
    resource:
      help_text: The location you want to list the operations for.
      spec: !REF googlecloudsdk.command_lib.database_migration.resources:region

  output:
    format: |
      table(
          name.scope("operations"):label=ID,
          metadata.target.scope("locations"):label=TARGET,
          metadata.verb:label=ACTION,
          done:label=DONE,
          error.code:label=ERROR_CODE
      )