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"]],["最后更新时间 (UTC):2025-09-04。"],[[["\u003cp\u003eThe \u003ccode\u003egdcloud projects update\u003c/code\u003e command allows users to modify attributes of a specific project.\u003c/p\u003e\n"],["\u003cp\u003eYou can update a project's display name, task order, and contract line item number (CLIN) with this command.\u003c/p\u003e\n"],["\u003cp\u003eThe command also allows configuration of the project's data exfiltration policy, controlling outbound network traffic.\u003c/p\u003e\n"],["\u003cp\u003eUse the \u003ccode\u003e--name\u003c/code\u003e, \u003ccode\u003e--task-order\u003c/code\u003e, \u003ccode\u003e--clin\u003c/code\u003e, and \u003ccode\u003e--data-exfiltration-prevention\u003c/code\u003e flags to modify different aspects of the project.\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/appliance/resources/gdcloud-reference/gdcloud) page."]]