ProjectsRolesResource class

Constructors

ProjectsRolesResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create(CreateRoleRequest request, String parent, {String? $fields}) Future<Role>
Creates a new custom Role.
delete(String name, {String? etag, String? $fields}) Future<Role>
Deletes a custom Role.
get(String name, {String? $fields}) Future<Role>
Gets the definition of a Role.
list(String parent, {int? pageSize, String? pageToken, bool? showDeleted, String? view, 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 nonexistent method or property is accessed.
inherited
patch(Role request, String name, {String? updateMask, String? $fields}) Future<Role>
Updates the definition of a custom Role.
toString() String
A string representation of this object.
inherited
undelete(UndeleteRoleRequest request, String name, {String? $fields}) Future<Role>
Undeletes a custom Role.

Operators

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