[[["易于理解","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-08-29。"],[],[],null,["# Access control with IAM\n\nreCAPTCHA offers Role-Based Access Control (RBAC) with\n[Identity and Access Management (IAM)](/iam/docs) and\naccess control for reCAPTCHA APIs using [VPC Service Controls](/vpc-service-controls/docs).\n\nRole-based access control with IAM\n----------------------------------\n\nIAM lets you give granular access to specific\nGoogle Cloud resources and prevents unwanted access to other resources,\nsuch as logs and analytics.\n\nThis section describes the IAM roles for reCAPTCHA.\n\nTo learn how to assign IAM roles to a user or service account,\nread [Granting, changing, and revoking access to resources](/iam/docs/granting-changing-revoking-access)\nin the IAM documentation.\n\n### Roles and permissions\n\nThe following table lists the necessary IAM roles and their permissions for\nreCAPTCHA: \n\n### Custom roles\n\nYou might require custom roles for use cases such as regulatory requirements.\nTo create a custom role that includes reCAPTCHA permissions,\nperform the appropriate action as shown in the following table:\n\nFor more information on custom roles, go to\n[Creating and managing custom roles](/iam/docs/creating-custom-roles).\n\n### API permissions\n\nThe following table lists the permissions that the caller must have to call each\nmethod in the reCAPTCHA Enterprise API, `recaptchaenterprise.googleapis.com/v1`:\n\nVPC Service Controls\n--------------------\n\nVPC Service Controls support reCAPTCHA to provide additional\naccess control for reCAPTCHA\nAPIs. For more information, see\n[Supported products and limitations \\\u003e reCAPTCHA Enterprise](/vpc-service-controls/docs/supported-products#table_recaptcha_enterprise)."]]