Database Migration API (datamigration:v1)

2023-11-11

1 new method

Additions

    Methods
  • datamigration.projects.locations.migrationJobs.demoteDestination

      Path: v1/{+name}:demoteDestination

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/migrationJobs/{migrationJobsId}:demoteDestination

      HTTP Method: POST

      Parameters:

        name

          Description: Name of the migration job resource to demote its destination.

          Pattern: ^projects/[^/]+/locations/[^/]+/migrationJobs/[^/]+$

          Location: path

          Required: Yes

          Type: string

      Parameter Order: name

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Description: Demotes the destination database to become a read replica of the source. This is applicable for the following migrations: 1. MySQL to Cloud SQL (for MySQL) 2. PostgreSQL to Cloud SQL (for PostgreSQL) 3. PostgreSQL to AlloyDB.

1 removed method

Deletions

    Methods
  • datamigration.projects.locations.migrationJobs.demoteDestination

      Path: v1/{+name}:demoteDestination

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/migrationJobs/{migrationJobsId}:demoteDestination

      HTTP Method: POST

      Parameters:

        name

          Description: Name of the migration job resource to demote its destination.

          Pattern: ^projects/[^/]+/locations/[^/]+/migrationJobs/[^/]+$

          Location: path

          Required: Yes

          Type: string

      Parameter Order: name

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Description: Demotes the destination database to become a read replica of the source. This is applicable for the following migrations: 1. MySQL to Cloud SQL (for MySQL) 2. PostgreSQL to Cloud SQL (for PostgreSQL) 3. PostgreSQL to AlloyDB.