Migration Center API
- URL
-
https://migrationcenter.googleapis.com/v1 - Docs
- https://docs.cloud.google.com/migration-center/docs/reference/rest/v1
Authorization: Bearer <credential> Use Google Cloud authentication for the project that will call Migration Center. The easiest path is to sign in with the Google Cloud CLI and obtain Application Default Credentials or a user access token: install the Google Cloud CLI, run gcloud auth application-default login for local ADC or gcloud auth login, and ensure the Migration Center API is enabled in your project. For your own OAuth client credentials, create them in Google Cloud Console APIs & Services > Credentials. Migration Center REST methods document Google OAuth scopes such as https://www.googleapis.com/auth/cloud-platform.
Create a service account in Google Cloud Console > IAM & Admin > Service Accounts, grant it the needed IAM roles for Migration Center, and use it through Application Default Credentials or by downloading a JSON key if your environment requires one. Google client libraries exchange the service account credentials for OAuth access tokens carrying scopes such as https://www.googleapis.com/auth/cloud-platform.