public class Books.Mylibrary.Annotations.Update extends BooksRequest<Annotation>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Update(java.lang.String annotationId,
Annotation content)
Updates an existing annotation.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAnnotationId()
The ID for the annotation to update.
|
java.lang.String |
getSource()
String to identify the originator of this request.
|
Books.Mylibrary.Annotations.Update |
set(java.lang.String parameterName,
java.lang.Object value) |
Books.Mylibrary.Annotations.Update |
setAlt(java.lang.String alt)
Data format for the response.
|
Books.Mylibrary.Annotations.Update |
setAnnotationId(java.lang.String annotationId)
The ID for the annotation to update.
|
Books.Mylibrary.Annotations.Update |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Books.Mylibrary.Annotations.Update |
setKey(java.lang.String key)
API key.
|
Books.Mylibrary.Annotations.Update |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Books.Mylibrary.Annotations.Update |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Books.Mylibrary.Annotations.Update |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
Books.Mylibrary.Annotations.Update |
setSource(java.lang.String source)
String to identify the originator of this request.
|
Books.Mylibrary.Annotations.Update |
setUserIp(java.lang.String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected Update(java.lang.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 Annotation
public Books.Mylibrary.Annotations.Update setAlt(java.lang.String alt)
BooksRequest
setAlt
in class BooksRequest<Annotation>
public Books.Mylibrary.Annotations.Update setFields(java.lang.String fields)
BooksRequest
setFields
in class BooksRequest<Annotation>
public Books.Mylibrary.Annotations.Update setKey(java.lang.String key)
BooksRequest
setKey
in class BooksRequest<Annotation>
public Books.Mylibrary.Annotations.Update setOauthToken(java.lang.String oauthToken)
BooksRequest
setOauthToken
in class BooksRequest<Annotation>
public Books.Mylibrary.Annotations.Update setPrettyPrint(java.lang.Boolean prettyPrint)
BooksRequest
setPrettyPrint
in class BooksRequest<Annotation>
public Books.Mylibrary.Annotations.Update setQuotaUser(java.lang.String quotaUser)
BooksRequest
setQuotaUser
in class BooksRequest<Annotation>
public Books.Mylibrary.Annotations.Update setUserIp(java.lang.String userIp)
BooksRequest
setUserIp
in class BooksRequest<Annotation>
public java.lang.String getAnnotationId()
public Books.Mylibrary.Annotations.Update setAnnotationId(java.lang.String annotationId)
public java.lang.String getSource()
public Books.Mylibrary.Annotations.Update setSource(java.lang.String source)
public Books.Mylibrary.Annotations.Update set(java.lang.String parameterName, java.lang.Object value)
set
in class BooksRequest<Annotation>