public class Directory.Orgunits.Insert extends DirectoryRequest<OrgUnit>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Directory.Orgunits.Insert(String customerId,
OrgUnit content)
Add Organization Unit
Create a request for the method "orgunits.insert".
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCustomerId()
Immutable id of the Google Apps account
|
Directory.Orgunits.Insert |
set(String parameterName,
Object value) |
Directory.Orgunits.Insert |
setAlt(String alt)
Data format for the response.
|
Directory.Orgunits.Insert |
setCustomerId(String customerId)
Immutable id of the Google Apps account
|
Directory.Orgunits.Insert |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Directory.Orgunits.Insert |
setKey(String key)
API key.
|
Directory.Orgunits.Insert |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Directory.Orgunits.Insert |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Directory.Orgunits.Insert |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Directory.Orgunits.Insert |
setUserIp(String userIp)
IP address of the site where the request originates.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesprotected Directory.Orgunits.Insert(String customerId, OrgUnit content)
AbstractGoogleClientRequest.execute() method to invoke the remote operation. Directory.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must
be called to initialize this instance immediately after invoking the constructor.
customerId - Immutable id of the Google Apps accountcontent - the OrgUnitpublic Directory.Orgunits.Insert setAlt(String alt)
DirectoryRequestsetAlt in class DirectoryRequest<OrgUnit>public Directory.Orgunits.Insert setFields(String fields)
DirectoryRequestsetFields in class DirectoryRequest<OrgUnit>public Directory.Orgunits.Insert setKey(String key)
DirectoryRequestsetKey in class DirectoryRequest<OrgUnit>public Directory.Orgunits.Insert setOauthToken(String oauthToken)
DirectoryRequestsetOauthToken in class DirectoryRequest<OrgUnit>public Directory.Orgunits.Insert setPrettyPrint(Boolean prettyPrint)
DirectoryRequestsetPrettyPrint in class DirectoryRequest<OrgUnit>public Directory.Orgunits.Insert setQuotaUser(String quotaUser)
DirectoryRequestsetQuotaUser in class DirectoryRequest<OrgUnit>public Directory.Orgunits.Insert setUserIp(String userIp)
DirectoryRequestsetUserIp in class DirectoryRequest<OrgUnit>public String getCustomerId()
public Directory.Orgunits.Insert setCustomerId(String customerId)
public Directory.Orgunits.Insert set(String parameterName, Object value)
set in class DirectoryRequest<OrgUnit>