public class Books.Bookshelves.List extends BooksRequest<Bookshelves>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
List(String userId)
Retrieves a list of public bookshelves for the specified user.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getSource()
String to identify the originator of this request.
|
String |
getUserId()
ID of user for whom to retrieve bookshelves.
|
Books.Bookshelves.List |
set(String parameterName,
Object value) |
Books.Bookshelves.List |
setAlt(String alt)
Data format for the response.
|
Books.Bookshelves.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Books.Bookshelves.List |
setKey(String key)
API key.
|
Books.Bookshelves.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Books.Bookshelves.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Books.Bookshelves.List |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Books.Bookshelves.List |
setSource(String source)
String to identify the originator of this request.
|
Books.Bookshelves.List |
setUserId(String userId)
ID of user for whom to retrieve bookshelves.
|
Books.Bookshelves.List |
setUserIp(String userIp)
Deprecated.
|
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 List(String userId)
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.
userId - ID of user for whom to retrieve bookshelves.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Bookshelves>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Bookshelves>IOExceptionpublic Books.Bookshelves.List setAlt(String alt)
BooksRequestsetAlt in class BooksRequest<Bookshelves>public Books.Bookshelves.List setFields(String fields)
BooksRequestsetFields in class BooksRequest<Bookshelves>public Books.Bookshelves.List setKey(String key)
BooksRequestsetKey in class BooksRequest<Bookshelves>public Books.Bookshelves.List setOauthToken(String oauthToken)
BooksRequestsetOauthToken in class BooksRequest<Bookshelves>public Books.Bookshelves.List setPrettyPrint(Boolean prettyPrint)
BooksRequestsetPrettyPrint in class BooksRequest<Bookshelves>public Books.Bookshelves.List setQuotaUser(String quotaUser)
BooksRequestsetQuotaUser in class BooksRequest<Bookshelves>public Books.Bookshelves.List setUserIp(String userIp)
BooksRequestsetUserIp in class BooksRequest<Bookshelves>public String getUserId()
public Books.Bookshelves.List setUserId(String userId)
public String getSource()
public Books.Bookshelves.List setSource(String source)
public Books.Bookshelves.List set(String parameterName, Object value)
set in class BooksRequest<Bookshelves>Copyright © 2011–2019 Google. All rights reserved.