Modifier and Type | Class and Description |
---|---|
class |
Directory.RoleAssignments.Delete |
class |
Directory.RoleAssignments.Get |
class |
Directory.RoleAssignments.Insert |
class |
Directory.RoleAssignments.List |
Constructor and Description |
---|
RoleAssignments() |
Modifier and Type | Method and Description |
---|---|
Directory.RoleAssignments.Delete |
delete(String customer,
String roleAssignmentId)
Deletes a role assignment.
|
Directory.RoleAssignments.Get |
get(String customer,
String roleAssignmentId)
Retrieves a role assignment.
|
Directory.RoleAssignments.Insert |
insert(String customer,
RoleAssignment content)
Creates a role assignment.
|
Directory.RoleAssignments.List |
list(String customer)
Retrieves a paginated list of all roleAssignments.
|
public Directory.RoleAssignments.Delete delete(String customer, String roleAssignmentId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customer
- Immutable ID of the Google Workspace account.roleAssignmentId
- Immutable ID of the role assignment.IOException
public Directory.RoleAssignments.Get get(String customer, String roleAssignmentId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customer
- The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to
fetch all groups for a customer, use this field instead of `domain`. You can also use the
`my_customer` alias to represent your account's `customerId`. The `customerId` is also
returned as part of the [Users](/admin-sdk/directory/v1/reference/users) resource. You
must provide either the `customer` or the `domain` parameter.roleAssignmentId
- Immutable ID of the role assignment.IOException
public Directory.RoleAssignments.Insert insert(String customer, RoleAssignment content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customer
- Immutable ID of the Google Workspace account.content
- the RoleAssignment
IOException
public Directory.RoleAssignments.List list(String customer) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customer
- The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to
fetch all groups for a customer, use this field instead of `domain`. You can also use the
`my_customer` alias to represent your account's `customerId`. The `customerId` is also
returned as part of the [Users](/admin-sdk/directory/v1/reference/users) resource. You
must provide either the `customer` or the `domain` parameter.IOException
Copyright © 2011–2023 Google. All rights reserved.