blob: 836c364badf7d797f60d2c74d590bbe04d8ee488 [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">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070078 <code><a href="#delete">delete(annotationId, source=None, x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040079<p class="firstline">Deletes an annotation.</p>
80<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070081 <code><a href="#insert">insert(body=None, country=None, source=None, annotationId=None, showOnlySummaryInResponse=None, x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040082<p class="firstline">Inserts a new annotation.</p>
83<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070084 <code><a href="#list">list(showDeleted=None, source=None, contentVersion=None, volumeId=None, layerIds=None, updatedMax=None, layerId=None, maxResults=None, updatedMin=None, pageToken=None, x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040085<p class="firstline">Retrieves a list of annotations, possibly filtered.</p>
86<p class="toc_element">
87 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
88<p class="firstline">Retrieves the next page of results.</p>
89<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070090 <code><a href="#summary">summary(volumeId=None, layerIds=None, x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040091<p class="firstline">Gets the summary of specified layers.</p>
92<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070093 <code><a href="#update">update(annotationId, body=None, source=None, x__xgafv=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040094<p class="firstline">Updates an existing annotation.</p>
95<h3>Method Details</h3>
96<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070097 <code class="details" id="delete">delete(annotationId, source=None, x__xgafv=None)</code>
John Asmuth614db982014-04-24 15:46:26 -040098 <pre>Deletes an annotation.
99
100Args:
101 annotationId: string, The ID for the annotation to delete. (required)
102 source: string, String to identify the originator of this request.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700103 x__xgafv: string, V1 error format.
104 Allowed values
105 1 - v1 error format
106 2 - v2 error format
107
108Returns:
109 An object of the form:
110
111 { # 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 `{}`.
112 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400113</div>
114
115<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700116 <code class="details" id="insert">insert(body=None, country=None, source=None, annotationId=None, showOnlySummaryInResponse=None, x__xgafv=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400117 <pre>Inserts a new annotation.
118
119Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700120 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400121 The object takes the form of:
122
123{
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700124 &quot;highlightStyle&quot;: &quot;A String&quot;, # The highlight style for this annotation.
125 &quot;clientVersionRanges&quot;: { # Selection ranges sent from the client.
126 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation sent by client.
127 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
128 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
129 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
130 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
131 },
132 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation sent by client.
133 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
134 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
135 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
136 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
137 },
138 &quot;cfiRange&quot;: { # Range in CFI format for this annotation sent by client.
139 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
140 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
141 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
142 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
143 },
144 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version the client sent in.
145 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation sent by client.
146 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
147 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
148 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
149 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
150 },
151 },
152 &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.
153 &quot;pageIds&quot;: [ # Pages that this annotation spans.
154 &quot;A String&quot;,
155 ],
156 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource.
157 &quot;updated&quot;: &quot;A String&quot;, # Timestamp for the last time this annotation was modified.
158 &quot;selectedText&quot;: &quot;A String&quot;, # Excerpt from the volume.
159 &quot;id&quot;: &quot;A String&quot;, # Id of this annotation, in the form of a GUID.
160 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
161 &quot;layerId&quot;: &quot;A String&quot;, # The layer this annotation is for.
162 &quot;volumeId&quot;: &quot;A String&quot;, # The volume that this annotation belongs to.
163 &quot;created&quot;: &quot;A String&quot;, # Timestamp for the created time of this annotation.
164 &quot;deleted&quot;: True or False, # Indicates that this annotation is deleted.
165 &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.
166 &quot;data&quot;: &quot;A String&quot;, # User-created data for this annotation.
167 &quot;layerSummary&quot;: {
168 &quot;allowedCharacterCount&quot;: 42, # Maximum allowed characters on this layer, especially for the &quot;copy&quot; layer.
169 &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.
170 &quot;remainingCharacterCount&quot;: 42, # Remaining allowed characters on this layer, especially for the &quot;copy&quot; layer.
171 },
172 &quot;currentVersionRanges&quot;: { # Selection ranges for the most recent content version.
173 &quot;cfiRange&quot;: { # Range in CFI format for this annotation for version above.
174 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
175 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
176 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
177 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
178 },
179 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation for version above.
180 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
181 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
182 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
183 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
184 },
185 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version applicable to ranges below.
186 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation for version above.
187 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
188 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
189 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
190 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
191 },
192 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation for version above.
193 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
194 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
195 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
196 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
197 },
198 },
199}
200
201 country: string, ISO-3166-1 code to override the IP-based location.
202 source: string, String to identify the originator of this request.
203 annotationId: string, The ID for the annotation to insert.
204 showOnlySummaryInResponse: boolean, Requests that only the summary of the specified layer be provided in the response.
205 x__xgafv: string, V1 error format.
206 Allowed values
207 1 - v1 error format
208 2 - v2 error format
209
210Returns:
211 An object of the form:
212
213 {
214 &quot;highlightStyle&quot;: &quot;A String&quot;, # The highlight style for this annotation.
Bu Sun Kim65020912020-05-20 12:08:20 -0700215 &quot;clientVersionRanges&quot;: { # Selection ranges sent from the client.
Bu Sun Kim65020912020-05-20 12:08:20 -0700216 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation sent by client.
Bu Sun Kim65020912020-05-20 12:08:20 -0700217 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
218 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
219 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700220 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
John Asmuth614db982014-04-24 15:46:26 -0400221 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700222 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation sent by client.
Bu Sun Kim65020912020-05-20 12:08:20 -0700223 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
224 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
225 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700226 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
John Asmuth614db982014-04-24 15:46:26 -0400227 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700228 &quot;cfiRange&quot;: { # Range in CFI format for this annotation sent by client.
229 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
230 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
231 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
232 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
233 },
234 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version the client sent in.
Bu Sun Kim65020912020-05-20 12:08:20 -0700235 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation sent by client.
Bu Sun Kim65020912020-05-20 12:08:20 -0700236 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
237 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
238 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700239 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
John Asmuth614db982014-04-24 15:46:26 -0400240 },
241 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700242 &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.
243 &quot;pageIds&quot;: [ # Pages that this annotation spans.
244 &quot;A String&quot;,
245 ],
246 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource.
247 &quot;updated&quot;: &quot;A String&quot;, # Timestamp for the last time this annotation was modified.
248 &quot;selectedText&quot;: &quot;A String&quot;, # Excerpt from the volume.
Bu Sun Kim65020912020-05-20 12:08:20 -0700249 &quot;id&quot;: &quot;A String&quot;, # Id of this annotation, in the form of a GUID.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700250 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
Bu Sun Kim65020912020-05-20 12:08:20 -0700251 &quot;layerId&quot;: &quot;A String&quot;, # The layer this annotation is for.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700252 &quot;volumeId&quot;: &quot;A String&quot;, # The volume that this annotation belongs to.
253 &quot;created&quot;: &quot;A String&quot;, # Timestamp for the created time of this annotation.
254 &quot;deleted&quot;: True or False, # Indicates that this annotation is deleted.
255 &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.
256 &quot;data&quot;: &quot;A String&quot;, # User-created data for this annotation.
Bu Sun Kim65020912020-05-20 12:08:20 -0700257 &quot;layerSummary&quot;: {
258 &quot;allowedCharacterCount&quot;: 42, # Maximum allowed characters on this layer, especially for the &quot;copy&quot; layer.
259 &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.
260 &quot;remainingCharacterCount&quot;: 42, # Remaining allowed characters on this layer, especially for the &quot;copy&quot; layer.
John Asmuth614db982014-04-24 15:46:26 -0400261 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700262 &quot;currentVersionRanges&quot;: { # Selection ranges for the most recent content version.
263 &quot;cfiRange&quot;: { # Range in CFI format for this annotation for version above.
264 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
265 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
266 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
267 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
John Asmuth614db982014-04-24 15:46:26 -0400268 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700269 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation for version above.
270 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
271 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
272 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
273 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
John Asmuth614db982014-04-24 15:46:26 -0400274 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700275 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version applicable to ranges below.
276 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation for version above.
277 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
278 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
279 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
280 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
John Asmuth614db982014-04-24 15:46:26 -0400281 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700282 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation for version above.
283 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
284 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
285 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
286 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
287 },
288 },
289 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400290</div>
291
292<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700293 <code class="details" id="list">list(showDeleted=None, source=None, contentVersion=None, volumeId=None, layerIds=None, updatedMax=None, layerId=None, maxResults=None, updatedMin=None, pageToken=None, x__xgafv=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400294 <pre>Retrieves a list of annotations, possibly filtered.
295
296Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700297 showDeleted: boolean, Set to true to return deleted annotations. updatedMin must be in the request to use this. Defaults to false.
John Asmuth614db982014-04-24 15:46:26 -0400298 source: string, String to identify the originator of this request.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700299 contentVersion: string, The content version for the requested volume.
Bu Sun Kim65020912020-05-20 12:08:20 -0700300 volumeId: string, The volume to restrict annotations to.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700301 layerIds: string, The layer ID(s) to limit annotation by. (repeated)
302 updatedMax: string, RFC 3339 timestamp to restrict to items updated prior to this timestamp (exclusive).
303 layerId: string, The layer ID to limit annotation by.
304 maxResults: integer, Maximum number of results to return
305 updatedMin: string, RFC 3339 timestamp to restrict to items updated since this timestamp (inclusive).
306 pageToken: string, The value of the nextToken from the previous page.
307 x__xgafv: string, V1 error format.
308 Allowed values
309 1 - v1 error format
310 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400311
312Returns:
313 An object of the form:
314
315 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700316 &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.
Bu Sun Kim65020912020-05-20 12:08:20 -0700317 &quot;items&quot;: [ # A list of annotations.
John Asmuth614db982014-04-24 15:46:26 -0400318 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700319 &quot;highlightStyle&quot;: &quot;A String&quot;, # The highlight style for this annotation.
320 &quot;clientVersionRanges&quot;: { # Selection ranges sent from the client.
321 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation sent by client.
322 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
323 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
324 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
325 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
John Asmuth614db982014-04-24 15:46:26 -0400326 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700327 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation sent by client.
328 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
329 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
330 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
331 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
John Asmuth614db982014-04-24 15:46:26 -0400332 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700333 &quot;cfiRange&quot;: { # Range in CFI format for this annotation sent by client.
334 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
335 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
336 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
337 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
John Asmuth614db982014-04-24 15:46:26 -0400338 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700339 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version the client sent in.
340 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation sent by client.
341 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
342 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
343 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
344 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
345 },
John Asmuth614db982014-04-24 15:46:26 -0400346 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700347 &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.
348 &quot;pageIds&quot;: [ # Pages that this annotation spans.
349 &quot;A String&quot;,
350 ],
351 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource.
352 &quot;updated&quot;: &quot;A String&quot;, # Timestamp for the last time this annotation was modified.
353 &quot;selectedText&quot;: &quot;A String&quot;, # Excerpt from the volume.
354 &quot;id&quot;: &quot;A String&quot;, # Id of this annotation, in the form of a GUID.
355 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
356 &quot;layerId&quot;: &quot;A String&quot;, # The layer this annotation is for.
357 &quot;volumeId&quot;: &quot;A String&quot;, # The volume that this annotation belongs to.
358 &quot;created&quot;: &quot;A String&quot;, # Timestamp for the created time of this annotation.
359 &quot;deleted&quot;: True or False, # Indicates that this annotation is deleted.
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;data&quot;: &quot;A String&quot;, # User-created data for this annotation.
362 &quot;layerSummary&quot;: {
363 &quot;allowedCharacterCount&quot;: 42, # Maximum allowed characters on this layer, especially for the &quot;copy&quot; layer.
364 &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.
365 &quot;remainingCharacterCount&quot;: 42, # Remaining allowed characters on this layer, especially for the &quot;copy&quot; layer.
366 },
367 &quot;currentVersionRanges&quot;: { # Selection ranges for the most recent content version.
368 &quot;cfiRange&quot;: { # Range in CFI format for this annotation for version above.
369 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
370 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
371 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
372 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
373 },
374 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation for version above.
375 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
376 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
377 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
378 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
379 },
380 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version applicable to ranges below.
381 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation for version above.
382 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
383 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
384 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
385 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
386 },
387 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation for version above.
388 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
389 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
390 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
391 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
392 },
393 },
394 },
John Asmuth614db982014-04-24 15:46:26 -0400395 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700396 &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 Kimd059ad82020-07-22 17:02:09 -0700397 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
John Asmuth614db982014-04-24 15:46:26 -0400398 }</pre>
399</div>
400
401<div class="method">
402 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
403 <pre>Retrieves the next page of results.
404
405Args:
406 previous_request: The request for the previous page. (required)
407 previous_response: The response from the request for the previous page. (required)
408
409Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700410 A request object that you can call &#x27;execute()&#x27; on to request the next
John Asmuth614db982014-04-24 15:46:26 -0400411 page. Returns None if there are no more items in the collection.
412 </pre>
413</div>
414
415<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700416 <code class="details" id="summary">summary(volumeId=None, layerIds=None, x__xgafv=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400417 <pre>Gets the summary of specified layers.
418
419Args:
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700420 volumeId: string, Volume id to get the summary for.
421 layerIds: string, Array of layer IDs to get the summary for. (repeated)
422 x__xgafv: string, V1 error format.
423 Allowed values
424 1 - v1 error format
425 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400426
427Returns:
428 An object of the form:
429
430 {
Bu Sun Kim65020912020-05-20 12:08:20 -0700431 &quot;layers&quot;: [
John Asmuth614db982014-04-24 15:46:26 -0400432 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700433 &quot;updated&quot;: &quot;A String&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700434 &quot;allowedCharacterCount&quot;: 42,
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700435 &quot;remainingCharacterCount&quot;: 42,
Bu Sun Kim65020912020-05-20 12:08:20 -0700436 &quot;layerId&quot;: &quot;A String&quot;,
437 &quot;limitType&quot;: &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400438 },
439 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700440 &quot;kind&quot;: &quot;A String&quot;,
John Asmuth614db982014-04-24 15:46:26 -0400441 }</pre>
442</div>
443
444<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700445 <code class="details" id="update">update(annotationId, body=None, source=None, x__xgafv=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400446 <pre>Updates an existing annotation.
447
448Args:
449 annotationId: string, The ID for the annotation to update. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700450 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400451 The object takes the form of:
452
453{
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700454 &quot;highlightStyle&quot;: &quot;A String&quot;, # The highlight style for this annotation.
455 &quot;clientVersionRanges&quot;: { # Selection ranges sent from the client.
456 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation sent by client.
457 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
458 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
459 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
460 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
John Asmuth614db982014-04-24 15:46:26 -0400461 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700462 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation sent by client.
463 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
464 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
465 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
466 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
John Asmuth614db982014-04-24 15:46:26 -0400467 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700468 &quot;cfiRange&quot;: { # Range in CFI format for this annotation sent by client.
469 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
470 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
471 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
472 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
John Asmuth614db982014-04-24 15:46:26 -0400473 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700474 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version the client sent in.
475 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation sent by client.
476 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
477 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
478 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
479 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
480 },
481 },
482 &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.
483 &quot;pageIds&quot;: [ # Pages that this annotation spans.
484 &quot;A String&quot;,
485 ],
486 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource.
487 &quot;updated&quot;: &quot;A String&quot;, # Timestamp for the last time this annotation was modified.
488 &quot;selectedText&quot;: &quot;A String&quot;, # Excerpt from the volume.
489 &quot;id&quot;: &quot;A String&quot;, # Id of this annotation, in the form of a GUID.
490 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
491 &quot;layerId&quot;: &quot;A String&quot;, # The layer this annotation is for.
492 &quot;volumeId&quot;: &quot;A String&quot;, # The volume that this annotation belongs to.
493 &quot;created&quot;: &quot;A String&quot;, # Timestamp for the created time of this annotation.
494 &quot;deleted&quot;: True or False, # Indicates that this annotation is deleted.
495 &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.
496 &quot;data&quot;: &quot;A String&quot;, # User-created data for this annotation.
497 &quot;layerSummary&quot;: {
498 &quot;allowedCharacterCount&quot;: 42, # Maximum allowed characters on this layer, especially for the &quot;copy&quot; layer.
499 &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.
500 &quot;remainingCharacterCount&quot;: 42, # Remaining allowed characters on this layer, especially for the &quot;copy&quot; layer.
501 },
502 &quot;currentVersionRanges&quot;: { # Selection ranges for the most recent content version.
503 &quot;cfiRange&quot;: { # Range in CFI format for this annotation for version above.
504 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
505 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
506 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
507 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
508 },
509 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation for version above.
510 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
511 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
512 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
513 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
514 },
515 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version applicable to ranges below.
516 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation for version above.
517 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
518 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
519 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
520 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
521 },
522 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation for version above.
523 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
524 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
525 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
526 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
527 },
528 },
529}
John Asmuth614db982014-04-24 15:46:26 -0400530
531 source: string, String to identify the originator of this request.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700532 x__xgafv: string, V1 error format.
533 Allowed values
534 1 - v1 error format
535 2 - v2 error format
John Asmuth614db982014-04-24 15:46:26 -0400536
537Returns:
538 An object of the form:
539
540 {
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700541 &quot;highlightStyle&quot;: &quot;A String&quot;, # The highlight style for this annotation.
542 &quot;clientVersionRanges&quot;: { # Selection ranges sent from the client.
543 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation sent by client.
544 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
545 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
546 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
547 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
John Asmuth614db982014-04-24 15:46:26 -0400548 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700549 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation sent by client.
550 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
551 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
552 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
553 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
John Asmuth614db982014-04-24 15:46:26 -0400554 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700555 &quot;cfiRange&quot;: { # Range in CFI format for this annotation sent by client.
556 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
557 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
558 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
559 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
John Asmuth614db982014-04-24 15:46:26 -0400560 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700561 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version the client sent in.
562 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation sent by client.
563 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
564 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
565 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
566 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
567 },
568 },
569 &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.
570 &quot;pageIds&quot;: [ # Pages that this annotation spans.
571 &quot;A String&quot;,
572 ],
573 &quot;selfLink&quot;: &quot;A String&quot;, # URL to this resource.
574 &quot;updated&quot;: &quot;A String&quot;, # Timestamp for the last time this annotation was modified.
575 &quot;selectedText&quot;: &quot;A String&quot;, # Excerpt from the volume.
576 &quot;id&quot;: &quot;A String&quot;, # Id of this annotation, in the form of a GUID.
577 &quot;kind&quot;: &quot;A String&quot;, # Resource type.
578 &quot;layerId&quot;: &quot;A String&quot;, # The layer this annotation is for.
579 &quot;volumeId&quot;: &quot;A String&quot;, # The volume that this annotation belongs to.
580 &quot;created&quot;: &quot;A String&quot;, # Timestamp for the created time of this annotation.
581 &quot;deleted&quot;: True or False, # Indicates that this annotation is deleted.
582 &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.
583 &quot;data&quot;: &quot;A String&quot;, # User-created data for this annotation.
584 &quot;layerSummary&quot;: {
585 &quot;allowedCharacterCount&quot;: 42, # Maximum allowed characters on this layer, especially for the &quot;copy&quot; layer.
586 &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.
587 &quot;remainingCharacterCount&quot;: 42, # Remaining allowed characters on this layer, especially for the &quot;copy&quot; layer.
588 },
589 &quot;currentVersionRanges&quot;: { # Selection ranges for the most recent content version.
590 &quot;cfiRange&quot;: { # Range in CFI format for this annotation for version above.
591 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
592 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
593 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
594 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
595 },
596 &quot;gbTextRange&quot;: { # Range in GB text format for this annotation for version above.
597 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
598 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
599 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
600 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
601 },
602 &quot;contentVersion&quot;: &quot;A String&quot;, # Content version applicable to ranges below.
603 &quot;gbImageRange&quot;: { # Range in GB image format for this annotation for version above.
604 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
605 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
606 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
607 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
608 },
609 &quot;imageCfiRange&quot;: { # Range in image CFI format for this annotation for version above.
610 &quot;endPosition&quot;: &quot;A String&quot;, # The ending position for the range.
611 &quot;startOffset&quot;: &quot;A String&quot;, # The offset from the starting position.
612 &quot;startPosition&quot;: &quot;A String&quot;, # The starting position for the range.
613 &quot;endOffset&quot;: &quot;A String&quot;, # The offset from the ending position.
614 },
615 },
616 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400617</div>
618
619</body></html>