blob: c03f8f047ec26f6292d3be2817631fa2167f72b9 [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">
Craig Citroe633be12015-03-02 13:40:36 -080078 <code><a href="#getUserSettings">getUserSettings()</a></code></p>
79<p class="firstline">Gets the current settings for the user.</p>
80<p class="toc_element">
John Asmuth614db982014-04-24 15:46:26 -040081 <code><a href="#releaseDownloadAccess">releaseDownloadAccess(volumeIds, cpksver, source=None, locale=None)</a></code></p>
82<p class="firstline">Release downloaded content access restriction.</p>
83<p class="toc_element">
84 <code><a href="#requestAccess">requestAccess(source, volumeId, nonce, cpksver, licenseTypes=None, locale=None)</a></code></p>
85<p class="firstline">Request concurrent and download access restrictions.</p>
86<p class="toc_element">
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -080087 <code><a href="#syncVolumeLicenses">syncVolumeLicenses(source, nonce, cpksver, features=None, locale=None, includeNonComicsSeries=None, showPreorders=None, volumeIds=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">
90 <code><a href="#updateUserSettings">updateUserSettings(body)</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">
Craig Citroe633be12015-03-02 13:40:36 -080094 <code class="details" id="getUserSettings">getUserSettings()</code>
95 <pre>Gets the current settings for the user.
96
97Args:
98
99Returns:
100 An object of the form:
101
102 {
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800103 "notification": {
104 "moreFromAuthors": {
105 "opted_state": "A String",
106 },
107 },
Craig Citroe633be12015-03-02 13:40:36 -0800108 "kind": "books#usersettings", # Resource type.
109 "notesExport": { # User settings in sub-objects, each for different purposes.
110 "isEnabled": True or False,
111 "folderName": "A String",
112 },
113 }</pre>
114</div>
115
116<div class="method">
John Asmuth614db982014-04-24 15:46:26 -0400117 <code class="details" id="releaseDownloadAccess">releaseDownloadAccess(volumeIds, cpksver, source=None, locale=None)</code>
118 <pre>Release downloaded content access restriction.
119
120Args:
121 volumeIds: string, The volume(s) to release restrictions for. (required) (repeated)
122 cpksver: string, The device/version ID from which to release the restriction. (required)
123 source: string, String to identify the originator of this request.
124 locale: string, ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
125
126Returns:
127 An object of the form:
128
129 {
130 "downloadAccessList": [ # A list of download access responses.
131 {
132 "nonce": "A String", # Client nonce for verification. Download access and client-validation only.
133 "kind": "books#downloadAccessRestriction", # Resource type.
134 "justAcquired": True or False, # If deviceAllowed, whether access was just acquired with this request.
135 "maxDownloadDevices": 42, # If restricted, the maximum number of content download licenses for this volume.
136 "downloadsAcquired": 42, # If restricted, the number of content download licenses already acquired (including the requesting client, if licensed).
137 "signature": "A String", # Response signature.
138 "volumeId": "A String", # Identifies the volume for which this entry applies.
139 "deviceAllowed": True or False, # If restricted, whether access is granted for this (user, device, volume).
140 "source": "A String", # Client app identifier for verification. Download access and client-validation only.
141 "restricted": True or False, # Whether this volume has any download access restrictions.
142 "reasonCode": "A String", # 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
143 "message": "A String", # Error/warning message.
144 },
145 ],
146 "kind": "books#downloadAccesses", # Resource type.
147 }</pre>
148</div>
149
150<div class="method">
151 <code class="details" id="requestAccess">requestAccess(source, volumeId, nonce, cpksver, licenseTypes=None, locale=None)</code>
152 <pre>Request concurrent and download access restrictions.
153
154Args:
155 source: string, String to identify the originator of this request. (required)
156 volumeId: string, The volume to request concurrent/download restrictions for. (required)
157 nonce: string, The client nonce value. (required)
158 cpksver: string, The device/version ID from which to request the restrictions. (required)
159 licenseTypes: string, The type of access license to request. If not specified, the default is BOTH.
160 Allowed values
161 BOTH - Both concurrent and download licenses.
162 CONCURRENT - Concurrent access license.
163 DOWNLOAD - Offline download access license.
164 locale: string, ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
165
166Returns:
167 An object of the form:
168
169 {
170 "downloadAccess": { # A download access response.
171 "nonce": "A String", # Client nonce for verification. Download access and client-validation only.
172 "kind": "books#downloadAccessRestriction", # Resource type.
173 "justAcquired": True or False, # If deviceAllowed, whether access was just acquired with this request.
174 "maxDownloadDevices": 42, # If restricted, the maximum number of content download licenses for this volume.
175 "downloadsAcquired": 42, # If restricted, the number of content download licenses already acquired (including the requesting client, if licensed).
176 "signature": "A String", # Response signature.
177 "volumeId": "A String", # Identifies the volume for which this entry applies.
178 "deviceAllowed": True or False, # If restricted, whether access is granted for this (user, device, volume).
179 "source": "A String", # Client app identifier for verification. Download access and client-validation only.
180 "restricted": True or False, # Whether this volume has any download access restrictions.
181 "reasonCode": "A String", # 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
182 "message": "A String", # Error/warning message.
183 },
184 "kind": "books#requestAccess", # Resource type.
185 "concurrentAccess": { # A concurrent access response.
186 "nonce": "A String", # Client nonce for verification. Download access and client-validation only.
187 "kind": "books#concurrentAccessRestriction", # Resource type.
188 "restricted": True or False, # Whether this volume has any concurrent access restrictions.
189 "volumeId": "A String", # Identifies the volume for which this entry applies.
190 "maxConcurrentDevices": 42, # The maximum number of concurrent access licenses for this volume.
191 "deviceAllowed": True or False, # Whether access is granted for this (user, device, volume).
192 "source": "A String", # Client app identifier for verification. Download access and client-validation only.
193 "timeWindowSeconds": 42, # Time in seconds for license auto-expiration.
194 "signature": "A String", # Response signature.
195 "reasonCode": "A String", # Error/warning reason code.
196 "message": "A String", # Error/warning message.
197 },
198 }</pre>
199</div>
200
201<div class="method">
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800202 <code class="details" id="syncVolumeLicenses">syncVolumeLicenses(source, nonce, cpksver, features=None, locale=None, includeNonComicsSeries=None, showPreorders=None, volumeIds=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400203 <pre>Request downloaded content access for specified volumes on the My eBooks shelf.
204
205Args:
206 source: string, String to identify the originator of this request. (required)
207 nonce: string, The client nonce value. (required)
208 cpksver: string, The device/version ID from which to release the restriction. (required)
209 features: string, List of features supported by the client, i.e., 'RENTALS' (repeated)
210 Allowed values
211 RENTALS - Client supports rentals.
212 locale: string, ISO-639-1, ISO-3166-1 codes for message localization, i.e. en_US.
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800213 includeNonComicsSeries: boolean, Set to true to include non-comics series. Defaults to false.
John Asmuth614db982014-04-24 15:46:26 -0400214 showPreorders: boolean, Set to true to show pre-ordered books. Defaults to false.
215 volumeIds: string, The volume(s) to request download restrictions for. (repeated)
216
217Returns:
218 An object of the form:
219
220 {
221 "totalItems": 42, # Total number of volumes found. This might be greater than the number of volumes returned in this response if results have been paginated.
222 "items": [ # A list of volumes.
223 {
224 "kind": "books#volume", # Resource type for a volume. (In LITE projection.)
225 "accessInfo": { # 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.).
226 "webReaderLink": "A String", # URL to read this volume on the Google Books site. Link will not allow users to read non-viewable volumes.
227 "publicDomain": True or False, # Whether or not this book is public domain in the country listed above.
228 "embeddable": True or False, # Whether this volume can be embedded in a viewport using the Embedded Viewer API.
229 "downloadAccess": { # Information about a volume's download license access restrictions.
230 "nonce": "A String", # Client nonce for verification. Download access and client-validation only.
231 "kind": "books#downloadAccessRestriction", # Resource type.
232 "justAcquired": True or False, # If deviceAllowed, whether access was just acquired with this request.
233 "maxDownloadDevices": 42, # If restricted, the maximum number of content download licenses for this volume.
234 "downloadsAcquired": 42, # If restricted, the number of content download licenses already acquired (including the requesting client, if licensed).
235 "signature": "A String", # Response signature.
236 "volumeId": "A String", # Identifies the volume for which this entry applies.
237 "deviceAllowed": True or False, # If restricted, whether access is granted for this (user, device, volume).
238 "source": "A String", # Client app identifier for verification. Download access and client-validation only.
239 "restricted": True or False, # Whether this volume has any download access restrictions.
240 "reasonCode": "A String", # 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
241 "message": "A String", # Error/warning message.
242 },
243 "country": "A String", # The two-letter ISO_3166-1 country code for which this access information is valid. (In LITE projection.)
244 "quoteSharingAllowed": True or False, # Whether quote sharing is allowed for this volume.
245 "viewOrderUrl": "A String", # For ordered but not yet processed orders, we give a URL that can be used to go to the appropriate Google Wallet page.
246 "textToSpeechPermission": "A String", # Whether text-to-speech is permitted for this volume. Values can be ALLOWED, ALLOWED_FOR_ACCESSIBILITY, or NOT_ALLOWED.
247 "driveImportedContentLink": "A String", # URL to the Google Drive viewer if this volume is uploaded by the user by selecting the file from Google Drive.
248 "pdf": { # Information about pdf content. (In LITE projection.)
249 "isAvailable": True or False, # Is a scanned image pdf available either as public domain or for purchase. (In LITE projection.)
250 "downloadLink": "A String", # URL to download pdf. (In LITE projection.)
251 "acsTokenLink": "A String", # URL to retrieve ACS token for pdf download. (In LITE projection.)
252 },
253 "explicitOfflineLicenseManagement": 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.
254 "viewability": "A String", # 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.
255 "epub": { # Information about epub content. (In LITE projection.)
256 "isAvailable": True or False, # Is a flowing text epub available either as public domain or for purchase. (In LITE projection.)
257 "downloadLink": "A String", # URL to download epub. (In LITE projection.)
258 "acsTokenLink": "A String", # URL to retrieve ACS token for epub download. (In LITE projection.)
259 },
260 "accessViewStatus": "A String", # 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.)
261 },
262 "searchInfo": { # Search result information related to this volume.
263 "textSnippet": "A String", # A text snippet containing the search query.
264 },
265 "saleInfo": { # 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).
266 "country": "A String", # The two-letter ISO_3166-1 country code for which this sale information is valid. (In LITE projection.)
267 "retailPrice": { # 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.)
268 "amount": 3.14, # Amount in the currency listed below. (In LITE projection.)
269 "currencyCode": "A String", # An ISO 4217, three-letter currency code. (In LITE projection.)
270 },
271 "isEbook": True or False, # Whether or not this volume is an eBook (can be added to the My eBooks shelf).
272 "offers": [ # Offers available for this volume (sales and rentals).
273 {
274 "rentalDuration": { # The rental duration (for rental offers only).
275 "count": 3.14,
276 "unit": "A String",
277 },
278 "retailPrice": { # Offer retail (=discounted) price in Micros
279 "currencyCode": "A String",
280 "amountInMicros": 3.14,
281 },
282 "listPrice": { # Offer list (=undiscounted) price in Micros.
283 "currencyCode": "A String",
284 "amountInMicros": 3.14,
285 },
286 "finskyOfferType": 42, # The finsky offer type (e.g., PURCHASE=0 RENTAL=3)
287 },
288 ],
289 "saleability": "A String", # 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.
290 "buyLink": "A String", # URL to purchase this volume on the Google Books site. (In LITE projection)
291 "onSaleDate": "A String", # The date on which this book is available for sale.
292 "listPrice": { # Suggested retail price. (In LITE projection.)
293 "amount": 3.14, # Amount in the currency listed below. (In LITE projection.)
294 "currencyCode": "A String", # An ISO 4217, three-letter currency code. (In LITE projection.)
295 },
296 },
297 "etag": "A String", # Opaque identifier for a specific version of a volume resource. (In LITE projection)
298 "selfLink": "A String", # URL to this resource. (In LITE projection.)
299 "volumeInfo": { # General volume information.
John Asmuth614db982014-04-24 15:46:26 -0400300 "subtitle": "A String", # Volume subtitle. (In LITE projection.)
John Asmuth614db982014-04-24 15:46:26 -0400301 "pageCount": 42, # Total number of pages as per publisher metadata.
Craig Citro065b5302014-08-14 00:47:23 -0700302 "mainCategory": "A String", # The main category to which this volume belongs. It will be the category from the categories list returned below that has the highest weight.
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800303 "seriesInfo": {
304 "bookDisplayNumber": "A String", # The display number string. This should be used only for display purposes and the actual sequence should be inferred from the below orderNumber.
305 "kind": "books#volume_series_info", # Resource type.
306 "shortSeriesBookTitle": "A String", # Short book title in the context of the series.
307 "volumeSeries": [
308 {
309 "orderNumber": 42, # The book order number in the series.
310 "seriesId": "A String", # The series id.
311 "issue": [ # List of issues. Applicable only for Collection Edition and Omnibus.
312 {
313 "issueOrderNumber": 42,
314 "issueDisplayNumber": "A String",
315 },
316 ],
317 "seriesBookType": "A String", # The book type in the context of series. Examples - Single Issue, Collection Edition, etc.
318 },
319 ],
320 },
Craig Citro065b5302014-08-14 00:47:23 -0700321 "dimensions": { # Physical dimensions of this volume.
322 "width": "A String", # Width of this volume (in cm).
323 "thickness": "A String", # Thickness of this volume (in cm).
324 "height": "A String", # Height or length of this volume (in cm).
325 },
326 "previewLink": "A String", # URL to preview this volume on the Google Books site.
327 "contentVersion": "A String", # An identifier for the version of the volume content (text & images). (In LITE projection)
328 "industryIdentifiers": [ # Industry standard identifiers for this volume.
329 {
330 "identifier": "A String", # Industry specific volume identifier.
331 "type": "A String", # Identifier type. Possible values are ISBN_10, ISBN_13, ISSN and OTHER.
332 },
333 ],
334 "canonicalVolumeLink": "A String", # Canonical URL for a volume. (In LITE projection.)
335 "description": "A String", # 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.)
336 "publishedDate": "A String", # Date of publication. (In LITE projection.)
John Asmuth614db982014-04-24 15:46:26 -0400337 "imageLinks": { # A list of image links for all the sizes that are available. (In LITE projection.)
338 "medium": "A String", # Image link for medium size (width of ~575 pixels). (In LITE projection)
339 "smallThumbnail": "A String", # Image link for small thumbnail size (width of ~80 pixels). (In LITE projection)
340 "large": "A String", # Image link for large size (width of ~800 pixels). (In LITE projection)
341 "extraLarge": "A String", # Image link for extra large size (width of ~1280 pixels). (In LITE projection)
342 "small": "A String", # Image link for small size (width of ~300 pixels). (In LITE projection)
343 "thumbnail": "A String", # Image link for thumbnail size (width of ~128 pixels). (In LITE projection)
344 },
John Asmuth614db982014-04-24 15:46:26 -0400345 "authors": [ # The names of the authors and/or editors for this volume. (In LITE projection)
346 "A String",
347 ],
John Asmuth614db982014-04-24 15:46:26 -0400348 "categories": [ # A list of subject categories, such as "Fiction", "Suspense", etc.
349 "A String",
350 ],
Craig Citro065b5302014-08-14 00:47:23 -0700351 "publisher": "A String", # Publisher of this volume. (In LITE projection.)
352 "language": "A String", # Best language for this volume (based on content). It is the two-letter ISO 639-1 code such as 'fr', 'en', etc.
353 "readingModes": "", # The reading modes available for this volume.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000354 "allowAnonLogging": True or False, # Whether anonymous logging should be allowed.
Craig Citro065b5302014-08-14 00:47:23 -0700355 "title": "A String", # Volume title. (In LITE projection.)
356 "printType": "A String", # Type of publication of this volume. Possible values are BOOK or MAGAZINE.
Craig Citroe633be12015-03-02 13:40:36 -0800357 "samplePageCount": 42, # Total number of sample pages as per publisher metadata.
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000358 "maturityRating": "A String",
Craig Citro065b5302014-08-14 00:47:23 -0700359 "printedPageCount": 42, # Total number of printed pages in generated pdf representation.
John Asmuth614db982014-04-24 15:46:26 -0400360 "averageRating": 3.14, # The mean review rating for this volume. (min = 1.0, max = 5.0)
Craig Citro065b5302014-08-14 00:47:23 -0700361 "infoLink": "A String", # URL to view information about this volume on the Google Books site. (In LITE projection)
362 "ratingsCount": 42, # The number of review ratings for this volume.
John Asmuth614db982014-04-24 15:46:26 -0400363 },
364 "recommendedInfo": { # Recommendation related information for this volume.
365 "explanation": "A String", # A text explaining why this volume is recommended.
366 },
367 "id": "A String", # Unique identifier for a volume. (In LITE projection.)
368 "layerInfo": { # What layers exist in this volume and high level information about them.
369 "layers": [ # A layer should appear here if and only if the layer exists for this book.
370 {
371 "volumeAnnotationsVersion": "A String", # The current version of this layer'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.
372 "layerId": "A String", # The layer id of this layer (e.g. "geo").
373 },
374 ],
375 },
376 "userInfo": { # User specific information related to this volume. (e.g. page this user last read or whether they purchased this book)
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800377 "isFamilySharedFromUser": True or False, # Whether or not the user shared this volume with the family.
John Asmuth614db982014-04-24 15:46:26 -0400378 "isInMyBooks": True or False, # Whether or not this volume is currently in "my books."
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800379 "acquisitionType": 42, # How this volume was acquired.
John Asmuth614db982014-04-24 15:46:26 -0400380 "updated": "A String", # 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).
381 "userUploadedVolumeInfo": {
382 "processingState": "A String",
383 },
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800384 "rentalPeriod": { # Period during this book is/was a valid rental.
385 "startUtcSec": "A String",
386 "endUtcSec": "A String",
387 },
John Asmuth614db982014-04-24 15:46:26 -0400388 "rentalState": "A String", # Whether this book is an active or an expired rental.
389 "isPurchased": True or False, # Whether or not this volume was purchased by the authenticated user making the request. (In LITE projection.)
390 "readingPosition": { # The user's current reading position in the volume, if one is available. (In LITE projection.)
391 "kind": "books#readingPosition", # Resource type for a reading position.
392 "gbImagePosition": "A String", # Position in a volume for image-based content.
393 "epubCfiPosition": "A String", # Position in an EPUB as a CFI.
394 "updated": "A String", # Timestamp when this reading position was last updated (formatted UTC timestamp with millisecond resolution).
395 "volumeId": "A String", # Volume id associated with this reading position.
396 "pdfPosition": "A String", # Position in a PDF file.
397 "gbTextPosition": "A String", # Position in a volume for text-based content.
398 },
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800399 "isFamilySharingAllowed": 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.
John Asmuth614db982014-04-24 15:46:26 -0400400 "review": { # This user's review of this volume, if one exists.
401 "rating": "A String", # Star rating for this review. Possible values are ONE, TWO, THREE, FOUR, FIVE or NOT_RATED.
402 "kind": "books#review", # Resource type for a review.
403 "author": { # Author of this review.
404 "displayName": "A String", # Name of this person.
405 },
406 "title": "A String", # Title for this review.
407 "volumeId": "A String", # Volume that this review is for.
408 "content": "A String", # Review text.
409 "source": { # Information regarding the source of this review, when the review is not from a Google Books user.
410 "extraDescription": "A String", # Extra text about the source of the review.
411 "url": "A String", # URL of the source of the review.
412 "description": "A String", # Name of the source.
413 },
414 "date": "A String", # Date of this review.
415 "type": "A String", # Source type for this review. Possible values are EDITORIAL, WEB_USER or GOOGLE_USER.
416 "fullTextUrl": "A String", # URL for the full review text, for reviews gathered from the web.
417 },
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800418 "isFamilySharedToUser": True or False, # Whether or not the user received this volume through family sharing.
419 "entitlementType": 42, # Whether this volume is purchased, sample, pd download etc.
John Asmuth614db982014-04-24 15:46:26 -0400420 "copy": { # Copy/Paste accounting information.
421 "limitType": "A String",
422 "remainingCharacterCount": 42,
423 "updated": "A String",
424 "allowedCharacterCount": 42,
425 },
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800426 "isPreordered": True or False, # Whether or not this volume was pre-ordered by the authenticated user making the request. (In LITE projection.)
John Asmuth614db982014-04-24 15:46:26 -0400427 "isUploaded": True or False, # Whether or not this volume was user uploaded.
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800428 "acquiredTime": "A String", # Timestamp when this volume was acquired by the user. (RFC 3339 UTC date-time format) Acquiring includes purchase, user upload, receiving family sharing, etc.
John Asmuth614db982014-04-24 15:46:26 -0400429 },
430 },
431 ],
432 "kind": "books#volumes", # Resource type.
433 }</pre>
434</div>
435
Craig Citroe633be12015-03-02 13:40:36 -0800436<div class="method">
437 <code class="details" id="updateUserSettings">updateUserSettings(body)</code>
Nathaniel Manista4f877e52015-06-15 16:44:50 +0000438 <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 -0800439
440Args:
441 body: object, The request body. (required)
442 The object takes the form of:
443
444{
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800445 "notification": {
446 "moreFromAuthors": {
447 "opted_state": "A String",
448 },
449 },
Craig Citroe633be12015-03-02 13:40:36 -0800450 "kind": "books#usersettings", # Resource type.
451 "notesExport": { # User settings in sub-objects, each for different purposes.
452 "isEnabled": True or False,
453 "folderName": "A String",
454 },
455}
456
457
458Returns:
459 An object of the form:
460
461 {
Jon Wayne Parrott36e41bc2016-02-19 16:02:29 -0800462 "notification": {
463 "moreFromAuthors": {
464 "opted_state": "A String",
465 },
466 },
Craig Citroe633be12015-03-02 13:40:36 -0800467 "kind": "books#usersettings", # Resource type.
468 "notesExport": { # User settings in sub-objects, each for different purposes.
469 "isEnabled": True or False,
470 "folderName": "A String",
471 },
472 }</pre>
473</div>
474
John Asmuth614db982014-04-24 15:46:26 -0400475</body></html>