public class Directory.Orgunits
extends java.lang.Object
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 |
---|
Orgunits() |
Modifier and Type | Method and Description |
---|---|
Directory.Orgunits.Delete |
delete(java.lang.String customerId,
java.util.List<java.lang.String> orgUnitPath)
Remove organizational unit
Create a request for the method "orgunits.delete".
|
Directory.Orgunits.Get |
get(java.lang.String customerId,
java.util.List<java.lang.String> orgUnitPath)
Retrieve organizational unit
Create a request for the method "orgunits.get".
|
Directory.Orgunits.Insert |
insert(java.lang.String customerId,
OrgUnit content)
Add organizational unit
Create a request for the method "orgunits.insert".
|
Directory.Orgunits.List |
list(java.lang.String customerId)
Retrieve all organizational units
Create a request for the method "orgunits.list".
|
Directory.Orgunits.Patch |
patch(java.lang.String customerId,
java.util.List<java.lang.String> orgUnitPath,
OrgUnit content)
Update organizational unit.
|
Directory.Orgunits.Update |
update(java.lang.String customerId,
java.util.List<java.lang.String> orgUnitPath,
OrgUnit content)
Update organizational unit
Create a request for the method "orgunits.update".
|
public Directory.Orgunits.Delete delete(java.lang.String customerId, java.util.List<java.lang.String> orgUnitPath) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customerId
- Immutable ID of the G Suite accountorgUnitPath
- Full path of the organizational unit or its IDjava.io.IOException
public Directory.Orgunits.Get get(java.lang.String customerId, java.util.List<java.lang.String> orgUnitPath) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customerId
- Immutable ID of the G Suite accountorgUnitPath
- Full path of the organizational unit or its IDjava.io.IOException
public Directory.Orgunits.Insert insert(java.lang.String customerId, OrgUnit content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customerId
- Immutable ID of the G Suite accountcontent
- the OrgUnit
java.io.IOException
public Directory.Orgunits.List list(java.lang.String customerId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customerId
- Immutable ID of the G Suite accountjava.io.IOException
public Directory.Orgunits.Patch patch(java.lang.String customerId, java.util.List<java.lang.String> orgUnitPath, OrgUnit content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customerId
- Immutable ID of the G Suite accountorgUnitPath
- Full path of the organizational unit or its IDcontent
- the OrgUnit
java.io.IOException
public Directory.Orgunits.Update update(java.lang.String customerId, java.util.List<java.lang.String> orgUnitPath, OrgUnit content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customerId
- Immutable ID of the G Suite accountorgUnitPath
- Full path of the organizational unit or its IDcontent
- the OrgUnit
java.io.IOException