Role class

JSON template for role resource in Directory API.


Role.fromJson(Map _json)


etag String
ETag of the resource.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
isSuperAdminRole bool
Returns true if the role is a super admin role.
read / write
isSystemRole bool
Returns true if this is a pre-defined system role.
read / write
kind String
The type of the API resource. This is always admin#directory#role.
read / write
roleDescription String
A short description of the role.
read / write
roleId String
ID of the role.
read / write
roleName String
Name of the role.
read / write
rolePrivileges List<RoleRolePrivileges>
The set of privileges that are granted to this role.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.


operator ==(dynamic other) bool
The equality operator. [...]