To update a project's name to "test-project", run:
gdcloud projects update PROJECT_ID --name=test-project
To update a project's data exfiltration policy to false, run:
gdcloud projects update PROJECT_ID --data-exfiltration-prevention=false
You can update any editable project field. Run "gdcloud projects update --help" for more options.
オプションのフラグ
--data-exfiltration-prevention If set to false, allow network data transfer out from project workloads outside the organization. Otherwise, network data transfer out from workloads outside the project's organization is not allowed. (default true)
--name string Name for the project.
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-09-04 UTC。"],[[["\u003cp\u003eThe \u003ccode\u003egdcloud projects update\u003c/code\u003e command allows users to modify the attributes of a specified project.\u003c/p\u003e\n"],["\u003cp\u003eUsers can update a project's display name by using the \u003ccode\u003e--name\u003c/code\u003e flag followed by the new name.\u003c/p\u003e\n"],["\u003cp\u003eThe project's data exfiltration policy can be toggled using the \u003ccode\u003e--data-exfiltration-prevention\u003c/code\u003e flag, with \u003ccode\u003efalse\u003c/code\u003e permitting outside data transfer and \u003ccode\u003etrue\u003c/code\u003e disallowing it.\u003c/p\u003e\n"],["\u003cp\u003eThere are additional project attributes available for update.\u003c/p\u003e\n"],["\u003cp\u003eCommon gdcloud commands such as \u003ccode\u003e--configuration\u003c/code\u003e, \u003ccode\u003e--format\u003c/code\u003e, and \u003ccode\u003e--help\u003c/code\u003e are also available for use.\u003c/p\u003e\n"]]],[],null,["# gdcloud projects update\n\nNAME\n----\n\ngdcloud projects update - Update a particular project's attributes.\n\nSYNOPSIS\n--------\n\n gdcloud projects update PROJECT_ID [flags]\n\nDESCRIPTION\n-----------\n\nUpdate a particular project's display name and/or its data exfiltration policy.\n\n### EXAMPLES\n\n To update a project's name to \"test-project\", run:\n\n gdcloud projects update PROJECT_ID --name=test-project\n\n To update a project's data exfiltration policy to false, run:\n\n gdcloud projects update PROJECT_ID --data-exfiltration-prevention=false\n\n You can update any editable project field. Run \"gdcloud projects update --help\" for more options.\n\n### OPTIONAL FLAGS\n\n --data-exfiltration-prevention If set to false, allow network data transfer out from project workloads outside the organization. Otherwise, network data transfer out from workloads outside the project's organization is not allowed. (default true)\n --name string Name for the project.\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."]]