public class Books.Mylibrary.Annotations.Update extends BooksRequest<Annotation>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Update(String annotationId,
Annotation content)
Updates an existing annotation.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAnnotationId()
The ID for the annotation to update.
|
String |
getSource()
String to identify the originator of this request.
|
Books.Mylibrary.Annotations.Update |
set(String parameterName,
Object value) |
Books.Mylibrary.Annotations.Update |
setAlt(String alt)
Data format for the response.
|
Books.Mylibrary.Annotations.Update |
setAnnotationId(String annotationId)
The ID for the annotation to update.
|
Books.Mylibrary.Annotations.Update |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Books.Mylibrary.Annotations.Update |
setKey(String key)
API key.
|
Books.Mylibrary.Annotations.Update |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Books.Mylibrary.Annotations.Update |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Books.Mylibrary.Annotations.Update |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Books.Mylibrary.Annotations.Update |
setSource(String source)
String to identify the originator of this request.
|
Books.Mylibrary.Annotations.Update |
setUserIp(String userIp)
Deprecated.
|
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, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Update(String annotationId, Annotation content)
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.
annotationId - The ID for the annotation to update.content - the Annotationpublic Books.Mylibrary.Annotations.Update setAlt(String alt)
BooksRequestsetAlt in class BooksRequest<Annotation>public Books.Mylibrary.Annotations.Update setFields(String fields)
BooksRequestsetFields in class BooksRequest<Annotation>public Books.Mylibrary.Annotations.Update setKey(String key)
BooksRequestsetKey in class BooksRequest<Annotation>public Books.Mylibrary.Annotations.Update setOauthToken(String oauthToken)
BooksRequestsetOauthToken in class BooksRequest<Annotation>public Books.Mylibrary.Annotations.Update setPrettyPrint(Boolean prettyPrint)
BooksRequestsetPrettyPrint in class BooksRequest<Annotation>public Books.Mylibrary.Annotations.Update setQuotaUser(String quotaUser)
BooksRequestsetQuotaUser in class BooksRequest<Annotation>public Books.Mylibrary.Annotations.Update setUserIp(String userIp)
BooksRequestsetUserIp in class BooksRequest<Annotation>public String getAnnotationId()
public Books.Mylibrary.Annotations.Update setAnnotationId(String annotationId)
public String getSource()
public Books.Mylibrary.Annotations.Update setSource(String source)
public Books.Mylibrary.Annotations.Update set(String parameterName, Object value)
set in class BooksRequest<Annotation>Copyright © 2011–2019 Google. All rights reserved.