The following table describes Identity and Access Management (IAM) roles that are associated with Document AI and lists the permissions that are contained in each role. Unless otherwise noted, these roles can be applied either to entire projects or specific processors.
|Document AI Administrator
||Grants full access to all resources in Document AI.|
|Document AI Editor
||Grants access to use all resources in Document AI.||
|Document AI Viewer
||Grants access to view all resources and process documents in Document AI||
|Document AI API User
||Grants access to process documents in Document AI||Permissions:
Basic roles are roles that existed prior to IAM. These roles have unique characteristics:
Basic roles can only be granted for an entire project, not for individual buckets within the project. Like other roles that you grant for a project, basic roles apply to all buckets and objects in the project.
Basic roles contain additional permissions for other Google Cloud services that are not covered in this section. See basic roles for a general discussion of the permissions that basic roles grant.
In some cases, basic roles can be used as if they were groups, which causes any principal that has the basic role to get additional access for some resources.
A basic role can be used as if it were a group when granting roles for buckets.
A basic role can be used as if it were a group when setting ACLs on objects.
For a discussion of additional access that principals with basic roles typically gain due to this behavior, see modifiable behavior.
You may wish to define your own roles which contain bundles of permissions that you specify. To support this, IAM offers custom roles.
Learn about each IAM permission for Document AI.
For a reference of other Google Cloud roles, see Understanding Roles.