public class Books.Mylibrary.Annotations.Update extends BooksRequest<Annotation>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| 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 |
set$Xgafv(String $Xgafv)
V1 error format.
|
Books.Mylibrary.Annotations.Update |
setAccessToken(String accessToken)
OAuth access token.
|
Books.Mylibrary.Annotations.Update |
setAlt(String alt)
Data format for response.
|
Books.Mylibrary.Annotations.Update |
setAnnotationId(String annotationId)
The ID for the annotation to update.
|
Books.Mylibrary.Annotations.Update |
setCallback(String callback)
JSONP
|
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)
Available to use for quota purposes for server-side applications.
|
Books.Mylibrary.Annotations.Update |
setSource(String source)
String to identify the originator of this request.
|
Books.Mylibrary.Annotations.Update |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Books.Mylibrary.Annotations.Update |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, 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, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, 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 set$Xgafv(String $Xgafv)
BooksRequestset$Xgafv in class BooksRequest<Annotation>public Books.Mylibrary.Annotations.Update setAccessToken(String accessToken)
BooksRequestsetAccessToken in class BooksRequest<Annotation>public Books.Mylibrary.Annotations.Update setAlt(String alt)
BooksRequestsetAlt in class BooksRequest<Annotation>public Books.Mylibrary.Annotations.Update setCallback(String callback)
BooksRequestsetCallback 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 setUploadType(String uploadType)
BooksRequestsetUploadType in class BooksRequest<Annotation>public Books.Mylibrary.Annotations.Update setUploadProtocol(String uploadProtocol)
BooksRequestsetUploadProtocol 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–2020 Google. All rights reserved.