OrganizationsRolesResourceApi class

Constructors

OrganizationsRolesResourceApi(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

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. [...]
inherited
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.
inherited
undelete(UndeleteRoleRequest request, String name, {String $fields}) Future<Role>
Undeletes a custom Role. [...]

Operators

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