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 custom Role. [...]
delete(String name, {String etag, String $fields}) Future<Role>
Deletes a custom Role. When you delete a custom role, the following changes occur immediately: * You cannot bind a member to the custom role in an IAM Policy. * Existing bindings to the custom role are not changed, but they have no effect. * By default, the response from ListRoles does not include the custom role. You have 7 days to undelete the custom role. After 7 days, the following changes occur: * The custom role is permanently deleted and cannot be recovered. * If an IAM policy contains a binding to the custom role, the binding is permanently removed. [...]
get(String name, {String $fields}) Future<Role>
Gets the definition of a Role. [...]
list(String parent, {int pageSize, String view, bool showDeleted, String pageToken, 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. [...]
patch(Role request, String name, {String updateMask, String $fields}) Future<Role>
Updates the definition of a custom Role. [...]
toString() String
Returns a string representation of this object.
undelete(UndeleteRoleRequest request, String name, {String $fields}) Future<Role>
Undeletes a custom Role. [...]


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