public class Books.Mylibrary.Annotations.Insert extends BooksRequest<Annotation>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Insert(Annotation content)
Inserts a new annotation.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAnnotationId()
The ID for the annotation to insert.
|
String |
getCountry()
ISO-3166-1 code to override the IP-based location.
|
Boolean |
getShowOnlySummaryInResponse()
Requests that only the summary of the specified layer be provided in the response.
|
String |
getSource()
String to identify the originator of this request.
|
Books.Mylibrary.Annotations.Insert |
set(String parameterName,
Object value) |
Books.Mylibrary.Annotations.Insert |
set$Xgafv(String $Xgafv)
V1 error format.
|
Books.Mylibrary.Annotations.Insert |
setAccessToken(String accessToken)
OAuth access token.
|
Books.Mylibrary.Annotations.Insert |
setAlt(String alt)
Data format for response.
|
Books.Mylibrary.Annotations.Insert |
setAnnotationId(String annotationId)
The ID for the annotation to insert.
|
Books.Mylibrary.Annotations.Insert |
setCallback(String callback)
JSONP
|
Books.Mylibrary.Annotations.Insert |
setCountry(String country)
ISO-3166-1 code to override the IP-based location.
|
Books.Mylibrary.Annotations.Insert |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Books.Mylibrary.Annotations.Insert |
setKey(String key)
API key.
|
Books.Mylibrary.Annotations.Insert |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Books.Mylibrary.Annotations.Insert |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Books.Mylibrary.Annotations.Insert |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Books.Mylibrary.Annotations.Insert |
setShowOnlySummaryInResponse(Boolean showOnlySummaryInResponse)
Requests that only the summary of the specified layer be provided in the response.
|
Books.Mylibrary.Annotations.Insert |
setSource(String source)
String to identify the originator of this request.
|
Books.Mylibrary.Annotations.Insert |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Books.Mylibrary.Annotations.Insert |
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 Insert(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.
content - the Annotationpublic Books.Mylibrary.Annotations.Insert set$Xgafv(String $Xgafv)
BooksRequestset$Xgafv in class BooksRequest<Annotation>public Books.Mylibrary.Annotations.Insert setAccessToken(String accessToken)
BooksRequestsetAccessToken in class BooksRequest<Annotation>public Books.Mylibrary.Annotations.Insert setAlt(String alt)
BooksRequestsetAlt in class BooksRequest<Annotation>public Books.Mylibrary.Annotations.Insert setCallback(String callback)
BooksRequestsetCallback in class BooksRequest<Annotation>public Books.Mylibrary.Annotations.Insert setFields(String fields)
BooksRequestsetFields in class BooksRequest<Annotation>public Books.Mylibrary.Annotations.Insert setKey(String key)
BooksRequestsetKey in class BooksRequest<Annotation>public Books.Mylibrary.Annotations.Insert setOauthToken(String oauthToken)
BooksRequestsetOauthToken in class BooksRequest<Annotation>public Books.Mylibrary.Annotations.Insert setPrettyPrint(Boolean prettyPrint)
BooksRequestsetPrettyPrint in class BooksRequest<Annotation>public Books.Mylibrary.Annotations.Insert setQuotaUser(String quotaUser)
BooksRequestsetQuotaUser in class BooksRequest<Annotation>public Books.Mylibrary.Annotations.Insert setUploadType(String uploadType)
BooksRequestsetUploadType in class BooksRequest<Annotation>public Books.Mylibrary.Annotations.Insert setUploadProtocol(String uploadProtocol)
BooksRequestsetUploadProtocol in class BooksRequest<Annotation>public String getAnnotationId()
public Books.Mylibrary.Annotations.Insert setAnnotationId(String annotationId)
public String getCountry()
public Books.Mylibrary.Annotations.Insert setCountry(String country)
public Boolean getShowOnlySummaryInResponse()
public Books.Mylibrary.Annotations.Insert setShowOnlySummaryInResponse(Boolean showOnlySummaryInResponse)
public String getSource()
public Books.Mylibrary.Annotations.Insert setSource(String source)
public Books.Mylibrary.Annotations.Insert set(String parameterName, Object value)
set in class BooksRequest<Annotation>Copyright © 2011–2020 Google. All rights reserved.