public class Books.Mylibrary.Bookshelves.AddVolume extends BooksRequest<Empty>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
AddVolume(String shelf,
String volumeId)
Adds a volume to a bookshelf.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getReason()
The reason for which the book is added to the library.
|
String |
getShelf()
ID of bookshelf to which to add a volume.
|
String |
getSource()
String to identify the originator of this request.
|
String |
getVolumeId()
ID of volume to add.
|
Books.Mylibrary.Bookshelves.AddVolume |
set(String parameterName,
Object value) |
Books.Mylibrary.Bookshelves.AddVolume |
set$Xgafv(String $Xgafv)
V1 error format.
|
Books.Mylibrary.Bookshelves.AddVolume |
setAccessToken(String accessToken)
OAuth access token.
|
Books.Mylibrary.Bookshelves.AddVolume |
setAlt(String alt)
Data format for response.
|
Books.Mylibrary.Bookshelves.AddVolume |
setCallback(String callback)
JSONP
|
Books.Mylibrary.Bookshelves.AddVolume |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Books.Mylibrary.Bookshelves.AddVolume |
setKey(String key)
API key.
|
Books.Mylibrary.Bookshelves.AddVolume |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Books.Mylibrary.Bookshelves.AddVolume |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Books.Mylibrary.Bookshelves.AddVolume |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Books.Mylibrary.Bookshelves.AddVolume |
setReason(String reason)
The reason for which the book is added to the library.
|
Books.Mylibrary.Bookshelves.AddVolume |
setShelf(String shelf)
ID of bookshelf to which to add a volume.
|
Books.Mylibrary.Bookshelves.AddVolume |
setSource(String source)
String to identify the originator of this request.
|
Books.Mylibrary.Bookshelves.AddVolume |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Books.Mylibrary.Bookshelves.AddVolume |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
Books.Mylibrary.Bookshelves.AddVolume |
setVolumeId(String volumeId)
ID of volume to add.
|
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 AddVolume(String shelf, String volumeId)
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.
shelf - ID of bookshelf to which to add a volume.volumeId - ID of volume to add.public Books.Mylibrary.Bookshelves.AddVolume set$Xgafv(String $Xgafv)
BooksRequestset$Xgafv in class BooksRequest<Empty>public Books.Mylibrary.Bookshelves.AddVolume setAccessToken(String accessToken)
BooksRequestsetAccessToken in class BooksRequest<Empty>public Books.Mylibrary.Bookshelves.AddVolume setAlt(String alt)
BooksRequestsetAlt in class BooksRequest<Empty>public Books.Mylibrary.Bookshelves.AddVolume setCallback(String callback)
BooksRequestsetCallback in class BooksRequest<Empty>public Books.Mylibrary.Bookshelves.AddVolume setFields(String fields)
BooksRequestsetFields in class BooksRequest<Empty>public Books.Mylibrary.Bookshelves.AddVolume setKey(String key)
BooksRequestsetKey in class BooksRequest<Empty>public Books.Mylibrary.Bookshelves.AddVolume setOauthToken(String oauthToken)
BooksRequestsetOauthToken in class BooksRequest<Empty>public Books.Mylibrary.Bookshelves.AddVolume setPrettyPrint(Boolean prettyPrint)
BooksRequestsetPrettyPrint in class BooksRequest<Empty>public Books.Mylibrary.Bookshelves.AddVolume setQuotaUser(String quotaUser)
BooksRequestsetQuotaUser in class BooksRequest<Empty>public Books.Mylibrary.Bookshelves.AddVolume setUploadType(String uploadType)
BooksRequestsetUploadType in class BooksRequest<Empty>public Books.Mylibrary.Bookshelves.AddVolume setUploadProtocol(String uploadProtocol)
BooksRequestsetUploadProtocol in class BooksRequest<Empty>public String getShelf()
public Books.Mylibrary.Bookshelves.AddVolume setShelf(String shelf)
public String getVolumeId()
public Books.Mylibrary.Bookshelves.AddVolume setVolumeId(String volumeId)
public String getReason()
public Books.Mylibrary.Bookshelves.AddVolume setReason(String reason)
public String getSource()
public Books.Mylibrary.Bookshelves.AddVolume setSource(String source)
public Books.Mylibrary.Bookshelves.AddVolume set(String parameterName, Object value)
set in class BooksRequest<Empty>Copyright © 2011–2020 Google. All rights reserved.