GetRoleResult class

Result data returned by getRole.

Constructors

GetRoleResult({required bool deleted, required String description, required String etag, required List<String> includedPermissions, required String name, required String stage, required String title})
Creates a new GetRoleResult. deleted The current deleted state of the role. This field is read only. It will be ignored in calls to CreateRole and UpdateRole. description Optional. A human-readable description for the role. etag Used to perform a consistent read-modify-write. includedPermissions The names of the permissions this role grants when bound in an IAM policy. name 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. For example, roles/logging.viewer for predefined roles, organizations/{ORGANIZATION_ID}/roles/my-role for organization-level custom roles, and projects/{PROJECT_ID}/roles/my-role for project-level custom roles. stage The current launch stage of the role. If the ALPHA launch stage has been selected for a role, the stage field will not be included in the returned definition for the role. title Optional. A human-readable title for the role. Typically this is limited to 100 UTF-8 bytes.
const
GetRoleResult.fromMap(Map<String, dynamic> map)
factory

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.
final
description → String
Optional. A human-readable description for the role.
final
etag → String
Used to perform a consistent read-modify-write.
final
hashCode → int
The hash code for this object.
no setterinherited
includedPermissions → List<String>
The names of the permissions this role grants when bound in an IAM policy.
final
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. For example, roles/logging.viewer for predefined roles, organizations/{ORGANIZATION_ID}/roles/my-role for organization-level custom roles, and projects/{PROJECT_ID}/roles/my-role for project-level custom roles.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stage → String
The current launch stage of the role. If the ALPHA launch stage has been selected for a role, the stage field will not be included in the returned definition for the role.
final
title → String
Optional. A human-readable title for the role. Typically this is limited to 100 UTF-8 bytes.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited