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.
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:
Finally, configure a project as your default project with
two commands. The first command below lists the
configuration for the gcloud CLI, including any default project
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-06-11 UTC."],[[["This guide explains how to use the Google Cloud CLI to manage Database Migration Service connection profiles and migration jobs."],["The Google Cloud CLI utilizes the API for Database Migration Service, requiring the API to be enabled prior to tool usage."],["You can access help for the Google Cloud CLI's tools, resources, and commands using the `--help` flag."],["To configure the default project for the Google Cloud CLI, use the `gcloud config list` command to view current settings and `gcloud config set project [PROJECT_ID]` to establish the default."]]],[]]