gdcloud config get - 输出 Google Distributed Cloud Hosted CLI 属性的值。
摘要
gdcloud config get [flags]
示例
To print the value of the existing project property, run:
gdcloud config get project
To print the value of the existing organization_console_url property, run:
gdcloud config get organization_console_url
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-04。"],[[["\u003cp\u003e\u003ccode\u003egdcloud config get\u003c/code\u003e is used to display the value of a specified property in the Google Distributed Cloud Hosted CLI.\u003c/p\u003e\n"],["\u003cp\u003eThe command can be used to retrieve properties such as the current project or the organization console URL.\u003c/p\u003e\n"],["\u003cp\u003eSeveral global flags are available for use with the \u003ccode\u003egdcloud config get\u003c/code\u003e command, 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"],["\u003cp\u003eFurther details about the CLI and the available global flags are available in the linked gdcloud CLI reference overview page.\u003c/p\u003e\n"]]],[],null,["# gdcloud config get\n\nNAME\n----\n\ngdcloud config get - Print the value of a Google Distributed Cloud Hosted CLI property.\n\nSYNOPSIS\n--------\n\n gdcloud config get [flags]\n\n### EXAMPLES\n\n To print the value of the existing project property, run:\n\n gdcloud config get project\n\n To print the value of the existing organization_console_url property, run:\n\n gdcloud config get organization_console_url\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."]]