Google 會運用 AI 技術將內容翻譯成您偏好的語言,但可能會出錯。
使用 IAM 控管存取權
透過集合功能整理內容
您可以依據偏好儲存及分類內容。
Google Cloud Fraud Defense 透過 Identity and Access Management (IAM) 提供角色式存取控管 (RBAC),並使用 VPC Service Controls 控管 reCAPTCHA Enterprise API 的存取權。
使用 IAM 進行角色式存取控管
IAM 可讓您對特定Google Cloud 資源授予精細的存取權,避免未經授權者存取其他資源,例如記錄和數據分析。
本節說明 Fraud Defense 的 IAM 角色。
如要瞭解如何將 IAM 角色指派給使用者或服務帳戶,請參閱 IAM 說明文件中的「授予、變更及撤銷資源存取權」。
角色和權限
下表列出 Fraud Defense 必要的 IAM 角色和權限:
| Role |
Permissions |
reCAPTCHA Enterprise Admin
(roles/recaptchaenterprise.admin)
Access to view and modify reCAPTCHA Enterprise keys
|
monitoring.timeSeries.list
recaptchaenterprise.*
recaptchaenterprise.assessments.annotate
recaptchaenterprise.assessments.create
recaptchaenterprise.firewallpolicies.create
recaptchaenterprise.firewallpolicies.delete
recaptchaenterprise.firewallpolicies.get
recaptchaenterprise.firewallpolicies.list
recaptchaenterprise.firewallpolicies.update
recaptchaenterprise.keys.create
recaptchaenterprise.keys.createTagBinding
recaptchaenterprise.keys.delete
recaptchaenterprise.keys.deleteTagBinding
recaptchaenterprise.keys.get
recaptchaenterprise.keys.list
recaptchaenterprise.keys.listEffectiveTags
recaptchaenterprise.keys.listTagBindings
recaptchaenterprise.keys.retrievelegacysecretkey
recaptchaenterprise.keys.update
recaptchaenterprise.metrics.get
recaptchaenterprise.policies.get
recaptchaenterprise.policies.update
recaptchaenterprise.projectmetadata.get
recaptchaenterprise.projectmetadata.update
recaptchaenterprise.relatedaccountgroupmemberships.list
recaptchaenterprise.relatedaccountgroups.list
resourcemanager.projects.get
resourcemanager.projects.list
|
reCAPTCHA Enterprise Editor
(roles/recaptchaenterprise.editor)
Editor role for reCAPTCHA Enterprise
|
monitoring.timeSeries.list
recaptchaenterprise.assessments.*
recaptchaenterprise.assessments.annotate
recaptchaenterprise.assessments.create
recaptchaenterprise.firewallpolicies.*
recaptchaenterprise.firewallpolicies.create
recaptchaenterprise.firewallpolicies.delete
recaptchaenterprise.firewallpolicies.get
recaptchaenterprise.firewallpolicies.list
recaptchaenterprise.firewallpolicies.update
recaptchaenterprise.keys.create
recaptchaenterprise.keys.delete
recaptchaenterprise.keys.get
recaptchaenterprise.keys.list
recaptchaenterprise.keys.listEffectiveTags
recaptchaenterprise.keys.listTagBindings
recaptchaenterprise.keys.retrievelegacysecretkey
recaptchaenterprise.keys.update
recaptchaenterprise.metrics.get
recaptchaenterprise.policies.*
recaptchaenterprise.policies.get
recaptchaenterprise.policies.update
recaptchaenterprise.projectmetadata.*
recaptchaenterprise.projectmetadata.get
recaptchaenterprise.projectmetadata.update
recaptchaenterprise.relatedaccountgroupmemberships.list
recaptchaenterprise.relatedaccountgroups.list
resourcemanager.projects.get
resourcemanager.projects.list
|
reCAPTCHA Enterprise Viewer
(roles/recaptchaenterprise.viewer)
Access to view reCAPTCHA Enterprise keys and metrics
|
monitoring.timeSeries.list
recaptchaenterprise.firewallpolicies.get
recaptchaenterprise.firewallpolicies.list
recaptchaenterprise.keys.get
recaptchaenterprise.keys.list
recaptchaenterprise.keys.listEffectiveTags
recaptchaenterprise.keys.listTagBindings
recaptchaenterprise.metrics.get
recaptchaenterprise.policies.get
recaptchaenterprise.projectmetadata.get
recaptchaenterprise.relatedaccountgroupmemberships.list
recaptchaenterprise.relatedaccountgroups.list
resourcemanager.projects.get
resourcemanager.projects.list
|
reCAPTCHA Enterprise Agent
(roles/recaptchaenterprise.agent)
Access to create and annotate reCAPTCHA Enterprise assessments
|
recaptchaenterprise.assessments.*
recaptchaenterprise.assessments.annotate
recaptchaenterprise.assessments.create
recaptchaenterprise.firewallpolicies.list
recaptchaenterprise.relatedaccountgroupmemberships.list
recaptchaenterprise.relatedaccountgroups.list
resourcemanager.projects.get
resourcemanager.projects.list
|
自訂角色
您可能需要自訂角色,以因應法規要求等用途。如要建立包含 Fraud Defense 權限的自訂角色,請按照下表所示執行適當操作:
| 角色說明 |
動作 |
| 這個角色僅授予 reCAPTCHA Enterprise API 的權限 |
從「API permissions」部分選擇權限。 |
| 可授予 reCAPTCHA Enterprise API 和控制台權限的角色 |
在「Roles and permissions」(角色和權限) 部分選擇權限群組。 |
| 可建立及註解評量的角色 |
在「Roles and permissions」(角色和權限) 專區中,加入角色 roles/recaptchaenterprise.agent 的權限。 |
如要進一步瞭解自訂角色,請前往建立及管理自訂角色頁面。
API 權限
下表列出呼叫者必須具備的權限,才能呼叫 reCAPTCHA Enterprise API recaptchaenterprise.googleapis.com/v1 中的各個方法:
| 方法 (REST/RPC) |
所需權限 |
適用的資源類型 |
recaptchaenterprise.assessments.annotate/AnnotateAssessmentRequest |
recaptchaenterprise.assessments.annotate |
專案 |
recaptchaenterprise.assessments.create/CreateAssessmentRequest |
recaptchaenterprise.assessments.create |
專案 |
recaptchaenterprise.keys.create/CreateKeyRequest |
recaptchaenterprise.keys.create |
專案 |
recaptchaenterprise.keys.delete/DeleteKeyRequest |
recaptchaenterprise.keys.delete |
專案 |
recaptchaenterprise.keys.get/GetKeyRequest |
recaptchaenterprise.keys.get |
專案 |
recaptchaenterprise.keys.list/ListKeysRequest |
recaptchaenterprise.keys.list |
專案 |
recaptchaenterprise.keys.update/UpdateKeyRequest |
recaptchaenterprise.keys.update |
專案 |
VPC Service Controls
VPC Service Controls 支援 Fraud Defense,可為 reCAPTCHA API 提供額外的存取控管。詳情請參閱「
支援的產品和限制」>「Fraud Defense」。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2026-12-05 (世界標準時間)。"],[],[]]