public class Libraryagent.Shelves.Books.Get extends LibraryagentRequest<GoogleExampleLibraryagentV1Book>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Get(java.lang.String name)
Gets a book.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.String |
getName()
Required.
|
Libraryagent.Shelves.Books.Get |
set(java.lang.String parameterName,
java.lang.Object value) |
Libraryagent.Shelves.Books.Get |
set$Xgafv(java.lang.String $Xgafv)
V1 error format.
|
Libraryagent.Shelves.Books.Get |
setAccessToken(java.lang.String accessToken)
OAuth access token.
|
Libraryagent.Shelves.Books.Get |
setAlt(java.lang.String alt)
Data format for response.
|
Libraryagent.Shelves.Books.Get |
setCallback(java.lang.String callback)
JSONP
|
Libraryagent.Shelves.Books.Get |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Libraryagent.Shelves.Books.Get |
setKey(java.lang.String key)
API key.
|
Libraryagent.Shelves.Books.Get |
setName(java.lang.String name)
Required.
|
Libraryagent.Shelves.Books.Get |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Libraryagent.Shelves.Books.Get |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Libraryagent.Shelves.Books.Get |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Libraryagent.Shelves.Books.Get |
setUploadProtocol(java.lang.String uploadProtocol)
Upload protocol for media (e.g.
|
Libraryagent.Shelves.Books.Get |
setUploadType(java.lang.String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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 Get(java.lang.String name)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
Libraryagent.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
name
- Required. The name of the book to retrieve.public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<GoogleExampleLibraryagentV1Book>
java.io.IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<GoogleExampleLibraryagentV1Book>
java.io.IOException
public Libraryagent.Shelves.Books.Get set$Xgafv(java.lang.String $Xgafv)
LibraryagentRequest
set$Xgafv
in class LibraryagentRequest<GoogleExampleLibraryagentV1Book>
public Libraryagent.Shelves.Books.Get setAccessToken(java.lang.String accessToken)
LibraryagentRequest
setAccessToken
in class LibraryagentRequest<GoogleExampleLibraryagentV1Book>
public Libraryagent.Shelves.Books.Get setAlt(java.lang.String alt)
LibraryagentRequest
setAlt
in class LibraryagentRequest<GoogleExampleLibraryagentV1Book>
public Libraryagent.Shelves.Books.Get setCallback(java.lang.String callback)
LibraryagentRequest
setCallback
in class LibraryagentRequest<GoogleExampleLibraryagentV1Book>
public Libraryagent.Shelves.Books.Get setFields(java.lang.String fields)
LibraryagentRequest
setFields
in class LibraryagentRequest<GoogleExampleLibraryagentV1Book>
public Libraryagent.Shelves.Books.Get setKey(java.lang.String key)
LibraryagentRequest
setKey
in class LibraryagentRequest<GoogleExampleLibraryagentV1Book>
public Libraryagent.Shelves.Books.Get setOauthToken(java.lang.String oauthToken)
LibraryagentRequest
setOauthToken
in class LibraryagentRequest<GoogleExampleLibraryagentV1Book>
public Libraryagent.Shelves.Books.Get setPrettyPrint(java.lang.Boolean prettyPrint)
LibraryagentRequest
setPrettyPrint
in class LibraryagentRequest<GoogleExampleLibraryagentV1Book>
public Libraryagent.Shelves.Books.Get setQuotaUser(java.lang.String quotaUser)
LibraryagentRequest
setQuotaUser
in class LibraryagentRequest<GoogleExampleLibraryagentV1Book>
public Libraryagent.Shelves.Books.Get setUploadType(java.lang.String uploadType)
LibraryagentRequest
setUploadType
in class LibraryagentRequest<GoogleExampleLibraryagentV1Book>
public Libraryagent.Shelves.Books.Get setUploadProtocol(java.lang.String uploadProtocol)
LibraryagentRequest
setUploadProtocol
in class LibraryagentRequest<GoogleExampleLibraryagentV1Book>
public java.lang.String getName()
public Libraryagent.Shelves.Books.Get setName(java.lang.String name)
public Libraryagent.Shelves.Books.Get set(java.lang.String parameterName, java.lang.Object value)
set
in class LibraryagentRequest<GoogleExampleLibraryagentV1Book>