Role class
A role in the Identity and Access Management API.
Constructors
- Role()
- Role.fromJson(Map _json)
Properties
- deleted ↔ bool
-
The current deleted state of the role. This field is read only. It will be
ignored in calls to CreateRole and UpdateRole.
read / write
- description ↔ String
-
Optional. A human-readable description for the role.
read / write
- etag ↔ String
-
Used to perform a consistent read-modify-write.
read / write
-
etagAsBytes
↔ List<
int> -
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
-
includedPermissions
↔ List<
String> -
The names of the permissions this role grants when bound in an IAM policy.
read / write
- name ↔ String
-
The name of the role. When Role is used in CreateRole, the role name must
not be set. When Role is used in output and other input such as
UpdateRole, the role name is the complete path, e.g., roles/logging.viewer
for predefined roles and
organizations/{ORGANIZATION_ID}/roles/logging.viewer for custom roles.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- stage ↔ String
-
The current launch stage of the role. If the
ALPHA
launch stage has been selected for a role, thestage
field will not be included in the returned definition for the role. Possible string values are: [...]read / write - title ↔ String
-
Optional. A human-readable title for the role. Typically this is limited
to 100 UTF-8 bytes.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson(
) → Map< String, Object> -
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited