public class Books.Mylibrary.Annotations.Insert extends BooksRequest<Annotation>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| 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 |
setAlt(String alt)
Data format for the response.
|
Books.Mylibrary.Annotations.Insert |
setAnnotationId(String annotationId)
The ID for the annotation to insert.
|
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)
An opaque string that represents a user for quota purposes.
|
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 |
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 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 setAlt(String alt)
BooksRequestsetAlt 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 setUserIp(String userIp)
BooksRequestsetUserIp 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–2019 Google. All rights reserved.