Sign in to your Google Cloud account. If you're new to
Google Cloud,
create an account to evaluate how our products perform in
real-world scenarios. New customers also get $300 in free credits to
run, test, and deploy workloads.
In the Google Cloud console, on the project selector page,
select or create a Google Cloud 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-04-14。"],[[["This guide details how to grant Google Cloud user or service accounts access to Dataproc Metastore resources in a project."],["The `roles/metastore.editor` role grants full control over Dataproc Metastore resources, while `roles/metastore.admin` provides full control and the ability to update IAM permissions."],["You must have the `roles/owner` IAM role or the required permissions (`resourcemanager.projects.get`, `resourcemanager.projects.getIamPolicy`, `resourcemanager.projects.setIamPolicy`) to grant access roles."],["The gcloud CLI's `add-iam-policy-binding` command is used to grant a predefined Dataproc Metastore role to an IAM principal by specifying the project ID, principal, and desired role."],["Other actions with the metastore may require additional roles not detailed here, and information on those can be found in the respective feature guides."]]],[]]