public class Directory.Notifications.Get extends DirectoryRequest<Notification>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Directory.Notifications.Get(String customer,
String notificationId)
Retrieves a notification.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getCustomer()
The unique ID for the customer's Google account.
|
String |
getNotificationId()
The unique ID of the notification.
|
Directory.Notifications.Get |
set(String parameterName,
Object value) |
Directory.Notifications.Get |
setAlt(String alt)
Data format for the response.
|
Directory.Notifications.Get |
setCustomer(String customer)
The unique ID for the customer's Google account.
|
Directory.Notifications.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Directory.Notifications.Get |
setKey(String key)
API key.
|
Directory.Notifications.Get |
setNotificationId(String notificationId)
The unique ID of the notification.
|
Directory.Notifications.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Directory.Notifications.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Directory.Notifications.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Directory.Notifications.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.Notifications.Get(String customer, String notificationId)
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. The customerId is also returned as part of the
Users resource.notificationId - The unique ID of the notification.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<Notification>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<Notification>IOExceptionpublic Directory.Notifications.Get setAlt(String alt)
DirectoryRequestsetAlt in class DirectoryRequest<Notification>public Directory.Notifications.Get setFields(String fields)
DirectoryRequestsetFields in class DirectoryRequest<Notification>public Directory.Notifications.Get setKey(String key)
DirectoryRequestsetKey in class DirectoryRequest<Notification>public Directory.Notifications.Get setOauthToken(String oauthToken)
DirectoryRequestsetOauthToken in class DirectoryRequest<Notification>public Directory.Notifications.Get setPrettyPrint(Boolean prettyPrint)
DirectoryRequestsetPrettyPrint in class DirectoryRequest<Notification>public Directory.Notifications.Get setQuotaUser(String quotaUser)
DirectoryRequestsetQuotaUser in class DirectoryRequest<Notification>public Directory.Notifications.Get setUserIp(String userIp)
DirectoryRequestsetUserIp in class DirectoryRequest<Notification>public String getCustomer()
public Directory.Notifications.Get setCustomer(String customer)
public String getNotificationId()
public Directory.Notifications.Get setNotificationId(String notificationId)
public Directory.Notifications.Get set(String parameterName, Object value)
set in class DirectoryRequest<Notification>