blob: afe418691d07ee189e20d033a2a9fc61f1362722 [file] [log] [blame]
John Asmuth614db982014-04-24 15:46:26 -04001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="books_v1.html">Books API</a> . <a href="books_v1.myconfig.html">myconfig</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070078 <code><a href="#getUserSettings">getUserSettings(country=None, x__xgafv=None)</a></code></p>
Craig Citroe633be12015-03-02 13:40:36 -080079<p class="firstline">Gets the current settings for the user.</p>
80<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070081 <code><a href="#releaseDownloadAccess">releaseDownloadAccess(volumeIds=None, source=None, cpksver=None, locale=None, x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040082<p class="firstline">Release downloaded content access restriction.</p>
83<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070084 <code><a href="#requestAccess">requestAccess(locale=None, licenseTypes=None, volumeId=None, source=None, cpksver=None, nonce=None, x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040085<p class="firstline">Request concurrent and download access restrictions.</p>
86<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070087 <code><a href="#syncVolumeLicenses">syncVolumeLicenses(showPreorders=None, features=None, locale=None, source=None, nonce=None, volumeIds=None, cpksver=None, includeNonComicsSeries=None, x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040088<p class="firstline">Request downloaded content access for specified volumes on the My eBooks shelf.</p>
Craig Citroe633be12015-03-02 13:40:36 -080089<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070090 <code><a href="#updateUserSettings">updateUserSettings(body=None, x__xgafv=None)</a></code></p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000091<p class="firstline">Sets the settings for the user. If a sub-object is specified, it will overwrite the existing sub-object stored in the server. Unspecified sub-objects will retain the existing value.</p>
John Asmuth614db982014-04-24 15:46:26 -040092<h3>Method Details</h3>
93<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070094 <code class="details" id="getUserSettings">getUserSettings(country=None, x__xgafv=None)</code>
Craig Citroe633be12015-03-02 13:40:36 -080095 <pre>Gets the current settings for the user.
96
97Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -070098 country: string, Unused. Added only to workaround TEX mandatory request template requirement
99 x__xgafv: string, V1 error format.
100 Allowed values
101 1 - v1 error format
102 2 - v2 error format
Craig Citroe633be12015-03-02 13:40:36 -0800103
104Returns:
105 An object of the form:
106
107 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700108 &quot;notesExport&quot;: { # User settings in sub-objects, each for different purposes.
109 &quot;folderName&quot;: &quot;A String&quot;,
110 &quot;isEnabled&quot;: True or False,
Bu Sun Kim65020912020-05-20 12:08:20 -0700111 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700112 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
113 &quot;notification&quot;: {
114 &quot;moreFromAuthors&quot;: {
115 &quot;opted_state&quot;: &quot;A String&quot;,
116 },
117 &quot;rewardExpirations&quot;: {
118 &quot;opted_state&quot;: &quot;A String&quot;,
119 },
120 &quot;priceDrop&quot;: {
121 &quot;opted_state&quot;: &quot;A String&quot;,
122 },
123 &quot;matchMyInterests&quot;: {
124 &quot;opted_state&quot;: &quot;A String&quot;,
125 },
126 &quot;moreFromSeries&quot;: {
127 &quot;opted_state&quot;: &quot;A String&quot;,
128 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700129 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700130 }</pre>
Craig Citroe633be12015-03-02 13:40:36 -0800131</div>
132
133<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700134 <code class="details" id="releaseDownloadAccess">releaseDownloadAccess(volumeIds=None, source=None, cpksver=None, locale=None, x__xgafv=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400135 <pre>Release downloaded content access restriction.
136
137Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700138 volumeIds: string, The volume(s) to release restrictions for. (repeated)
Bu Sun Kim65020912020-05-20 12:08:20 -0700139 source: string, String to identify the originator of this request.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700140 cpksver: string, The device/version ID from which to release the restriction.
141 locale: string, ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
142 x__xgafv: string, V1 error format.
143 Allowed values
144 1 - v1 error format
145 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400146
147Returns:
148 An object of the form:
149
150 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700151 &quot;downloadAccessList&quot;: [ # A list of download access responses.
John Asmuth614db982014-04-24 15:46:26 -0400152 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700153 &quot;justAcquired&quot;: True or False, # If deviceAllowed, whether access was just acquired with this request.
Bu Sun Kim65020912020-05-20 12:08:20 -0700154 &quot;signature&quot;: &quot;A String&quot;, # Response signature.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700155 &quot;reasonCode&quot;: &quot;A String&quot;, # Error/warning reason code. Additional codes may be added in the future. 0 OK 100 ACCESS_DENIED_PUBLISHER_LIMIT 101 ACCESS_DENIED_LIMIT 200 WARNING_USED_LAST_ACCESS
156 &quot;maxDownloadDevices&quot;: 42, # If restricted, the maximum number of content download licenses for this volume.
157 &quot;deviceAllowed&quot;: True or False, # If restricted, whether access is granted for this (user, device, volume).
158 &quot;nonce&quot;: &quot;A String&quot;, # Client nonce for verification. Download access and client-validation only.
159 &quot;message&quot;: &quot;A String&quot;, # Error/warning message.
160 &quot;restricted&quot;: True or False, # Whether this volume has any download access restrictions.
161 &quot;downloadsAcquired&quot;: 42, # If restricted, the number of content download licenses already acquired (including the requesting client, if licensed).
Bu Sun Kim65020912020-05-20 12:08:20 -0700162 &quot;volumeId&quot;: &quot;A String&quot;, # Identifies the volume for which this entry applies.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700163 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
164 &quot;source&quot;: &quot;A String&quot;, # Client app identifier for verification. Download access and client-validation only.
John Asmuth614db982014-04-24 15:46:26 -0400165 },
166 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700167 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
John Asmuth614db982014-04-24 15:46:26 -0400168 }</pre>
169</div>
170
171<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700172 <code class="details" id="requestAccess">requestAccess(locale=None, licenseTypes=None, volumeId=None, source=None, cpksver=None, nonce=None, x__xgafv=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400173 <pre>Request concurrent and download access restrictions.
174
175Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700176 locale: string, ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
John Asmuth614db982014-04-24 15:46:26 -0400177 licenseTypes: string, The type of access license to request. If not specified, the default is BOTH.
178 Allowed values
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700179 LICENSE_TYPES_UNDEFINED -
John Asmuth614db982014-04-24 15:46:26 -0400180 BOTH - Both concurrent and download licenses.
181 CONCURRENT - Concurrent access license.
182 DOWNLOAD - Offline download access license.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700183 volumeId: string, The volume to request concurrent/download restrictions for.
184 source: string, String to identify the originator of this request.
185 cpksver: string, The device/version ID from which to request the restrictions.
186 nonce: string, The client nonce value.
187 x__xgafv: string, V1 error format.
188 Allowed values
189 1 - v1 error format
190 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400191
192Returns:
193 An object of the form:
194
195 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700196 &quot;concurrentAccess&quot;: { # A concurrent access response.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700197 &quot;timeWindowSeconds&quot;: 42, # Time in seconds for license auto-expiration.
198 &quot;restricted&quot;: True or False, # Whether this volume has any concurrent access restrictions.
Bu Sun Kim65020912020-05-20 12:08:20 -0700199 &quot;deviceAllowed&quot;: True or False, # Whether access is granted for this (user, device, volume).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700200 &quot;signature&quot;: &quot;A String&quot;, # Response signature.
201 &quot;volumeId&quot;: &quot;A String&quot;, # Identifies the volume for which this entry applies.
Bu Sun Kim65020912020-05-20 12:08:20 -0700202 &quot;maxConcurrentDevices&quot;: 42, # The maximum number of concurrent access licenses for this volume.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700203 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
204 &quot;source&quot;: &quot;A String&quot;, # Client app identifier for verification. Download access and client-validation only.
205 &quot;reasonCode&quot;: &quot;A String&quot;, # Error/warning reason code.
Bu Sun Kim65020912020-05-20 12:08:20 -0700206 &quot;message&quot;: &quot;A String&quot;, # Error/warning message.
207 &quot;nonce&quot;: &quot;A String&quot;, # Client nonce for verification. Download access and client-validation only.
John Asmuth614db982014-04-24 15:46:26 -0400208 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700209 &quot;downloadAccess&quot;: { # A download access response.
Bu Sun Kim65020912020-05-20 12:08:20 -0700210 &quot;justAcquired&quot;: True or False, # If deviceAllowed, whether access was just acquired with this request.
Bu Sun Kim65020912020-05-20 12:08:20 -0700211 &quot;signature&quot;: &quot;A String&quot;, # Response signature.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700212 &quot;reasonCode&quot;: &quot;A String&quot;, # Error/warning reason code. Additional codes may be added in the future. 0 OK 100 ACCESS_DENIED_PUBLISHER_LIMIT 101 ACCESS_DENIED_LIMIT 200 WARNING_USED_LAST_ACCESS
213 &quot;maxDownloadDevices&quot;: 42, # If restricted, the maximum number of content download licenses for this volume.
214 &quot;deviceAllowed&quot;: True or False, # If restricted, whether access is granted for this (user, device, volume).
215 &quot;nonce&quot;: &quot;A String&quot;, # Client nonce for verification. Download access and client-validation only.
216 &quot;message&quot;: &quot;A String&quot;, # Error/warning message.
217 &quot;restricted&quot;: True or False, # Whether this volume has any download access restrictions.
218 &quot;downloadsAcquired&quot;: 42, # If restricted, the number of content download licenses already acquired (including the requesting client, if licensed).
Bu Sun Kim65020912020-05-20 12:08:20 -0700219 &quot;volumeId&quot;: &quot;A String&quot;, # Identifies the volume for which this entry applies.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700220 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
221 &quot;source&quot;: &quot;A String&quot;, # Client app identifier for verification. Download access and client-validation only.
John Asmuth614db982014-04-24 15:46:26 -0400222 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700223 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
John Asmuth614db982014-04-24 15:46:26 -0400224 }</pre>
225</div>
226
227<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700228 <code class="details" id="syncVolumeLicenses">syncVolumeLicenses(showPreorders=None, features=None, locale=None, source=None, nonce=None, volumeIds=None, cpksver=None, includeNonComicsSeries=None, x__xgafv=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400229 <pre>Request downloaded content access for specified volumes on the My eBooks shelf.
230
231Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700232 showPreorders: boolean, Set to true to show pre-ordered books. Defaults to false.
Bu Sun Kim65020912020-05-20 12:08:20 -0700233 features: string, List of features supported by the client, i.e., &#x27;RENTALS&#x27; (repeated)
John Asmuth614db982014-04-24 15:46:26 -0400234 Allowed values
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700235 FEATURES_UNDEFINED -
John Asmuth614db982014-04-24 15:46:26 -0400236 RENTALS - Client supports rentals.
Bu Sun Kim65020912020-05-20 12:08:20 -0700237 locale: string, ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700238 source: string, String to identify the originator of this request.
239 nonce: string, The client nonce value.
John Asmuth614db982014-04-24 15:46:26 -0400240 volumeIds: string, The volume(s) to request download restrictions for. (repeated)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700241 cpksver: string, The device/version ID from which to release the restriction.
242 includeNonComicsSeries: boolean, Set to true to include non-comics series. Defaults to false.
243 x__xgafv: string, V1 error format.
244 Allowed values
245 1 - v1 error format
246 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400247
248Returns:
249 An object of the form:
250
251 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700252 &quot;totalItems&quot;: 42, # Total number of volumes found. This might be greater than the number of volumes returned in this response if results have been paginated.
253 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
Bu Sun Kim65020912020-05-20 12:08:20 -0700254 &quot;items&quot;: [ # A list of volumes.
John Asmuth614db982014-04-24 15:46:26 -0400255 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700256 &quot;userInfo&quot;: { # User specific information related to this volume. (e.g. page this user last read or whether they purchased this book)
257 &quot;isPurchased&quot;: True or False, # Whether or not this volume was purchased by the authenticated user making the request. (In LITE projection.)
258 &quot;readingPosition&quot;: { # The user&#x27;s current reading position in the volume, if one is available. (In LITE projection.)
259 &quot;gbImagePosition&quot;: &quot;A String&quot;, # Position in a volume for image-based content.
260 &quot;epubCfiPosition&quot;: &quot;A String&quot;, # Position in an EPUB as a CFI.
261 &quot;volumeId&quot;: &quot;A String&quot;, # Volume id associated with this reading position.
262 &quot;gbTextPosition&quot;: &quot;A String&quot;, # Position in a volume for text-based content.
263 &quot;pdfPosition&quot;: &quot;A String&quot;, # Position in a PDF file.
264 &quot;updated&quot;: &quot;A String&quot;, # Timestamp when this reading position was last updated (formatted UTC timestamp with millisecond resolution).
265 &quot;kind&quot;: &quot;A String&quot;, # Resource type for a reading position.
John Asmuth614db982014-04-24 15:46:26 -0400266 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700267 &quot;isFamilySharedToUser&quot;: True or False, # Whether or not the user received this volume through family sharing.
268 &quot;isUploaded&quot;: True or False, # Whether or not this volume was user uploaded.
269 &quot;review&quot;: { # This user&#x27;s review of this volume, if one exists.
270 &quot;volumeId&quot;: &quot;A String&quot;, # Volume that this review is for.
271 &quot;type&quot;: &quot;A String&quot;, # Source type for this review. Possible values are EDITORIAL, WEB_USER or GOOGLE_USER.
272 &quot;date&quot;: &quot;A String&quot;, # Date of this review.
273 &quot;content&quot;: &quot;A String&quot;, # Review text.
274 &quot;author&quot;: { # Author of this review.
275 &quot;displayName&quot;: &quot;A String&quot;, # Name of this person.
John Asmuth614db982014-04-24 15:46:26 -0400276 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700277 &quot;rating&quot;: &quot;A String&quot;, # Star rating for this review. Possible values are ONE, TWO, THREE, FOUR, FIVE or NOT_RATED.
278 &quot;fullTextUrl&quot;: &quot;A String&quot;, # URL for the full review text, for reviews gathered from the web.
279 &quot;source&quot;: { # Information regarding the source of this review, when the review is not from a Google Books user.
280 &quot;url&quot;: &quot;A String&quot;, # URL of the source of the review.
281 &quot;description&quot;: &quot;A String&quot;, # Name of the source.
282 &quot;extraDescription&quot;: &quot;A String&quot;, # Extra text about the source of the review.
283 },
284 &quot;title&quot;: &quot;A String&quot;, # Title for this review.
285 &quot;kind&quot;: &quot;A String&quot;, # Resource type for a review.
286 },
287 &quot;updated&quot;: &quot;A String&quot;, # Timestamp when this volume was last modified by a user action, such as a reading position update, volume purchase or writing a review. (RFC 3339 UTC date-time format).
288 &quot;entitlementType&quot;: 42, # Whether this volume is purchased, sample, pd download etc.
289 &quot;isFamilySharedFromUser&quot;: True or False, # Whether or not the user shared this volume with the family.
290 &quot;userUploadedVolumeInfo&quot;: {
291 &quot;processingState&quot;: &quot;A String&quot;,
292 },
293 &quot;familySharing&quot;: { # Information on the ability to share with the family.
294 &quot;familyRole&quot;: &quot;A String&quot;, # The role of the user in the family.
295 &quot;isSharingDisabledByFop&quot;: True or False, # Whether or not sharing this volume is temporarily disabled due to issues with the Family Wallet.
296 &quot;isSharingAllowed&quot;: True or False, # Whether or not this volume can be shared with the family by the user. This includes sharing eligibility of both the volume and the user. If the value is true, the user can initiate a family sharing action.
297 },
298 &quot;acquisitionType&quot;: 42, # How this volume was acquired.
299 &quot;isFamilySharingDisabledByFop&quot;: True or False, # Deprecated: Replaced by familySharing.
300 &quot;rentalState&quot;: &quot;A String&quot;, # Whether this book is an active or an expired rental.
301 &quot;rentalPeriod&quot;: { # Period during this book is/was a valid rental.
302 &quot;startUtcSec&quot;: &quot;A String&quot;,
303 &quot;endUtcSec&quot;: &quot;A String&quot;,
304 },
305 &quot;isInMyBooks&quot;: True or False, # Whether or not this volume is currently in &quot;my books.&quot;
306 &quot;isPreordered&quot;: True or False, # Whether or not this volume was pre-ordered by the authenticated user making the request. (In LITE projection.)
307 &quot;copy&quot;: { # Copy/Paste accounting information.
308 &quot;limitType&quot;: &quot;A String&quot;,
309 &quot;updated&quot;: &quot;A String&quot;,
310 &quot;remainingCharacterCount&quot;: 42,
311 &quot;allowedCharacterCount&quot;: 42,
312 },
313 &quot;isFamilySharingAllowed&quot;: True or False, # Deprecated: Replaced by familySharing.
314 &quot;acquiredTime&quot;: &quot;A String&quot;, # Timestamp when this volume was acquired by the user. (RFC 3339 UTC date-time format) Acquiring includes purchase, user upload, receiving family sharing, etc.
Bu Sun Kim65020912020-05-20 12:08:20 -0700315 },
316 &quot;recommendedInfo&quot;: { # Recommendation related information for this volume.
317 &quot;explanation&quot;: &quot;A String&quot;, # A text explaining why this volume is recommended.
318 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700319 &quot;searchInfo&quot;: { # Search result information related to this volume.
320 &quot;textSnippet&quot;: &quot;A String&quot;, # A text snippet containing the search query.
321 },
322 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource. (In LITE projection.)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700323 &quot;accessInfo&quot;: { # Any information about a volume related to reading or obtaining that volume text. This information can depend on country (books may be public domain in one country but not in another, e.g.).
324 &quot;textToSpeechPermission&quot;: &quot;A String&quot;, # Whether text-to-speech is permitted for this volume. Values can be ALLOWED, ALLOWED_FOR_ACCESSIBILITY, or NOT_ALLOWED.
325 &quot;viewability&quot;: &quot;A String&quot;, # The read access of a volume. Possible values are PARTIAL, ALL_PAGES, NO_PAGES or UNKNOWN. This value depends on the country listed above. A value of PARTIAL means that the publisher has allowed some portion of the volume to be viewed publicly, without purchase. This can apply to eBooks as well as non-eBooks. Public domain books will always have a value of ALL_PAGES.
326 &quot;quoteSharingAllowed&quot;: True or False, # Whether quote sharing is allowed for this volume.
327 &quot;explicitOfflineLicenseManagement&quot;: True or False, # Whether this volume requires that the client explicitly request offline download license rather than have it done automatically when loading the content, if the client supports it.
328 &quot;pdf&quot;: { # Information about pdf content. (In LITE projection.)
329 &quot;isAvailable&quot;: True or False, # Is a scanned image pdf available either as public domain or for purchase. (In LITE projection.)
330 &quot;downloadLink&quot;: &quot;A String&quot;, # URL to download pdf. (In LITE projection.)
331 &quot;acsTokenLink&quot;: &quot;A String&quot;, # URL to retrieve ACS token for pdf download. (In LITE projection.)
Bu Sun Kim65020912020-05-20 12:08:20 -0700332 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700333 &quot;publicDomain&quot;: True or False, # Whether or not this book is public domain in the country listed above.
334 &quot;driveImportedContentLink&quot;: &quot;A String&quot;, # URL to the Google Drive viewer if this volume is uploaded by the user by selecting the file from Google Drive.
335 &quot;epub&quot;: { # Information about epub content. (In LITE projection.)
336 &quot;downloadLink&quot;: &quot;A String&quot;, # URL to download epub. (In LITE projection.)
337 &quot;acsTokenLink&quot;: &quot;A String&quot;, # URL to retrieve ACS token for epub download. (In LITE projection.)
338 &quot;isAvailable&quot;: True or False, # Is a flowing text epub available either as public domain or for purchase. (In LITE projection.)
Bu Sun Kim65020912020-05-20 12:08:20 -0700339 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700340 &quot;accessViewStatus&quot;: &quot;A String&quot;, # Combines the access and viewability of this volume into a single status field for this user. Values can be FULL_PURCHASED, FULL_PUBLIC_DOMAIN, SAMPLE or NONE. (In LITE projection.)
341 &quot;viewOrderUrl&quot;: &quot;A String&quot;, # For ordered but not yet processed orders, we give a URL that can be used to go to the appropriate Google Wallet page.
342 &quot;downloadAccess&quot;: { # Information about a volume&#x27;s download license access restrictions.
343 &quot;justAcquired&quot;: True or False, # If deviceAllowed, whether access was just acquired with this request.
344 &quot;signature&quot;: &quot;A String&quot;, # Response signature.
345 &quot;reasonCode&quot;: &quot;A String&quot;, # Error/warning reason code. Additional codes may be added in the future. 0 OK 100 ACCESS_DENIED_PUBLISHER_LIMIT 101 ACCESS_DENIED_LIMIT 200 WARNING_USED_LAST_ACCESS
346 &quot;maxDownloadDevices&quot;: 42, # If restricted, the maximum number of content download licenses for this volume.
347 &quot;deviceAllowed&quot;: True or False, # If restricted, whether access is granted for this (user, device, volume).
348 &quot;nonce&quot;: &quot;A String&quot;, # Client nonce for verification. Download access and client-validation only.
349 &quot;message&quot;: &quot;A String&quot;, # Error/warning message.
350 &quot;restricted&quot;: True or False, # Whether this volume has any download access restrictions.
351 &quot;downloadsAcquired&quot;: 42, # If restricted, the number of content download licenses already acquired (including the requesting client, if licensed).
352 &quot;volumeId&quot;: &quot;A String&quot;, # Identifies the volume for which this entry applies.
353 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
354 &quot;source&quot;: &quot;A String&quot;, # Client app identifier for verification. Download access and client-validation only.
Bu Sun Kim65020912020-05-20 12:08:20 -0700355 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700356 &quot;webReaderLink&quot;: &quot;A String&quot;, # URL to read this volume on the Google Books site. Link will not allow users to read non-viewable volumes.
357 &quot;embeddable&quot;: True or False, # Whether this volume can be embedded in a viewport using the Embedded Viewer API.
358 &quot;country&quot;: &quot;A String&quot;, # The two-letter ISO_3166-1 country code for which this access information is valid. (In LITE projection.)
359 },
360 &quot;etag&quot;: &quot;A String&quot;, # Opaque identifier for a specific version of a volume resource. (In LITE projection)
361 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for a volume. (In LITE projection.)
362 &quot;saleInfo&quot;: { # Any information about a volume related to the eBookstore and/or purchaseability. This information can depend on the country where the request originates from (i.e. books may not be for sale in certain countries).
363 &quot;saleability&quot;: &quot;A String&quot;, # Whether or not this book is available for sale or offered for free in the Google eBookstore for the country listed above. Possible values are FOR_SALE, FOR_RENTAL_ONLY, FOR_SALE_AND_RENTAL, FREE, NOT_FOR_SALE, or FOR_PREORDER.
364 &quot;retailPrice&quot;: { # The actual selling price of the book. This is the same as the suggested retail or list price unless there are offers or discounts on this volume. (In LITE projection.)
365 &quot;currencyCode&quot;: &quot;A String&quot;, # An ISO 4217, three-letter currency code. (In LITE projection.)
366 &quot;amount&quot;: 3.14, # Amount in the currency listed below. (In LITE projection.)
Bu Sun Kim65020912020-05-20 12:08:20 -0700367 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700368 &quot;isEbook&quot;: True or False, # Whether or not this volume is an eBook (can be added to the My eBooks shelf).
369 &quot;country&quot;: &quot;A String&quot;, # The two-letter ISO_3166-1 country code for which this sale information is valid. (In LITE projection.)
370 &quot;offers&quot;: [ # Offers available for this volume (sales and rentals).
371 {
372 &quot;rentalDuration&quot;: { # The rental duration (for rental offers only).
373 &quot;count&quot;: 3.14,
374 &quot;unit&quot;: &quot;A String&quot;,
375 },
376 &quot;finskyOfferType&quot;: 42, # The finsky offer type (e.g., PURCHASE=0 RENTAL=3)
377 &quot;listPrice&quot;: { # Offer list (=undiscounted) price in Micros.
378 &quot;currencyCode&quot;: &quot;A String&quot;,
379 &quot;amountInMicros&quot;: 3.14,
380 },
381 &quot;retailPrice&quot;: { # Offer retail (=discounted) price in Micros
382 &quot;currencyCode&quot;: &quot;A String&quot;,
383 &quot;amountInMicros&quot;: 3.14,
384 },
385 &quot;giftable&quot;: True or False, # Indicates whether the offer is giftable.
Bu Sun Kim65020912020-05-20 12:08:20 -0700386 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700387 ],
388 &quot;buyLink&quot;: &quot;A String&quot;, # URL to purchase this volume on the Google Books site. (In LITE projection)
389 &quot;onSaleDate&quot;: &quot;A String&quot;, # The date on which this book is available for sale.
390 &quot;listPrice&quot;: { # Suggested retail price. (In LITE projection.)
391 &quot;currencyCode&quot;: &quot;A String&quot;, # An ISO 4217, three-letter currency code. (In LITE projection.)
392 &quot;amount&quot;: 3.14, # Amount in the currency listed below. (In LITE projection.)
John Asmuth614db982014-04-24 15:46:26 -0400393 },
394 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700395 &quot;kind&quot;: &quot;A String&quot;, # Resource type for a volume. (In LITE projection.)
Bu Sun Kim65020912020-05-20 12:08:20 -0700396 &quot;volumeInfo&quot;: { # General volume information.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700397 &quot;maturityRating&quot;: &quot;A String&quot;,
398 &quot;infoLink&quot;: &quot;A String&quot;, # URL to view information about this volume on the Google Books site. (In LITE projection)
399 &quot;averageRating&quot;: 3.14, # The mean review rating for this volume. (min = 1.0, max = 5.0)
400 &quot;printedPageCount&quot;: 42, # Total number of printed pages in generated pdf representation.
401 &quot;pageCount&quot;: 42, # Total number of pages as per publisher metadata.
402 &quot;imageLinks&quot;: { # A list of image links for all the sizes that are available. (In LITE projection.)
403 &quot;smallThumbnail&quot;: &quot;A String&quot;, # Image link for small thumbnail size (width of ~80 pixels). (In LITE projection)
404 &quot;extraLarge&quot;: &quot;A String&quot;, # Image link for extra large size (width of ~1280 pixels). (In LITE projection)
405 &quot;thumbnail&quot;: &quot;A String&quot;, # Image link for thumbnail size (width of ~128 pixels). (In LITE projection)
406 &quot;large&quot;: &quot;A String&quot;, # Image link for large size (width of ~800 pixels). (In LITE projection)
407 &quot;small&quot;: &quot;A String&quot;, # Image link for small size (width of ~300 pixels). (In LITE projection)
408 &quot;medium&quot;: &quot;A String&quot;, # Image link for medium size (width of ~575 pixels). (In LITE projection)
409 },
410 &quot;title&quot;: &quot;A String&quot;, # Volume title. (In LITE projection.)
411 &quot;subtitle&quot;: &quot;A String&quot;, # Volume subtitle. (In LITE projection.)
412 &quot;seriesInfo&quot;: {
413 &quot;shortSeriesBookTitle&quot;: &quot;A String&quot;, # Short book title in the context of the series.
414 &quot;bookDisplayNumber&quot;: &quot;A String&quot;, # The display number string. This should be used only for display purposes and the actual sequence should be inferred from the below orderNumber.
415 &quot;volumeSeries&quot;: [
416 {
417 &quot;seriesBookType&quot;: &quot;A String&quot;, # The book type in the context of series. Examples - Single Issue, Collection Edition, etc.
418 &quot;orderNumber&quot;: 42, # The book order number in the series.
419 &quot;seriesId&quot;: &quot;A String&quot;, # The series id.
420 &quot;issue&quot;: [ # List of issues. Applicable only for Collection Edition and Omnibus.
421 {
422 &quot;issueOrderNumber&quot;: 42,
423 &quot;issueDisplayNumber&quot;: &quot;A String&quot;,
424 },
425 ],
426 },
427 ],
428 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
429 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700430 &quot;authors&quot;: [ # The names of the authors and/or editors for this volume. (In LITE projection)
431 &quot;A String&quot;,
432 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700433 &quot;language&quot;: &quot;A String&quot;, # Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as &#x27;fr&#x27;, &#x27;en&#x27;, etc.
434 &quot;publisher&quot;: &quot;A String&quot;, # Publisher of this volume. (In LITE projection.)
435 &quot;readingModes&quot;: { # The reading modes available for this volume.
436 &quot;image&quot;: True or False,
437 &quot;text&quot;: True or False,
438 },
439 &quot;publishedDate&quot;: &quot;A String&quot;, # Date of publication. (In LITE projection.)
Bu Sun Kim65020912020-05-20 12:08:20 -0700440 &quot;dimensions&quot;: { # Physical dimensions of this volume.
441 &quot;height&quot;: &quot;A String&quot;, # Height or length of this volume (in cm).
442 &quot;thickness&quot;: &quot;A String&quot;, # Thickness of this volume (in cm).
443 &quot;width&quot;: &quot;A String&quot;, # Width of this volume (in cm).
444 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700445 &quot;samplePageCount&quot;: 42, # Total number of sample pages as per publisher metadata.
446 &quot;comicsContent&quot;: True or False, # Whether the volume has comics content.
Bu Sun Kim65020912020-05-20 12:08:20 -0700447 &quot;panelizationSummary&quot;: { # A top-level summary of the panelization info in this volume.
Bu Sun Kim65020912020-05-20 12:08:20 -0700448 &quot;epubBubbleVersion&quot;: &quot;A String&quot;,
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700449 &quot;containsImageBubbles&quot;: True or False,
450 &quot;containsEpubBubbles&quot;: True or False,
Bu Sun Kim65020912020-05-20 12:08:20 -0700451 &quot;imageBubbleVersion&quot;: &quot;A String&quot;,
452 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700453 &quot;allowAnonLogging&quot;: True or False, # Whether anonymous logging should be allowed.
Bu Sun Kim65020912020-05-20 12:08:20 -0700454 &quot;previewLink&quot;: &quot;A String&quot;, # URL to preview this volume on the Google Books site.
455 &quot;printType&quot;: &quot;A String&quot;, # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700456 &quot;contentVersion&quot;: &quot;A String&quot;, # An identifier for the version of the volume content (text &amp; images). (In LITE projection)
457 &quot;mainCategory&quot;: &quot;A String&quot;, # The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight.
458 &quot;industryIdentifiers&quot;: [ # Industry standard identifiers for this volume.
459 {
460 &quot;type&quot;: &quot;A String&quot;, # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
461 &quot;identifier&quot;: &quot;A String&quot;, # Industry specific volume identifier.
462 },
463 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700464 &quot;ratingsCount&quot;: 42, # The number of review ratings for this volume.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700465 &quot;categories&quot;: [ # A list of subject categories, such as &quot;Fiction&quot;, &quot;Suspense&quot;, etc.
466 &quot;A String&quot;,
467 ],
468 &quot;description&quot;: &quot;A String&quot;, # A synopsis of the volume. The text of the description is formatted in HTML and includes simple formatting elements, such as b, i, and br tags. (In LITE projection.)
469 &quot;canonicalVolumeLink&quot;: &quot;A String&quot;, # Canonical URL for a volume. (In LITE projection.)
470 },
471 &quot;layerInfo&quot;: { # What layers exist in this volume and high level information about them.
472 &quot;layers&quot;: [ # A layer should appear here if and only if the layer exists for this book.
473 {
474 &quot;volumeAnnotationsVersion&quot;: &quot;A String&quot;, # The current version of this layer&#x27;s volume annotations. Note that this version applies only to the data in the books.layers.volumeAnnotations.* responses. The actual annotation data is versioned separately.
475 &quot;layerId&quot;: &quot;A String&quot;, # The layer id of this layer (e.g. &quot;geo&quot;).
476 },
477 ],
John Asmuth614db982014-04-24 15:46:26 -0400478 },
479 },
480 ],
John Asmuth614db982014-04-24 15:46:26 -0400481 }</pre>
482</div>
483
Craig Citroe633be12015-03-02 13:40:36 -0800484<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700485 <code class="details" id="updateUserSettings">updateUserSettings(body=None, x__xgafv=None)</code>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000486 <pre>Sets the settings for the user. If a sub-object is specified, it will overwrite the existing sub-object stored in the server. Unspecified sub-objects will retain the existing value.
Craig Citroe633be12015-03-02 13:40:36 -0800487
488Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700489 body: object, The request body.
Craig Citroe633be12015-03-02 13:40:36 -0800490 The object takes the form of:
491
492{
Bu Sun Kim65020912020-05-20 12:08:20 -0700493 &quot;notesExport&quot;: { # User settings in sub-objects, each for different purposes.
494 &quot;folderName&quot;: &quot;A String&quot;,
495 &quot;isEnabled&quot;: True or False,
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800496 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700497 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
Bu Sun Kim65020912020-05-20 12:08:20 -0700498 &quot;notification&quot;: {
Bu Sun Kim65020912020-05-20 12:08:20 -0700499 &quot;moreFromAuthors&quot;: {
500 &quot;opted_state&quot;: &quot;A String&quot;,
501 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700502 &quot;rewardExpirations&quot;: {
503 &quot;opted_state&quot;: &quot;A String&quot;,
504 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700505 &quot;priceDrop&quot;: {
506 &quot;opted_state&quot;: &quot;A String&quot;,
507 },
508 &quot;matchMyInterests&quot;: {
509 &quot;opted_state&quot;: &quot;A String&quot;,
510 },
511 &quot;moreFromSeries&quot;: {
512 &quot;opted_state&quot;: &quot;A String&quot;,
513 },
Craig Citroe633be12015-03-02 13:40:36 -0800514 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700515 }
516
517 x__xgafv: string, V1 error format.
518 Allowed values
519 1 - v1 error format
520 2 - v2 error format
521
522Returns:
523 An object of the form:
524
525 {
526 &quot;notesExport&quot;: { # User settings in sub-objects, each for different purposes.
527 &quot;folderName&quot;: &quot;A String&quot;,
528 &quot;isEnabled&quot;: True or False,
529 },
530 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
531 &quot;notification&quot;: {
532 &quot;moreFromAuthors&quot;: {
533 &quot;opted_state&quot;: &quot;A String&quot;,
534 },
535 &quot;rewardExpirations&quot;: {
536 &quot;opted_state&quot;: &quot;A String&quot;,
537 },
538 &quot;priceDrop&quot;: {
539 &quot;opted_state&quot;: &quot;A String&quot;,
540 },
541 &quot;matchMyInterests&quot;: {
542 &quot;opted_state&quot;: &quot;A String&quot;,
543 },
544 &quot;moreFromSeries&quot;: {
545 &quot;opted_state&quot;: &quot;A String&quot;,
546 },
547 },
548 }</pre>
Craig Citroe633be12015-03-02 13:40:36 -0800549</div>
550
John Asmuth614db982014-04-24 15:46:26 -0400551</body></html>