blob: c282cfa09541a8060e9c8041476fa7ed79254f81 [file] [log] [blame]
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -07001<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="genomics_v1.html">Genomics API</a> . <a href="genomics_v1.annotationsets.html">annotationsets</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#create">create(body, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040079<p class="firstline">Creates a new annotation set. Caller must have WRITE permission for the</p>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -070080<p class="toc_element">
81 <code><a href="#delete">delete(annotationSetId, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040082<p class="firstline">Deletes an annotation set. Caller must have WRITE permission</p>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -070083<p class="toc_element">
84 <code><a href="#get">get(annotationSetId, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040085<p class="firstline">Gets an annotation set. Caller must have READ permission for</p>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -070086<p class="toc_element">
87 <code><a href="#search">search(body, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040088<p class="firstline">Searches for annotation sets that match the given criteria. Annotation sets</p>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -070089<p class="toc_element">
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040090 <code><a href="#search_next">search_next(previous_request, previous_response)</a></code></p>
91<p class="firstline">Retrieves the next page of results.</p>
92<p class="toc_element">
93 <code><a href="#update">update(annotationSetId, body, updateMask=None, x__xgafv=None)</a></code></p>
94<p class="firstline">Updates an annotation set. The update must respect all mutability</p>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -070095<h3>Method Details</h3>
96<div class="method">
97 <code class="details" id="create">create(body, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040098 <pre>Creates a new annotation set. Caller must have WRITE permission for the
99associated dataset.
100
101The following fields are required:
102
103 * datasetId
104 * referenceSetId
105
106All other fields may be optionally specified, unless documented as being
107server-generated (for example, the `id` field).
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700108
109Args:
110 body: object, The request body. (required)
111 The object takes the form of:
112
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400113{ # An annotation set is a logical grouping of annotations that share consistent
114 # type information and provenance. Examples of annotation sets include 'all
115 # genes from refseq', and 'all variant annotations from ClinVar'.
116 "info": { # A map of additional read alignment information. This must be of the form
117 # map<string, string[]> (string key mapping to a list of string values).
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700118 "a_key": [
119 "",
120 ],
121 },
122 "name": "A String", # The display name for this annotation set.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400123 "sourceUri": "A String", # The source URI describing the file from which this annotation set was
124 # generated, if any.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700125 "type": "A String", # The type of annotations contained within this set.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400126 "referenceSetId": "A String", # The ID of the reference set that defines the coordinate space for this
127 # set's annotations.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700128 "id": "A String", # The server-generated annotation set ID, unique across all annotation sets.
129 "datasetId": "A String", # The dataset to which this annotation set belongs.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400130 }
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700131
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700132 x__xgafv: string, V1 error format.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400133 Allowed values
134 1 - v1 error format
135 2 - v2 error format
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700136
137Returns:
138 An object of the form:
139
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400140 { # An annotation set is a logical grouping of annotations that share consistent
141 # type information and provenance. Examples of annotation sets include 'all
142 # genes from refseq', and 'all variant annotations from ClinVar'.
143 "info": { # A map of additional read alignment information. This must be of the form
144 # map<string, string[]> (string key mapping to a list of string values).
145 "a_key": [
146 "",
147 ],
148 },
149 "name": "A String", # The display name for this annotation set.
150 "sourceUri": "A String", # The source URI describing the file from which this annotation set was
151 # generated, if any.
152 "type": "A String", # The type of annotations contained within this set.
153 "referenceSetId": "A String", # The ID of the reference set that defines the coordinate space for this
154 # set's annotations.
155 "id": "A String", # The server-generated annotation set ID, unique across all annotation sets.
156 "datasetId": "A String", # The dataset to which this annotation set belongs.
157 }</pre>
158</div>
159
160<div class="method">
161 <code class="details" id="delete">delete(annotationSetId, x__xgafv=None)</code>
162 <pre>Deletes an annotation set. Caller must have WRITE permission
163for the associated annotation set.
164
165Args:
166 annotationSetId: string, The ID of the annotation set to be deleted. (required)
167 x__xgafv: string, V1 error format.
168 Allowed values
169 1 - v1 error format
170 2 - v2 error format
171
172Returns:
173 An object of the form:
174
175 { # A generic empty message that you can re-use to avoid defining duplicated
176 # empty messages in your APIs. A typical example is to use it as the request
177 # or the response type of an API method. For instance:
178 #
179 # service Foo {
180 # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
181 # }
182 #
183 # The JSON representation for `Empty` is empty JSON object `{}`.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700184 }</pre>
185</div>
186
187<div class="method">
188 <code class="details" id="get">get(annotationSetId, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400189 <pre>Gets an annotation set. Caller must have READ permission for
190the associated dataset.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700191
192Args:
193 annotationSetId: string, The ID of the annotation set to be retrieved. (required)
194 x__xgafv: string, V1 error format.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400195 Allowed values
196 1 - v1 error format
197 2 - v2 error format
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700198
199Returns:
200 An object of the form:
201
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400202 { # An annotation set is a logical grouping of annotations that share consistent
203 # type information and provenance. Examples of annotation sets include 'all
204 # genes from refseq', and 'all variant annotations from ClinVar'.
205 "info": { # A map of additional read alignment information. This must be of the form
206 # map<string, string[]> (string key mapping to a list of string values).
207 "a_key": [
208 "",
209 ],
210 },
211 "name": "A String", # The display name for this annotation set.
212 "sourceUri": "A String", # The source URI describing the file from which this annotation set was
213 # generated, if any.
214 "type": "A String", # The type of annotations contained within this set.
215 "referenceSetId": "A String", # The ID of the reference set that defines the coordinate space for this
216 # set's annotations.
217 "id": "A String", # The server-generated annotation set ID, unique across all annotation sets.
218 "datasetId": "A String", # The dataset to which this annotation set belongs.
219 }</pre>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700220</div>
221
222<div class="method">
223 <code class="details" id="search">search(body, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400224 <pre>Searches for annotation sets that match the given criteria. Annotation sets
225are returned in an unspecified order. This order is consistent, such that
226two queries for the same content (regardless of page size) yield annotation
227sets in the same order across their respective streams of paginated
228responses. Caller must have READ permission for the queried datasets.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700229
230Args:
231 body: object, The request body. (required)
232 The object takes the form of:
233
234{
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400235 "name": "A String", # Only return annotations sets for which a substring of the name matches this
236 # string (case insensitive).
237 "pageSize": 42, # The maximum number of results to return in a single page. If unspecified,
238 # defaults to 128. The maximum value is 1024.
239 "datasetIds": [ # Required. The dataset IDs to search within. Caller must have `READ` access
240 # to these datasets.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700241 "A String",
242 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400243 "pageToken": "A String", # The continuation token, which is used to page through large result sets.
244 # To get the next page of results, set this parameter to the value of
245 # `nextPageToken` from the previous response.
246 "referenceSetId": "A String", # If specified, only annotation sets associated with the given reference set
247 # are returned.
248 "types": [ # If specified, only annotation sets that have any of these types are
249 # returned.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700250 "A String",
251 ],
252 }
253
254 x__xgafv: string, V1 error format.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400255 Allowed values
256 1 - v1 error format
257 2 - v2 error format
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700258
259Returns:
260 An object of the form:
261
262 {
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400263 "nextPageToken": "A String", # The continuation token, which is used to page through large result sets.
264 # Provide this value in a subsequent request to return the next page of
265 # results. This field will be empty if there aren't any additional results.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700266 "annotationSets": [ # The matching annotation sets.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400267 { # An annotation set is a logical grouping of annotations that share consistent
268 # type information and provenance. Examples of annotation sets include 'all
269 # genes from refseq', and 'all variant annotations from ClinVar'.
270 "info": { # A map of additional read alignment information. This must be of the form
271 # map<string, string[]> (string key mapping to a list of string values).
272 "a_key": [
273 "",
274 ],
275 },
276 "name": "A String", # The display name for this annotation set.
277 "sourceUri": "A String", # The source URI describing the file from which this annotation set was
278 # generated, if any.
279 "type": "A String", # The type of annotations contained within this set.
280 "referenceSetId": "A String", # The ID of the reference set that defines the coordinate space for this
281 # set's annotations.
282 "id": "A String", # The server-generated annotation set ID, unique across all annotation sets.
283 "datasetId": "A String", # The dataset to which this annotation set belongs.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700284 },
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700285 ],
286 }</pre>
287</div>
288
289<div class="method">
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400290 <code class="details" id="search_next">search_next(previous_request, previous_response)</code>
291 <pre>Retrieves the next page of results.
292
293Args:
294 previous_request: The request for the previous page. (required)
295 previous_response: The response from the request for the previous page. (required)
296
297Returns:
298 A request object that you can call 'execute()' on to request the next
299 page. Returns None if there are no more items in the collection.
300 </pre>
301</div>
302
303<div class="method">
304 <code class="details" id="update">update(annotationSetId, body, updateMask=None, x__xgafv=None)</code>
305 <pre>Updates an annotation set. The update must respect all mutability
306restrictions and other invariants described on the annotation set resource.
307Caller must have WRITE permission for the associated dataset.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700308
309Args:
310 annotationSetId: string, The ID of the annotation set to be updated. (required)
311 body: object, The request body. (required)
312 The object takes the form of:
313
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400314{ # An annotation set is a logical grouping of annotations that share consistent
315 # type information and provenance. Examples of annotation sets include 'all
316 # genes from refseq', and 'all variant annotations from ClinVar'.
317 "info": { # A map of additional read alignment information. This must be of the form
318 # map<string, string[]> (string key mapping to a list of string values).
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700319 "a_key": [
320 "",
321 ],
322 },
323 "name": "A String", # The display name for this annotation set.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400324 "sourceUri": "A String", # The source URI describing the file from which this annotation set was
325 # generated, if any.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700326 "type": "A String", # The type of annotations contained within this set.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400327 "referenceSetId": "A String", # The ID of the reference set that defines the coordinate space for this
328 # set's annotations.
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700329 "id": "A String", # The server-generated annotation set ID, unique across all annotation sets.
330 "datasetId": "A String", # The dataset to which this annotation set belongs.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400331 }
332
333 updateMask: string, An optional mask specifying which fields to update. Mutable fields are
334name,
335source_uri, and
336info. If unspecified, all
337mutable fields will be updated.
338 x__xgafv: string, V1 error format.
339 Allowed values
340 1 - v1 error format
341 2 - v2 error format
342
343Returns:
344 An object of the form:
345
346 { # An annotation set is a logical grouping of annotations that share consistent
347 # type information and provenance. Examples of annotation sets include 'all
348 # genes from refseq', and 'all variant annotations from ClinVar'.
349 "info": { # A map of additional read alignment information. This must be of the form
350 # map<string, string[]> (string key mapping to a list of string values).
351 "a_key": [
352 "",
353 ],
354 },
355 "name": "A String", # The display name for this annotation set.
356 "sourceUri": "A String", # The source URI describing the file from which this annotation set was
357 # generated, if any.
358 "type": "A String", # The type of annotations contained within this set.
359 "referenceSetId": "A String", # The ID of the reference set that defines the coordinate space for this
360 # set's annotations.
361 "id": "A String", # The server-generated annotation set ID, unique across all annotation sets.
362 "datasetId": "A String", # The dataset to which this annotation set belongs.
363 }</pre>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700364</div>
365
366</body></html>