Stay organized with collections
Save and categorize content based on your preferences.
NAME
gdcloud config set - Set a Google Distributed Cloud Hosted CLI property.
SYNOPSIS
gdcloud config set [flags]
EXAMPLES
To switch to a new project named "example-project", run:
gdcloud config set project example-project
To switch to a new organization with the URL "https://console.example-org.com", run:
gdcloud config set organization_console_url https://console.example-org.com
GDCLOUD WIDE FLAGS
These flags are available to all commands: --configuration, --format, --help, --project, --quiet.
[[["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-07 UTC."],[[["\u003cp\u003e\u003ccode\u003egdcloud config set\u003c/code\u003e is used to modify Google Distributed Cloud Hosted CLI properties.\u003c/p\u003e\n"],["\u003cp\u003eYou can change the active project using \u003ccode\u003egdcloud config set project [project-name]\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe organization console URL can be updated with \u003ccode\u003egdcloud config set organization_console_url [URL]\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe command provides several widely available flags, including \u003ccode\u003e--configuration\u003c/code\u003e, \u003ccode\u003e--format\u003c/code\u003e, \u003ccode\u003e--help\u003c/code\u003e, \u003ccode\u003e--project\u003c/code\u003e, and \u003ccode\u003e--quiet\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]