List Migration Jobs

database_migration.list_migration_jobs
ActionGoogle Cloudconnection required

Calls Database Migration GET /v1/projects/{projectsId}/locations/{locationsId}/migrationJobs.

Lists migration jobs in a given project and location.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Database Migration
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
location, project_id
Resolved by
config.connection_id, else node.connection_id

Configuration

6 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
project_id
GCP project id (overrides connection).
stringNo———
location
Location / region (overrides connection).
stringNo———
filter
Optional. A filter expression that filters migration jobs listed in the response.
stringNo———
order_by
Optional. Sort the results based on the migration job name.
stringNo—one of "name", "name asc", "name desc"—
page_size
Optional. The maximum number of migration jobs to return. The service may return fewer than this value. If uns
numberNo50≥ 1—
page_token
Optional. The nextPageToken value received in the previous call to migrationJobs.list, used in the…
stringNo———

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "page_size": 50
}

Output

One shape.

result

FieldTypeExample
ok
boolean—
unreachable
array—
nextPageToken
string—
migrationJobs
array—
{
  "migrationJobs": [],
  "nextPageToken": "",
  "ok": false,
  "unreachable": []
}

See List Migration Jobs run in a workflow.

In a technical demo we add the Google Database Migration connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.