Debian Codegraph @

docs/dyn/books_v1.mylibrary.annotations.html

raw
1 <html><body>
2 <style>
3
4 body, 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
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, 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.mylibrary.html">mylibrary</a> . <a href="books_v1.mylibrary.annotations.html">annotations</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#delete">delete(annotationId, source=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Deletes an annotation.</p>
83 <p class="toc_element">
84 <code><a href="#insert">insert(annotationId=None, body=None, country=None, showOnlySummaryInResponse=None, source=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Inserts a new annotation.</p>
86 <p class="toc_element">
87 <code><a href="#list">list(contentVersion=None, layerId=None, layerIds=None, maxResults=None, pageToken=None, showDeleted=None, source=None, updatedMax=None, updatedMin=None, volumeId=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Retrieves a list of annotations, possibly filtered.</p>
89 <p class="toc_element">
90 <code><a href="#list_next">list_next()</a></code></p>
91 <p class="firstline">Retrieves the next page of results.</p>
92 <p class="toc_element">
93 <code><a href="#summary">summary(layerIds, volumeId, source=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Gets the summary of specified layers.</p>
95 <p class="toc_element">
96 <code><a href="#update">update(annotationId, body=None, source=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Updates an existing annotation.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="delete">delete(annotationId, source=None, x__xgafv=None)</code>
106 <pre>Deletes an annotation.
107
108 Args:
109 annotationId: string, The ID for the annotation to delete. (required)
110 source: string, String to identify the originator of this request.
111 x__xgafv: string, V1 error format.
112 Allowed values
113 1 - v1 error format
114 2 - v2 error format
115
116 Returns:
117 An object of the form:
118
119 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
120 }</pre>
121 </div>
122
123 <div class="method">
124 <code class="details" id="insert">insert(annotationId=None, body=None, country=None, showOnlySummaryInResponse=None, source=None, x__xgafv=None)</code>
125 <pre>Inserts a new annotation.
126
127 Args:
128 body: object, The request body.
129 The object takes the form of:
130
131 {
132 &quot;afterSelectedText&quot;: &quot;A String&quot;, # Anchor text after excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty.
133 &quot;beforeSelectedText&quot;: &quot;A String&quot;, # Anchor text before excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty.
134 &quot;clientVersionRanges&quot;: { # Selection ranges sent from the client.
135 &quot;cfiRange&quot;: { # Range in CFI format for this annotation sent by client.
136 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
137 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
138 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
139 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
140 },
141 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version the client sent in.
142 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation sent by client.
143 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
144 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
145 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
146 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
147 },
148 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation sent by client.
149 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
150 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
151 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
152 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
153 },
154 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation sent by client.
155 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
156 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
157 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
158 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
159 },
160 },
161 &quot;created&quot;: &quot;A String&quot;, # Timestamp for the created time of this annotation.
162 &quot;currentVersionRanges&quot;: { # Selection ranges for the most recent content version.
163 &quot;cfiRange&quot;: { # Range in CFI format for this annotation for version above.
164 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
165 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
166 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
167 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
168 },
169 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version applicable to ranges below.
170 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation for version above.
171 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
172 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
173 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
174 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
175 },
176 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation for version above.
177 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
178 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
179 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
180 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
181 },
182 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation for version above.
183 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
184 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
185 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
186 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
187 },
188 },
189 &quot;data&quot;: &quot;A String&quot;, # User-created data for this annotation.
190 &quot;deleted&quot;: True or False, # Indicates that this annotation is deleted.
191 &quot;highlightStyle&quot;: &quot;A String&quot;, # The highlight style for this annotation.
192 &quot;id&quot;: &quot;A String&quot;, # Id of this annotation, in the form of a GUID.
193 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
194 &quot;layerId&quot;: &quot;A String&quot;, # The layer this annotation is for.
195 &quot;layerSummary&quot;: {
196 &quot;allowedCharacterCount&quot;: 42, # Maximum allowed characters on this layer, especially for the &quot;copy&quot; layer.
197 &quot;limitType&quot;: &quot;A String&quot;, # Type of limitation on this layer. &quot;limited&quot; or &quot;unlimited&quot; for the &quot;copy&quot; layer.
198 &quot;remainingCharacterCount&quot;: 42, # Remaining allowed characters on this layer, especially for the &quot;copy&quot; layer.
199 },
200 &quot;pageIds&quot;: [ # Pages that this annotation spans.
201 &quot;A String&quot;,
202 ],
203 &quot;selectedText&quot;: &quot;A String&quot;, # Excerpt from the volume.
204 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource.
205 &quot;updated&quot;: &quot;A String&quot;, # Timestamp for the last time this annotation was modified.
206 &quot;volumeId&quot;: &quot;A String&quot;, # The volume that this annotation belongs to.
207 }
208
209 annotationId: string, The ID for the annotation to insert.
210 country: string, ISO-3166-1 code to override the IP-based location.
211 showOnlySummaryInResponse: boolean, Requests that only the summary of the specified layer be provided in the response.
212 source: string, String to identify the originator of this request.
213 x__xgafv: string, V1 error format.
214 Allowed values
215 1 - v1 error format
216 2 - v2 error format
217
218 Returns:
219 An object of the form:
220
221 {
222 &quot;afterSelectedText&quot;: &quot;A String&quot;, # Anchor text after excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty.
223 &quot;beforeSelectedText&quot;: &quot;A String&quot;, # Anchor text before excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty.
224 &quot;clientVersionRanges&quot;: { # Selection ranges sent from the client.
225 &quot;cfiRange&quot;: { # Range in CFI format for this annotation sent by client.
226 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
227 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
228 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
229 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
230 },
231 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version the client sent in.
232 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation sent by client.
233 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
234 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
235 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
236 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
237 },
238 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation sent by client.
239 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
240 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
241 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
242 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
243 },
244 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation sent by client.
245 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
246 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
247 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
248 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
249 },
250 },
251 &quot;created&quot;: &quot;A String&quot;, # Timestamp for the created time of this annotation.
252 &quot;currentVersionRanges&quot;: { # Selection ranges for the most recent content version.
253 &quot;cfiRange&quot;: { # Range in CFI format for this annotation for version above.
254 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
255 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
256 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
257 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
258 },
259 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version applicable to ranges below.
260 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation for version above.
261 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
262 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
263 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
264 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
265 },
266 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation for version above.
267 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
268 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
269 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
270 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
271 },
272 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation for version above.
273 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
274 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
275 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
276 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
277 },
278 },
279 &quot;data&quot;: &quot;A String&quot;, # User-created data for this annotation.
280 &quot;deleted&quot;: True or False, # Indicates that this annotation is deleted.
281 &quot;highlightStyle&quot;: &quot;A String&quot;, # The highlight style for this annotation.
282 &quot;id&quot;: &quot;A String&quot;, # Id of this annotation, in the form of a GUID.
283 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
284 &quot;layerId&quot;: &quot;A String&quot;, # The layer this annotation is for.
285 &quot;layerSummary&quot;: {
286 &quot;allowedCharacterCount&quot;: 42, # Maximum allowed characters on this layer, especially for the &quot;copy&quot; layer.
287 &quot;limitType&quot;: &quot;A String&quot;, # Type of limitation on this layer. &quot;limited&quot; or &quot;unlimited&quot; for the &quot;copy&quot; layer.
288 &quot;remainingCharacterCount&quot;: 42, # Remaining allowed characters on this layer, especially for the &quot;copy&quot; layer.
289 },
290 &quot;pageIds&quot;: [ # Pages that this annotation spans.
291 &quot;A String&quot;,
292 ],
293 &quot;selectedText&quot;: &quot;A String&quot;, # Excerpt from the volume.
294 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource.
295 &quot;updated&quot;: &quot;A String&quot;, # Timestamp for the last time this annotation was modified.
296 &quot;volumeId&quot;: &quot;A String&quot;, # The volume that this annotation belongs to.
297 }</pre>
298 </div>
299
300 <div class="method">
301 <code class="details" id="list">list(contentVersion=None, layerId=None, layerIds=None, maxResults=None, pageToken=None, showDeleted=None, source=None, updatedMax=None, updatedMin=None, volumeId=None, x__xgafv=None)</code>
302 <pre>Retrieves a list of annotations, possibly filtered.
303
304 Args:
305 contentVersion: string, The content version for the requested volume.
306 layerId: string, The layer ID to limit annotation by.
307 layerIds: string, The layer ID(s) to limit annotation by. (repeated)
308 maxResults: integer, Maximum number of results to return
309 pageToken: string, The value of the nextToken from the previous page.
310 showDeleted: boolean, Set to true to return deleted annotations. updatedMin must be in the request to use this. Defaults to false.
311 source: string, String to identify the originator of this request.
312 updatedMax: string, RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive).
313 updatedMin: string, RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive).
314 volumeId: string, The volume to restrict annotations to.
315 x__xgafv: string, V1 error format.
316 Allowed values
317 1 - v1 error format
318 2 - v2 error format
319
320 Returns:
321 An object of the form:
322
323 {
324 &quot;items&quot;: [ # A list of annotations.
325 {
326 &quot;afterSelectedText&quot;: &quot;A String&quot;, # Anchor text after excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty.
327 &quot;beforeSelectedText&quot;: &quot;A String&quot;, # Anchor text before excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty.
328 &quot;clientVersionRanges&quot;: { # Selection ranges sent from the client.
329 &quot;cfiRange&quot;: { # Range in CFI format for this annotation sent by client.
330 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
331 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
332 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
333 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
334 },
335 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version the client sent in.
336 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation sent by client.
337 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
338 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
339 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
340 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
341 },
342 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation sent by client.
343 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
344 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
345 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
346 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
347 },
348 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation sent by client.
349 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
350 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
351 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
352 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
353 },
354 },
355 &quot;created&quot;: &quot;A String&quot;, # Timestamp for the created time of this annotation.
356 &quot;currentVersionRanges&quot;: { # Selection ranges for the most recent content version.
357 &quot;cfiRange&quot;: { # Range in CFI format for this annotation for version above.
358 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
359 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
360 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
361 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
362 },
363 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version applicable to ranges below.
364 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation for version above.
365 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
366 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
367 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
368 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
369 },
370 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation for version above.
371 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
372 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
373 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
374 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
375 },
376 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation for version above.
377 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
378 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
379 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
380 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
381 },
382 },
383 &quot;data&quot;: &quot;A String&quot;, # User-created data for this annotation.
384 &quot;deleted&quot;: True or False, # Indicates that this annotation is deleted.
385 &quot;highlightStyle&quot;: &quot;A String&quot;, # The highlight style for this annotation.
386 &quot;id&quot;: &quot;A String&quot;, # Id of this annotation, in the form of a GUID.
387 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
388 &quot;layerId&quot;: &quot;A String&quot;, # The layer this annotation is for.
389 &quot;layerSummary&quot;: {
390 &quot;allowedCharacterCount&quot;: 42, # Maximum allowed characters on this layer, especially for the &quot;copy&quot; layer.
391 &quot;limitType&quot;: &quot;A String&quot;, # Type of limitation on this layer. &quot;limited&quot; or &quot;unlimited&quot; for the &quot;copy&quot; layer.
392 &quot;remainingCharacterCount&quot;: 42, # Remaining allowed characters on this layer, especially for the &quot;copy&quot; layer.
393 },
394 &quot;pageIds&quot;: [ # Pages that this annotation spans.
395 &quot;A String&quot;,
396 ],
397 &quot;selectedText&quot;: &quot;A String&quot;, # Excerpt from the volume.
398 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource.
399 &quot;updated&quot;: &quot;A String&quot;, # Timestamp for the last time this annotation was modified.
400 &quot;volumeId&quot;: &quot;A String&quot;, # The volume that this annotation belongs to.
401 },
402 ],
403 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
404 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token to pass in for pagination for the next page. This will not be present if this request does not have more results.
405 &quot;totalItems&quot;: 42, # Total number of annotations found. This may be greater than the number of notes returned in this response if results have been paginated.
406 }</pre>
407 </div>
408
409 <div class="method">
410 <code class="details" id="list_next">list_next()</code>
411 <pre>Retrieves the next page of results.
412
413 Args:
414 previous_request: The request for the previous page. (required)
415 previous_response: The response from the request for the previous page. (required)
416
417 Returns:
418 A request object that you can call &#x27;execute()&#x27; on to request the next
419 page. Returns None if there are no more items in the collection.
420 </pre>
421 </div>
422
423 <div class="method">
424 <code class="details" id="summary">summary(layerIds, volumeId, source=None, x__xgafv=None)</code>
425 <pre>Gets the summary of specified layers.
426
427 Args:
428 layerIds: string, Array of layer IDs to get the summary for. (required) (repeated)
429 volumeId: string, Volume id to get the summary for. (required)
430 source: string, Optional. String to identify the originator of this request.
431 x__xgafv: string, V1 error format.
432 Allowed values
433 1 - v1 error format
434 2 - v2 error format
435
436 Returns:
437 An object of the form:
438
439 {
440 &quot;kind&quot;: &quot;A String&quot;,
441 &quot;layers&quot;: [
442 {
443 &quot;allowedCharacterCount&quot;: 42,
444 &quot;layerId&quot;: &quot;A String&quot;,
445 &quot;limitType&quot;: &quot;A String&quot;,
446 &quot;remainingCharacterCount&quot;: 42,
447 &quot;updated&quot;: &quot;A String&quot;,
448 },
449 ],
450 }</pre>
451 </div>
452
453 <div class="method">
454 <code class="details" id="update">update(annotationId, body=None, source=None, x__xgafv=None)</code>
455 <pre>Updates an existing annotation.
456
457 Args:
458 annotationId: string, The ID for the annotation to update. (required)
459 body: object, The request body.
460 The object takes the form of:
461
462 {
463 &quot;afterSelectedText&quot;: &quot;A String&quot;, # Anchor text after excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty.
464 &quot;beforeSelectedText&quot;: &quot;A String&quot;, # Anchor text before excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty.
465 &quot;clientVersionRanges&quot;: { # Selection ranges sent from the client.
466 &quot;cfiRange&quot;: { # Range in CFI format for this annotation sent by client.
467 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
468 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
469 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
470 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
471 },
472 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version the client sent in.
473 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation sent by client.
474 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
475 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
476 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
477 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
478 },
479 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation sent by client.
480 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
481 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
482 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
483 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
484 },
485 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation sent by client.
486 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
487 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
488 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
489 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
490 },
491 },
492 &quot;created&quot;: &quot;A String&quot;, # Timestamp for the created time of this annotation.
493 &quot;currentVersionRanges&quot;: { # Selection ranges for the most recent content version.
494 &quot;cfiRange&quot;: { # Range in CFI format for this annotation for version above.
495 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
496 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
497 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
498 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
499 },
500 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version applicable to ranges below.
501 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation for version above.
502 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
503 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
504 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
505 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
506 },
507 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation for version above.
508 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
509 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
510 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
511 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
512 },
513 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation for version above.
514 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
515 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
516 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
517 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
518 },
519 },
520 &quot;data&quot;: &quot;A String&quot;, # User-created data for this annotation.
521 &quot;deleted&quot;: True or False, # Indicates that this annotation is deleted.
522 &quot;highlightStyle&quot;: &quot;A String&quot;, # The highlight style for this annotation.
523 &quot;id&quot;: &quot;A String&quot;, # Id of this annotation, in the form of a GUID.
524 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
525 &quot;layerId&quot;: &quot;A String&quot;, # The layer this annotation is for.
526 &quot;layerSummary&quot;: {
527 &quot;allowedCharacterCount&quot;: 42, # Maximum allowed characters on this layer, especially for the &quot;copy&quot; layer.
528 &quot;limitType&quot;: &quot;A String&quot;, # Type of limitation on this layer. &quot;limited&quot; or &quot;unlimited&quot; for the &quot;copy&quot; layer.
529 &quot;remainingCharacterCount&quot;: 42, # Remaining allowed characters on this layer, especially for the &quot;copy&quot; layer.
530 },
531 &quot;pageIds&quot;: [ # Pages that this annotation spans.
532 &quot;A String&quot;,
533 ],
534 &quot;selectedText&quot;: &quot;A String&quot;, # Excerpt from the volume.
535 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource.
536 &quot;updated&quot;: &quot;A String&quot;, # Timestamp for the last time this annotation was modified.
537 &quot;volumeId&quot;: &quot;A String&quot;, # The volume that this annotation belongs to.
538 }
539
540 source: string, String to identify the originator of this request.
541 x__xgafv: string, V1 error format.
542 Allowed values
543 1 - v1 error format
544 2 - v2 error format
545
546 Returns:
547 An object of the form:
548
549 {
550 &quot;afterSelectedText&quot;: &quot;A String&quot;, # Anchor text after excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty.
551 &quot;beforeSelectedText&quot;: &quot;A String&quot;, # Anchor text before excerpt. For requests, if the user bookmarked a screen that has no flowing text on it, then this field should be empty.
552 &quot;clientVersionRanges&quot;: { # Selection ranges sent from the client.
553 &quot;cfiRange&quot;: { # Range in CFI format for this annotation sent by client.
554 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
555 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
556 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
557 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
558 },
559 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version the client sent in.
560 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation sent by client.
561 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
562 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
563 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
564 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
565 },
566 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation sent by client.
567 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
568 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
569 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
570 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
571 },
572 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation sent by client.
573 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
574 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
575 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
576 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
577 },
578 },
579 &quot;created&quot;: &quot;A String&quot;, # Timestamp for the created time of this annotation.
580 &quot;currentVersionRanges&quot;: { # Selection ranges for the most recent content version.
581 &quot;cfiRange&quot;: { # Range in CFI format for this annotation for version above.
582 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
583 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
584 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
585 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
586 },
587 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version applicable to ranges below.
588 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation for version above.
589 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
590 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
591 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
592 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
593 },
594 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation for version above.
595 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
596 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
597 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
598 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
599 },
600 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation for version above.
601 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
602 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
603 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
604 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
605 },
606 },
607 &quot;data&quot;: &quot;A String&quot;, # User-created data for this annotation.
608 &quot;deleted&quot;: True or False, # Indicates that this annotation is deleted.
609 &quot;highlightStyle&quot;: &quot;A String&quot;, # The highlight style for this annotation.
610 &quot;id&quot;: &quot;A String&quot;, # Id of this annotation, in the form of a GUID.
611 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
612 &quot;layerId&quot;: &quot;A String&quot;, # The layer this annotation is for.
613 &quot;layerSummary&quot;: {
614 &quot;allowedCharacterCount&quot;: 42, # Maximum allowed characters on this layer, especially for the &quot;copy&quot; layer.
615 &quot;limitType&quot;: &quot;A String&quot;, # Type of limitation on this layer. &quot;limited&quot; or &quot;unlimited&quot; for the &quot;copy&quot; layer.
616 &quot;remainingCharacterCount&quot;: 42, # Remaining allowed characters on this layer, especially for the &quot;copy&quot; layer.
617 },
618 &quot;pageIds&quot;: [ # Pages that this annotation spans.
619 &quot;A String&quot;,
620 ],
621 &quot;selectedText&quot;: &quot;A String&quot;, # Excerpt from the volume.
622 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource.
623 &quot;updated&quot;: &quot;A String&quot;, # Timestamp for the last time this annotation was modified.
624 &quot;volumeId&quot;: &quot;A String&quot;, # The volume that this annotation belongs to.
625 }</pre>
626 </div>
627
628 </body></html>