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 configuration file for the gdcloud CLI.\u003c/p\u003e\n"],["\u003cp\u003eInitialization requires the organization console URL, following the syntax "https://console.org-name.gdch.google.com", and the project name.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egdcloud config list\u003c/code\u003e command allows users to view their configured properties.\u003c/p\u003e\n"],["\u003cp\u003eSeveral gdcloud wide 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, are available to all commands.\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/gdch/resources/gdcloud-reference/gdcloud) page."]]