Package | Description |
---|---|
com.google.api.services.admin.directory | |
com.google.api.services.admin.directory.model |
Modifier and Type | Method and Description |
---|---|
Directory.Roles.Insert |
Directory.Roles.insert(java.lang.String customer,
Role content)
Creates a role.
|
Directory.Roles.Patch |
Directory.Roles.patch(java.lang.String customer,
java.lang.String roleId,
Role content)
Updates a role.
|
Directory.Roles.Update |
Directory.Roles.update(java.lang.String customer,
java.lang.String roleId,
Role content)
Updates a role.
|
Constructor and Description |
---|
Insert(java.lang.String customer,
Role content)
Creates a role.
|
Patch(java.lang.String customer,
java.lang.String roleId,
Role content)
Updates a role.
|
Update(java.lang.String customer,
java.lang.String roleId,
Role content)
Updates a role.
|
Modifier and Type | Method and Description |
---|---|
Role |
Role.clone() |
Role |
Role.set(java.lang.String fieldName,
java.lang.Object value) |
Role |
Role.setEtag(java.lang.String etag)
ETag of the resource.
|
Role |
Role.setIsSuperAdminRole(java.lang.Boolean isSuperAdminRole)
Returns true if the role is a super admin role.
|
Role |
Role.setIsSystemRole(java.lang.Boolean isSystemRole)
Returns true if this is a pre-defined system role.
|
Role |
Role.setKind(java.lang.String kind)
The type of the API resource.
|
Role |
Role.setRoleDescription(java.lang.String roleDescription)
A short description of the role.
|
Role |
Role.setRoleId(java.lang.Long roleId)
ID of the role.
|
Role |
Role.setRoleName(java.lang.String roleName)
Name of the role.
|
Role |
Role.setRolePrivileges(java.util.List<Role.RolePrivileges> rolePrivileges)
The set of privileges that are granted to this role.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Role> |
Roles.getItems()
A list of Role resources.
|
Modifier and Type | Method and Description |
---|---|
Roles |
Roles.setItems(java.util.List<Role> items)
A list of Role resources.
|