google.ai.generativelanguage.Permission.GranteeType

Defines types of the grantee of this permission.

GRANTEE_TYPE_UNSPECIFIED 0

The default value. This value is unused.

USER 1

Represents a user. When set, you must provide email_address for the user.

GROUP 2

Represents a group. When set, you must provide email_address for the group.

EVERYONE 3

Represents access to everyone. No extra information is required.

EVERYONE <GranteeType.EVERYONE: 3>
GRANTEE_TYPE_UNSPECIFIED <GranteeType.GRANTEE_TYPE_UNSPECIFIED: 0>
GROUP <GranteeType.GROUP: 2>
USER <GranteeType.USER: 1>