public class Books.Notification.Get extends BooksRequest<Notification>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Get(String notificationId)
Returns notification details for a given notification id.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getLocale()
ISO-639-1 language and ISO-3166-1 country code.
|
String |
getNotificationId()
String to identify the notification.
|
String |
getSource()
String to identify the originator of this request.
|
Books.Notification.Get |
set(String parameterName,
Object value) |
Books.Notification.Get |
setAlt(String alt)
Data format for the response.
|
Books.Notification.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Books.Notification.Get |
setKey(String key)
API key.
|
Books.Notification.Get |
setLocale(String locale)
ISO-639-1 language and ISO-3166-1 country code.
|
Books.Notification.Get |
setNotificationId(String notificationId)
String to identify the notification.
|
Books.Notification.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Books.Notification.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Books.Notification.Get |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Books.Notification.Get |
setSource(String source)
String to identify the originator of this request.
|
Books.Notification.Get |
setUserIp(String userIp)
Deprecated.
|
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, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Get(String notificationId)
AbstractGoogleClientRequest.execute() method to invoke the remote operation. Books.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must be
called to initialize this instance immediately after invoking the constructor.
notificationId - String to identify the notification.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Notification>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Notification>IOExceptionpublic Books.Notification.Get setAlt(String alt)
BooksRequestsetAlt in class BooksRequest<Notification>public Books.Notification.Get setFields(String fields)
BooksRequestsetFields in class BooksRequest<Notification>public Books.Notification.Get setKey(String key)
BooksRequestsetKey in class BooksRequest<Notification>public Books.Notification.Get setOauthToken(String oauthToken)
BooksRequestsetOauthToken in class BooksRequest<Notification>public Books.Notification.Get setPrettyPrint(Boolean prettyPrint)
BooksRequestsetPrettyPrint in class BooksRequest<Notification>public Books.Notification.Get setQuotaUser(String quotaUser)
BooksRequestsetQuotaUser in class BooksRequest<Notification>public Books.Notification.Get setUserIp(String userIp)
BooksRequestsetUserIp in class BooksRequest<Notification>public String getNotificationId()
public Books.Notification.Get setNotificationId(String notificationId)
public String getLocale()
public Books.Notification.Get setLocale(String locale)
public String getSource()
public Books.Notification.Get setSource(String source)
public Books.Notification.Get set(String parameterName, Object value)
set in class BooksRequest<Notification>Copyright © 2011–2019 Google. All rights reserved.