blob: a62df29c8fd90330954fee0c5378d977a21c548a [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.mylibrary.html">mylibrary</a> . <a href="books_v1.mylibrary.annotations.html">annotations</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="#delete">delete(annotationId, source=None, x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040082<p class="firstline">Deletes an annotation.</p>
83<p class="toc_element">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070084 <code><a href="#insert">insert(body=None, source=None, annotationId=None, country=None, showOnlySummaryInResponse=None, x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040085<p class="firstline">Inserts a new annotation.</p>
86<p class="toc_element">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070087 <code><a href="#list">list(pageToken=None, volumeId=None, layerIds=None, maxResults=None, contentVersion=None, updatedMax=None, showDeleted=None, updatedMin=None, layerId=None, source=None, x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040088<p class="firstline">Retrieves a list of annotations, possibly filtered.</p>
89<p class="toc_element">
90 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
91<p class="firstline">Retrieves the next page of results.</p>
92<p class="toc_element">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -070093 <code><a href="#summary">summary(layerIds, volumeId, x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040094<p class="firstline">Gets the summary of specified layers.</p>
95<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070096 <code><a href="#update">update(annotationId, body=None, source=None, x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040097<p class="firstline">Updates an existing annotation.</p>
98<h3>Method Details</h3>
99<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102</div>
103
104<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700105 <code class="details" id="delete">delete(annotationId, source=None, x__xgafv=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400106 <pre>Deletes an annotation.
107
108Args:
109 annotationId: string, The ID for the annotation to delete. (required)
110 source: string, String to identify the originator of this request.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700111 x__xgafv: string, V1 error format.
112 Allowed values
113 1 - v1 error format
114 2 - v2 error format
115
116Returns:
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); } The JSON representation for `Empty` is empty JSON object `{}`.
120 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400121</div>
122
123<div class="method">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700124 <code class="details" id="insert">insert(body=None, source=None, annotationId=None, country=None, showOnlySummaryInResponse=None, x__xgafv=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400125 <pre>Inserts a new annotation.
126
127Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700128 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400129 The object takes the form of:
130
131{
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700132 &quot;deleted&quot;: True or False, # Indicates that this annotation is deleted.
133 &quot;currentVersionRanges&quot;: { # Selection ranges for the most recent content version.
134 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation for version above.
135 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
136 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
137 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
138 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700139 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700140 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation for version above.
141 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
142 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
143 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
144 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
John Asmuth614db982014-04-24 15:46:26 -0400145 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700146 &quot;cfiRange&quot;: { # Range in CFI format for this annotation for version above.
147 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
148 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
149 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
150 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700151 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700152 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version applicable to ranges below.
153 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation for version above.
154 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
155 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
156 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
157 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
158 },
159 },
160 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
161 &quot;pageIds&quot;: [ # Pages that this annotation spans.
162 &quot;A String&quot;,
163 ],
164 &quot;layerSummary&quot;: {
165 &quot;allowedCharacterCount&quot;: 42, # Maximum allowed characters on this layer, especially for the &quot;copy&quot; layer.
166 &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.
167 &quot;remainingCharacterCount&quot;: 42, # Remaining allowed characters on this layer, especially for the &quot;copy&quot; layer.
168 },
169 &quot;selectedText&quot;: &quot;A String&quot;, # Excerpt from the volume.
170 &quot;clientVersionRanges&quot;: { # Selection ranges sent from the client.
171 &quot;cfiRange&quot;: { # Range in CFI format for this annotation sent by client.
172 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
173 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
174 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
175 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
176 },
177 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version the client sent in.
178 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation sent by client.
179 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
180 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
181 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
182 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
183 },
184 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation sent by client.
185 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
186 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
187 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
188 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
189 },
190 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation sent by client.
191 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
192 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
193 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
194 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
195 },
196 },
197 &quot;updated&quot;: &quot;A String&quot;, # Timestamp for the last time this annotation was modified.
198 &quot;created&quot;: &quot;A String&quot;, # Timestamp for the created time of this annotation.
199 &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.
200 &quot;data&quot;: &quot;A String&quot;, # User-created data for this annotation.
201 &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.
202 &quot;id&quot;: &quot;A String&quot;, # Id of this annotation, in the form of a GUID.
203 &quot;highlightStyle&quot;: &quot;A String&quot;, # The highlight style for this annotation.
204 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource.
205 &quot;volumeId&quot;: &quot;A String&quot;, # The volume that this annotation belongs to.
206 &quot;layerId&quot;: &quot;A String&quot;, # The layer this annotation is for.
207}
John Asmuth614db982014-04-24 15:46:26 -0400208
John Asmuth614db982014-04-24 15:46:26 -0400209 source: string, String to identify the originator of this request.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700210 annotationId: string, The ID for the annotation to insert.
211 country: string, ISO-3166-1 code to override the IP-based location.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700212 showOnlySummaryInResponse: boolean, Requests that only the summary of the specified layer be provided in the response.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700213 x__xgafv: string, V1 error format.
214 Allowed values
215 1 - v1 error format
216 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400217
218Returns:
219 An object of the form:
220
221 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700222 &quot;deleted&quot;: True or False, # Indicates that this annotation is deleted.
223 &quot;currentVersionRanges&quot;: { # Selection ranges for the most recent content version.
224 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation for version above.
225 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
226 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
227 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
228 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700229 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700230 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation for version above.
231 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
232 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
233 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
234 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700235 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700236 &quot;cfiRange&quot;: { # Range in CFI format for this annotation for version above.
237 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
238 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
239 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
240 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700241 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700242 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version applicable to ranges below.
243 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation for version above.
244 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
245 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
246 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
247 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
248 },
249 },
250 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
251 &quot;pageIds&quot;: [ # Pages that this annotation spans.
252 &quot;A String&quot;,
253 ],
254 &quot;layerSummary&quot;: {
255 &quot;allowedCharacterCount&quot;: 42, # Maximum allowed characters on this layer, especially for the &quot;copy&quot; layer.
256 &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.
257 &quot;remainingCharacterCount&quot;: 42, # Remaining allowed characters on this layer, especially for the &quot;copy&quot; layer.
258 },
259 &quot;selectedText&quot;: &quot;A String&quot;, # Excerpt from the volume.
260 &quot;clientVersionRanges&quot;: { # Selection ranges sent from the client.
261 &quot;cfiRange&quot;: { # Range in CFI format for this annotation sent by client.
262 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
263 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
264 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
265 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
266 },
267 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version the client sent in.
268 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation sent by client.
269 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
270 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
271 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
272 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
273 },
274 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation sent by client.
275 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
276 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
277 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
278 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
279 },
280 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation sent by client.
281 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
282 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
283 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
284 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
285 },
286 },
287 &quot;updated&quot;: &quot;A String&quot;, # Timestamp for the last time this annotation was modified.
288 &quot;created&quot;: &quot;A String&quot;, # Timestamp for the created time of this annotation.
289 &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.
290 &quot;data&quot;: &quot;A String&quot;, # User-created data for this annotation.
291 &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.
292 &quot;id&quot;: &quot;A String&quot;, # Id of this annotation, in the form of a GUID.
293 &quot;highlightStyle&quot;: &quot;A String&quot;, # The highlight style for this annotation.
294 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource.
295 &quot;volumeId&quot;: &quot;A String&quot;, # The volume that this annotation belongs to.
296 &quot;layerId&quot;: &quot;A String&quot;, # The layer this annotation is for.
297 }</pre>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700298</div>
299
300<div class="method">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700301 <code class="details" id="list">list(pageToken=None, volumeId=None, layerIds=None, maxResults=None, contentVersion=None, updatedMax=None, showDeleted=None, updatedMin=None, layerId=None, source=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700302 <pre>Retrieves a list of annotations, possibly filtered.
303
304Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700305 pageToken: string, The value of the nextToken from the previous page.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700306 volumeId: string, The volume to restrict annotations to.
307 layerIds: string, The layer ID(s) to limit annotation by. (repeated)
308 maxResults: integer, Maximum number of results to return
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700309 contentVersion: string, The content version for the requested volume.
310 updatedMax: string, RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700311 showDeleted: boolean, Set to true to return deleted annotations. updatedMin must be in the request to use this. Defaults to false.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700312 updatedMin: string, RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive).
313 layerId: string, The layer ID to limit annotation by.
314 source: string, String to identify the originator of this request.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700315 x__xgafv: string, V1 error format.
316 Allowed values
317 1 - v1 error format
318 2 - v2 error format
319
320Returns:
321 An object of the form:
322
323 {
324 &quot;items&quot;: [ # A list of annotations.
325 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700326 &quot;deleted&quot;: True or False, # Indicates that this annotation is deleted.
327 &quot;currentVersionRanges&quot;: { # Selection ranges for the most recent content version.
328 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation for version above.
329 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
330 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
331 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
332 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700333 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700334 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation for version above.
335 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
336 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
337 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
338 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700339 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700340 &quot;cfiRange&quot;: { # Range in CFI format for this annotation for version above.
341 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
342 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
343 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
344 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700345 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700346 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version applicable to ranges below.
347 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation for version above.
348 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
349 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
350 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
351 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
352 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700353 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700354 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
355 &quot;pageIds&quot;: [ # Pages that this annotation spans.
356 &quot;A String&quot;,
357 ],
358 &quot;layerSummary&quot;: {
359 &quot;allowedCharacterCount&quot;: 42, # Maximum allowed characters on this layer, especially for the &quot;copy&quot; layer.
360 &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.
361 &quot;remainingCharacterCount&quot;: 42, # Remaining allowed characters on this layer, especially for the &quot;copy&quot; layer.
362 },
363 &quot;selectedText&quot;: &quot;A String&quot;, # Excerpt from the volume.
364 &quot;clientVersionRanges&quot;: { # Selection ranges sent from the client.
365 &quot;cfiRange&quot;: { # Range in CFI format for this annotation sent by client.
366 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
367 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
368 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
369 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
370 },
371 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version the client sent in.
372 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation sent by client.
373 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
374 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
375 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
376 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
377 },
378 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation sent by client.
379 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
380 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
381 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
382 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
383 },
384 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation sent by client.
385 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
386 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
387 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
388 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
389 },
390 },
391 &quot;updated&quot;: &quot;A String&quot;, # Timestamp for the last time this annotation was modified.
392 &quot;created&quot;: &quot;A String&quot;, # Timestamp for the created time of this annotation.
393 &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.
394 &quot;data&quot;: &quot;A String&quot;, # User-created data for this annotation.
395 &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.
396 &quot;id&quot;: &quot;A String&quot;, # Id of this annotation, in the form of a GUID.
397 &quot;highlightStyle&quot;: &quot;A String&quot;, # The highlight style for this annotation.
398 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource.
399 &quot;volumeId&quot;: &quot;A String&quot;, # The volume that this annotation belongs to.
400 &quot;layerId&quot;: &quot;A String&quot;, # The layer this annotation is for.
401 },
John Asmuth614db982014-04-24 15:46:26 -0400402 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700403 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700404 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700405 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
John Asmuth614db982014-04-24 15:46:26 -0400406 }</pre>
407</div>
408
409<div class="method">
410 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
411 <pre>Retrieves the next page of results.
412
413Args:
414 previous_request: The request for the previous page. (required)
415 previous_response: The response from the request for the previous page. (required)
416
417Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700418 A request object that you can call &#x27;execute()&#x27; on to request the next
John Asmuth614db982014-04-24 15:46:26 -0400419 page. Returns None if there are no more items in the collection.
420 </pre>
421</div>
422
423<div class="method">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700424 <code class="details" id="summary">summary(layerIds, volumeId, x__xgafv=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400425 <pre>Gets the summary of specified layers.
426
427Args:
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700428 layerIds: string, Array of layer IDs to get the summary for. (required) (repeated)
429 volumeId: string, Volume id to get the summary for. (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700430 x__xgafv: string, V1 error format.
431 Allowed values
432 1 - v1 error format
433 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400434
435Returns:
436 An object of the form:
437
438 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700439 &quot;layers&quot;: [
John Asmuth614db982014-04-24 15:46:26 -0400440 {
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700441 &quot;layerId&quot;: &quot;A String&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700442 &quot;allowedCharacterCount&quot;: 42,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700443 &quot;limitType&quot;: &quot;A String&quot;,
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700444 &quot;remainingCharacterCount&quot;: 42,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700445 &quot;updated&quot;: &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400446 },
447 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700448 &quot;kind&quot;: &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400449 }</pre>
450</div>
451
452<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700453 <code class="details" id="update">update(annotationId, body=None, source=None, x__xgafv=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400454 <pre>Updates an existing annotation.
455
456Args:
457 annotationId: string, The ID for the annotation to update. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700458 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400459 The object takes the form of:
460
461{
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700462 &quot;deleted&quot;: True or False, # Indicates that this annotation is deleted.
463 &quot;currentVersionRanges&quot;: { # Selection ranges for the most recent content version.
464 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation for version above.
465 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
466 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
467 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
468 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
John Asmuth614db982014-04-24 15:46:26 -0400469 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700470 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation for version above.
471 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
472 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
473 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
474 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
John Asmuth614db982014-04-24 15:46:26 -0400475 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700476 &quot;cfiRange&quot;: { # Range in CFI format for this annotation for version above.
477 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
478 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
479 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
480 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
John Asmuth614db982014-04-24 15:46:26 -0400481 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700482 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version applicable to ranges below.
483 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation for version above.
484 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
485 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
486 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
487 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
488 },
489 },
490 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
491 &quot;pageIds&quot;: [ # Pages that this annotation spans.
492 &quot;A String&quot;,
493 ],
494 &quot;layerSummary&quot;: {
495 &quot;allowedCharacterCount&quot;: 42, # Maximum allowed characters on this layer, especially for the &quot;copy&quot; layer.
496 &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.
497 &quot;remainingCharacterCount&quot;: 42, # Remaining allowed characters on this layer, especially for the &quot;copy&quot; layer.
498 },
499 &quot;selectedText&quot;: &quot;A String&quot;, # Excerpt from the volume.
500 &quot;clientVersionRanges&quot;: { # Selection ranges sent from the client.
501 &quot;cfiRange&quot;: { # Range in CFI format for this annotation sent by client.
502 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
503 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
504 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
505 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
506 },
507 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version the client sent in.
508 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation sent by client.
509 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
510 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
511 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
512 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
513 },
514 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation sent by client.
515 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
516 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
517 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
518 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
519 },
520 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation sent by client.
521 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
522 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
523 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
524 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
525 },
526 },
527 &quot;updated&quot;: &quot;A String&quot;, # Timestamp for the last time this annotation was modified.
528 &quot;created&quot;: &quot;A String&quot;, # Timestamp for the created time of this annotation.
529 &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.
530 &quot;data&quot;: &quot;A String&quot;, # User-created data for this annotation.
531 &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.
532 &quot;id&quot;: &quot;A String&quot;, # Id of this annotation, in the form of a GUID.
533 &quot;highlightStyle&quot;: &quot;A String&quot;, # The highlight style for this annotation.
534 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource.
535 &quot;volumeId&quot;: &quot;A String&quot;, # The volume that this annotation belongs to.
536 &quot;layerId&quot;: &quot;A String&quot;, # The layer this annotation is for.
537}
John Asmuth614db982014-04-24 15:46:26 -0400538
539 source: string, String to identify the originator of this request.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700540 x__xgafv: string, V1 error format.
541 Allowed values
542 1 - v1 error format
543 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400544
545Returns:
546 An object of the form:
547
548 {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700549 &quot;deleted&quot;: True or False, # Indicates that this annotation is deleted.
550 &quot;currentVersionRanges&quot;: { # Selection ranges for the most recent content version.
551 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation for version above.
552 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
553 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
554 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
555 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
John Asmuth614db982014-04-24 15:46:26 -0400556 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700557 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation for version above.
558 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
559 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
560 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
561 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
John Asmuth614db982014-04-24 15:46:26 -0400562 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700563 &quot;cfiRange&quot;: { # Range in CFI format for this annotation for version above.
564 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
565 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
566 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
567 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
John Asmuth614db982014-04-24 15:46:26 -0400568 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700569 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version applicable to ranges below.
570 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation for version above.
571 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
572 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
573 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
574 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
575 },
576 },
577 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
578 &quot;pageIds&quot;: [ # Pages that this annotation spans.
579 &quot;A String&quot;,
580 ],
581 &quot;layerSummary&quot;: {
582 &quot;allowedCharacterCount&quot;: 42, # Maximum allowed characters on this layer, especially for the &quot;copy&quot; layer.
583 &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.
584 &quot;remainingCharacterCount&quot;: 42, # Remaining allowed characters on this layer, especially for the &quot;copy&quot; layer.
585 },
586 &quot;selectedText&quot;: &quot;A String&quot;, # Excerpt from the volume.
587 &quot;clientVersionRanges&quot;: { # Selection ranges sent from the client.
588 &quot;cfiRange&quot;: { # Range in CFI format for this annotation sent by client.
589 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
590 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
591 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
592 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
593 },
594 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version the client sent in.
595 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation sent by client.
596 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
597 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
598 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
599 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
600 },
601 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation sent by client.
602 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
603 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
604 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
605 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
606 },
607 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation sent by client.
608 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
609 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
610 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
611 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
612 },
613 },
614 &quot;updated&quot;: &quot;A String&quot;, # Timestamp for the last time this annotation was modified.
615 &quot;created&quot;: &quot;A String&quot;, # Timestamp for the created time of this annotation.
616 &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.
617 &quot;data&quot;: &quot;A String&quot;, # User-created data for this annotation.
618 &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.
619 &quot;id&quot;: &quot;A String&quot;, # Id of this annotation, in the form of a GUID.
620 &quot;highlightStyle&quot;: &quot;A String&quot;, # The highlight style for this annotation.
621 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource.
622 &quot;volumeId&quot;: &quot;A String&quot;, # The volume that this annotation belongs to.
623 &quot;layerId&quot;: &quot;A String&quot;, # The layer this annotation is for.
624 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400625</div>
626
627</body></html>