| Modifier and Type | Class and Description |
|---|---|
class |
Directory.Orgunits.Delete |
class |
Directory.Orgunits.Get |
class |
Directory.Orgunits.Insert |
class |
Directory.Orgunits.List |
class |
Directory.Orgunits.Patch |
class |
Directory.Orgunits.Update |
| Constructor and Description |
|---|
Directory.Orgunits() |
| Modifier and Type | Method and Description |
|---|---|
Directory.Orgunits.Delete |
delete(String customerId,
List<String> orgUnitPath)
Remove Organization Unit
Create a request for the method "orgunits.delete".
|
Directory.Orgunits.Get |
get(String customerId,
List<String> orgUnitPath)
Retrieve Organization Unit
Create a request for the method "orgunits.get".
|
Directory.Orgunits.Insert |
insert(String customerId,
OrgUnit content)
Add Organization Unit
Create a request for the method "orgunits.insert".
|
Directory.Orgunits.List |
list(String customerId)
Retrieve all Organization Units
Create a request for the method "orgunits.list".
|
Directory.Orgunits.Patch |
patch(String customerId,
List<String> orgUnitPath,
OrgUnit content)
Update Organization Unit.
|
Directory.Orgunits.Update |
update(String customerId,
List<String> orgUnitPath,
OrgUnit content)
Update Organization Unit
Create a request for the method "orgunits.update".
|
public Directory.Orgunits.Delete delete(String customerId, List<String> orgUnitPath) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.customerId - Immutable id of the Google Apps accountorgUnitPath - Full path of the organization unitIOExceptionpublic Directory.Orgunits.Get get(String customerId, List<String> orgUnitPath) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.customerId - Immutable id of the Google Apps accountorgUnitPath - Full path of the organization unitIOExceptionpublic Directory.Orgunits.Insert insert(String customerId, OrgUnit content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.customerId - Immutable id of the Google Apps accountcontent - the OrgUnitIOExceptionpublic Directory.Orgunits.List list(String customerId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.customerId - Immutable id of the Google Apps accountIOExceptionpublic Directory.Orgunits.Patch patch(String customerId, List<String> orgUnitPath, OrgUnit content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.customerId - Immutable id of the Google Apps accountorgUnitPath - Full path of the organization unitcontent - the OrgUnitIOExceptionpublic Directory.Orgunits.Update update(String customerId, List<String> orgUnitPath, OrgUnit content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.customerId - Immutable id of the Google Apps accountorgUnitPath - Full path of the organization unitcontent - the OrgUnitIOException