Privilege class

JSON template for privilege resource in Directory API.


Privilege.fromJson(Map _json)


childPrivileges ↔ List<Privilege>
A list of child privileges. Privileges for a service form a tree. Each privilege can have a list of child privileges; this list is empty for a leaf privilege.
read / write
etag ↔ String
ETag of the resource.
read / write
isOuScopable ↔ bool
If the privilege can be restricted to an organization unit.
read / write
kind ↔ String
The type of the API resource. This is always admin#directory#privilege.
read / write
privilegeName ↔ String
The name of the privilege.
read / write
serviceId ↔ String
The obfuscated ID of the service this privilege is for.
read / write
serviceName ↔ String
The name of the service this privilege is for.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited


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


operator ==(dynamic other) → bool
The equality operator.