預先定義的角色
下表說明與 Document AI 相關聯的 Identity and Access Management (IAM) 角色,並列出各角色包含的權限。除非另有註明,否則這些角色可套用至整個專案或特定處理器。
| 角色 | 說明 | 權限 |
|---|---|---|
Document AI 管理員 (roles/documentai.admin) |
可授予 Document AI 中所有資源的完整存取權。 | roles/documentai.editor |
Document AI 編輯者 (roles/documentai.editor) |
可授予 Document AI 中所有資源的使用權限。 | roles/documentai.viewerdocumentai.processors.createdocumentai.processors.updatedocumentai.processors.delete |
Document AI 檢視者 (roles/documentai.viewer) |
可授予 Document AI 中所有資源的檢視權限和文件處理權限 | roles/documentai.apiUser權限: resourcemanager.projects.getresourcemanager.projects.listdocumentai.locations.getdocumentai.locations.listdocumentai.processorTypes.listdocumentai.processors.getdocumentai.processors.list |
Document AI API 使用者 (roles/documentai.apiUser) |
可授予 Document AI 文件的處理權限 | 權限:documentai.operations.getLegacydocumentai.processors.processOnlinedocumentai.processors.processBatch |
基本角色
基本角色是 IAM 推出前就存在的角色,這些角色具有獨特特性:
基本角色只能授予整個專案,無法授予專案中的個別 bucket。與您為專案授予的其他角色一樣,基本角色適用於專案中的所有 bucket 和物件。
基本角色包含本節未涵蓋的其他 Google Cloud服務權限。如要瞭解基本角色授予的權限,請參閱「基本角色」。
在某些情況下,基本角色可以當做群組使用,這會導致具有基本角色的任何主體取得某些資源的其他存取權。
授予 bucket 角色時,基本角色可做為群組使用。
在物件上設定 ACL 時,基本角色可以當做群組使用。
如要瞭解具備基本角色的主體通常會因這項行為而獲得哪些額外存取權,請參閱「Cloud Storage 可修改的行為」。
自訂角色
您可能會想要定義自己的角色,包含您指定的權限組合。為了支援這方面的需求,身分與存取權管理提供了自訂角色。
後續步驟
如需其他 Google Cloud 角色的參考資料,請參閱「瞭解角色」。