Stay organized with collections
Save and categorize content based on your preferences.
gcloud is a unified command-line tool that is part of the Google Cloud CLI.
When you run gcloud commands for Connectivity Tests,
you perform operations on the ConnectivityTest resource that is part
of the Network Management API.
For more information about the Network Management API, see the
API reference.
[[["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-08-28 UTC."],[],[],null,["# Using the gcloud CLI for Connectivity Tests\n\n`gcloud` is a unified command-line tool that is part of the [Google Cloud CLI](/sdk/docs).\nWhen you run [`gcloud` commands](#gcloud-commands) for Connectivity Tests,\nyou perform operations on the `ConnectivityTest` resource that is part\nof the Network Management API.\n\nFor more information about the Network Management API, see the\n[API reference](/network-intelligence-center/docs/connectivity-tests/apis).\n\n`gcloud` commands\n-----------------\n\n| **Note:** `gcloud` commands for the Network Management API use the hyphenated word *network-management*.\n\nYou can use `gcloud` to run the following commands for Connectivity Tests.\nFor more information, see the\n[SDK overview for Connectivity Tests](/sdk/gcloud/reference/beta/network-management/connectivity-tests).\n\nFor command-line examples, see the following pages:\n\n- [Running Connectivity Tests](/network-intelligence-center/docs/connectivity-tests/how-to/running-connectivity-tests)\n- [Updating or deleting Connectivity Tests](/network-intelligence-center/docs/connectivity-tests/how-to/managing-connectivity-tests)"]]