gcloud database-migration connection-profiles test (CONNECTION_PROFILE : --region=REGION) [--no-async] [--endpoint-mode=ENDPOINT_MODE] [GCLOUD_WIDE_FLAG …]
gcloud database-migration connection-profiles test my-profile --region=us-central1
To set the project attribute:
connection_profile on the command line with a
fully specified name;
--project on the command line;
core/project.
CONNECTION_PROFILE
To set the connection_profile attribute:
connection_profile on the command line.
--region=REGIONregion attribute:
connection_profile on the command line with a
fully specified name;
--region on the command line.
--no-async--endpoint-mode=ENDPOINT_MODEregional/endpoint_mode property value for this command
invocation. ENDPOINT_MODE must be one of:
globalregionalregional-preferred--access-token-file,
--account, --billing-project,
--configuration,
--flags-file,
--flatten, --format, --help, --impersonate-service-account,
--log-http,
--project, --quiet, --trace-token, --user-output-enabled,
--verbosity.
Run $ gcloud help for details.
--endpoint-mode=regional-preferred flag. To use
regional endpoints by default, run $ gcloud config set
regional/endpoint_mode regional-preferred.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-23 UTC.