public abstract class DirectoryRequest<T>
extends com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
DirectoryRequest(Directory client,
java.lang.String method,
java.lang.String uriTemplate,
java.lang.Object content,
java.lang.Class<T> responseClass) |
Modifier and Type | Method and Description |
---|---|
Directory |
getAbstractGoogleClient() |
java.lang.String |
getAlt()
Data format for the response.
|
java.lang.String |
getFields()
Selector specifying which fields to include in a partial response.
|
java.lang.String |
getKey()
API key.
|
java.lang.String |
getOauthToken()
OAuth 2.0 token for the current user.
|
java.lang.Boolean |
getPrettyPrint()
Returns response with indentations and line breaks.
|
java.lang.String |
getQuotaUser()
An opaque string that represents a user for quota purposes.
|
java.lang.String |
getUserIp()
Deprecated.
|
DirectoryRequest<T> |
set(java.lang.String parameterName,
java.lang.Object value) |
DirectoryRequest<T> |
setAlt(java.lang.String alt)
Data format for the response.
|
DirectoryRequest<T> |
setDisableGZipContent(boolean disableGZipContent) |
DirectoryRequest<T> |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
DirectoryRequest<T> |
setKey(java.lang.String key)
API key.
|
DirectoryRequest<T> |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
DirectoryRequest<T> |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
DirectoryRequest<T> |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
DirectoryRequest<T> |
setRequestHeaders(com.google.api.client.http.HttpHeaders headers) |
DirectoryRequest<T> |
setUserIp(java.lang.String userIp)
Deprecated.
|
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
public DirectoryRequest(Directory client, java.lang.String method, java.lang.String uriTemplate, java.lang.Object content, java.lang.Class<T> responseClass)
client
- Google clientmethod
- HTTP MethoduriTemplate
- URI template for the path relative to the base URL. If it starts with a "/"
the base path from the base URL will be stripped out. The URI template can also be a
full URL. URI template expansion is done using
UriTemplate.expand(String, String, Object, boolean)
content
- A POJO that can be serialized into JSON or null
for noneresponseClass
- response class to parse intopublic java.lang.String getAlt()
public DirectoryRequest<T> setAlt(java.lang.String alt)
public java.lang.String getFields()
public DirectoryRequest<T> setFields(java.lang.String fields)
public java.lang.String getKey()
public DirectoryRequest<T> setKey(java.lang.String key)
public java.lang.String getOauthToken()
public DirectoryRequest<T> setOauthToken(java.lang.String oauthToken)
public java.lang.Boolean getPrettyPrint()
public DirectoryRequest<T> setPrettyPrint(java.lang.Boolean prettyPrint)
public java.lang.String getQuotaUser()
public DirectoryRequest<T> setQuotaUser(java.lang.String quotaUser)
public java.lang.String getUserIp()
public DirectoryRequest<T> setUserIp(java.lang.String userIp)
public final Directory getAbstractGoogleClient()
getAbstractGoogleClient
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
public DirectoryRequest<T> setDisableGZipContent(boolean disableGZipContent)
setDisableGZipContent
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
public DirectoryRequest<T> setRequestHeaders(com.google.api.client.http.HttpHeaders headers)
setRequestHeaders
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
public DirectoryRequest<T> set(java.lang.String parameterName, java.lang.Object value)
set
in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>