Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
NOM
gdcloud config set : définit une propriété de la CLI Google Distributed Cloud Hosted.
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
OPTIONS GCLOUD GÉNÉRALES
Ces options sont disponibles pour toutes les commandes : --configuration, --format, --help, --project, --quiet.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (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,["# 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/gdch/resources/gdcloud-reference/gdcloud) page."]]