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-09-04 UTC."],[[["\u003cp\u003e\u003ccode\u003egdcloud config set\u003c/code\u003e is used to modify properties within the Google Distributed Cloud Hosted CLI.\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\u003eYou can change the organization console URL using \u003ccode\u003egdcloud config set organization_console_url <url>\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe command \u003ccode\u003egdcloud config set\u003c/code\u003e accepts different optional flags.\u003c/p\u003e\n"]]],[],null,["# gdcloud config set\n\nNAME\n----\n\ngdcloud config set - Set a Google Distributed Cloud Hosted CLI property.\n\nSYNOPSIS\n--------\n\n gdcloud config set [flags]\n\n### EXAMPLES\n\n To switch to a new project named \"example-project\", run:\n\n gdcloud config set project example-project\n\n To switch to a new organization with the URL \"https://console.example-org.com\", run:\n\n gdcloud config set organization_console_url https://console.example-org.com\n\n### GDCLOUD WIDE FLAGS\n\nThese flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.\n\nFor more information, see the [gdcloud CLI reference overview](/distributed-cloud/hosted/docs/latest/appliance/resources/gdcloud-reference/gdcloud) page."]]