RoleGrant class

This configuration defines all the Cloud IAM roles that needs to be granted to a particular Google Cloud resource for the selected principal like service account.

These configurations will let UI display to customers what IAM roles need to be granted by them. Or these configurations can be used by the UI to render a 'grant' button to do the same on behalf of the user.

Constructors

RoleGrant({String? helperTextTemplate, String? principal, Resource? resource, List<String>? roles})
RoleGrant.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
helperTextTemplate String?
Template that UI can use to provide helper text to customers.
getter/setter pair
principal String?
Prinicipal/Identity for whom the role need to assigned. Possible string values are:
getter/setter pair
resource Resource?
Resource on which the roles needs to be granted for the principal.
getter/setter pair
roles List<String>?
List of roles that need to be granted.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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