blob: a591ff99c331cb9c356154c31cd308840e6d4bdb [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">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070081 <code><a href="#getUserSettings">getUserSettings(country=None, x__xgafv=None)</a></code></p>
Craig Citroe633be12015-03-02 13:40:36 -080082<p class="firstline">Gets the current settings for the user.</p>
83<p class="toc_element">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070084 <code><a href="#releaseDownloadAccess">releaseDownloadAccess(cpksver, volumeIds, source=None, locale=None, x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040085<p class="firstline">Release downloaded content access restriction.</p>
86<p class="toc_element">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070087 <code><a href="#requestAccess">requestAccess(cpksver, nonce, source, volumeId, locale=None, licenseTypes=None, x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040088<p class="firstline">Request concurrent and download access restrictions.</p>
89<p class="toc_element">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070090 <code><a href="#syncVolumeLicenses">syncVolumeLicenses(cpksver, nonce, source, showPreorders=None, features=None, volumeIds=None, locale=None, includeNonComicsSeries=None, x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040091<p class="firstline">Request downloaded content access for specified volumes on the My eBooks shelf.</p>
Craig Citroe633be12015-03-02 13:40:36 -080092<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070093 <code><a href="#updateUserSettings">updateUserSettings(body=None, x__xgafv=None)</a></code></p>
Nathaniel Manista4f877e52015-06-15 16:44:50 +000094<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 -040095<h3>Method Details</h3>
96<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070097 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99</div>
100
101<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700102 <code class="details" id="getUserSettings">getUserSettings(country=None, x__xgafv=None)</code>
Craig Citroe633be12015-03-02 13:40:36 -0800103 <pre>Gets the current settings for the user.
104
105Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700106 country: string, Unused. Added only to workaround TEX mandatory request template requirement
107 x__xgafv: string, V1 error format.
108 Allowed values
109 1 - v1 error format
110 2 - v2 error format
Craig Citroe633be12015-03-02 13:40:36 -0800111
112Returns:
113 An object of the form:
114
115 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700116 &quot;notesExport&quot;: { # User settings in sub-objects, each for different purposes.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700117 &quot;isEnabled&quot;: True or False,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700118 &quot;folderName&quot;: &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700119 },
120 &quot;notification&quot;: {
121 &quot;matchMyInterests&quot;: {
122 &quot;opted_state&quot;: &quot;A String&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700123 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700124 &quot;priceDrop&quot;: {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700125 &quot;opted_state&quot;: &quot;A String&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700126 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700127 &quot;moreFromSeries&quot;: {
128 &quot;opted_state&quot;: &quot;A String&quot;,
129 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700130 &quot;rewardExpirations&quot;: {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700131 &quot;opted_state&quot;: &quot;A String&quot;,
132 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700133 &quot;moreFromAuthors&quot;: {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700134 &quot;opted_state&quot;: &quot;A String&quot;,
135 },
136 },
137 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
138 }</pre>
Craig Citroe633be12015-03-02 13:40:36 -0800139</div>
140
141<div class="method">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700142 <code class="details" id="releaseDownloadAccess">releaseDownloadAccess(cpksver, volumeIds, source=None, locale=None, x__xgafv=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400143 <pre>Release downloaded content access restriction.
144
145Args:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700146 cpksver: string, The device/version ID from which to release the restriction. (required)
147 volumeIds: string, The volume(s) to release restrictions for. (required) (repeated)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700148 source: string, String to identify the originator of this request.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700149 locale: string, ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700150 x__xgafv: string, V1 error format.
151 Allowed values
152 1 - v1 error format
153 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400154
155Returns:
156 An object of the form:
157
158 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700159 &quot;downloadAccessList&quot;: [ # A list of download access responses.
John Asmuth614db982014-04-24 15:46:26 -0400160 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700161 &quot;nonce&quot;: &quot;A String&quot;, # Client nonce for verification. Download access and client-validation only.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700162 &quot;maxDownloadDevices&quot;: 42, # If restricted, the maximum number of content download licenses for this volume.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700163 &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
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700164 &quot;source&quot;: &quot;A String&quot;, # Client app identifier for verification. Download access and client-validation only.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700165 &quot;message&quot;: &quot;A String&quot;, # Error/warning message.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700166 &quot;restricted&quot;: True or False, # Whether this volume has any download access restrictions.
167 &quot;signature&quot;: &quot;A String&quot;, # Response signature.
168 &quot;downloadsAcquired&quot;: 42, # If restricted, the number of content download licenses already acquired (including the requesting client, if licensed).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700169 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700170 &quot;deviceAllowed&quot;: True or False, # If restricted, whether access is granted for this (user, device, volume).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700171 &quot;justAcquired&quot;: True or False, # If deviceAllowed, whether access was just acquired with this request.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700172 &quot;volumeId&quot;: &quot;A String&quot;, # Identifies the volume for which this entry applies.
John Asmuth614db982014-04-24 15:46:26 -0400173 },
174 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700175 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
John Asmuth614db982014-04-24 15:46:26 -0400176 }</pre>
177</div>
178
179<div class="method">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700180 <code class="details" id="requestAccess">requestAccess(cpksver, nonce, source, volumeId, locale=None, licenseTypes=None, x__xgafv=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400181 <pre>Request concurrent and download access restrictions.
182
183Args:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700184 cpksver: string, The device/version ID from which to request the restrictions. (required)
185 nonce: string, The client nonce value. (required)
186 source: string, String to identify the originator of this request. (required)
187 volumeId: string, The volume to request concurrent/download restrictions for. (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700188 locale: string, ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
John Asmuth614db982014-04-24 15:46:26 -0400189 licenseTypes: string, The type of access license to request. If not specified, the default is BOTH.
190 Allowed values
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700191 LICENSE_TYPES_UNDEFINED -
John Asmuth614db982014-04-24 15:46:26 -0400192 BOTH - Both concurrent and download licenses.
193 CONCURRENT - Concurrent access license.
194 DOWNLOAD - Offline download access license.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700195 x__xgafv: string, V1 error format.
196 Allowed values
197 1 - v1 error format
198 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400199
200Returns:
201 An object of the form:
202
203 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700204 &quot;concurrentAccess&quot;: { # A concurrent access response.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700205 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
206 &quot;maxConcurrentDevices&quot;: 42, # The maximum number of concurrent access licenses for this volume.
Bu Sun Kim65020912020-05-20 12:08:20 -0700207 &quot;nonce&quot;: &quot;A String&quot;, # Client nonce for verification. Download access and client-validation only.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700208 &quot;deviceAllowed&quot;: True or False, # Whether access is granted for this (user, device, volume).
209 &quot;reasonCode&quot;: &quot;A String&quot;, # Error/warning reason code.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700210 &quot;message&quot;: &quot;A String&quot;, # Error/warning message.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700211 &quot;source&quot;: &quot;A String&quot;, # Client app identifier for verification. Download access and client-validation only.
212 &quot;signature&quot;: &quot;A String&quot;, # Response signature.
213 &quot;timeWindowSeconds&quot;: 42, # Time in seconds for license auto-expiration.
214 &quot;volumeId&quot;: &quot;A String&quot;, # Identifies the volume for which this entry applies.
215 &quot;restricted&quot;: True or False, # Whether this volume has any concurrent access restrictions.
John Asmuth614db982014-04-24 15:46:26 -0400216 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700217 &quot;downloadAccess&quot;: { # A download access response.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700218 &quot;nonce&quot;: &quot;A String&quot;, # Client nonce for verification. Download access and client-validation only.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700219 &quot;maxDownloadDevices&quot;: 42, # If restricted, the maximum number of content download licenses for this volume.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700220 &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
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700221 &quot;source&quot;: &quot;A String&quot;, # Client app identifier for verification. Download access and client-validation only.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700222 &quot;message&quot;: &quot;A String&quot;, # Error/warning message.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700223 &quot;restricted&quot;: True or False, # Whether this volume has any download access restrictions.
224 &quot;signature&quot;: &quot;A String&quot;, # Response signature.
225 &quot;downloadsAcquired&quot;: 42, # If restricted, the number of content download licenses already acquired (including the requesting client, if licensed).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700226 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700227 &quot;deviceAllowed&quot;: True or False, # If restricted, whether access is granted for this (user, device, volume).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700228 &quot;justAcquired&quot;: True or False, # If deviceAllowed, whether access was just acquired with this request.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700229 &quot;volumeId&quot;: &quot;A String&quot;, # Identifies the volume for which this entry applies.
John Asmuth614db982014-04-24 15:46:26 -0400230 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700231 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
John Asmuth614db982014-04-24 15:46:26 -0400232 }</pre>
233</div>
234
235<div class="method">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700236 <code class="details" id="syncVolumeLicenses">syncVolumeLicenses(cpksver, nonce, source, showPreorders=None, features=None, volumeIds=None, locale=None, includeNonComicsSeries=None, x__xgafv=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400237 <pre>Request downloaded content access for specified volumes on the My eBooks shelf.
238
239Args:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700240 cpksver: string, The device/version ID from which to release the restriction. (required)
241 nonce: string, The client nonce value. (required)
242 source: string, String to identify the originator of this request. (required)
243 showPreorders: boolean, Set to true to show pre-ordered books. Defaults to false.
Bu Sun Kim65020912020-05-20 12:08:20 -0700244 features: string, List of features supported by the client, i.e., &#x27;RENTALS&#x27; (repeated)
John Asmuth614db982014-04-24 15:46:26 -0400245 Allowed values
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700246 FEATURES_UNDEFINED -
John Asmuth614db982014-04-24 15:46:26 -0400247 RENTALS - Client supports rentals.
John Asmuth614db982014-04-24 15:46:26 -0400248 volumeIds: string, The volume(s) to request download restrictions for. (repeated)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700249 locale: string, ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
250 includeNonComicsSeries: boolean, Set to true to include non-comics series. Defaults to false.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700251 x__xgafv: string, V1 error format.
252 Allowed values
253 1 - v1 error format
254 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400255
256Returns:
257 An object of the form:
258
259 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700260 &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.
261 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
Bu Sun Kim65020912020-05-20 12:08:20 -0700262 &quot;items&quot;: [ # A list of volumes.
John Asmuth614db982014-04-24 15:46:26 -0400263 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700264 &quot;layerInfo&quot;: { # What layers exist in this volume and high level information about them.
265 &quot;layers&quot;: [ # A layer should appear here if and only if the layer exists for this book.
266 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700267 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700268 &quot;layerId&quot;: &quot;A String&quot;, # The layer id of this layer (e.g. &quot;geo&quot;).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700269 },
270 ],
John Asmuth614db982014-04-24 15:46:26 -0400271 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700272 &quot;recommendedInfo&quot;: { # Recommendation related information for this volume.
273 &quot;explanation&quot;: &quot;A String&quot;, # A text explaining why this volume is recommended.
274 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700275 &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).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700276 &quot;offers&quot;: [ # Offers available for this volume (sales and rentals).
277 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700278 &quot;listPrice&quot;: { # Offer list (=undiscounted) price in Micros.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700279 &quot;currencyCode&quot;: &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700280 &quot;amountInMicros&quot;: 3.14,
281 },
282 &quot;rentalDuration&quot;: { # The rental duration (for rental offers only).
283 &quot;unit&quot;: &quot;A String&quot;,
284 &quot;count&quot;: 3.14,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700285 },
286 &quot;retailPrice&quot;: { # Offer retail (=discounted) price in Micros
287 &quot;currencyCode&quot;: &quot;A String&quot;,
288 &quot;amountInMicros&quot;: 3.14,
289 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700290 &quot;finskyOfferType&quot;: 42, # The finsky offer type (e.g., PURCHASE=0 RENTAL=3)
291 &quot;giftable&quot;: True or False, # Indicates whether the offer is giftable.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700292 },
293 ],
294 &quot;listPrice&quot;: { # Suggested retail price. (In LITE projection.)
295 &quot;amount&quot;: 3.14, # Amount in the currency listed below. (In LITE projection.)
296 &quot;currencyCode&quot;: &quot;A String&quot;, # An ISO 4217, three-letter currency code. (In LITE projection.)
297 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700298 &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.)
299 &quot;amount&quot;: 3.14, # Amount in the currency listed below. (In LITE projection.)
300 &quot;currencyCode&quot;: &quot;A String&quot;, # An ISO 4217, three-letter currency code. (In LITE projection.)
301 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700302 &quot;buyLink&quot;: &quot;A String&quot;, # URL to purchase this volume on the Google Books site. (In LITE projection)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700303 &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.)
304 &quot;onSaleDate&quot;: &quot;A String&quot;, # The date on which this book is available for sale.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700305 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700306 &quot;isEbook&quot;: True or False, # Whether or not this volume is an eBook (can be added to the My eBooks shelf).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700307 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700308 &quot;etag&quot;: &quot;A String&quot;, # Opaque identifier for a specific version of a volume resource. (In LITE projection)
309 &quot;userInfo&quot;: { # User specific information related to this volume. (e.g. page this user last read or whether they purchased this book)
310 &quot;readingPosition&quot;: { # The user&#x27;s current reading position in the volume, if one is available. (In LITE projection.)
311 &quot;updated&quot;: &quot;A String&quot;, # Timestamp when this reading position was last updated (formatted UTC timestamp with millisecond resolution).
312 &quot;gbTextPosition&quot;: &quot;A String&quot;, # Position in a volume for text-based content.
313 &quot;volumeId&quot;: &quot;A String&quot;, # Volume id associated with this reading position.
314 &quot;gbImagePosition&quot;: &quot;A String&quot;, # Position in a volume for image-based content.
315 &quot;pdfPosition&quot;: &quot;A String&quot;, # Position in a PDF file.
316 &quot;epubCfiPosition&quot;: &quot;A String&quot;, # Position in an EPUB as a CFI.
317 &quot;kind&quot;: &quot;A String&quot;, # Resource type for a reading position.
318 },
319 &quot;isFamilySharingAllowed&quot;: True or False, # Deprecated: Replaced by familySharing.
320 &quot;isFamilySharedToUser&quot;: True or False, # Whether or not the user received this volume through family sharing.
321 &quot;isUploaded&quot;: True or False, # Whether or not this volume was user uploaded.
322 &quot;isPreordered&quot;: True or False, # Whether or not this volume was pre-ordered by the authenticated user making the request. (In LITE projection.)
323 &quot;isFamilySharedFromUser&quot;: True or False, # Whether or not the user shared this volume with the family.
324 &quot;entitlementType&quot;: 42, # Whether this volume is purchased, sample, pd download etc.
325 &quot;acquisitionType&quot;: 42, # How this volume was acquired.
326 &quot;review&quot;: { # This user&#x27;s review of this volume, if one exists.
327 &quot;volumeId&quot;: &quot;A String&quot;, # Volume that this review is for.
328 &quot;date&quot;: &quot;A String&quot;, # Date of this review.
329 &quot;title&quot;: &quot;A String&quot;, # Title for this review.
330 &quot;type&quot;: &quot;A String&quot;, # Source type for this review. Possible values are EDITORIAL, WEB_USER or GOOGLE_USER.
331 &quot;fullTextUrl&quot;: &quot;A String&quot;, # URL for the full review text, for reviews gathered from the web.
332 &quot;author&quot;: { # Author of this review.
333 &quot;displayName&quot;: &quot;A String&quot;, # Name of this person.
334 },
335 &quot;source&quot;: { # Information regarding the source of this review, when the review is not from a Google Books user.
336 &quot;url&quot;: &quot;A String&quot;, # URL of the source of the review.
337 &quot;extraDescription&quot;: &quot;A String&quot;, # Extra text about the source of the review.
338 &quot;description&quot;: &quot;A String&quot;, # Name of the source.
339 },
340 &quot;kind&quot;: &quot;A String&quot;, # Resource type for a review.
341 &quot;rating&quot;: &quot;A String&quot;, # Star rating for this review. Possible values are ONE, TWO, THREE, FOUR, FIVE or NOT_RATED.
342 &quot;content&quot;: &quot;A String&quot;, # Review text.
343 },
344 &quot;copy&quot;: { # Copy/Paste accounting information.
345 &quot;updated&quot;: &quot;A String&quot;,
346 &quot;allowedCharacterCount&quot;: 42,
347 &quot;limitType&quot;: &quot;A String&quot;,
348 &quot;remainingCharacterCount&quot;: 42,
349 },
350 &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).
351 &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.
352 &quot;rentalPeriod&quot;: { # Period during this book is/was a valid rental.
353 &quot;startUtcSec&quot;: &quot;A String&quot;,
354 &quot;endUtcSec&quot;: &quot;A String&quot;,
355 },
356 &quot;userUploadedVolumeInfo&quot;: {
357 &quot;processingState&quot;: &quot;A String&quot;,
358 },
359 &quot;rentalState&quot;: &quot;A String&quot;, # Whether this book is an active or an expired rental.
360 &quot;isInMyBooks&quot;: True or False, # Whether or not this volume is currently in &quot;my books.&quot;
361 &quot;isFamilySharingDisabledByFop&quot;: True or False, # Deprecated: Replaced by familySharing.
362 &quot;familySharing&quot;: { # Information on the ability to share with the family.
363 &quot;familyRole&quot;: &quot;A String&quot;, # The role of the user in the family.
364 &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.
365 &quot;isSharingDisabledByFop&quot;: True or False, # Whether or not sharing this volume is temporarily disabled due to issues with the Family Wallet.
366 },
367 &quot;isPurchased&quot;: True or False, # Whether or not this volume was purchased by the authenticated user making the request. (In LITE projection.)
368 },
369 &quot;id&quot;: &quot;A String&quot;, # Unique identifier for a volume. (In LITE projection.)
370 &quot;volumeInfo&quot;: { # General volume information.
371 &quot;maturityRating&quot;: &quot;A String&quot;,
372 &quot;samplePageCount&quot;: 42, # Total number of sample pages as per publisher metadata.
373 &quot;previewLink&quot;: &quot;A String&quot;, # URL to preview this volume on the Google Books site.
374 &quot;dimensions&quot;: { # Physical dimensions of this volume.
375 &quot;height&quot;: &quot;A String&quot;, # Height or length of this volume (in cm).
376 &quot;width&quot;: &quot;A String&quot;, # Width of this volume (in cm).
377 &quot;thickness&quot;: &quot;A String&quot;, # Thickness of this volume (in cm).
378 },
379 &quot;industryIdentifiers&quot;: [ # Industry standard identifiers for this volume.
380 {
381 &quot;identifier&quot;: &quot;A String&quot;, # Industry specific volume identifier.
382 &quot;type&quot;: &quot;A String&quot;, # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
383 },
384 ],
385 &quot;title&quot;: &quot;A String&quot;, # Volume title. (In LITE projection.)
386 &quot;comicsContent&quot;: True or False, # Whether the volume has comics content.
387 &quot;canonicalVolumeLink&quot;: &quot;A String&quot;, # Canonical URL for a volume. (In LITE projection.)
388 &quot;contentVersion&quot;: &quot;A String&quot;, # An identifier for the version of the volume content (text &amp; images). (In LITE projection)
389 &quot;authors&quot;: [ # The names of the authors and/or editors for this volume. (In LITE projection)
390 &quot;A String&quot;,
391 ],
392 &quot;publishedDate&quot;: &quot;A String&quot;, # Date of publication. (In LITE projection.)
393 &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.
394 &quot;seriesInfo&quot;: {
395 &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.
396 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
397 &quot;shortSeriesBookTitle&quot;: &quot;A String&quot;, # Short book title in the context of the series.
398 &quot;volumeSeries&quot;: [
399 {
400 &quot;issue&quot;: [ # List of issues. Applicable only for Collection Edition and Omnibus.
401 {
402 &quot;issueDisplayNumber&quot;: &quot;A String&quot;,
403 &quot;issueOrderNumber&quot;: 42,
404 },
405 ],
406 &quot;seriesBookType&quot;: &quot;A String&quot;, # The book type in the context of series. Examples - Single Issue, Collection Edition, etc.
407 &quot;seriesId&quot;: &quot;A String&quot;, # The series id.
408 &quot;orderNumber&quot;: 42, # The book order number in the series.
409 },
410 ],
411 },
412 &quot;ratingsCount&quot;: 42, # The number of review ratings for this volume.
413 &quot;subtitle&quot;: &quot;A String&quot;, # Volume subtitle. (In LITE projection.)
414 &quot;pageCount&quot;: 42, # Total number of pages as per publisher metadata.
415 &quot;imageLinks&quot;: { # A list of image links for all the sizes that are available. (In LITE projection.)
416 &quot;medium&quot;: &quot;A String&quot;, # Image link for medium size (width of ~575 pixels). (In LITE projection)
417 &quot;extraLarge&quot;: &quot;A String&quot;, # Image link for extra large size (width of ~1280 pixels). (In LITE projection)
418 &quot;small&quot;: &quot;A String&quot;, # Image link for small size (width of ~300 pixels). (In LITE projection)
419 &quot;large&quot;: &quot;A String&quot;, # Image link for large size (width of ~800 pixels). (In LITE projection)
420 &quot;thumbnail&quot;: &quot;A String&quot;, # Image link for thumbnail size (width of ~128 pixels). (In LITE projection)
421 &quot;smallThumbnail&quot;: &quot;A String&quot;, # Image link for small thumbnail size (width of ~80 pixels). (In LITE projection)
422 },
423 &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.)
424 &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.
425 &quot;categories&quot;: [ # A list of subject categories, such as &quot;Fiction&quot;, &quot;Suspense&quot;, etc.
426 &quot;A String&quot;,
427 ],
428 &quot;publisher&quot;: &quot;A String&quot;, # Publisher of this volume. (In LITE projection.)
429 &quot;panelizationSummary&quot;: { # A top-level summary of the panelization info in this volume.
430 &quot;epubBubbleVersion&quot;: &quot;A String&quot;,
431 &quot;imageBubbleVersion&quot;: &quot;A String&quot;,
432 &quot;containsEpubBubbles&quot;: True or False,
433 &quot;containsImageBubbles&quot;: True or False,
434 },
435 &quot;allowAnonLogging&quot;: True or False, # Whether anonymous logging should be allowed.
436 &quot;printedPageCount&quot;: 42, # Total number of printed pages in generated pdf representation.
437 &quot;infoLink&quot;: &quot;A String&quot;, # URL to view information about this volume on the Google Books site. (In LITE projection)
438 &quot;printType&quot;: &quot;A String&quot;, # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
439 &quot;readingModes&quot;: { # The reading modes available for this volume.
440 &quot;image&quot;: True or False,
441 &quot;text&quot;: True or False,
442 },
443 &quot;averageRating&quot;: 3.14, # The mean review rating for this volume. (min = 1.0, max = 5.0)
444 },
445 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource. (In LITE projection.)
446 &quot;searchInfo&quot;: { # Search result information related to this volume.
447 &quot;textSnippet&quot;: &quot;A String&quot;, # A text snippet containing the search query.
448 },
449 &quot;kind&quot;: &quot;A String&quot;, # Resource type for a volume. (In LITE projection.)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700450 &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.).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700451 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700452 &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.)
453 &quot;embeddable&quot;: True or False, # Whether this volume can be embedded in a viewport using the Embedded Viewer API.
454 &quot;quoteSharingAllowed&quot;: True or False, # Whether quote sharing is allowed for this volume.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700455 &quot;downloadAccess&quot;: { # Information about a volume&#x27;s download license access restrictions.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700456 &quot;nonce&quot;: &quot;A String&quot;, # Client nonce for verification. Download access and client-validation only.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700457 &quot;maxDownloadDevices&quot;: 42, # If restricted, the maximum number of content download licenses for this volume.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700458 &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
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700459 &quot;source&quot;: &quot;A String&quot;, # Client app identifier for verification. Download access and client-validation only.
460 &quot;message&quot;: &quot;A String&quot;, # Error/warning message.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700461 &quot;restricted&quot;: True or False, # Whether this volume has any download access restrictions.
462 &quot;signature&quot;: &quot;A String&quot;, # Response signature.
463 &quot;downloadsAcquired&quot;: 42, # If restricted, the number of content download licenses already acquired (including the requesting client, if licensed).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700464 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700465 &quot;deviceAllowed&quot;: True or False, # If restricted, whether access is granted for this (user, device, volume).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700466 &quot;justAcquired&quot;: True or False, # If deviceAllowed, whether access was just acquired with this request.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700467 &quot;volumeId&quot;: &quot;A String&quot;, # Identifies the volume for which this entry applies.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700468 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700469 &quot;epub&quot;: { # Information about epub content. (In LITE projection.)
470 &quot;downloadLink&quot;: &quot;A String&quot;, # URL to download epub. (In LITE projection.)
471 &quot;acsTokenLink&quot;: &quot;A String&quot;, # URL to retrieve ACS token for epub download. (In LITE projection.)
472 &quot;isAvailable&quot;: True or False, # Is a flowing text epub available either as public domain or for purchase. (In LITE projection.)
473 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700474 &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.
475 &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.)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700476 &quot;publicDomain&quot;: True or False, # Whether or not this book is public domain in the country listed above.
477 &quot;pdf&quot;: { # Information about pdf content. (In LITE projection.)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700478 &quot;acsTokenLink&quot;: &quot;A String&quot;, # URL to retrieve ACS token for pdf download. (In LITE projection.)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700479 &quot;downloadLink&quot;: &quot;A String&quot;, # URL to download pdf. (In LITE projection.)
480 &quot;isAvailable&quot;: True or False, # Is a scanned image pdf available either as public domain or for purchase. (In LITE projection.)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700481 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700482 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700483 &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.
484 &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.
485 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700486 },
John Asmuth614db982014-04-24 15:46:26 -0400487 },
488 ],
John Asmuth614db982014-04-24 15:46:26 -0400489 }</pre>
490</div>
491
Craig Citroe633be12015-03-02 13:40:36 -0800492<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700493 <code class="details" id="updateUserSettings">updateUserSettings(body=None, x__xgafv=None)</code>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000494 <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 -0800495
496Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700497 body: object, The request body.
Craig Citroe633be12015-03-02 13:40:36 -0800498 The object takes the form of:
499
500{
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700501 &quot;notesExport&quot;: { # User settings in sub-objects, each for different purposes.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700502 &quot;isEnabled&quot;: True or False,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700503 &quot;folderName&quot;: &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700504 },
505 &quot;notification&quot;: {
506 &quot;matchMyInterests&quot;: {
507 &quot;opted_state&quot;: &quot;A String&quot;,
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800508 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700509 &quot;priceDrop&quot;: {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700510 &quot;opted_state&quot;: &quot;A String&quot;,
Craig Citroe633be12015-03-02 13:40:36 -0800511 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700512 &quot;moreFromSeries&quot;: {
513 &quot;opted_state&quot;: &quot;A String&quot;,
514 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700515 &quot;rewardExpirations&quot;: {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700516 &quot;opted_state&quot;: &quot;A String&quot;,
517 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700518 &quot;moreFromAuthors&quot;: {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700519 &quot;opted_state&quot;: &quot;A String&quot;,
520 },
521 },
522 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
523}
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700524
525 x__xgafv: string, V1 error format.
526 Allowed values
527 1 - v1 error format
528 2 - v2 error format
529
530Returns:
531 An object of the form:
532
533 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700534 &quot;notesExport&quot;: { # User settings in sub-objects, each for different purposes.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700535 &quot;isEnabled&quot;: True or False,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700536 &quot;folderName&quot;: &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700537 },
538 &quot;notification&quot;: {
539 &quot;matchMyInterests&quot;: {
540 &quot;opted_state&quot;: &quot;A String&quot;,
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700541 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700542 &quot;priceDrop&quot;: {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700543 &quot;opted_state&quot;: &quot;A String&quot;,
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700544 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700545 &quot;moreFromSeries&quot;: {
546 &quot;opted_state&quot;: &quot;A String&quot;,
547 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700548 &quot;rewardExpirations&quot;: {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700549 &quot;opted_state&quot;: &quot;A String&quot;,
550 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700551 &quot;moreFromAuthors&quot;: {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700552 &quot;opted_state&quot;: &quot;A String&quot;,
553 },
554 },
555 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
556 }</pre>
Craig Citroe633be12015-03-02 13:40:36 -0800557</div>
558
John Asmuth614db982014-04-24 15:46:26 -0400559</body></html>