public class Directory.Roles
extends java.lang.Object
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(java.lang.String customer,
java.lang.String roleId)
Deletes a role.
|
Directory.Roles.Get |
get(java.lang.String customer,
java.lang.String roleId)
Retrieves a role.
|
Directory.Roles.Insert |
insert(java.lang.String customer,
Role content)
Creates a role.
|
Directory.Roles.List |
list(java.lang.String customer)
Retrieves a paginated list of all the roles in a domain.
|
Directory.Roles.Patch |
patch(java.lang.String customer,
java.lang.String roleId,
Role content)
Updates a role.
|
Directory.Roles.Update |
update(java.lang.String customer,
java.lang.String roleId,
Role content)
Updates a role.
|
public Directory.Roles.Delete delete(java.lang.String customer, java.lang.String roleId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customer
- Immutable ID of the G Suite account.roleId
- Immutable ID of the role.java.io.IOException
public Directory.Roles.Get get(java.lang.String customer, java.lang.String roleId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customer
- Immutable ID of the G Suite account.roleId
- Immutable ID of the role.java.io.IOException
public Directory.Roles.Insert insert(java.lang.String customer, Role content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customer
- Immutable ID of the G Suite account.content
- the Role
java.io.IOException
public Directory.Roles.List list(java.lang.String customer) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customer
- Immutable ID of the G Suite account.java.io.IOException
public Directory.Roles.Patch patch(java.lang.String customer, java.lang.String roleId, Role content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customer
- Immutable ID of the G Suite account.roleId
- Immutable ID of the role.content
- the Role
java.io.IOException
public Directory.Roles.Update update(java.lang.String customer, java.lang.String roleId, Role content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customer
- Immutable ID of the G Suite account.roleId
- Immutable ID of the role.content
- the Role
java.io.IOException