public class Books.Volumes.Get extends BooksRequest<Volume>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Get(String volumeId)
Gets volume information for a single volume.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getCountry()
ISO-3166-1 code to override the IP-based location.
|
Boolean |
getIncludeNonComicsSeries()
Set to true to include non-comics series.
|
String |
getPartner()
Brand results for partner ID.
|
String |
getProjection()
Restrict information returned to a set of selected fields.
|
String |
getSource()
String to identify the originator of this request.
|
Boolean |
getUserLibraryConsistentRead() |
String |
getVolumeId()
ID of volume to retrieve.
|
Books.Volumes.Get |
set(String parameterName,
Object value) |
Books.Volumes.Get |
setAlt(String alt)
Data format for the response.
|
Books.Volumes.Get |
setCountry(String country)
ISO-3166-1 code to override the IP-based location.
|
Books.Volumes.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Books.Volumes.Get |
setIncludeNonComicsSeries(Boolean includeNonComicsSeries)
Set to true to include non-comics series.
|
Books.Volumes.Get |
setKey(String key)
API key.
|
Books.Volumes.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Books.Volumes.Get |
setPartner(String partner)
Brand results for partner ID.
|
Books.Volumes.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Books.Volumes.Get |
setProjection(String projection)
Restrict information returned to a set of selected fields.
|
Books.Volumes.Get |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Books.Volumes.Get |
setSource(String source)
String to identify the originator of this request.
|
Books.Volumes.Get |
setUserIp(String userIp)
Deprecated.
|
Books.Volumes.Get |
setUserLibraryConsistentRead(Boolean userLibraryConsistentRead) |
Books.Volumes.Get |
setVolumeId(String volumeId)
ID of volume to retrieve.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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 Get(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.
volumeId - ID of volume to retrieve.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Volume>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Volume>IOExceptionpublic Books.Volumes.Get setAlt(String alt)
BooksRequestsetAlt in class BooksRequest<Volume>public Books.Volumes.Get setFields(String fields)
BooksRequestsetFields in class BooksRequest<Volume>public Books.Volumes.Get setKey(String key)
BooksRequestsetKey in class BooksRequest<Volume>public Books.Volumes.Get setOauthToken(String oauthToken)
BooksRequestsetOauthToken in class BooksRequest<Volume>public Books.Volumes.Get setPrettyPrint(Boolean prettyPrint)
BooksRequestsetPrettyPrint in class BooksRequest<Volume>public Books.Volumes.Get setQuotaUser(String quotaUser)
BooksRequestsetQuotaUser in class BooksRequest<Volume>public Books.Volumes.Get setUserIp(String userIp)
BooksRequestsetUserIp in class BooksRequest<Volume>public String getVolumeId()
public Books.Volumes.Get setVolumeId(String volumeId)
public String getCountry()
public Books.Volumes.Get setCountry(String country)
public Boolean getIncludeNonComicsSeries()
public Books.Volumes.Get setIncludeNonComicsSeries(Boolean includeNonComicsSeries)
public String getPartner()
public Books.Volumes.Get setPartner(String partner)
public String getProjection()
public Books.Volumes.Get setProjection(String projection)
public String getSource()
public Books.Volumes.Get setSource(String source)
public Boolean getUserLibraryConsistentRead()
public Books.Volumes.Get setUserLibraryConsistentRead(Boolean userLibraryConsistentRead)
public Books.Volumes.Get set(String parameterName, Object value)
set in class BooksRequest<Volume>Copyright © 2011–2019 Google. All rights reserved.