public class Books.Myconfig.RequestAccess extends BooksRequest<RequestAccess>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
RequestAccess(String source,
String volumeId,
String nonce,
String cpksver)
Request concurrent and download access restrictions.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCpksver()
The device/version ID from which to request the restrictions.
|
String |
getLicenseTypes()
The type of access license to request.
|
String |
getLocale()
ISO-639-1, ISO-3166-1 codes for message localization, i.e.
|
String |
getNonce()
The client nonce value.
|
String |
getSource()
String to identify the originator of this request.
|
String |
getVolumeId()
The volume to request concurrent/download restrictions for.
|
Books.Myconfig.RequestAccess |
set(String parameterName,
Object value) |
Books.Myconfig.RequestAccess |
setAlt(String alt)
Data format for the response.
|
Books.Myconfig.RequestAccess |
setCpksver(String cpksver)
The device/version ID from which to request the restrictions.
|
Books.Myconfig.RequestAccess |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Books.Myconfig.RequestAccess |
setKey(String key)
API key.
|
Books.Myconfig.RequestAccess |
setLicenseTypes(String licenseTypes)
The type of access license to request.
|
Books.Myconfig.RequestAccess |
setLocale(String locale)
ISO-639-1, ISO-3166-1 codes for message localization, i.e.
|
Books.Myconfig.RequestAccess |
setNonce(String nonce)
The client nonce value.
|
Books.Myconfig.RequestAccess |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Books.Myconfig.RequestAccess |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Books.Myconfig.RequestAccess |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Books.Myconfig.RequestAccess |
setSource(String source)
String to identify the originator of this request.
|
Books.Myconfig.RequestAccess |
setUserIp(String userIp)
Deprecated.
|
Books.Myconfig.RequestAccess |
setVolumeId(String volumeId)
The volume to request concurrent/download restrictions for.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, 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, 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 RequestAccess(String source, String volumeId, String nonce, String cpksver)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
RequestAccess#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientR
equest) must be called to initialize this instance immediately after invoking the constructor.
source - String to identify the originator of this request.volumeId - The volume to request concurrent/download restrictions for.nonce - The client nonce value.cpksver - The device/version ID from which to request the restrictions.public Books.Myconfig.RequestAccess setAlt(String alt)
BooksRequestsetAlt in class BooksRequest<RequestAccess>public Books.Myconfig.RequestAccess setFields(String fields)
BooksRequestsetFields in class BooksRequest<RequestAccess>public Books.Myconfig.RequestAccess setKey(String key)
BooksRequestsetKey in class BooksRequest<RequestAccess>public Books.Myconfig.RequestAccess setOauthToken(String oauthToken)
BooksRequestsetOauthToken in class BooksRequest<RequestAccess>public Books.Myconfig.RequestAccess setPrettyPrint(Boolean prettyPrint)
BooksRequestsetPrettyPrint in class BooksRequest<RequestAccess>public Books.Myconfig.RequestAccess setQuotaUser(String quotaUser)
BooksRequestsetQuotaUser in class BooksRequest<RequestAccess>public Books.Myconfig.RequestAccess setUserIp(String userIp)
BooksRequestsetUserIp in class BooksRequest<RequestAccess>public String getSource()
public Books.Myconfig.RequestAccess setSource(String source)
public String getVolumeId()
public Books.Myconfig.RequestAccess setVolumeId(String volumeId)
public String getNonce()
public Books.Myconfig.RequestAccess setNonce(String nonce)
public String getCpksver()
public Books.Myconfig.RequestAccess setCpksver(String cpksver)
public String getLicenseTypes()
public Books.Myconfig.RequestAccess setLicenseTypes(String licenseTypes)
public String getLocale()
public Books.Myconfig.RequestAccess setLocale(String locale)
public Books.Myconfig.RequestAccess set(String parameterName, Object value)
set in class BooksRequest<RequestAccess>Copyright © 2011–2019 Google. All rights reserved.