RolesResourceApi class

Constructors

RolesResourceApi(ApiRequester client)

Properties

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

Methods

get(String name, {String $fields}) Future<Role>
Gets the definition of a Role. [...]
list({String parent, String pageToken, int pageSize, String view, bool showDeleted, String $fields}) Future<ListRolesResponse>
Lists every predefined Role that IAM supports, or every custom role that is defined for an organization or project. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
queryGrantableRoles(QueryGrantableRolesRequest request, {String $fields}) Future<QueryGrantableRolesResponse>
Lists roles that can be granted on a Google Cloud resource. A role is grantable if the IAM policy for the resource can contain bindings to the role. [...]
toString() String
Returns a string representation of this object.
inherited

Operators

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