blob: 06095d94825b0ae20570036fca543a437de3f599 [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 Bot0bf565c2020-12-09 08:56:03 -080084 <code><a href="#insert">insert(body=None, country=None, showOnlySummaryInResponse=None, source=None, annotationId=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 Bot0bf565c2020-12-09 08:56:03 -080087 <code><a href="#list">list(source=None, volumeId=None, showDeleted=None, layerIds=None, maxResults=None, pageToken=None, updatedMax=None, updatedMin=None, layerId=None, contentVersion=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 Bot0bf565c2020-12-09 08:56:03 -0800124 <code class="details" id="insert">insert(body=None, country=None, showOnlySummaryInResponse=None, source=None, annotationId=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{
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800132 &quot;created&quot;: &quot;A String&quot;, # Timestamp for the created time of this annotation.
133 &quot;data&quot;: &quot;A String&quot;, # User-created data for this annotation.
134 &quot;clientVersionRanges&quot;: { # Selection ranges sent from the client.
135 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation sent by client.
136 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
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.
139 &quot;endPosition&quot;: &quot;A String&quot;, # The ending 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;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
144 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
145 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
146 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
147 },
148 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation sent by client.
149 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
150 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
151 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
152 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
153 },
154 &quot;cfiRange&quot;: { # Range in CFI format for this annotation sent by client.
155 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
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 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
159 },
160 },
161 &quot;id&quot;: &quot;A String&quot;, # Id of this annotation, in the form of a GUID.
162 &quot;layerId&quot;: &quot;A String&quot;, # The layer this annotation is for.
163 &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.
164 &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.
165 &quot;currentVersionRanges&quot;: { # Selection ranges for the most recent content version.
166 &quot;cfiRange&quot;: { # Range in CFI format for this annotation for version above.
167 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
168 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
169 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
170 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
171 },
172 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version applicable to ranges below.
173 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation for version above.
174 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
175 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
176 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
177 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
178 },
179 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation for version above.
180 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
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 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
184 },
185 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation for version above.
186 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
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 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
190 },
191 },
192 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource.
193 &quot;layerSummary&quot;: {
194 &quot;remainingCharacterCount&quot;: 42, # Remaining allowed characters on this layer, especially for the &quot;copy&quot; layer.
195 &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.
196 &quot;allowedCharacterCount&quot;: 42, # Maximum allowed characters on this layer, especially for the &quot;copy&quot; layer.
197 },
198 &quot;deleted&quot;: True or False, # Indicates that this annotation is deleted.
199 &quot;pageIds&quot;: [ # Pages that this annotation spans.
200 &quot;A String&quot;,
201 ],
202 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
203 &quot;updated&quot;: &quot;A String&quot;, # Timestamp for the last time this annotation was modified.
204 &quot;volumeId&quot;: &quot;A String&quot;, # The volume that this annotation belongs to.
205 &quot;highlightStyle&quot;: &quot;A String&quot;, # The highlight style for this annotation.
206 &quot;selectedText&quot;: &quot;A String&quot;, # Excerpt from the volume.
207}
208
209 country: string, ISO-3166-1 code to override the IP-based location.
210 showOnlySummaryInResponse: boolean, Requests that only the summary of the specified layer be provided in the response.
211 source: string, String to identify the originator of this request.
212 annotationId: string, The ID for the annotation to insert.
213 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 {
222 &quot;created&quot;: &quot;A String&quot;, # Timestamp for the created time of this annotation.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800223 &quot;data&quot;: &quot;A String&quot;, # User-created data for this annotation.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800224 &quot;clientVersionRanges&quot;: { # Selection ranges sent from the client.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800225 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation sent by client.
226 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
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.
229 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
230 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800231 &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;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
234 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
235 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
236 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
237 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800238 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation sent by client.
239 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
240 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
241 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
242 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
243 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800244 &quot;cfiRange&quot;: { # Range in CFI format for this annotation sent by client.
245 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
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 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
249 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800250 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800251 &quot;id&quot;: &quot;A String&quot;, # Id of this annotation, in the form of a GUID.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800252 &quot;layerId&quot;: &quot;A String&quot;, # The layer this annotation is for.
253 &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.
254 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700255 &quot;currentVersionRanges&quot;: { # Selection ranges for the most recent content version.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800256 &quot;cfiRange&quot;: { # Range in CFI format for this annotation for version above.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800257 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
258 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800259 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800260 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700261 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800262 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version applicable to ranges below.
263 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation for version above.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800264 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
265 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
266 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
267 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
268 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800269 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation for version above.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700270 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700271 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800273 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700274 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800275 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation for version above.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700276 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700277 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800279 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700280 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700281 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800282 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource.
283 &quot;layerSummary&quot;: {
284 &quot;remainingCharacterCount&quot;: 42, # Remaining allowed characters on this layer, especially for the &quot;copy&quot; layer.
285 &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.
286 &quot;allowedCharacterCount&quot;: 42, # Maximum allowed characters on this layer, especially for the &quot;copy&quot; layer.
287 },
288 &quot;deleted&quot;: True or False, # Indicates that this annotation is deleted.
289 &quot;pageIds&quot;: [ # Pages that this annotation spans.
290 &quot;A String&quot;,
291 ],
292 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
293 &quot;updated&quot;: &quot;A String&quot;, # Timestamp for the last time this annotation was modified.
294 &quot;volumeId&quot;: &quot;A String&quot;, # The volume that this annotation belongs to.
295 &quot;highlightStyle&quot;: &quot;A String&quot;, # The highlight style for this annotation.
296 &quot;selectedText&quot;: &quot;A String&quot;, # Excerpt from the volume.
297 }</pre>
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800298</div>
299
300<div class="method">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800301 <code class="details" id="list">list(source=None, volumeId=None, showDeleted=None, layerIds=None, maxResults=None, pageToken=None, updatedMax=None, updatedMin=None, layerId=None, contentVersion=None, x__xgafv=None)</code>
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800302 <pre>Retrieves a list of annotations, possibly filtered.
303
304Args:
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800305 source: string, String to identify the originator of this request.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800306 volumeId: string, The volume to restrict annotations to.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800307 showDeleted: boolean, Set to true to return deleted annotations. updatedMin must be in the request to use this. Defaults to false.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800308 layerIds: string, The layer ID(s) to limit annotation by. (repeated)
309 maxResults: integer, Maximum number of results to return
310 pageToken: string, The value of the nextToken from the previous page.
311 updatedMax: string, RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive).
312 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 contentVersion: string, The content version for the requested volume.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800315 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 {
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800324 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800325 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700326 &quot;items&quot;: [ # A list of annotations.
327 {
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800328 &quot;created&quot;: &quot;A String&quot;, # Timestamp for the created time of this annotation.
329 &quot;data&quot;: &quot;A String&quot;, # User-created data for this annotation.
330 &quot;clientVersionRanges&quot;: { # Selection ranges sent from the client.
331 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation sent by client.
332 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
333 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
334 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
335 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700336 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800337 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version the client sent in.
338 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation sent by client.
339 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
340 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
341 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
342 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700343 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800344 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation sent by client.
345 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
346 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
347 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
348 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
349 },
350 &quot;cfiRange&quot;: { # Range in CFI format for this annotation sent by client.
351 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
352 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
353 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
354 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800355 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700356 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800357 &quot;id&quot;: &quot;A String&quot;, # Id of this annotation, in the form of a GUID.
358 &quot;layerId&quot;: &quot;A String&quot;, # The layer this annotation is for.
359 &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.
360 &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.
361 &quot;currentVersionRanges&quot;: { # Selection ranges for the most recent content version.
362 &quot;cfiRange&quot;: { # Range in CFI format for this annotation for version above.
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;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
366 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
367 },
368 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version applicable to ranges below.
369 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation for version above.
370 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
371 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
372 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
373 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
374 },
375 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation for version above.
376 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
377 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
378 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
379 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
380 },
381 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation for version above.
382 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
383 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
384 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
385 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
386 },
387 },
388 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource.
389 &quot;layerSummary&quot;: {
390 &quot;remainingCharacterCount&quot;: 42, # Remaining 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;allowedCharacterCount&quot;: 42, # Maximum allowed characters on this layer, especially for the &quot;copy&quot; layer.
393 },
394 &quot;deleted&quot;: True or False, # Indicates that this annotation is deleted.
395 &quot;pageIds&quot;: [ # Pages that this annotation spans.
396 &quot;A String&quot;,
397 ],
398 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
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 &quot;highlightStyle&quot;: &quot;A String&quot;, # The highlight style for this annotation.
402 &quot;selectedText&quot;: &quot;A String&quot;, # Excerpt from the volume.
403 },
John Asmuth614db982014-04-24 15:46:26 -0400404 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800405 &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.
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 {
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800442 &quot;remainingCharacterCount&quot;: 42,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800443 &quot;limitType&quot;: &quot;A String&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800444 &quot;layerId&quot;: &quot;A String&quot;,
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800445 &quot;updated&quot;: &quot;A String&quot;,
446 &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 Bot0bf565c2020-12-09 08:56:03 -0800462 &quot;created&quot;: &quot;A String&quot;, # Timestamp for the created time of this annotation.
463 &quot;data&quot;: &quot;A String&quot;, # User-created data for this annotation.
464 &quot;clientVersionRanges&quot;: { # Selection ranges sent from the client.
465 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation sent by client.
466 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
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.
469 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
470 },
471 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version the client sent in.
472 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation sent by client.
473 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
474 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
475 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
476 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
477 },
478 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation sent by client.
479 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
480 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
481 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
482 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
483 },
484 &quot;cfiRange&quot;: { # Range in CFI format for this annotation sent by client.
485 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
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 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
489 },
490 },
491 &quot;id&quot;: &quot;A String&quot;, # Id of this annotation, in the form of a GUID.
492 &quot;layerId&quot;: &quot;A String&quot;, # The layer this annotation is for.
493 &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.
494 &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.
495 &quot;currentVersionRanges&quot;: { # Selection ranges for the most recent content version.
496 &quot;cfiRange&quot;: { # Range in CFI format for this annotation for version above.
497 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
498 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
499 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
500 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
501 },
502 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version applicable to ranges below.
503 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation for version above.
504 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
505 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
506 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
507 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
508 },
509 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation for version above.
510 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
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 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
514 },
515 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation for version above.
516 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
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 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
520 },
521 },
522 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource.
523 &quot;layerSummary&quot;: {
524 &quot;remainingCharacterCount&quot;: 42, # Remaining allowed characters on this layer, especially for the &quot;copy&quot; layer.
525 &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.
526 &quot;allowedCharacterCount&quot;: 42, # Maximum allowed characters on this layer, especially for the &quot;copy&quot; layer.
527 },
528 &quot;deleted&quot;: True or False, # Indicates that this annotation is deleted.
529 &quot;pageIds&quot;: [ # Pages that this annotation spans.
530 &quot;A String&quot;,
531 ],
532 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
533 &quot;updated&quot;: &quot;A String&quot;, # Timestamp for the last time this annotation was modified.
534 &quot;volumeId&quot;: &quot;A String&quot;, # The volume that this annotation belongs to.
535 &quot;highlightStyle&quot;: &quot;A String&quot;, # The highlight style for this annotation.
536 &quot;selectedText&quot;: &quot;A String&quot;, # Excerpt from the volume.
537}
538
539 source: string, String to identify the originator of this request.
540 x__xgafv: string, V1 error format.
541 Allowed values
542 1 - v1 error format
543 2 - v2 error format
544
545Returns:
546 An object of the form:
547
548 {
549 &quot;created&quot;: &quot;A String&quot;, # Timestamp for the created time of this annotation.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800550 &quot;data&quot;: &quot;A String&quot;, # User-created data for this annotation.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800551 &quot;clientVersionRanges&quot;: { # Selection ranges sent from the client.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800552 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation sent by client.
553 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
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.
556 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
557 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800558 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version the client sent in.
559 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation sent by client.
560 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
561 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
562 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
563 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
564 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800565 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation sent by client.
566 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
567 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
568 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
569 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
570 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800571 &quot;cfiRange&quot;: { # Range in CFI format for this annotation sent by client.
572 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
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 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
576 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800577 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800578 &quot;id&quot;: &quot;A String&quot;, # Id of this annotation, in the form of a GUID.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800579 &quot;layerId&quot;: &quot;A String&quot;, # The layer this annotation is for.
580 &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.
581 &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.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800582 &quot;currentVersionRanges&quot;: { # Selection ranges for the most recent content version.
583 &quot;cfiRange&quot;: { # Range in CFI format for this annotation for version above.
584 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
585 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
586 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
587 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
John Asmuth614db982014-04-24 15:46:26 -0400588 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800589 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version applicable to ranges below.
590 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation for version above.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800591 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
592 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
593 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
594 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
595 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800596 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation for version above.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800597 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
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 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
John Asmuth614db982014-04-24 15:46:26 -0400601 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800602 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation for version above.
603 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
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 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
John Asmuth614db982014-04-24 15:46:26 -0400607 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800608 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800609 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource.
610 &quot;layerSummary&quot;: {
611 &quot;remainingCharacterCount&quot;: 42, # Remaining allowed characters on this layer, especially for the &quot;copy&quot; layer.
612 &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.
613 &quot;allowedCharacterCount&quot;: 42, # Maximum allowed characters on this layer, especially for the &quot;copy&quot; layer.
614 },
615 &quot;deleted&quot;: True or False, # Indicates that this annotation is deleted.
616 &quot;pageIds&quot;: [ # Pages that this annotation spans.
617 &quot;A String&quot;,
618 ],
619 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
620 &quot;updated&quot;: &quot;A String&quot;, # Timestamp for the last time this annotation was modified.
621 &quot;volumeId&quot;: &quot;A String&quot;, # The volume that this annotation belongs to.
622 &quot;highlightStyle&quot;: &quot;A String&quot;, # The highlight style for this annotation.
623 &quot;selectedText&quot;: &quot;A String&quot;, # Excerpt from the volume.
624 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400625</div>
626
627</body></html>