OrganizationsRolesResourceApi class


OrganizationsRolesResourceApi(ApiRequester client)


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


create(CreateRoleRequest request, String parent, { String $fields }) → Future<Role>
Creates a new Role. [...]
delete(String name, { String etag, String $fields }) → Future<Role>
Soft deletes a role. The role is suspended and cannot be used to create new IAM Policy Bindings. The Role will not be included in ListRoles() unless show_deleted is set in the ListRolesRequest. The Role contains the deleted boolean set. Existing Bindings remains, but are inactive. The Role can be undeleted within 7 days. After 7 days the Role is deleted and all Bindings associated with the role are removed. [...]
get(String name, { String $fields }) → Future<Role>
Gets a Role definition. [...]
list(String parent, { bool showDeleted, String pageToken, int pageSize, String view, String $fields }) → Future<ListRolesResponse>
Lists the Roles defined on a resource. [...]
patch(Role request, String name, { String updateMask, String $fields }) → Future<Role>
Updates a Role definition. [...]
undelete(UndeleteRoleRequest request, String name, { String $fields }) → Future<Role>
Undelete a Role, bringing it back in its previous state. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() → String
Returns a string representation of this object.


operator ==(dynamic other) → bool
The equality operator.