GetOrganizationRoleResult class
Result data returned by getOrganizationRole.
Constructors
-
GetOrganizationRoleResult({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 GetOrganizationRoleResult.
deletedThe current deleted state of the role. This field is read only. It will be ignored in calls to CreateRole and UpdateRole.descriptionOptional. A human-readable description for the role.etagUsed to perform a consistent read-modify-write.includedPermissionsThe names of the permissions this role grants when bound in an IAM policy.nameThe name of the role. WhenRoleis used inCreateRole, the role name must not be set. WhenRoleis used in output and other input such asUpdateRole, the role name is the complete path. For example,roles/logging.viewerfor predefined roles,organizations/{ORGANIZATION_ID}/roles/my-rolefor organization-level custom roles, andprojects/{PROJECT_ID}/roles/my-rolefor project-level custom roles.stageThe current launch stage of the role. If theALPHAlaunch stage has been selected for a role, thestagefield will not be included in the returned definition for the role.titleOptional. A human-readable title for the role. Typically this is limited to 100 UTF-8 bytes.const -
GetOrganizationRoleResult.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
Roleis used inCreateRole, the role name must not be set. WhenRoleis used in output and other input such asUpdateRole, the role name is the complete path. For example,roles/logging.viewerfor predefined roles,organizations/{ORGANIZATION_ID}/roles/my-rolefor organization-level custom roles, andprojects/{PROJECT_ID}/roles/my-rolefor 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
ALPHAlaunch stage has been selected for a role, thestagefield 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