- release_tracks: [GA]
  help_text:
    brief: |
      Demote a destination of a Database Migration Service migration job.
    description: |
      Demote a destination of a Database Migration Service migration job.
    examples: |
      To Demote a migration job destination:

          $ {command} MIGRATION_JOB --region=us-central1

  request:
    collection: datamigration.projects.locations.migrationJobs
    GA:
      api_version: v1
    method: demoteDestination

  arguments:
    resource:
      help_text: |
        Migration job resource - Cloud Database Migration Service migration job to demote its destination.
      spec: !REF googlecloudsdk.command_lib.database_migration.resources:migration_job
