blob: 669c2696d24e14152dc2a8b747c61b51609491f6 [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">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -080084 <code><a href="#insert">insert(body=None, showOnlySummaryInResponse=None, source=None, annotationId=None, country=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">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -080087 <code><a href="#list">list(updatedMax=None, pageToken=None, volumeId=None, updatedMin=None, layerId=None, layerIds=None, source=None, contentVersion=None, showDeleted=None, maxResults=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">
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800124 <code class="details" id="insert">insert(body=None, showOnlySummaryInResponse=None, source=None, annotationId=None, country=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;currentVersionRanges&quot;: { # Selection ranges for the most recent content version.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800133 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation for version above.
134 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
135 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
136 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
137 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
138 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700139 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation for version above.
140 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700141 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800142 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700143 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700144 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700145 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation for version above.
146 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700147 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800148 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700149 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700150 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700151 &quot;cfiRange&quot;: { # Range in CFI format for this annotation for version above.
152 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700153 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800154 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700155 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700156 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700157 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version applicable to ranges below.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700158 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700159 &quot;layerSummary&quot;: {
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700160 &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.
161 &quot;remainingCharacterCount&quot;: 42, # Remaining allowed characters on this layer, especially for the &quot;copy&quot; layer.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800162 &quot;allowedCharacterCount&quot;: 42, # Maximum allowed characters on this layer, especially for the &quot;copy&quot; layer.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700163 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700164 &quot;clientVersionRanges&quot;: { # Selection ranges sent from the client.
165 &quot;cfiRange&quot;: { # Range in CFI format for this annotation sent by client.
166 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700167 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700168 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700169 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
170 },
171 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation sent by client.
172 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700173 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800174 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
175 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
176 },
177 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation sent by client.
178 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
179 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
180 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700181 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
182 },
183 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation sent by client.
184 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700185 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800186 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700187 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
188 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800189 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version the client sent in.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700190 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700191 &quot;highlightStyle&quot;: &quot;A String&quot;, # The highlight style for this annotation.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800192 &quot;selectedText&quot;: &quot;A String&quot;, # Excerpt from the volume.
193 &quot;pageIds&quot;: [ # Pages that this annotation spans.
194 &quot;A String&quot;,
195 ],
196 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700197 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource.
198 &quot;volumeId&quot;: &quot;A String&quot;, # The volume that this annotation belongs to.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800199 &quot;deleted&quot;: True or False, # Indicates that this annotation is deleted.
200 &quot;id&quot;: &quot;A String&quot;, # Id of this annotation, in the form of a GUID.
201 &quot;data&quot;: &quot;A String&quot;, # User-created data for this annotation.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700202 &quot;layerId&quot;: &quot;A String&quot;, # The layer this annotation is for.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800203 &quot;created&quot;: &quot;A String&quot;, # Timestamp for the created time of this annotation.
204 &quot;updated&quot;: &quot;A String&quot;, # Timestamp for the last time this annotation was modified.
205 &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.
206 &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.
207 }
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700208
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800209 showOnlySummaryInResponse: boolean, Requests that only the summary of the specified layer be provided in the response.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700210 source: string, String to identify the originator of this request.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800211 annotationId: string, The ID for the annotation to insert.
212 country: string, ISO-3166-1 code to override the IP-based location.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700213 x__xgafv: string, V1 error format.
214 Allowed values
215 1 - v1 error format
216 2 - v2 error format
217
218Returns:
219 An object of the form:
220
221 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800222 &quot;currentVersionRanges&quot;: { # Selection ranges for the most recent content version.
223 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation for version above.
224 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
225 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
226 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
227 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
228 },
229 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation for version above.
230 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
231 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
232 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
233 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
234 },
235 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation for version above.
236 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
237 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
238 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
239 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
240 },
241 &quot;cfiRange&quot;: { # Range in CFI format for this annotation for version above.
242 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
243 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
244 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
245 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
246 },
247 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version applicable to ranges below.
248 },
249 &quot;layerSummary&quot;: {
250 &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.
251 &quot;remainingCharacterCount&quot;: 42, # Remaining allowed characters on this layer, especially for the &quot;copy&quot; layer.
252 &quot;allowedCharacterCount&quot;: 42, # Maximum allowed characters on this layer, especially for the &quot;copy&quot; layer.
253 },
254 &quot;clientVersionRanges&quot;: { # Selection ranges sent from the client.
255 &quot;cfiRange&quot;: { # Range in CFI format for this annotation sent by client.
256 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
257 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
258 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
259 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
260 },
261 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation sent by client.
262 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
263 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
264 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
265 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
266 },
267 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation sent by client.
268 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
269 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
270 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
271 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
272 },
273 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation sent by client.
274 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
275 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
276 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
277 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
278 },
279 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version the client sent in.
280 },
281 &quot;highlightStyle&quot;: &quot;A String&quot;, # The highlight style for this annotation.
282 &quot;selectedText&quot;: &quot;A String&quot;, # Excerpt from the volume.
283 &quot;pageIds&quot;: [ # Pages that this annotation spans.
284 &quot;A String&quot;,
285 ],
286 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
287 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource.
288 &quot;volumeId&quot;: &quot;A String&quot;, # The volume that this annotation belongs to.
289 &quot;deleted&quot;: True or False, # Indicates that this annotation is deleted.
290 &quot;id&quot;: &quot;A String&quot;, # Id of this annotation, in the form of a GUID.
291 &quot;data&quot;: &quot;A String&quot;, # User-created data for this annotation.
292 &quot;layerId&quot;: &quot;A String&quot;, # The layer this annotation is for.
293 &quot;created&quot;: &quot;A String&quot;, # Timestamp for the created time of this annotation.
294 &quot;updated&quot;: &quot;A String&quot;, # Timestamp for the last time this annotation was modified.
295 &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.
296 &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.
297 }</pre>
298</div>
299
300<div class="method">
301 <code class="details" id="list">list(updatedMax=None, pageToken=None, volumeId=None, updatedMin=None, layerId=None, layerIds=None, source=None, contentVersion=None, showDeleted=None, maxResults=None, x__xgafv=None)</code>
302 <pre>Retrieves a list of annotations, possibly filtered.
303
304Args:
305 updatedMax: string, RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive).
306 pageToken: string, The value of the nextToken from the previous page.
307 volumeId: string, The volume to restrict annotations to.
308 updatedMin: string, RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive).
309 layerId: string, The layer ID to limit annotation by.
310 layerIds: string, The layer ID(s) to limit annotation by. (repeated)
311 source: string, String to identify the originator of this request.
312 contentVersion: string, The content version for the requested volume.
313 showDeleted: boolean, Set to true to return deleted annotations. updatedMin must be in the request to use this. Defaults to false.
314 maxResults: integer, Maximum number of results to return
315 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;kind&quot;: &quot;A String&quot;, # Resource type.
325 &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.
326 &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 -0700327 &quot;items&quot;: [ # A list of annotations.
328 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800329 &quot;currentVersionRanges&quot;: { # Selection ranges for the most recent content version.
330 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation for version above.
331 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
332 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
333 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
334 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
335 },
336 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation for version above.
337 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
338 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
339 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
340 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
341 },
342 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation for version above.
343 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
344 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
345 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
346 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
347 },
348 &quot;cfiRange&quot;: { # Range in CFI format for this annotation for version above.
349 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
350 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
351 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
352 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
353 },
354 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version applicable to ranges below.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700355 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800356 &quot;layerSummary&quot;: {
357 &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.
358 &quot;remainingCharacterCount&quot;: 42, # Remaining allowed characters on this layer, especially for the &quot;copy&quot; layer.
359 &quot;allowedCharacterCount&quot;: 42, # Maximum allowed characters on this layer, especially for the &quot;copy&quot; layer.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700360 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800361 &quot;clientVersionRanges&quot;: { # Selection ranges sent from the client.
362 &quot;cfiRange&quot;: { # Range in CFI format for this annotation sent by client.
363 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
364 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
365 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
366 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
367 },
368 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation sent by client.
369 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
370 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
371 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
372 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
373 },
374 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation sent by client.
375 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
376 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
377 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
378 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
379 },
380 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation sent by client.
381 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
382 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
383 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
384 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
385 },
386 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version the client sent in.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700387 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800388 &quot;highlightStyle&quot;: &quot;A String&quot;, # The highlight style for this annotation.
389 &quot;selectedText&quot;: &quot;A String&quot;, # Excerpt from the volume.
390 &quot;pageIds&quot;: [ # Pages that this annotation spans.
391 &quot;A String&quot;,
392 ],
393 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
394 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource.
395 &quot;volumeId&quot;: &quot;A String&quot;, # The volume that this annotation belongs to.
396 &quot;deleted&quot;: True or False, # Indicates that this annotation is deleted.
397 &quot;id&quot;: &quot;A String&quot;, # Id of this annotation, in the form of a GUID.
398 &quot;data&quot;: &quot;A String&quot;, # User-created data for this annotation.
399 &quot;layerId&quot;: &quot;A String&quot;, # The layer this annotation is for.
400 &quot;created&quot;: &quot;A String&quot;, # Timestamp for the created time of this annotation.
401 &quot;updated&quot;: &quot;A String&quot;, # Timestamp for the last time this annotation was modified.
402 &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.
403 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700404 },
John Asmuth614db982014-04-24 15:46:26 -0400405 ],
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 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800439 &quot;kind&quot;: &quot;A String&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700440 &quot;layers&quot;: [
John Asmuth614db982014-04-24 15:46:26 -0400441 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700442 &quot;remainingCharacterCount&quot;: 42,
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800443 &quot;layerId&quot;: &quot;A String&quot;,
444 &quot;limitType&quot;: &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700445 &quot;updated&quot;: &quot;A String&quot;,
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800446 &quot;allowedCharacterCount&quot;: 42,
John Asmuth614db982014-04-24 15:46:26 -0400447 },
448 ],
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{
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800462 &quot;currentVersionRanges&quot;: { # Selection ranges for the most recent content version.
463 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation for version above.
464 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
465 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
466 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
467 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
468 },
469 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation for version above.
470 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
471 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
472 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
473 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
474 },
475 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation for version above.
476 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
477 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
478 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
479 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
480 },
481 &quot;cfiRange&quot;: { # Range in CFI format for this annotation for version above.
482 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
483 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
484 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
485 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
486 },
487 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version applicable to ranges below.
John Asmuth614db982014-04-24 15:46:26 -0400488 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800489 &quot;layerSummary&quot;: {
490 &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.
491 &quot;remainingCharacterCount&quot;: 42, # Remaining allowed characters on this layer, especially for the &quot;copy&quot; layer.
492 &quot;allowedCharacterCount&quot;: 42, # Maximum allowed characters on this layer, especially for the &quot;copy&quot; layer.
John Asmuth614db982014-04-24 15:46:26 -0400493 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800494 &quot;clientVersionRanges&quot;: { # Selection ranges sent from the client.
495 &quot;cfiRange&quot;: { # Range in CFI format for this annotation sent by client.
496 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
497 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
498 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
499 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
500 },
501 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation sent by client.
502 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
503 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
504 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
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 sent by client.
508 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
509 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
510 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
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 sent by client.
514 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
515 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
516 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
517 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
518 },
519 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version the client sent in.
John Asmuth614db982014-04-24 15:46:26 -0400520 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800521 &quot;highlightStyle&quot;: &quot;A String&quot;, # The highlight style for this annotation.
522 &quot;selectedText&quot;: &quot;A String&quot;, # Excerpt from the volume.
523 &quot;pageIds&quot;: [ # Pages that this annotation spans.
524 &quot;A String&quot;,
525 ],
526 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
527 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource.
528 &quot;volumeId&quot;: &quot;A String&quot;, # The volume that this annotation belongs to.
529 &quot;deleted&quot;: True or False, # Indicates that this annotation is deleted.
530 &quot;id&quot;: &quot;A String&quot;, # Id of this annotation, in the form of a GUID.
531 &quot;data&quot;: &quot;A String&quot;, # User-created data for this annotation.
532 &quot;layerId&quot;: &quot;A String&quot;, # The layer this annotation is for.
533 &quot;created&quot;: &quot;A String&quot;, # Timestamp for the created time of this annotation.
534 &quot;updated&quot;: &quot;A String&quot;, # Timestamp for the last time this annotation was modified.
535 &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.
536 &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.
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 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800549 &quot;currentVersionRanges&quot;: { # Selection ranges for the most recent content version.
550 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation for version above.
551 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
552 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
553 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
554 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
555 },
556 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation for version above.
557 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
558 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
559 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
560 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
561 },
562 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation for version above.
563 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
564 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
565 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
566 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
567 },
568 &quot;cfiRange&quot;: { # Range in CFI format for this annotation for version above.
569 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
570 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
571 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
572 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
573 },
574 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version applicable to ranges below.
John Asmuth614db982014-04-24 15:46:26 -0400575 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800576 &quot;layerSummary&quot;: {
577 &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.
578 &quot;remainingCharacterCount&quot;: 42, # Remaining allowed characters on this layer, especially for the &quot;copy&quot; layer.
579 &quot;allowedCharacterCount&quot;: 42, # Maximum allowed characters on this layer, especially for the &quot;copy&quot; layer.
John Asmuth614db982014-04-24 15:46:26 -0400580 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800581 &quot;clientVersionRanges&quot;: { # Selection ranges sent from the client.
582 &quot;cfiRange&quot;: { # Range in CFI format for this annotation sent by client.
583 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
584 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
585 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
586 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
587 },
588 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation sent by client.
589 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
590 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
591 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
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 sent by client.
595 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
596 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
597 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
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 sent by client.
601 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
602 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
603 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
604 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
605 },
606 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version the client sent in.
John Asmuth614db982014-04-24 15:46:26 -0400607 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800608 &quot;highlightStyle&quot;: &quot;A String&quot;, # The highlight style for this annotation.
609 &quot;selectedText&quot;: &quot;A String&quot;, # Excerpt from the volume.
610 &quot;pageIds&quot;: [ # Pages that this annotation spans.
611 &quot;A String&quot;,
612 ],
613 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
614 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource.
615 &quot;volumeId&quot;: &quot;A String&quot;, # The volume that this annotation belongs to.
616 &quot;deleted&quot;: True or False, # Indicates that this annotation is deleted.
617 &quot;id&quot;: &quot;A String&quot;, # Id of this annotation, in the form of a GUID.
618 &quot;data&quot;: &quot;A String&quot;, # User-created data for this annotation.
619 &quot;layerId&quot;: &quot;A String&quot;, # The layer this annotation is for.
620 &quot;created&quot;: &quot;A String&quot;, # Timestamp for the created time of this annotation.
621 &quot;updated&quot;: &quot;A String&quot;, # Timestamp for the last time this annotation was modified.
622 &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.
623 &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.
624 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400625</div>
626
627</body></html>