Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
NOMBRE
gdcloud init: Inicializa el archivo de configuración predeterminado de la CLI de gdcloud.
SINOPSIS
gdcloud init [flags]
DESCRIPCIÓN
Inicializa el archivo de configuración predeterminado de gcloud CLI. Se te solicitarán dos propiedades para inicializar la configuración:
organization_console_url: Es la URL de la consola de tu organización actual. Esta URL debe seguir la sintaxis "https://console.org-name.gdch.google.com".
project: Es el nombre de tu proyecto actual.
Consulta estas propiedades con el comando "gcloud config list".
MARCAS GENERALES DE GCLOUD
Estas marcas están disponibles para todos los comandos: --configuration, --format, --help, --project y --quiet.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 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."]]