| Modifier and Type | Class and Description |
|---|---|
class |
Directory.Roles.Delete |
class |
Directory.Roles.Get |
class |
Directory.Roles.Insert |
class |
Directory.Roles.List |
class |
Directory.Roles.Patch |
class |
Directory.Roles.Update |
| Constructor and Description |
|---|
Roles() |
| Modifier and Type | Method and Description |
|---|---|
Directory.Roles.Delete |
delete(String customer,
String roleId)
Deletes a role.
|
Directory.Roles.Get |
get(String customer,
String roleId)
Retrieves a role.
|
Directory.Roles.Insert |
insert(String customer,
Role content)
Creates a role.
|
Directory.Roles.List |
list(String customer)
Retrieves a paginated list of all the roles in a domain.
|
Directory.Roles.Patch |
patch(String customer,
String roleId,
Role content)
Patch role via Apiary Patch Orchestration
Create a request for the method "roles.patch".
|
Directory.Roles.Update |
update(String customer,
String roleId,
Role content)
Updates a role.
|
public Directory.Roles.Delete delete(String customer, String roleId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.customer - Immutable ID of the Google Workspace account.roleId - Immutable ID of the role.IOExceptionpublic Directory.Roles.Get get(String customer, String roleId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.customer - Immutable ID of the Google Workspace account.roleId - Immutable ID of the role.IOExceptionpublic Directory.Roles.Insert insert(String customer, Role content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.customer - Immutable ID of the Google Workspace account.content - the RoleIOExceptionpublic Directory.Roles.List list(String customer) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.customer - Immutable ID of the Google Workspace account.IOExceptionpublic Directory.Roles.Patch patch(String customer, String roleId, Role content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.customer - Immutable ID of the Google Workspace account.roleId - Immutable ID of the role.content - the RoleIOExceptionpublic Directory.Roles.Update update(String customer, String roleId, Role content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.customer - Immutable ID of the Google Workspace account.roleId - Immutable ID of the role.content - the RoleIOExceptionCopyright © 2011–2021 Google. All rights reserved.