public class Directory.Orgunits.Get extends DirectoryRequest<OrgUnit>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Directory.Orgunits.Get(String customerId,
List<String> orgUnitPath)
Retrieve Organization Unit
Create a request for the method "orgunits.get".
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getCustomerId()
Immutable id of the Google Apps account
|
List<String> |
getOrgUnitPath()
Full path of the organization unit
|
Directory.Orgunits.Get |
set(String parameterName,
Object value) |
Directory.Orgunits.Get |
setAlt(String alt)
Data format for the response.
|
Directory.Orgunits.Get |
setCustomerId(String customerId)
Immutable id of the Google Apps account
|
Directory.Orgunits.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Directory.Orgunits.Get |
setKey(String key)
API key.
|
Directory.Orgunits.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Directory.Orgunits.Get |
setOrgUnitPath(List<String> orgUnitPath)
Full path of the organization unit
|
Directory.Orgunits.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Directory.Orgunits.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Directory.Orgunits.Get |
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, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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.Get(String customerId, List<String> orgUnitPath)
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 accountorgUnitPath - Full path of the organization unitpublic HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<OrgUnit>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<OrgUnit>IOExceptionpublic Directory.Orgunits.Get setAlt(String alt)
DirectoryRequestsetAlt in class DirectoryRequest<OrgUnit>public Directory.Orgunits.Get setFields(String fields)
DirectoryRequestsetFields in class DirectoryRequest<OrgUnit>public Directory.Orgunits.Get setKey(String key)
DirectoryRequestsetKey in class DirectoryRequest<OrgUnit>public Directory.Orgunits.Get setOauthToken(String oauthToken)
DirectoryRequestsetOauthToken in class DirectoryRequest<OrgUnit>public Directory.Orgunits.Get setPrettyPrint(Boolean prettyPrint)
DirectoryRequestsetPrettyPrint in class DirectoryRequest<OrgUnit>public Directory.Orgunits.Get setQuotaUser(String quotaUser)
DirectoryRequestsetQuotaUser in class DirectoryRequest<OrgUnit>public Directory.Orgunits.Get setUserIp(String userIp)
DirectoryRequestsetUserIp in class DirectoryRequest<OrgUnit>public String getCustomerId()
public Directory.Orgunits.Get setCustomerId(String customerId)
public Directory.Orgunits.Get setOrgUnitPath(List<String> orgUnitPath)
public Directory.Orgunits.Get set(String parameterName, Object value)
set in class DirectoryRequest<OrgUnit>