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