Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
NAME
gdcloud init: Initialisiert die Standardkonfigurationsdatei für die gdcloud CLI.
ZUSAMMENFASSUNG
gdcloud init [flags]
BESCHREIBUNG
Initialisieren Sie die Standardkonfigurationsdatei für die gcloud CLI. Sie werden aufgefordert, zwei Attribute anzugeben, um die Konfiguration zu initialisieren:
organization_console_url: Die URL zur aktuellen Organisationskonsole. Diese URL muss der Syntax „https://console.org-name.gdch.google.com“ entsprechen.
project: Der Name Ihres aktuellen Projekts.
Sie können diese Attribute mit dem Befehl „gcloud config list“ aufrufen.
GDCLOUD-WEITE FLAGS
Diese Flags sind für alle Befehle verfügbar: --configuration, --format, --help, --project, --quiet.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-04 (UTC)."],[[["\u003cp\u003e\u003ccode\u003egdcloud init\u003c/code\u003e is used to initialize the default GDCH CLI configuration file.\u003c/p\u003e\n"],["\u003cp\u003eThe command prompts the user to input their organization's console URL and the current GDCH project name.\u003c/p\u003e\n"],["\u003cp\u003eThe organization console URL must adhere to the format "https://console.org-name.gdch.google.com".\u003c/p\u003e\n"],["\u003cp\u003eThe configured properties can be viewed later using the \u003ccode\u003egdcloud config list\u003c/code\u003e command.\u003c/p\u003e\n"]]],[],null,["# gdcloud init\n\nNAME\n----\n\ngdcloud init - Initialize the default gdcloud CLI configuration file.\n\nSYNOPSIS\n--------\n\n gdcloud init [flags]\n\nDESCRIPTION\n-----------\n\nInitialize the default gdcloud CLI configuration file. You are prompted for two properties to initialize the configuration:\n\n- organization_console_url: The URL to your current organization's console. This URL must follow the syntax \"https://console.org-name.gdch.google.com\".\n- project: The name of your current project.\n\nView these properties using the \"gdcloud config list\" command.\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."]]