target.apidocs.com.google.api.services.directory.Directory.RoleAssignments.html Maven / Gradle / Ivy
Directory.RoleAssignments (Admin SDK API directory_v1-rev20220606-1.32.1)
com.google.api.services.directory
Class Directory.RoleAssignments
- java.lang.Object
-
- com.google.api.services.directory.Directory.RoleAssignments
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Directory.RoleAssignments.Delete
class
Directory.RoleAssignments.Get
class
Directory.RoleAssignments.Insert
class
Directory.RoleAssignments.List
-
Constructor Summary
Constructors
Constructor and Description
RoleAssignments()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
-
Method Detail
-
delete
public Directory.RoleAssignments.Delete delete(String customer,
String roleAssignmentId)
throws IOException
Deletes a role assignment.
Create a request for the method "roleAssignments.delete".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
customer
- Immutable ID of the Google Workspace account.
roleAssignmentId
- Immutable ID of the role assignment.
- Returns:
- the request
- Throws:
IOException
-
get
public Directory.RoleAssignments.Get get(String customer,
String roleAssignmentId)
throws IOException
Retrieves a role assignment.
Create a request for the method "roleAssignments.get".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
customer
- Immutable ID of the Google Workspace account.
roleAssignmentId
- Immutable ID of the role assignment.
- Returns:
- the request
- Throws:
IOException
-
insert
public Directory.RoleAssignments.Insert insert(String customer,
RoleAssignment content)
throws IOException
Creates a role assignment.
Create a request for the method "roleAssignments.insert".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
customer
- Immutable ID of the Google Workspace account.
content
- the RoleAssignment
- Returns:
- the request
- Throws:
IOException
-
list
public Directory.RoleAssignments.List list(String customer)
throws IOException
Retrieves a paginated list of all roleAssignments.
Create a request for the method "roleAssignments.list".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
customer
- Immutable ID of the Google Workspace account.
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2022 Google. All rights reserved.