role property

String? role
getter/setter pair

The role granted by this permission.

The role determines the entity’s ability to read, write, and share notes. Possible string values are:

  • "ROLE_UNSPECIFIED" : An undefined role.
  • "OWNER" : A role granting full access. This role cannot be added or removed. Defined by the creator of the note.
  • "WRITER" : A role granting the ability to contribute content and modify note permissions.

Implementation

core.String? role;