Stay organized with collections Save and categorize content based on your preferences.
This page describes how to get started with the Google Cloud CLI so you can use it to manage Database Migration Service connection profiles and migration jobs.
The Google Cloud CLI provides the Google Cloud CLI to interact with Database Migration Service and other Google Cloud services. The gcloud CLI uses the API to access Database Migration Service, so you must enable the API before you can use the tool.
Get started with the Google Cloud CLI
To start with the gcloud CLI, review the Google Cloud CLI documentation. You can get help for the tool, resources, and commands by using the --help flag:
The first command lists the configuration for the gcloud CLI, including any default project that you already set. The second command sets the default project.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-02 UTC."],[[["This page provides instructions on using the Google Cloud CLI to manage Database Migration Service connection profiles and migration jobs."],["The gcloud CLI interacts with Database Migration Service via its API, necessitating API enablement before usage."],["You can use the `--help` flag to see information on how to use the tool, resources, and commands within the gcloud CLI."],["To configure your project, list the current configuration with `gcloud config list` and then set your default project with `gcloud config set project [PROJECT_ID]`."]]],[]]