public class Directory.Notifications.List extends DirectoryRequest<Notifications>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Directory.Notifications.List(String customer)
Retrieves a list of notifications.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getCustomer()
The unique ID for the customer's Google account.
|
String |
getLanguage()
The ISO 639-1 code of the language notifications are returned in.
|
Long |
getMaxResults()
Maximum number of notifications to return per page.
|
String |
getPageToken()
The token to specify the page of results to retrieve.
|
Directory.Notifications.List |
set(String parameterName,
Object value) |
Directory.Notifications.List |
setAlt(String alt)
Data format for the response.
|
Directory.Notifications.List |
setCustomer(String customer)
The unique ID for the customer's Google account.
|
Directory.Notifications.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Directory.Notifications.List |
setKey(String key)
API key.
|
Directory.Notifications.List |
setLanguage(String language)
The ISO 639-1 code of the language notifications are returned in.
|
Directory.Notifications.List |
setMaxResults(Long maxResults)
Maximum number of notifications to return per page.
|
Directory.Notifications.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Directory.Notifications.List |
setPageToken(String pageToken)
The token to specify the page of results to retrieve.
|
Directory.Notifications.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Directory.Notifications.List |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Directory.Notifications.List |
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.Notifications.List(String customer)
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.
customer - The unique ID for the customer's Google account.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<Notifications>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<Notifications>IOExceptionpublic Directory.Notifications.List setAlt(String alt)
DirectoryRequestsetAlt in class DirectoryRequest<Notifications>public Directory.Notifications.List setFields(String fields)
DirectoryRequestsetFields in class DirectoryRequest<Notifications>public Directory.Notifications.List setKey(String key)
DirectoryRequestsetKey in class DirectoryRequest<Notifications>public Directory.Notifications.List setOauthToken(String oauthToken)
DirectoryRequestsetOauthToken in class DirectoryRequest<Notifications>public Directory.Notifications.List setPrettyPrint(Boolean prettyPrint)
DirectoryRequestsetPrettyPrint in class DirectoryRequest<Notifications>public Directory.Notifications.List setQuotaUser(String quotaUser)
DirectoryRequestsetQuotaUser in class DirectoryRequest<Notifications>public Directory.Notifications.List setUserIp(String userIp)
DirectoryRequestsetUserIp in class DirectoryRequest<Notifications>public String getCustomer()
public Directory.Notifications.List setCustomer(String customer)
public String getPageToken()
public Directory.Notifications.List setPageToken(String pageToken)
public Long getMaxResults()
public Directory.Notifications.List setMaxResults(Long maxResults)
public String getLanguage()
public Directory.Notifications.List setLanguage(String language)
public Directory.Notifications.List set(String parameterName, Object value)
set in class DirectoryRequest<Notifications>