Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Side by Side Diff: generated/googleapis/lib/genomics/v1.dart

Issue 2695743002: Api-roll 45: 2017-02-13 (Closed)
Patch Set: reverted local changes to pubspec file Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « generated/googleapis/lib/firebaserules/v1.dart ('k') | generated/googleapis/lib/gmail/v1.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // This is a generated file (see the discoveryapis_generator project). 1 // This is a generated file (see the discoveryapis_generator project).
2 2
3 library googleapis.genomics.v1; 3 library googleapis.genomics.v1;
4 4
5 import 'dart:core' as core; 5 import 'dart:core' as core;
6 import 'dart:async' as async; 6 import 'dart:async' as async;
7 import 'dart:convert' as convert; 7 import 'dart:convert' as convert;
8 8
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons;
10 import 'package:http/http.dart' as http; 10 import 'package:http/http.dart' as http;
11 11
12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show
13 ApiRequestError, DetailedApiRequestError; 13 ApiRequestError, DetailedApiRequestError;
14 14
15 const core.String USER_AGENT = 'dart-api-client genomics/v1'; 15 const core.String USER_AGENT = 'dart-api-client genomics/v1';
16 16
17 /** Stores, processes, explores and shares genomic data. */ 17 /** Upload, process, query, and search Genomics data in the cloud. */
18 class GenomicsApi { 18 class GenomicsApi {
19 /** View and manage your data in Google BigQuery */ 19 /** View and manage your data in Google BigQuery */
20 static const BigqueryScope = "https://www.googleapis.com/auth/bigquery"; 20 static const BigqueryScope = "https://www.googleapis.com/auth/bigquery";
21 21
22 /** View and manage your data across Google Cloud Platform services */ 22 /** View and manage your data across Google Cloud Platform services */
23 static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf orm"; 23 static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf orm";
24 24
25 /** Manage your data in Google Cloud Storage */ 25 /** Manage your data in Google Cloud Storage */
26 static const DevstorageReadWriteScope = "https://www.googleapis.com/auth/devst orage.read_write"; 26 static const DevstorageReadWriteScope = "https://www.googleapis.com/auth/devst orage.read_write";
27 27
(...skipping 23 matching lines...) Expand all
51 } 51 }
52 52
53 53
54 class AnnotationsResourceApi { 54 class AnnotationsResourceApi {
55 final commons.ApiRequester _requester; 55 final commons.ApiRequester _requester;
56 56
57 AnnotationsResourceApi(commons.ApiRequester client) : 57 AnnotationsResourceApi(commons.ApiRequester client) :
58 _requester = client; 58 _requester = client;
59 59
60 /** 60 /**
61 * Creates one or more new annotations atomically. All annotations must belong 61 * Creates one or more new annotations atomically. All annotations must
62 * to the same annotation set. Caller must have WRITE permission for this 62 * belong to the same annotation set. Caller must have WRITE
63 * annotation set. For optimal performance, batch positionally adjacent 63 * permission for this annotation set. For optimal performance, batch
64 * annotations together. If the request has a systemic issue, such as an 64 * positionally adjacent annotations together.
65 * attempt to write to an inaccessible annotation set, the entire RPC will 65 *
66 * fail accordingly. For lesser data issues, when possible an error will be 66 * If the request has a systemic issue, such as an attempt to write to
67 * isolated to the corresponding batch entry in the response; the remaining 67 * an inaccessible annotation set, the entire RPC will fail accordingly. For
68 * well formed annotations will be created normally. For details on the 68 * lesser data issues, when possible an error will be isolated to the
69 * requirements for each individual annotation resource, see CreateAnnotation. 69 * corresponding batch entry in the response; the remaining well formed
70 * annotations will be created normally.
71 *
72 * For details on the requirements for each individual annotation resource,
73 * see
74 * CreateAnnotation.
70 * 75 *
71 * [request] - The metadata request object. 76 * [request] - The metadata request object.
72 * 77 *
73 * Request parameters: 78 * Request parameters:
74 * 79 *
75 * Completes with a [BatchCreateAnnotationsResponse]. 80 * Completes with a [BatchCreateAnnotationsResponse].
76 * 81 *
77 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 82 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
78 * error. 83 * error.
79 * 84 *
(...skipping 18 matching lines...) Expand all
98 "POST", 103 "POST",
99 body: _body, 104 body: _body,
100 queryParams: _queryParams, 105 queryParams: _queryParams,
101 uploadOptions: _uploadOptions, 106 uploadOptions: _uploadOptions,
102 uploadMedia: _uploadMedia, 107 uploadMedia: _uploadMedia,
103 downloadOptions: _downloadOptions); 108 downloadOptions: _downloadOptions);
104 return _response.then((data) => new BatchCreateAnnotationsResponse.fromJson( data)); 109 return _response.then((data) => new BatchCreateAnnotationsResponse.fromJson( data));
105 } 110 }
106 111
107 /** 112 /**
108 * Creates a new annotation. Caller must have WRITE permission for the 113 * Creates a new annotation. Caller must have WRITE permission
109 * associated annotation set. The following fields are required: * 114 * for the associated annotation set.
110 * annotationSetId * referenceName or referenceId ### Transcripts For 115 *
111 * annotations of type TRANSCRIPT, the following fields of transcript must be 116 * The following fields are required:
112 * provided: * exons.start * exons.end All other fields may be optionally 117 *
113 * specified, unless documented as being server-generated (for example, the 118 * * annotationSetId
114 * `id` field). The annotated range must be no longer than 100Mbp (mega base 119 * * referenceName or
115 * pairs). See the Annotation resource for additional restrictions on each 120 * referenceId
116 * field. 121 *
122 * ### Transcripts
123 *
124 * For annotations of type TRANSCRIPT, the following fields of
125 * transcript must be provided:
126 *
127 * * exons.start
128 * * exons.end
129 *
130 * All other fields may be optionally specified, unless documented as being
131 * server-generated (for example, the `id` field). The annotated
132 * range must be no longer than 100Mbp (mega base pairs). See the
133 * Annotation resource
134 * for additional restrictions on each field.
117 * 135 *
118 * [request] - The metadata request object. 136 * [request] - The metadata request object.
119 * 137 *
120 * Request parameters: 138 * Request parameters:
121 * 139 *
122 * Completes with a [Annotation]. 140 * Completes with a [Annotation].
123 * 141 *
124 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 142 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
125 * error. 143 * error.
126 * 144 *
(...skipping 18 matching lines...) Expand all
145 "POST", 163 "POST",
146 body: _body, 164 body: _body,
147 queryParams: _queryParams, 165 queryParams: _queryParams,
148 uploadOptions: _uploadOptions, 166 uploadOptions: _uploadOptions,
149 uploadMedia: _uploadMedia, 167 uploadMedia: _uploadMedia,
150 downloadOptions: _downloadOptions); 168 downloadOptions: _downloadOptions);
151 return _response.then((data) => new Annotation.fromJson(data)); 169 return _response.then((data) => new Annotation.fromJson(data));
152 } 170 }
153 171
154 /** 172 /**
155 * Deletes an annotation. Caller must have WRITE permission for the associated 173 * Deletes an annotation. Caller must have WRITE permission for
156 * annotation set. 174 * the associated annotation set.
157 * 175 *
158 * Request parameters: 176 * Request parameters:
159 * 177 *
160 * [annotationId] - The ID of the annotation to be deleted. 178 * [annotationId] - The ID of the annotation to be deleted.
161 * 179 *
162 * Completes with a [Empty]. 180 * Completes with a [Empty].
163 * 181 *
164 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 182 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
165 * error. 183 * error.
166 * 184 *
(...skipping 18 matching lines...) Expand all
185 "DELETE", 203 "DELETE",
186 body: _body, 204 body: _body,
187 queryParams: _queryParams, 205 queryParams: _queryParams,
188 uploadOptions: _uploadOptions, 206 uploadOptions: _uploadOptions,
189 uploadMedia: _uploadMedia, 207 uploadMedia: _uploadMedia,
190 downloadOptions: _downloadOptions); 208 downloadOptions: _downloadOptions);
191 return _response.then((data) => new Empty.fromJson(data)); 209 return _response.then((data) => new Empty.fromJson(data));
192 } 210 }
193 211
194 /** 212 /**
195 * Gets an annotation. Caller must have READ permission for the associated 213 * Gets an annotation. Caller must have READ permission
196 * annotation set. 214 * for the associated annotation set.
197 * 215 *
198 * Request parameters: 216 * Request parameters:
199 * 217 *
200 * [annotationId] - The ID of the annotation to be retrieved. 218 * [annotationId] - The ID of the annotation to be retrieved.
201 * 219 *
202 * Completes with a [Annotation]. 220 * Completes with a [Annotation].
203 * 221 *
204 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 222 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
205 * error. 223 * error.
206 * 224 *
(...skipping 18 matching lines...) Expand all
225 "GET", 243 "GET",
226 body: _body, 244 body: _body,
227 queryParams: _queryParams, 245 queryParams: _queryParams,
228 uploadOptions: _uploadOptions, 246 uploadOptions: _uploadOptions,
229 uploadMedia: _uploadMedia, 247 uploadMedia: _uploadMedia,
230 downloadOptions: _downloadOptions); 248 downloadOptions: _downloadOptions);
231 return _response.then((data) => new Annotation.fromJson(data)); 249 return _response.then((data) => new Annotation.fromJson(data));
232 } 250 }
233 251
234 /** 252 /**
235 * Searches for annotations that match the given criteria. Results are ordered 253 * Searches for annotations that match the given criteria. Results are
236 * by genomic coordinate (by reference sequence, then position). Annotations 254 * ordered by genomic coordinate (by reference sequence, then position).
237 * with equivalent genomic coordinates are returned in an unspecified order. 255 * Annotations with equivalent genomic coordinates are returned in an
238 * This order is consistent, such that two queries for the same content 256 * unspecified order. This order is consistent, such that two queries for the
239 * (regardless of page size) yield annotations in the same order across their 257 * same content (regardless of page size) yield annotations in the same order
240 * respective streams of paginated responses. Caller must have READ permission 258 * across their respective streams of paginated responses. Caller must have
241 * for the queried annotation sets. 259 * READ permission for the queried annotation sets.
242 * 260 *
243 * [request] - The metadata request object. 261 * [request] - The metadata request object.
244 * 262 *
245 * Request parameters: 263 * Request parameters:
246 * 264 *
247 * Completes with a [SearchAnnotationsResponse]. 265 * Completes with a [SearchAnnotationsResponse].
248 * 266 *
249 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 267 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
250 * error. 268 * error.
251 * 269 *
(...skipping 18 matching lines...) Expand all
270 "POST", 288 "POST",
271 body: _body, 289 body: _body,
272 queryParams: _queryParams, 290 queryParams: _queryParams,
273 uploadOptions: _uploadOptions, 291 uploadOptions: _uploadOptions,
274 uploadMedia: _uploadMedia, 292 uploadMedia: _uploadMedia,
275 downloadOptions: _downloadOptions); 293 downloadOptions: _downloadOptions);
276 return _response.then((data) => new SearchAnnotationsResponse.fromJson(data) ); 294 return _response.then((data) => new SearchAnnotationsResponse.fromJson(data) );
277 } 295 }
278 296
279 /** 297 /**
280 * Updates an annotation. Caller must have WRITE permission for the associated 298 * Updates an annotation. Caller must have
281 * dataset. 299 * WRITE permission for the associated dataset.
282 * 300 *
283 * [request] - The metadata request object. 301 * [request] - The metadata request object.
284 * 302 *
285 * Request parameters: 303 * Request parameters:
286 * 304 *
287 * [annotationId] - The ID of the annotation to be updated. 305 * [annotationId] - The ID of the annotation to be updated.
288 * 306 *
289 * [updateMask] - An optional mask specifying which fields to update. Mutable 307 * [updateMask] - An optional mask specifying which fields to update. Mutable
290 * fields are name, variant, transcript, and info. If unspecified, all mutable 308 * fields are
309 * name,
310 * variant,
311 * transcript, and
312 * info. If unspecified, all mutable
291 * fields will be updated. 313 * fields will be updated.
292 * 314 *
293 * Completes with a [Annotation]. 315 * Completes with a [Annotation].
294 * 316 *
295 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 317 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
296 * error. 318 * error.
297 * 319 *
298 * If the used [http.Client] completes with an error when making a REST call, 320 * If the used [http.Client] completes with an error when making a REST call,
299 * this method will complete with the same error. 321 * this method will complete with the same error.
300 */ 322 */
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 354
333 355
334 class AnnotationsetsResourceApi { 356 class AnnotationsetsResourceApi {
335 final commons.ApiRequester _requester; 357 final commons.ApiRequester _requester;
336 358
337 AnnotationsetsResourceApi(commons.ApiRequester client) : 359 AnnotationsetsResourceApi(commons.ApiRequester client) :
338 _requester = client; 360 _requester = client;
339 361
340 /** 362 /**
341 * Creates a new annotation set. Caller must have WRITE permission for the 363 * Creates a new annotation set. Caller must have WRITE permission for the
342 * associated dataset. The following fields are required: * datasetId * 364 * associated dataset.
343 * referenceSetId All other fields may be optionally specified, unless 365 *
344 * documented as being server-generated (for example, the `id` field). 366 * The following fields are required:
367 *
368 * * datasetId
369 * * referenceSetId
370 *
371 * All other fields may be optionally specified, unless documented as being
372 * server-generated (for example, the `id` field).
345 * 373 *
346 * [request] - The metadata request object. 374 * [request] - The metadata request object.
347 * 375 *
348 * Request parameters: 376 * Request parameters:
349 * 377 *
350 * Completes with a [AnnotationSet]. 378 * Completes with a [AnnotationSet].
351 * 379 *
352 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 380 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
353 * error. 381 * error.
354 * 382 *
(...skipping 18 matching lines...) Expand all
373 "POST", 401 "POST",
374 body: _body, 402 body: _body,
375 queryParams: _queryParams, 403 queryParams: _queryParams,
376 uploadOptions: _uploadOptions, 404 uploadOptions: _uploadOptions,
377 uploadMedia: _uploadMedia, 405 uploadMedia: _uploadMedia,
378 downloadOptions: _downloadOptions); 406 downloadOptions: _downloadOptions);
379 return _response.then((data) => new AnnotationSet.fromJson(data)); 407 return _response.then((data) => new AnnotationSet.fromJson(data));
380 } 408 }
381 409
382 /** 410 /**
383 * Deletes an annotation set. Caller must have WRITE permission for the 411 * Deletes an annotation set. Caller must have WRITE permission
384 * associated annotation set. 412 * for the associated annotation set.
385 * 413 *
386 * Request parameters: 414 * Request parameters:
387 * 415 *
388 * [annotationSetId] - The ID of the annotation set to be deleted. 416 * [annotationSetId] - The ID of the annotation set to be deleted.
389 * 417 *
390 * Completes with a [Empty]. 418 * Completes with a [Empty].
391 * 419 *
392 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 420 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
393 * error. 421 * error.
394 * 422 *
(...skipping 18 matching lines...) Expand all
413 "DELETE", 441 "DELETE",
414 body: _body, 442 body: _body,
415 queryParams: _queryParams, 443 queryParams: _queryParams,
416 uploadOptions: _uploadOptions, 444 uploadOptions: _uploadOptions,
417 uploadMedia: _uploadMedia, 445 uploadMedia: _uploadMedia,
418 downloadOptions: _downloadOptions); 446 downloadOptions: _downloadOptions);
419 return _response.then((data) => new Empty.fromJson(data)); 447 return _response.then((data) => new Empty.fromJson(data));
420 } 448 }
421 449
422 /** 450 /**
423 * Gets an annotation set. Caller must have READ permission for the associated 451 * Gets an annotation set. Caller must have READ permission for
424 * dataset. 452 * the associated dataset.
425 * 453 *
426 * Request parameters: 454 * Request parameters:
427 * 455 *
428 * [annotationSetId] - The ID of the annotation set to be retrieved. 456 * [annotationSetId] - The ID of the annotation set to be retrieved.
429 * 457 *
430 * Completes with a [AnnotationSet]. 458 * Completes with a [AnnotationSet].
431 * 459 *
432 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 460 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
433 * error. 461 * error.
434 * 462 *
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 * restrictions and other invariants described on the annotation set resource. 535 * restrictions and other invariants described on the annotation set resource.
508 * Caller must have WRITE permission for the associated dataset. 536 * Caller must have WRITE permission for the associated dataset.
509 * 537 *
510 * [request] - The metadata request object. 538 * [request] - The metadata request object.
511 * 539 *
512 * Request parameters: 540 * Request parameters:
513 * 541 *
514 * [annotationSetId] - The ID of the annotation set to be updated. 542 * [annotationSetId] - The ID of the annotation set to be updated.
515 * 543 *
516 * [updateMask] - An optional mask specifying which fields to update. Mutable 544 * [updateMask] - An optional mask specifying which fields to update. Mutable
517 * fields are name, source_uri, and info. If unspecified, all mutable fields 545 * fields are
518 * will be updated. 546 * name,
547 * source_uri, and
548 * info. If unspecified, all
549 * mutable fields will be updated.
519 * 550 *
520 * Completes with a [AnnotationSet]. 551 * Completes with a [AnnotationSet].
521 * 552 *
522 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 553 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
523 * error. 554 * error.
524 * 555 *
525 * If the used [http.Client] completes with an error when making a REST call, 556 * If the used [http.Client] completes with an error when making a REST call,
526 * this method will complete with the same error. 557 * this method will complete with the same error.
527 */ 558 */
528 async.Future<AnnotationSet> update(AnnotationSet request, core.String annotati onSetId, {core.String updateMask}) { 559 async.Future<AnnotationSet> update(AnnotationSet request, core.String annotati onSetId, {core.String updateMask}) {
(...skipping 29 matching lines...) Expand all
558 } 589 }
559 590
560 591
561 class CallsetsResourceApi { 592 class CallsetsResourceApi {
562 final commons.ApiRequester _requester; 593 final commons.ApiRequester _requester;
563 594
564 CallsetsResourceApi(commons.ApiRequester client) : 595 CallsetsResourceApi(commons.ApiRequester client) :
565 _requester = client; 596 _requester = client;
566 597
567 /** 598 /**
568 * Creates a new call set. For the definitions of call sets and other genomics 599 * Creates a new call set.
569 * resources, see [Fundamentals of Google 600 *
601 * For the definitions of call sets and other genomics resources, see
602 * [Fundamentals of Google
570 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 603 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
571 * 604 *
572 * [request] - The metadata request object. 605 * [request] - The metadata request object.
573 * 606 *
574 * Request parameters: 607 * Request parameters:
575 * 608 *
576 * Completes with a [CallSet]. 609 * Completes with a [CallSet].
577 * 610 *
578 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 611 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
579 * error. 612 * error.
(...skipping 19 matching lines...) Expand all
599 "POST", 632 "POST",
600 body: _body, 633 body: _body,
601 queryParams: _queryParams, 634 queryParams: _queryParams,
602 uploadOptions: _uploadOptions, 635 uploadOptions: _uploadOptions,
603 uploadMedia: _uploadMedia, 636 uploadMedia: _uploadMedia,
604 downloadOptions: _downloadOptions); 637 downloadOptions: _downloadOptions);
605 return _response.then((data) => new CallSet.fromJson(data)); 638 return _response.then((data) => new CallSet.fromJson(data));
606 } 639 }
607 640
608 /** 641 /**
609 * Deletes a call set. For the definitions of call sets and other genomics 642 * Deletes a call set.
610 * resources, see [Fundamentals of Google 643 *
644 * For the definitions of call sets and other genomics resources, see
645 * [Fundamentals of Google
611 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 646 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
612 * 647 *
613 * Request parameters: 648 * Request parameters:
614 * 649 *
615 * [callSetId] - The ID of the call set to be deleted. 650 * [callSetId] - The ID of the call set to be deleted.
616 * 651 *
617 * Completes with a [Empty]. 652 * Completes with a [Empty].
618 * 653 *
619 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 654 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
620 * error. 655 * error.
(...skipping 19 matching lines...) Expand all
640 "DELETE", 675 "DELETE",
641 body: _body, 676 body: _body,
642 queryParams: _queryParams, 677 queryParams: _queryParams,
643 uploadOptions: _uploadOptions, 678 uploadOptions: _uploadOptions,
644 uploadMedia: _uploadMedia, 679 uploadMedia: _uploadMedia,
645 downloadOptions: _downloadOptions); 680 downloadOptions: _downloadOptions);
646 return _response.then((data) => new Empty.fromJson(data)); 681 return _response.then((data) => new Empty.fromJson(data));
647 } 682 }
648 683
649 /** 684 /**
650 * Gets a call set by ID. For the definitions of call sets and other genomics 685 * Gets a call set by ID.
651 * resources, see [Fundamentals of Google 686 *
687 * For the definitions of call sets and other genomics resources, see
688 * [Fundamentals of Google
652 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 689 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
653 * 690 *
654 * Request parameters: 691 * Request parameters:
655 * 692 *
656 * [callSetId] - The ID of the call set. 693 * [callSetId] - The ID of the call set.
657 * 694 *
658 * Completes with a [CallSet]. 695 * Completes with a [CallSet].
659 * 696 *
660 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 697 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
661 * error. 698 * error.
(...skipping 19 matching lines...) Expand all
681 "GET", 718 "GET",
682 body: _body, 719 body: _body,
683 queryParams: _queryParams, 720 queryParams: _queryParams,
684 uploadOptions: _uploadOptions, 721 uploadOptions: _uploadOptions,
685 uploadMedia: _uploadMedia, 722 uploadMedia: _uploadMedia,
686 downloadOptions: _downloadOptions); 723 downloadOptions: _downloadOptions);
687 return _response.then((data) => new CallSet.fromJson(data)); 724 return _response.then((data) => new CallSet.fromJson(data));
688 } 725 }
689 726
690 /** 727 /**
691 * Updates a call set. For the definitions of call sets and other genomics 728 * Updates a call set.
692 * resources, see [Fundamentals of Google 729 *
730 * For the definitions of call sets and other genomics resources, see
731 * [Fundamentals of Google
693 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 732 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
733 *
694 * This method supports patch semantics. 734 * This method supports patch semantics.
695 * 735 *
696 * [request] - The metadata request object. 736 * [request] - The metadata request object.
697 * 737 *
698 * Request parameters: 738 * Request parameters:
699 * 739 *
700 * [callSetId] - The ID of the call set to be updated. 740 * [callSetId] - The ID of the call set to be updated.
701 * 741 *
702 * [updateMask] - An optional mask specifying which fields to update. At this 742 * [updateMask] - An optional mask specifying which fields to update. At this
703 * time, the only mutable field is name. The only acceptable value is "name". 743 * time, the only
704 * If unspecified, all mutable fields will be updated. 744 * mutable field is name. The only
745 * acceptable value is "name". If unspecified, all mutable fields will be
746 * updated.
705 * 747 *
706 * Completes with a [CallSet]. 748 * Completes with a [CallSet].
707 * 749 *
708 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 750 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
709 * error. 751 * error.
710 * 752 *
711 * If the used [http.Client] completes with an error when making a REST call, 753 * If the used [http.Client] completes with an error when making a REST call,
712 * this method will complete with the same error. 754 * this method will complete with the same error.
713 */ 755 */
714 async.Future<CallSet> patch(CallSet request, core.String callSetId, {core.Stri ng updateMask}) { 756 async.Future<CallSet> patch(CallSet request, core.String callSetId, {core.Stri ng updateMask}) {
(...skipping 20 matching lines...) Expand all
735 "PATCH", 777 "PATCH",
736 body: _body, 778 body: _body,
737 queryParams: _queryParams, 779 queryParams: _queryParams,
738 uploadOptions: _uploadOptions, 780 uploadOptions: _uploadOptions,
739 uploadMedia: _uploadMedia, 781 uploadMedia: _uploadMedia,
740 downloadOptions: _downloadOptions); 782 downloadOptions: _downloadOptions);
741 return _response.then((data) => new CallSet.fromJson(data)); 783 return _response.then((data) => new CallSet.fromJson(data));
742 } 784 }
743 785
744 /** 786 /**
745 * Gets a list of call sets matching the criteria. For the definitions of call 787 * Gets a list of call sets matching the criteria.
746 * sets and other genomics resources, see [Fundamentals of Google 788 *
789 * For the definitions of call sets and other genomics resources, see
790 * [Fundamentals of Google
747 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 791 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
792 *
748 * Implements 793 * Implements
749 * [GlobalAllianceApi.searchCallSets](https://github.com/ga4gh/schemas/blob/v0 .5.1/src/main/resources/avro/variantmethods.avdl#L178). 794 * [GlobalAllianceApi.searchCallSets](https://github.com/ga4gh/schemas/blob/v0 .5.1/src/main/resources/avro/variantmethods.avdl#L178).
750 * 795 *
751 * [request] - The metadata request object. 796 * [request] - The metadata request object.
752 * 797 *
753 * Request parameters: 798 * Request parameters:
754 * 799 *
755 * Completes with a [SearchCallSetsResponse]. 800 * Completes with a [SearchCallSetsResponse].
756 * 801 *
757 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 802 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
(...skipping 29 matching lines...) Expand all
787 } 832 }
788 833
789 834
790 class DatasetsResourceApi { 835 class DatasetsResourceApi {
791 final commons.ApiRequester _requester; 836 final commons.ApiRequester _requester;
792 837
793 DatasetsResourceApi(commons.ApiRequester client) : 838 DatasetsResourceApi(commons.ApiRequester client) :
794 _requester = client; 839 _requester = client;
795 840
796 /** 841 /**
797 * Creates a new dataset. For the definitions of datasets and other genomics 842 * Creates a new dataset.
798 * resources, see [Fundamentals of Google 843 *
844 * For the definitions of datasets and other genomics resources, see
845 * [Fundamentals of Google
799 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 846 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
800 * 847 *
801 * [request] - The metadata request object. 848 * [request] - The metadata request object.
802 * 849 *
803 * Request parameters: 850 * Request parameters:
804 * 851 *
805 * Completes with a [Dataset]. 852 * Completes with a [Dataset].
806 * 853 *
807 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 854 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
808 * error. 855 * error.
(...skipping 19 matching lines...) Expand all
828 "POST", 875 "POST",
829 body: _body, 876 body: _body,
830 queryParams: _queryParams, 877 queryParams: _queryParams,
831 uploadOptions: _uploadOptions, 878 uploadOptions: _uploadOptions,
832 uploadMedia: _uploadMedia, 879 uploadMedia: _uploadMedia,
833 downloadOptions: _downloadOptions); 880 downloadOptions: _downloadOptions);
834 return _response.then((data) => new Dataset.fromJson(data)); 881 return _response.then((data) => new Dataset.fromJson(data));
835 } 882 }
836 883
837 /** 884 /**
838 * Deletes a dataset and all of its contents (all read group sets, reference 885 * Deletes a dataset and all of its contents (all read group sets,
839 * sets, variant sets, call sets, annotation sets, etc.) This is reversible 886 * reference sets, variant sets, call sets, annotation sets, etc.)
840 * (up to one week after the deletion) via the datasets.undelete operation. 887 * This is reversible (up to one week after the deletion) via
888 * the
889 * datasets.undelete
890 * operation.
891 *
841 * For the definitions of datasets and other genomics resources, see 892 * For the definitions of datasets and other genomics resources, see
842 * [Fundamentals of Google 893 * [Fundamentals of Google
843 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 894 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
844 * 895 *
845 * Request parameters: 896 * Request parameters:
846 * 897 *
847 * [datasetId] - The ID of the dataset to be deleted. 898 * [datasetId] - The ID of the dataset to be deleted.
848 * 899 *
849 * Completes with a [Empty]. 900 * Completes with a [Empty].
850 * 901 *
(...skipping 21 matching lines...) Expand all
872 "DELETE", 923 "DELETE",
873 body: _body, 924 body: _body,
874 queryParams: _queryParams, 925 queryParams: _queryParams,
875 uploadOptions: _uploadOptions, 926 uploadOptions: _uploadOptions,
876 uploadMedia: _uploadMedia, 927 uploadMedia: _uploadMedia,
877 downloadOptions: _downloadOptions); 928 downloadOptions: _downloadOptions);
878 return _response.then((data) => new Empty.fromJson(data)); 929 return _response.then((data) => new Empty.fromJson(data));
879 } 930 }
880 931
881 /** 932 /**
882 * Gets a dataset by ID. For the definitions of datasets and other genomics 933 * Gets a dataset by ID.
883 * resources, see [Fundamentals of Google 934 *
935 * For the definitions of datasets and other genomics resources, see
936 * [Fundamentals of Google
884 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 937 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
885 * 938 *
886 * Request parameters: 939 * Request parameters:
887 * 940 *
888 * [datasetId] - The ID of the dataset. 941 * [datasetId] - The ID of the dataset.
889 * 942 *
890 * Completes with a [Dataset]. 943 * Completes with a [Dataset].
891 * 944 *
892 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 945 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
893 * error. 946 * error.
(...skipping 19 matching lines...) Expand all
913 "GET", 966 "GET",
914 body: _body, 967 body: _body,
915 queryParams: _queryParams, 968 queryParams: _queryParams,
916 uploadOptions: _uploadOptions, 969 uploadOptions: _uploadOptions,
917 uploadMedia: _uploadMedia, 970 uploadMedia: _uploadMedia,
918 downloadOptions: _downloadOptions); 971 downloadOptions: _downloadOptions);
919 return _response.then((data) => new Dataset.fromJson(data)); 972 return _response.then((data) => new Dataset.fromJson(data));
920 } 973 }
921 974
922 /** 975 /**
923 * Gets the access control policy for the dataset. This is empty if the policy 976 * Gets the access control policy for the dataset. This is empty if the
924 * or resource does not exist. See Getting a Policy for more information. For 977 * policy or resource does not exist.
925 * the definitions of datasets and other genomics resources, see [Fundamentals 978 *
926 * of Google 979 * See <a href="/iam/docs/managing-policies#getting_a_policy">Getting a
980 * Policy</a> for more information.
981 *
982 * For the definitions of datasets and other genomics resources, see
983 * [Fundamentals of Google
927 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 984 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
928 * 985 *
929 * [request] - The metadata request object. 986 * [request] - The metadata request object.
930 * 987 *
931 * Request parameters: 988 * Request parameters:
932 * 989 *
933 * [resource] - REQUIRED: The resource for which policy is being specified. 990 * [resource] - REQUIRED: The resource for which policy is being specified.
934 * Format is `datasets/`. 991 * Format is
992 * `datasets/<dataset ID>`.
935 * Value must have pattern "^datasets/[^/]+$". 993 * Value must have pattern "^datasets/[^/]+$".
936 * 994 *
937 * Completes with a [Policy]. 995 * Completes with a [Policy].
938 * 996 *
939 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 997 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
940 * error. 998 * error.
941 * 999 *
942 * If the used [http.Client] completes with an error when making a REST call, 1000 * If the used [http.Client] completes with an error when making a REST call,
943 * this method will complete with the same error. 1001 * this method will complete with the same error.
944 */ 1002 */
(...skipping 18 matching lines...) Expand all
963 "POST", 1021 "POST",
964 body: _body, 1022 body: _body,
965 queryParams: _queryParams, 1023 queryParams: _queryParams,
966 uploadOptions: _uploadOptions, 1024 uploadOptions: _uploadOptions,
967 uploadMedia: _uploadMedia, 1025 uploadMedia: _uploadMedia,
968 downloadOptions: _downloadOptions); 1026 downloadOptions: _downloadOptions);
969 return _response.then((data) => new Policy.fromJson(data)); 1027 return _response.then((data) => new Policy.fromJson(data));
970 } 1028 }
971 1029
972 /** 1030 /**
973 * Lists datasets within a project. For the definitions of datasets and other 1031 * Lists datasets within a project.
974 * genomics resources, see [Fundamentals of Google 1032 *
1033 * For the definitions of datasets and other genomics resources, see
1034 * [Fundamentals of Google
975 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 1035 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
976 * 1036 *
977 * Request parameters: 1037 * Request parameters:
978 * 1038 *
1039 * [pageSize] - The maximum number of results to return in a single page. If
1040 * unspecified,
1041 * defaults to 50. The maximum value is 1024.
1042 *
979 * [projectId] - Required. The Google Cloud project ID to list datasets for. 1043 * [projectId] - Required. The Google Cloud project ID to list datasets for.
980 * 1044 *
981 * [pageSize] - The maximum number of results to return in a single page. If
982 * unspecified, defaults to 50. The maximum value is 1024.
983 *
984 * [pageToken] - The continuation token, which is used to page through large 1045 * [pageToken] - The continuation token, which is used to page through large
985 * result sets. To get the next page of results, set this parameter to the 1046 * result sets.
986 * value of `nextPageToken` from the previous response. 1047 * To get the next page of results, set this parameter to the value of
1048 * `nextPageToken` from the previous response.
987 * 1049 *
988 * Completes with a [ListDatasetsResponse]. 1050 * Completes with a [ListDatasetsResponse].
989 * 1051 *
990 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1052 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
991 * error. 1053 * error.
992 * 1054 *
993 * If the used [http.Client] completes with an error when making a REST call, 1055 * If the used [http.Client] completes with an error when making a REST call,
994 * this method will complete with the same error. 1056 * this method will complete with the same error.
995 */ 1057 */
996 async.Future<ListDatasetsResponse> list({core.String projectId, core.int pageS ize, core.String pageToken}) { 1058 async.Future<ListDatasetsResponse> list({core.int pageSize, core.String projec tId, core.String pageToken}) {
997 var _url = null; 1059 var _url = null;
998 var _queryParams = new core.Map(); 1060 var _queryParams = new core.Map();
999 var _uploadMedia = null; 1061 var _uploadMedia = null;
1000 var _uploadOptions = null; 1062 var _uploadOptions = null;
1001 var _downloadOptions = commons.DownloadOptions.Metadata; 1063 var _downloadOptions = commons.DownloadOptions.Metadata;
1002 var _body = null; 1064 var _body = null;
1003 1065
1066 if (pageSize != null) {
1067 _queryParams["pageSize"] = ["${pageSize}"];
1068 }
1004 if (projectId != null) { 1069 if (projectId != null) {
1005 _queryParams["projectId"] = [projectId]; 1070 _queryParams["projectId"] = [projectId];
1006 } 1071 }
1007 if (pageSize != null) {
1008 _queryParams["pageSize"] = ["${pageSize}"];
1009 }
1010 if (pageToken != null) { 1072 if (pageToken != null) {
1011 _queryParams["pageToken"] = [pageToken]; 1073 _queryParams["pageToken"] = [pageToken];
1012 } 1074 }
1013 1075
1014 _url = 'v1/datasets'; 1076 _url = 'v1/datasets';
1015 1077
1016 var _response = _requester.request(_url, 1078 var _response = _requester.request(_url,
1017 "GET", 1079 "GET",
1018 body: _body, 1080 body: _body,
1019 queryParams: _queryParams, 1081 queryParams: _queryParams,
1020 uploadOptions: _uploadOptions, 1082 uploadOptions: _uploadOptions,
1021 uploadMedia: _uploadMedia, 1083 uploadMedia: _uploadMedia,
1022 downloadOptions: _downloadOptions); 1084 downloadOptions: _downloadOptions);
1023 return _response.then((data) => new ListDatasetsResponse.fromJson(data)); 1085 return _response.then((data) => new ListDatasetsResponse.fromJson(data));
1024 } 1086 }
1025 1087
1026 /** 1088 /**
1027 * Updates a dataset. For the definitions of datasets and other genomics 1089 * Updates a dataset.
1028 * resources, see [Fundamentals of Google 1090 *
1091 * For the definitions of datasets and other genomics resources, see
1092 * [Fundamentals of Google
1029 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 1093 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
1094 *
1030 * This method supports patch semantics. 1095 * This method supports patch semantics.
1031 * 1096 *
1032 * [request] - The metadata request object. 1097 * [request] - The metadata request object.
1033 * 1098 *
1034 * Request parameters: 1099 * Request parameters:
1035 * 1100 *
1036 * [datasetId] - The ID of the dataset to be updated. 1101 * [datasetId] - The ID of the dataset to be updated.
1037 * 1102 *
1038 * [updateMask] - An optional mask specifying which fields to update. At this 1103 * [updateMask] - An optional mask specifying which fields to update. At this
1039 * time, the only mutable field is name. The only acceptable value is "name". 1104 * time, the only
1040 * If unspecified, all mutable fields will be updated. 1105 * mutable field is name. The only
1106 * acceptable value is "name". If unspecified, all mutable fields will be
1107 * updated.
1041 * 1108 *
1042 * Completes with a [Dataset]. 1109 * Completes with a [Dataset].
1043 * 1110 *
1044 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1111 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1045 * error. 1112 * error.
1046 * 1113 *
1047 * If the used [http.Client] completes with an error when making a REST call, 1114 * If the used [http.Client] completes with an error when making a REST call,
1048 * this method will complete with the same error. 1115 * this method will complete with the same error.
1049 */ 1116 */
1050 async.Future<Dataset> patch(Dataset request, core.String datasetId, {core.Stri ng updateMask}) { 1117 async.Future<Dataset> patch(Dataset request, core.String datasetId, {core.Stri ng updateMask}) {
(...skipping 21 matching lines...) Expand all
1072 body: _body, 1139 body: _body,
1073 queryParams: _queryParams, 1140 queryParams: _queryParams,
1074 uploadOptions: _uploadOptions, 1141 uploadOptions: _uploadOptions,
1075 uploadMedia: _uploadMedia, 1142 uploadMedia: _uploadMedia,
1076 downloadOptions: _downloadOptions); 1143 downloadOptions: _downloadOptions);
1077 return _response.then((data) => new Dataset.fromJson(data)); 1144 return _response.then((data) => new Dataset.fromJson(data));
1078 } 1145 }
1079 1146
1080 /** 1147 /**
1081 * Sets the access control policy on the specified dataset. Replaces any 1148 * Sets the access control policy on the specified dataset. Replaces any
1082 * existing policy. For the definitions of datasets and other genomics 1149 * existing policy.
1083 * resources, see [Fundamentals of Google 1150 *
1151 * For the definitions of datasets and other genomics resources, see
1152 * [Fundamentals of Google
1084 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 1153 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
1085 * See Setting a Policy for more information. 1154 *
1155 * See <a href="/iam/docs/managing-policies#setting_a_policy">Setting a
1156 * Policy</a> for more information.
1086 * 1157 *
1087 * [request] - The metadata request object. 1158 * [request] - The metadata request object.
1088 * 1159 *
1089 * Request parameters: 1160 * Request parameters:
1090 * 1161 *
1091 * [resource] - REQUIRED: The resource for which policy is being specified. 1162 * [resource] - REQUIRED: The resource for which policy is being specified.
1092 * Format is `datasets/`. 1163 * Format is
1164 * `datasets/<dataset ID>`.
1093 * Value must have pattern "^datasets/[^/]+$". 1165 * Value must have pattern "^datasets/[^/]+$".
1094 * 1166 *
1095 * Completes with a [Policy]. 1167 * Completes with a [Policy].
1096 * 1168 *
1097 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1169 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1098 * error. 1170 * error.
1099 * 1171 *
1100 * If the used [http.Client] completes with an error when making a REST call, 1172 * If the used [http.Client] completes with an error when making a REST call,
1101 * this method will complete with the same error. 1173 * this method will complete with the same error.
1102 */ 1174 */
(...skipping 18 matching lines...) Expand all
1121 "POST", 1193 "POST",
1122 body: _body, 1194 body: _body,
1123 queryParams: _queryParams, 1195 queryParams: _queryParams,
1124 uploadOptions: _uploadOptions, 1196 uploadOptions: _uploadOptions,
1125 uploadMedia: _uploadMedia, 1197 uploadMedia: _uploadMedia,
1126 downloadOptions: _downloadOptions); 1198 downloadOptions: _downloadOptions);
1127 return _response.then((data) => new Policy.fromJson(data)); 1199 return _response.then((data) => new Policy.fromJson(data));
1128 } 1200 }
1129 1201
1130 /** 1202 /**
1131 * Returns permissions that a caller has on the specified resource. See 1203 * Returns permissions that a caller has on the specified resource.
1132 * Testing Permissions for more information. For the definitions of datasets 1204 * See <a href="/iam/docs/managing-policies#testing_permissions">Testing
1133 * and other genomics resources, see [Fundamentals of Google 1205 * Permissions</a> for more information.
1206 *
1207 * For the definitions of datasets and other genomics resources, see
1208 * [Fundamentals of Google
1134 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 1209 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
1135 * 1210 *
1136 * [request] - The metadata request object. 1211 * [request] - The metadata request object.
1137 * 1212 *
1138 * Request parameters: 1213 * Request parameters:
1139 * 1214 *
1140 * [resource] - REQUIRED: The resource for which policy is being specified. 1215 * [resource] - REQUIRED: The resource for which policy is being specified.
1141 * Format is `datasets/`. 1216 * Format is
1217 * `datasets/<dataset ID>`.
1142 * Value must have pattern "^datasets/[^/]+$". 1218 * Value must have pattern "^datasets/[^/]+$".
1143 * 1219 *
1144 * Completes with a [TestIamPermissionsResponse]. 1220 * Completes with a [TestIamPermissionsResponse].
1145 * 1221 *
1146 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1222 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1147 * error. 1223 * error.
1148 * 1224 *
1149 * If the used [http.Client] completes with an error when making a REST call, 1225 * If the used [http.Client] completes with an error when making a REST call,
1150 * this method will complete with the same error. 1226 * this method will complete with the same error.
1151 */ 1227 */
(...skipping 19 matching lines...) Expand all
1171 body: _body, 1247 body: _body,
1172 queryParams: _queryParams, 1248 queryParams: _queryParams,
1173 uploadOptions: _uploadOptions, 1249 uploadOptions: _uploadOptions,
1174 uploadMedia: _uploadMedia, 1250 uploadMedia: _uploadMedia,
1175 downloadOptions: _downloadOptions); 1251 downloadOptions: _downloadOptions);
1176 return _response.then((data) => new TestIamPermissionsResponse.fromJson(data )); 1252 return _response.then((data) => new TestIamPermissionsResponse.fromJson(data ));
1177 } 1253 }
1178 1254
1179 /** 1255 /**
1180 * Undeletes a dataset by restoring a dataset which was deleted via this API. 1256 * Undeletes a dataset by restoring a dataset which was deleted via this API.
1257 *
1181 * For the definitions of datasets and other genomics resources, see 1258 * For the definitions of datasets and other genomics resources, see
1182 * [Fundamentals of Google 1259 * [Fundamentals of Google
1183 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 1260 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
1261 *
1184 * This operation is only possible for a week after the deletion occurred. 1262 * This operation is only possible for a week after the deletion occurred.
1185 * 1263 *
1186 * [request] - The metadata request object. 1264 * [request] - The metadata request object.
1187 * 1265 *
1188 * Request parameters: 1266 * Request parameters:
1189 * 1267 *
1190 * [datasetId] - The ID of the dataset to be undeleted. 1268 * [datasetId] - The ID of the dataset to be undeleted.
1191 * 1269 *
1192 * Completes with a [Dataset]. 1270 * Completes with a [Dataset].
1193 * 1271 *
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
1276 "POST", 1354 "POST",
1277 body: _body, 1355 body: _body,
1278 queryParams: _queryParams, 1356 queryParams: _queryParams,
1279 uploadOptions: _uploadOptions, 1357 uploadOptions: _uploadOptions,
1280 uploadMedia: _uploadMedia, 1358 uploadMedia: _uploadMedia,
1281 downloadOptions: _downloadOptions); 1359 downloadOptions: _downloadOptions);
1282 return _response.then((data) => new Empty.fromJson(data)); 1360 return _response.then((data) => new Empty.fromJson(data));
1283 } 1361 }
1284 1362
1285 /** 1363 /**
1286 * Gets the latest state of a long-running operation. Clients can use this 1364 * Gets the latest state of a long-running operation. Clients can use this
1287 * method to poll the operation result at intervals as recommended by the API 1365 * method to poll the operation result at intervals as recommended by the API
1288 * service. 1366 * service.
1289 * 1367 *
1290 * Request parameters: 1368 * Request parameters:
1291 * 1369 *
1292 * [name] - The name of the operation resource. 1370 * [name] - The name of the operation resource.
1293 * Value must have pattern "^operations/.+$". 1371 * Value must have pattern "^operations/.+$".
1294 * 1372 *
1295 * Completes with a [Operation]. 1373 * Completes with a [Operation].
1296 * 1374 *
(...skipping 28 matching lines...) Expand all
1325 } 1403 }
1326 1404
1327 /** 1405 /**
1328 * Lists operations that match the specified filter in the request. 1406 * Lists operations that match the specified filter in the request.
1329 * 1407 *
1330 * Request parameters: 1408 * Request parameters:
1331 * 1409 *
1332 * [name] - The name of the operation collection. 1410 * [name] - The name of the operation collection.
1333 * Value must have pattern "^operations$". 1411 * Value must have pattern "^operations$".
1334 * 1412 *
1335 * [filter] - A string for filtering Operations. The following filter fields 1413 * [pageSize] - The maximum number of results to return. If unspecified,
1336 * are supported: * projectId: Required. Corresponds to 1414 * defaults to
1337 * OperationMetadata.projectId. * createTime: The time this job was created, 1415 * 256. The maximum value is 2048.
1338 * in seconds from the [epoch](http://en.wikipedia.org/wiki/Unix_time). Can
1339 * use `>=` and/or `= 1432140000` * `projectId = my-project AND createTime >=
1340 * 1432140000 AND createTime <= 1432150000 AND status = RUNNING` * `projectId
1341 * = my-project AND labels.color = *` * `projectId = my-project AND
1342 * labels.color = red`
1343 * 1416 *
1344 * [pageSize] - The maximum number of results to return. If unspecified, 1417 * [filter] - A string for filtering Operations.
1345 * defaults to 256. The maximum value is 2048. 1418 * The following filter fields are supported&#58;
1419 *
1420 * * projectId&#58; Required. Corresponds to
1421 * OperationMetadata.projectId.
1422 * * createTime&#58; The time this job was created, in seconds from the
1423 * [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `>=` and/or `<=`
1424 * operators.
1425 * * status&#58; Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `CANCELED`. Only
1426 * one status may be specified.
1427 * * labels.key where key is a label key.
1428 *
1429 * Examples&#58;
1430 *
1431 * * `projectId = my-project AND createTime >= 1432140000`
1432 * * `projectId = my-project AND createTime >= 1432140000 AND createTime <=
1433 * 1432150000 AND status = RUNNING`
1434 * * `projectId = my-project AND labels.color = *`
1435 * * `projectId = my-project AND labels.color = red`
1346 * 1436 *
1347 * [pageToken] - The standard list page token. 1437 * [pageToken] - The standard list page token.
1348 * 1438 *
1349 * Completes with a [ListOperationsResponse]. 1439 * Completes with a [ListOperationsResponse].
1350 * 1440 *
1351 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1441 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1352 * error. 1442 * error.
1353 * 1443 *
1354 * If the used [http.Client] completes with an error when making a REST call, 1444 * If the used [http.Client] completes with an error when making a REST call,
1355 * this method will complete with the same error. 1445 * this method will complete with the same error.
1356 */ 1446 */
1357 async.Future<ListOperationsResponse> list(core.String name, {core.String filte r, core.int pageSize, core.String pageToken}) { 1447 async.Future<ListOperationsResponse> list(core.String name, {core.int pageSize , core.String filter, core.String pageToken}) {
1358 var _url = null; 1448 var _url = null;
1359 var _queryParams = new core.Map(); 1449 var _queryParams = new core.Map();
1360 var _uploadMedia = null; 1450 var _uploadMedia = null;
1361 var _uploadOptions = null; 1451 var _uploadOptions = null;
1362 var _downloadOptions = commons.DownloadOptions.Metadata; 1452 var _downloadOptions = commons.DownloadOptions.Metadata;
1363 var _body = null; 1453 var _body = null;
1364 1454
1365 if (name == null) { 1455 if (name == null) {
1366 throw new core.ArgumentError("Parameter name is required."); 1456 throw new core.ArgumentError("Parameter name is required.");
1367 } 1457 }
1458 if (pageSize != null) {
1459 _queryParams["pageSize"] = ["${pageSize}"];
1460 }
1368 if (filter != null) { 1461 if (filter != null) {
1369 _queryParams["filter"] = [filter]; 1462 _queryParams["filter"] = [filter];
1370 } 1463 }
1371 if (pageSize != null) {
1372 _queryParams["pageSize"] = ["${pageSize}"];
1373 }
1374 if (pageToken != null) { 1464 if (pageToken != null) {
1375 _queryParams["pageToken"] = [pageToken]; 1465 _queryParams["pageToken"] = [pageToken];
1376 } 1466 }
1377 1467
1378 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name'); 1468 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
1379 1469
1380 var _response = _requester.request(_url, 1470 var _response = _requester.request(_url,
1381 "GET", 1471 "GET",
1382 body: _body, 1472 body: _body,
1383 queryParams: _queryParams, 1473 queryParams: _queryParams,
1384 uploadOptions: _uploadOptions, 1474 uploadOptions: _uploadOptions,
1385 uploadMedia: _uploadMedia, 1475 uploadMedia: _uploadMedia,
1386 downloadOptions: _downloadOptions); 1476 downloadOptions: _downloadOptions);
1387 return _response.then((data) => new ListOperationsResponse.fromJson(data)); 1477 return _response.then((data) => new ListOperationsResponse.fromJson(data));
1388 } 1478 }
1389 1479
1390 } 1480 }
1391 1481
1392 1482
1393 class ReadgroupsetsResourceApi { 1483 class ReadgroupsetsResourceApi {
1394 final commons.ApiRequester _requester; 1484 final commons.ApiRequester _requester;
1395 1485
1396 ReadgroupsetsCoveragebucketsResourceApi get coveragebuckets => new Readgroupse tsCoveragebucketsResourceApi(_requester); 1486 ReadgroupsetsCoveragebucketsResourceApi get coveragebuckets => new Readgroupse tsCoveragebucketsResourceApi(_requester);
1397 1487
1398 ReadgroupsetsResourceApi(commons.ApiRequester client) : 1488 ReadgroupsetsResourceApi(commons.ApiRequester client) :
1399 _requester = client; 1489 _requester = client;
1400 1490
1401 /** 1491 /**
1402 * Deletes a read group set. For the definitions of read group sets and other 1492 * Deletes a read group set.
1403 * genomics resources, see [Fundamentals of Google 1493 *
1494 * For the definitions of read group sets and other genomics resources, see
1495 * [Fundamentals of Google
1404 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 1496 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
1405 * 1497 *
1406 * Request parameters: 1498 * Request parameters:
1407 * 1499 *
1408 * [readGroupSetId] - The ID of the read group set to be deleted. The caller 1500 * [readGroupSetId] - The ID of the read group set to be deleted. The caller
1409 * must have WRITE permissions to the dataset associated with this read group 1501 * must have WRITE
1410 * set. 1502 * permissions to the dataset associated with this read group set.
1411 * 1503 *
1412 * Completes with a [Empty]. 1504 * Completes with a [Empty].
1413 * 1505 *
1414 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1506 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1415 * error. 1507 * error.
1416 * 1508 *
1417 * If the used [http.Client] completes with an error when making a REST call, 1509 * If the used [http.Client] completes with an error when making a REST call,
1418 * this method will complete with the same error. 1510 * this method will complete with the same error.
1419 */ 1511 */
1420 async.Future<Empty> delete(core.String readGroupSetId) { 1512 async.Future<Empty> delete(core.String readGroupSetId) {
(...skipping 14 matching lines...) Expand all
1435 "DELETE", 1527 "DELETE",
1436 body: _body, 1528 body: _body,
1437 queryParams: _queryParams, 1529 queryParams: _queryParams,
1438 uploadOptions: _uploadOptions, 1530 uploadOptions: _uploadOptions,
1439 uploadMedia: _uploadMedia, 1531 uploadMedia: _uploadMedia,
1440 downloadOptions: _downloadOptions); 1532 downloadOptions: _downloadOptions);
1441 return _response.then((data) => new Empty.fromJson(data)); 1533 return _response.then((data) => new Empty.fromJson(data));
1442 } 1534 }
1443 1535
1444 /** 1536 /**
1445 * Exports a read group set to a BAM file in Google Cloud Storage. For the 1537 * Exports a read group set to a BAM file in Google Cloud Storage.
1446 * definitions of read group sets and other genomics resources, see 1538 *
1539 * For the definitions of read group sets and other genomics resources, see
1447 * [Fundamentals of Google 1540 * [Fundamentals of Google
1448 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 1541 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
1542 *
1449 * Note that currently there may be some differences between exported BAM 1543 * Note that currently there may be some differences between exported BAM
1450 * files and the original BAM file at the time of import. See 1544 * files and the original BAM file at the time of import. See
1451 * ImportReadGroupSets for caveats. 1545 * ImportReadGroupSets
1546 * for caveats.
1452 * 1547 *
1453 * [request] - The metadata request object. 1548 * [request] - The metadata request object.
1454 * 1549 *
1455 * Request parameters: 1550 * Request parameters:
1456 * 1551 *
1457 * [readGroupSetId] - Required. The ID of the read group set to export. The 1552 * [readGroupSetId] - Required. The ID of the read group set to export. The
1458 * caller must have READ access to this read group set. 1553 * caller must have
1554 * READ access to this read group set.
1459 * 1555 *
1460 * Completes with a [Operation]. 1556 * Completes with a [Operation].
1461 * 1557 *
1462 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1558 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1463 * error. 1559 * error.
1464 * 1560 *
1465 * If the used [http.Client] completes with an error when making a REST call, 1561 * If the used [http.Client] completes with an error when making a REST call,
1466 * this method will complete with the same error. 1562 * this method will complete with the same error.
1467 */ 1563 */
1468 async.Future<Operation> export(ExportReadGroupSetRequest request, core.String readGroupSetId) { 1564 async.Future<Operation> export(ExportReadGroupSetRequest request, core.String readGroupSetId) {
(...skipping 17 matching lines...) Expand all
1486 "POST", 1582 "POST",
1487 body: _body, 1583 body: _body,
1488 queryParams: _queryParams, 1584 queryParams: _queryParams,
1489 uploadOptions: _uploadOptions, 1585 uploadOptions: _uploadOptions,
1490 uploadMedia: _uploadMedia, 1586 uploadMedia: _uploadMedia,
1491 downloadOptions: _downloadOptions); 1587 downloadOptions: _downloadOptions);
1492 return _response.then((data) => new Operation.fromJson(data)); 1588 return _response.then((data) => new Operation.fromJson(data));
1493 } 1589 }
1494 1590
1495 /** 1591 /**
1496 * Gets a read group set by ID. For the definitions of read group sets and 1592 * Gets a read group set by ID.
1497 * other genomics resources, see [Fundamentals of Google 1593 *
1594 * For the definitions of read group sets and other genomics resources, see
1595 * [Fundamentals of Google
1498 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 1596 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
1499 * 1597 *
1500 * Request parameters: 1598 * Request parameters:
1501 * 1599 *
1502 * [readGroupSetId] - The ID of the read group set. 1600 * [readGroupSetId] - The ID of the read group set.
1503 * 1601 *
1504 * Completes with a [ReadGroupSet]. 1602 * Completes with a [ReadGroupSet].
1505 * 1603 *
1506 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1604 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1507 * error. 1605 * error.
(...skipping 20 matching lines...) Expand all
1528 body: _body, 1626 body: _body,
1529 queryParams: _queryParams, 1627 queryParams: _queryParams,
1530 uploadOptions: _uploadOptions, 1628 uploadOptions: _uploadOptions,
1531 uploadMedia: _uploadMedia, 1629 uploadMedia: _uploadMedia,
1532 downloadOptions: _downloadOptions); 1630 downloadOptions: _downloadOptions);
1533 return _response.then((data) => new ReadGroupSet.fromJson(data)); 1631 return _response.then((data) => new ReadGroupSet.fromJson(data));
1534 } 1632 }
1535 1633
1536 /** 1634 /**
1537 * Creates read group sets by asynchronously importing the provided 1635 * Creates read group sets by asynchronously importing the provided
1538 * information. For the definitions of read group sets and other genomics 1636 * information.
1539 * resources, see [Fundamentals of Google 1637 *
1638 * For the definitions of read group sets and other genomics resources, see
1639 * [Fundamentals of Google
1540 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 1640 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
1541 * The caller must have WRITE permissions to the dataset. ## Notes on 1641 *
1542 * [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import - Tags will be 1642 * The caller must have WRITE permissions to the dataset.
1543 * converted to strings - tag types are not preserved - Comments (`@CO`) in 1643 *
1544 * the input file header will not be preserved - Original header order of 1644 * ## Notes on [BAM](https://samtools.github.io/hts-specs/SAMv1.pdf) import
1545 * references (`@SQ`) will not be preserved - Any reverse stranded unmapped 1645 *
1546 * reads will be reverse complemented, and their qualities (also the "BQ" and 1646 * - Tags will be converted to strings - tag types are not preserved
1547 * "OQ" tags, if any) will be reversed - Unmapped reads will be stripped of 1647 * - Comments (`@CO`) in the input file header will not be preserved
1548 * positional information (reference name and position) 1648 * - Original header order of references (`@SQ`) will not be preserved
1649 * - Any reverse stranded unmapped reads will be reverse complemented, and
1650 * their qualities (also the "BQ" and "OQ" tags, if any) will be reversed
1651 * - Unmapped reads will be stripped of positional information (reference name
1652 * and position)
1549 * 1653 *
1550 * [request] - The metadata request object. 1654 * [request] - The metadata request object.
1551 * 1655 *
1552 * Request parameters: 1656 * Request parameters:
1553 * 1657 *
1554 * Completes with a [Operation]. 1658 * Completes with a [Operation].
1555 * 1659 *
1556 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1660 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1557 * error. 1661 * error.
1558 * 1662 *
(...skipping 18 matching lines...) Expand all
1577 "POST", 1681 "POST",
1578 body: _body, 1682 body: _body,
1579 queryParams: _queryParams, 1683 queryParams: _queryParams,
1580 uploadOptions: _uploadOptions, 1684 uploadOptions: _uploadOptions,
1581 uploadMedia: _uploadMedia, 1685 uploadMedia: _uploadMedia,
1582 downloadOptions: _downloadOptions); 1686 downloadOptions: _downloadOptions);
1583 return _response.then((data) => new Operation.fromJson(data)); 1687 return _response.then((data) => new Operation.fromJson(data));
1584 } 1688 }
1585 1689
1586 /** 1690 /**
1587 * Updates a read group set. For the definitions of read group sets and other 1691 * Updates a read group set.
1588 * genomics resources, see [Fundamentals of Google 1692 *
1693 * For the definitions of read group sets and other genomics resources, see
1694 * [Fundamentals of Google
1589 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 1695 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
1696 *
1590 * This method supports patch semantics. 1697 * This method supports patch semantics.
1591 * 1698 *
1592 * [request] - The metadata request object. 1699 * [request] - The metadata request object.
1593 * 1700 *
1594 * Request parameters: 1701 * Request parameters:
1595 * 1702 *
1596 * [readGroupSetId] - The ID of the read group set to be updated. The caller 1703 * [readGroupSetId] - The ID of the read group set to be updated. The caller
1597 * must have WRITE permissions to the dataset associated with this read group 1704 * must have WRITE
1598 * set. 1705 * permissions to the dataset associated with this read group set.
1599 * 1706 *
1600 * [updateMask] - An optional mask specifying which fields to update. 1707 * [updateMask] - An optional mask specifying which fields to update.
1601 * Supported fields: * name. * referenceSetId. Leaving `updateMask` unset is 1708 * Supported fields:
1602 * equivalent to specifying all mutable fields. 1709 *
1710 * * name.
1711 * * referenceSetId.
1712 *
1713 * Leaving `updateMask` unset is equivalent to specifying all mutable
1714 * fields.
1603 * 1715 *
1604 * Completes with a [ReadGroupSet]. 1716 * Completes with a [ReadGroupSet].
1605 * 1717 *
1606 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1718 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1607 * error. 1719 * error.
1608 * 1720 *
1609 * If the used [http.Client] completes with an error when making a REST call, 1721 * If the used [http.Client] completes with an error when making a REST call,
1610 * this method will complete with the same error. 1722 * this method will complete with the same error.
1611 */ 1723 */
1612 async.Future<ReadGroupSet> patch(ReadGroupSet request, core.String readGroupSe tId, {core.String updateMask}) { 1724 async.Future<ReadGroupSet> patch(ReadGroupSet request, core.String readGroupSe tId, {core.String updateMask}) {
(...skipping 20 matching lines...) Expand all
1633 "PATCH", 1745 "PATCH",
1634 body: _body, 1746 body: _body,
1635 queryParams: _queryParams, 1747 queryParams: _queryParams,
1636 uploadOptions: _uploadOptions, 1748 uploadOptions: _uploadOptions,
1637 uploadMedia: _uploadMedia, 1749 uploadMedia: _uploadMedia,
1638 downloadOptions: _downloadOptions); 1750 downloadOptions: _downloadOptions);
1639 return _response.then((data) => new ReadGroupSet.fromJson(data)); 1751 return _response.then((data) => new ReadGroupSet.fromJson(data));
1640 } 1752 }
1641 1753
1642 /** 1754 /**
1643 * Searches for read group sets matching the criteria. For the definitions of 1755 * Searches for read group sets matching the criteria.
1644 * read group sets and other genomics resources, see [Fundamentals of Google 1756 *
1757 * For the definitions of read group sets and other genomics resources, see
1758 * [Fundamentals of Google
1645 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 1759 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
1760 *
1646 * Implements 1761 * Implements
1647 * [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/bl ob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135). 1762 * [GlobalAllianceApi.searchReadGroupSets](https://github.com/ga4gh/schemas/bl ob/v0.5.1/src/main/resources/avro/readmethods.avdl#L135).
1648 * 1763 *
1649 * [request] - The metadata request object. 1764 * [request] - The metadata request object.
1650 * 1765 *
1651 * Request parameters: 1766 * Request parameters:
1652 * 1767 *
1653 * Completes with a [SearchReadGroupSetsResponse]. 1768 * Completes with a [SearchReadGroupSetsResponse].
1654 * 1769 *
1655 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1770 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
1687 1802
1688 class ReadgroupsetsCoveragebucketsResourceApi { 1803 class ReadgroupsetsCoveragebucketsResourceApi {
1689 final commons.ApiRequester _requester; 1804 final commons.ApiRequester _requester;
1690 1805
1691 ReadgroupsetsCoveragebucketsResourceApi(commons.ApiRequester client) : 1806 ReadgroupsetsCoveragebucketsResourceApi(commons.ApiRequester client) :
1692 _requester = client; 1807 _requester = client;
1693 1808
1694 /** 1809 /**
1695 * Lists fixed width coverage buckets for a read group set, each of which 1810 * Lists fixed width coverage buckets for a read group set, each of which
1696 * correspond to a range of a reference sequence. Each bucket summarizes 1811 * correspond to a range of a reference sequence. Each bucket summarizes
1697 * coverage information across its corresponding genomic range. For the 1812 * coverage information across its corresponding genomic range.
1698 * definitions of read group sets and other genomics resources, see 1813 *
1814 * For the definitions of read group sets and other genomics resources, see
1699 * [Fundamentals of Google 1815 * [Fundamentals of Google
1700 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 1816 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
1817 *
1701 * Coverage is defined as the number of reads which are aligned to a given 1818 * Coverage is defined as the number of reads which are aligned to a given
1702 * base in the reference sequence. Coverage buckets are available at several 1819 * base in the reference sequence. Coverage buckets are available at several
1703 * precomputed bucket widths, enabling retrieval of various coverage 'zoom 1820 * precomputed bucket widths, enabling retrieval of various coverage 'zoom
1704 * levels'. The caller must have READ permissions for the target read group 1821 * levels'. The caller must have READ permissions for the target read group
1705 * set. 1822 * set.
1706 * 1823 *
1707 * Request parameters: 1824 * Request parameters:
1708 * 1825 *
1709 * [readGroupSetId] - Required. The ID of the read group set over which 1826 * [readGroupSetId] - Required. The ID of the read group set over which
1710 * coverage is requested. 1827 * coverage is requested.
1711 * 1828 *
1712 * [referenceName] - The name of the reference to query, within the reference 1829 * [pageSize] - The maximum number of results to return in a single page. If
1713 * set associated with this query. Optional. 1830 * unspecified,
1831 * defaults to 1024. The maximum value is 2048.
1714 * 1832 *
1715 * [start] - The start position of the range on the reference, 0-based 1833 * [start] - The start position of the range on the reference, 0-based
1716 * inclusive. If specified, `referenceName` must also be specified. Defaults 1834 * inclusive. If
1717 * to 0. 1835 * specified, `referenceName` must also be specified. Defaults to 0.
1836 *
1837 * [targetBucketWidth] - The desired width of each reported coverage bucket in
1838 * base pairs. This
1839 * will be rounded down to the nearest precomputed bucket width; the value
1840 * of which is returned as `bucketWidth` in the response. Defaults
1841 * to infinity (each bucket spans an entire reference sequence) or the length
1842 * of the target range, if specified. The smallest precomputed
1843 * `bucketWidth` is currently 2048 base pairs; this is subject to
1844 * change.
1845 *
1846 * [referenceName] - The name of the reference to query, within the reference
1847 * set associated
1848 * with this query. Optional.
1718 * 1849 *
1719 * [end] - The end position of the range on the reference, 0-based exclusive. 1850 * [end] - The end position of the range on the reference, 0-based exclusive.
1720 * If specified, `referenceName` must also be specified. If unset or 0, 1851 * If
1721 * defaults to the length of the reference. 1852 * specified, `referenceName` must also be specified. If unset or 0, defaults
1722 * 1853 * to the length of the reference.
1723 * [targetBucketWidth] - The desired width of each reported coverage bucket in
1724 * base pairs. This will be rounded down to the nearest precomputed bucket
1725 * width; the value of which is returned as `bucketWidth` in the response.
1726 * Defaults to infinity (each bucket spans an entire reference sequence) or
1727 * the length of the target range, if specified. The smallest precomputed
1728 * `bucketWidth` is currently 2048 base pairs; this is subject to change.
1729 * 1854 *
1730 * [pageToken] - The continuation token, which is used to page through large 1855 * [pageToken] - The continuation token, which is used to page through large
1731 * result sets. To get the next page of results, set this parameter to the 1856 * result sets.
1732 * value of `nextPageToken` from the previous response. 1857 * To get the next page of results, set this parameter to the value of
1733 * 1858 * `nextPageToken` from the previous response.
1734 * [pageSize] - The maximum number of results to return in a single page. If
1735 * unspecified, defaults to 1024. The maximum value is 2048.
1736 * 1859 *
1737 * Completes with a [ListCoverageBucketsResponse]. 1860 * Completes with a [ListCoverageBucketsResponse].
1738 * 1861 *
1739 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1862 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1740 * error. 1863 * error.
1741 * 1864 *
1742 * If the used [http.Client] completes with an error when making a REST call, 1865 * If the used [http.Client] completes with an error when making a REST call,
1743 * this method will complete with the same error. 1866 * this method will complete with the same error.
1744 */ 1867 */
1745 async.Future<ListCoverageBucketsResponse> list(core.String readGroupSetId, {co re.String referenceName, core.String start, core.String end, core.String targetB ucketWidth, core.String pageToken, core.int pageSize}) { 1868 async.Future<ListCoverageBucketsResponse> list(core.String readGroupSetId, {co re.int pageSize, core.String start, core.String targetBucketWidth, core.String r eferenceName, core.String end, core.String pageToken}) {
1746 var _url = null; 1869 var _url = null;
1747 var _queryParams = new core.Map(); 1870 var _queryParams = new core.Map();
1748 var _uploadMedia = null; 1871 var _uploadMedia = null;
1749 var _uploadOptions = null; 1872 var _uploadOptions = null;
1750 var _downloadOptions = commons.DownloadOptions.Metadata; 1873 var _downloadOptions = commons.DownloadOptions.Metadata;
1751 var _body = null; 1874 var _body = null;
1752 1875
1753 if (readGroupSetId == null) { 1876 if (readGroupSetId == null) {
1754 throw new core.ArgumentError("Parameter readGroupSetId is required."); 1877 throw new core.ArgumentError("Parameter readGroupSetId is required.");
1755 } 1878 }
1879 if (pageSize != null) {
1880 _queryParams["pageSize"] = ["${pageSize}"];
1881 }
1882 if (start != null) {
1883 _queryParams["start"] = [start];
1884 }
1885 if (targetBucketWidth != null) {
1886 _queryParams["targetBucketWidth"] = [targetBucketWidth];
1887 }
1756 if (referenceName != null) { 1888 if (referenceName != null) {
1757 _queryParams["referenceName"] = [referenceName]; 1889 _queryParams["referenceName"] = [referenceName];
1758 } 1890 }
1759 if (start != null) {
1760 _queryParams["start"] = [start];
1761 }
1762 if (end != null) { 1891 if (end != null) {
1763 _queryParams["end"] = [end]; 1892 _queryParams["end"] = [end];
1764 } 1893 }
1765 if (targetBucketWidth != null) {
1766 _queryParams["targetBucketWidth"] = [targetBucketWidth];
1767 }
1768 if (pageToken != null) { 1894 if (pageToken != null) {
1769 _queryParams["pageToken"] = [pageToken]; 1895 _queryParams["pageToken"] = [pageToken];
1770 } 1896 }
1771 if (pageSize != null) {
1772 _queryParams["pageSize"] = ["${pageSize}"];
1773 }
1774 1897
1775 _url = 'v1/readgroupsets/' + commons.Escaper.ecapeVariable('$readGroupSetId' ) + '/coveragebuckets'; 1898 _url = 'v1/readgroupsets/' + commons.Escaper.ecapeVariable('$readGroupSetId' ) + '/coveragebuckets';
1776 1899
1777 var _response = _requester.request(_url, 1900 var _response = _requester.request(_url,
1778 "GET", 1901 "GET",
1779 body: _body, 1902 body: _body,
1780 queryParams: _queryParams, 1903 queryParams: _queryParams,
1781 uploadOptions: _uploadOptions, 1904 uploadOptions: _uploadOptions,
1782 uploadMedia: _uploadMedia, 1905 uploadMedia: _uploadMedia,
1783 downloadOptions: _downloadOptions); 1906 downloadOptions: _downloadOptions);
1784 return _response.then((data) => new ListCoverageBucketsResponse.fromJson(dat a)); 1907 return _response.then((data) => new ListCoverageBucketsResponse.fromJson(dat a));
1785 } 1908 }
1786 1909
1787 } 1910 }
1788 1911
1789 1912
1790 class ReadsResourceApi { 1913 class ReadsResourceApi {
1791 final commons.ApiRequester _requester; 1914 final commons.ApiRequester _requester;
1792 1915
1793 ReadsResourceApi(commons.ApiRequester client) : 1916 ReadsResourceApi(commons.ApiRequester client) :
1794 _requester = client; 1917 _requester = client;
1795 1918
1796 /** 1919 /**
1797 * Gets a list of reads for one or more read group sets. For the definitions 1920 * Gets a list of reads for one or more read group sets.
1798 * of read group sets and other genomics resources, see [Fundamentals of 1921 *
1799 * Google 1922 * For the definitions of read group sets and other genomics resources, see
1923 * [Fundamentals of Google
1800 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 1924 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
1925 *
1801 * Reads search operates over a genomic coordinate space of reference sequence 1926 * Reads search operates over a genomic coordinate space of reference sequence
1802 * & position defined over the reference sequences to which the requested read 1927 * & position defined over the reference sequences to which the requested
1803 * group sets are aligned. If a target positional range is specified, search 1928 * read group sets are aligned.
1804 * returns all reads whose alignment to the reference genome overlap the 1929 *
1805 * range. A query which specifies only read group set IDs yields all reads in 1930 * If a target positional range is specified, search returns all reads whose
1806 * those read group sets, including unmapped reads. All reads returned 1931 * alignment to the reference genome overlap the range. A query which
1807 * (including reads on subsequent pages) are ordered by genomic coordinate (by 1932 * specifies only read group set IDs yields all reads in those read group
1808 * reference sequence, then position). Reads with equivalent genomic 1933 * sets, including unmapped reads.
1809 * coordinates are returned in an unspecified order. This order is consistent, 1934 *
1810 * such that two queries for the same content (regardless of page size) yield 1935 * All reads returned (including reads on subsequent pages) are ordered by
1811 * reads in the same order across their respective streams of paginated 1936 * genomic coordinate (by reference sequence, then position). Reads with
1812 * responses. Implements 1937 * equivalent genomic coordinates are returned in an unspecified order. This
1938 * order is consistent, such that two queries for the same content (regardless
1939 * of page size) yield reads in the same order across their respective streams
1940 * of paginated responses.
1941 *
1942 * Implements
1813 * [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5. 1/src/main/resources/avro/readmethods.avdl#L85). 1943 * [GlobalAllianceApi.searchReads](https://github.com/ga4gh/schemas/blob/v0.5. 1/src/main/resources/avro/readmethods.avdl#L85).
1814 * 1944 *
1815 * [request] - The metadata request object. 1945 * [request] - The metadata request object.
1816 * 1946 *
1817 * Request parameters: 1947 * Request parameters:
1818 * 1948 *
1819 * Completes with a [SearchReadsResponse]. 1949 * Completes with a [SearchReadsResponse].
1820 * 1950 *
1821 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1951 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1822 * error. 1952 * error.
(...skipping 18 matching lines...) Expand all
1841 var _response = _requester.request(_url, 1971 var _response = _requester.request(_url,
1842 "POST", 1972 "POST",
1843 body: _body, 1973 body: _body,
1844 queryParams: _queryParams, 1974 queryParams: _queryParams,
1845 uploadOptions: _uploadOptions, 1975 uploadOptions: _uploadOptions,
1846 uploadMedia: _uploadMedia, 1976 uploadMedia: _uploadMedia,
1847 downloadOptions: _downloadOptions); 1977 downloadOptions: _downloadOptions);
1848 return _response.then((data) => new SearchReadsResponse.fromJson(data)); 1978 return _response.then((data) => new SearchReadsResponse.fromJson(data));
1849 } 1979 }
1850 1980
1851 /**
1852 * Returns a stream of all the reads matching the search request, ordered by
1853 * reference name, position, and ID.
1854 *
1855 * [request] - The metadata request object.
1856 *
1857 * Request parameters:
1858 *
1859 * Completes with a [StreamReadsResponse].
1860 *
1861 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1862 * error.
1863 *
1864 * If the used [http.Client] completes with an error when making a REST call,
1865 * this method will complete with the same error.
1866 */
1867 async.Future<StreamReadsResponse> stream(StreamReadsRequest request) {
1868 var _url = null;
1869 var _queryParams = new core.Map();
1870 var _uploadMedia = null;
1871 var _uploadOptions = null;
1872 var _downloadOptions = commons.DownloadOptions.Metadata;
1873 var _body = null;
1874
1875 if (request != null) {
1876 _body = convert.JSON.encode((request).toJson());
1877 }
1878
1879 _url = 'v1/reads:stream';
1880
1881 var _response = _requester.request(_url,
1882 "POST",
1883 body: _body,
1884 queryParams: _queryParams,
1885 uploadOptions: _uploadOptions,
1886 uploadMedia: _uploadMedia,
1887 downloadOptions: _downloadOptions);
1888 return _response.then((data) => new StreamReadsResponse.fromJson(data));
1889 }
1890
1891 } 1981 }
1892 1982
1893 1983
1894 class ReferencesResourceApi { 1984 class ReferencesResourceApi {
1895 final commons.ApiRequester _requester; 1985 final commons.ApiRequester _requester;
1896 1986
1897 ReferencesBasesResourceApi get bases => new ReferencesBasesResourceApi(_reques ter); 1987 ReferencesBasesResourceApi get bases => new ReferencesBasesResourceApi(_reques ter);
1898 1988
1899 ReferencesResourceApi(commons.ApiRequester client) : 1989 ReferencesResourceApi(commons.ApiRequester client) :
1900 _requester = client; 1990 _requester = client;
1901 1991
1902 /** 1992 /**
1903 * Gets a reference. For the definitions of references and other genomics 1993 * Gets a reference.
1904 * resources, see [Fundamentals of Google 1994 *
1995 * For the definitions of references and other genomics resources, see
1996 * [Fundamentals of Google
1905 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 1997 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
1998 *
1906 * Implements 1999 * Implements
1907 * [GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5 .1/src/main/resources/avro/referencemethods.avdl#L158). 2000 * [GlobalAllianceApi.getReference](https://github.com/ga4gh/schemas/blob/v0.5 .1/src/main/resources/avro/referencemethods.avdl#L158).
1908 * 2001 *
1909 * Request parameters: 2002 * Request parameters:
1910 * 2003 *
1911 * [referenceId] - The ID of the reference. 2004 * [referenceId] - The ID of the reference.
1912 * 2005 *
1913 * Completes with a [Reference]. 2006 * Completes with a [Reference].
1914 * 2007 *
1915 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2008 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
(...skipping 20 matching lines...) Expand all
1936 "GET", 2029 "GET",
1937 body: _body, 2030 body: _body,
1938 queryParams: _queryParams, 2031 queryParams: _queryParams,
1939 uploadOptions: _uploadOptions, 2032 uploadOptions: _uploadOptions,
1940 uploadMedia: _uploadMedia, 2033 uploadMedia: _uploadMedia,
1941 downloadOptions: _downloadOptions); 2034 downloadOptions: _downloadOptions);
1942 return _response.then((data) => new Reference.fromJson(data)); 2035 return _response.then((data) => new Reference.fromJson(data));
1943 } 2036 }
1944 2037
1945 /** 2038 /**
1946 * Searches for references which match the given criteria. For the definitions 2039 * Searches for references which match the given criteria.
1947 * of references and other genomics resources, see [Fundamentals of Google 2040 *
2041 * For the definitions of references and other genomics resources, see
2042 * [Fundamentals of Google
1948 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 2043 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
2044 *
1949 * Implements 2045 * Implements
1950 * [GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/ v0.5.1/src/main/resources/avro/referencemethods.avdl#L146). 2046 * [GlobalAllianceApi.searchReferences](https://github.com/ga4gh/schemas/blob/ v0.5.1/src/main/resources/avro/referencemethods.avdl#L146).
1951 * 2047 *
1952 * [request] - The metadata request object. 2048 * [request] - The metadata request object.
1953 * 2049 *
1954 * Request parameters: 2050 * Request parameters:
1955 * 2051 *
1956 * Completes with a [SearchReferencesResponse]. 2052 * Completes with a [SearchReferencesResponse].
1957 * 2053 *
1958 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2054 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
(...skipping 29 matching lines...) Expand all
1988 } 2084 }
1989 2085
1990 2086
1991 class ReferencesBasesResourceApi { 2087 class ReferencesBasesResourceApi {
1992 final commons.ApiRequester _requester; 2088 final commons.ApiRequester _requester;
1993 2089
1994 ReferencesBasesResourceApi(commons.ApiRequester client) : 2090 ReferencesBasesResourceApi(commons.ApiRequester client) :
1995 _requester = client; 2091 _requester = client;
1996 2092
1997 /** 2093 /**
1998 * Lists the bases in a reference, optionally restricted to a range. For the 2094 * Lists the bases in a reference, optionally restricted to a range.
1999 * definitions of references and other genomics resources, see [Fundamentals 2095 *
2000 * of Google 2096 * For the definitions of references and other genomics resources, see
2097 * [Fundamentals of Google
2001 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 2098 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
2099 *
2002 * Implements 2100 * Implements
2003 * [GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/schemas/blob /v0.5.1/src/main/resources/avro/referencemethods.avdl#L221). 2101 * [GlobalAllianceApi.getReferenceBases](https://github.com/ga4gh/schemas/blob /v0.5.1/src/main/resources/avro/referencemethods.avdl#L221).
2004 * 2102 *
2005 * Request parameters: 2103 * Request parameters:
2006 * 2104 *
2007 * [referenceId] - The ID of the reference. 2105 * [referenceId] - The ID of the reference.
2008 * 2106 *
2107 * [pageSize] - The maximum number of bases to return in a single page. If
2108 * unspecified,
2109 * defaults to 200Kbp (kilo base pairs). The maximum value is 10Mbp (mega base
2110 * pairs).
2111 *
2009 * [start] - The start position (0-based) of this query. Defaults to 0. 2112 * [start] - The start position (0-based) of this query. Defaults to 0.
2010 * 2113 *
2011 * [end] - The end position (0-based, exclusive) of this query. Defaults to 2114 * [end] - The end position (0-based, exclusive) of this query. Defaults to
2012 * the length of this reference. 2115 * the length
2116 * of this reference.
2013 * 2117 *
2014 * [pageToken] - The continuation token, which is used to page through large 2118 * [pageToken] - The continuation token, which is used to page through large
2015 * result sets. To get the next page of results, set this parameter to the 2119 * result sets.
2016 * value of `nextPageToken` from the previous response. 2120 * To get the next page of results, set this parameter to the value of
2017 * 2121 * `nextPageToken` from the previous response.
2018 * [pageSize] - The maximum number of bases to return in a single page. If
2019 * unspecified, defaults to 200Kbp (kilo base pairs). The maximum value is
2020 * 10Mbp (mega base pairs).
2021 * 2122 *
2022 * Completes with a [ListBasesResponse]. 2123 * Completes with a [ListBasesResponse].
2023 * 2124 *
2024 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2125 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
2025 * error. 2126 * error.
2026 * 2127 *
2027 * If the used [http.Client] completes with an error when making a REST call, 2128 * If the used [http.Client] completes with an error when making a REST call,
2028 * this method will complete with the same error. 2129 * this method will complete with the same error.
2029 */ 2130 */
2030 async.Future<ListBasesResponse> list(core.String referenceId, {core.String sta rt, core.String end, core.String pageToken, core.int pageSize}) { 2131 async.Future<ListBasesResponse> list(core.String referenceId, {core.int pageSi ze, core.String start, core.String end, core.String pageToken}) {
2031 var _url = null; 2132 var _url = null;
2032 var _queryParams = new core.Map(); 2133 var _queryParams = new core.Map();
2033 var _uploadMedia = null; 2134 var _uploadMedia = null;
2034 var _uploadOptions = null; 2135 var _uploadOptions = null;
2035 var _downloadOptions = commons.DownloadOptions.Metadata; 2136 var _downloadOptions = commons.DownloadOptions.Metadata;
2036 var _body = null; 2137 var _body = null;
2037 2138
2038 if (referenceId == null) { 2139 if (referenceId == null) {
2039 throw new core.ArgumentError("Parameter referenceId is required."); 2140 throw new core.ArgumentError("Parameter referenceId is required.");
2040 } 2141 }
2142 if (pageSize != null) {
2143 _queryParams["pageSize"] = ["${pageSize}"];
2144 }
2041 if (start != null) { 2145 if (start != null) {
2042 _queryParams["start"] = [start]; 2146 _queryParams["start"] = [start];
2043 } 2147 }
2044 if (end != null) { 2148 if (end != null) {
2045 _queryParams["end"] = [end]; 2149 _queryParams["end"] = [end];
2046 } 2150 }
2047 if (pageToken != null) { 2151 if (pageToken != null) {
2048 _queryParams["pageToken"] = [pageToken]; 2152 _queryParams["pageToken"] = [pageToken];
2049 } 2153 }
2050 if (pageSize != null) {
2051 _queryParams["pageSize"] = ["${pageSize}"];
2052 }
2053 2154
2054 _url = 'v1/references/' + commons.Escaper.ecapeVariable('$referenceId') + '/ bases'; 2155 _url = 'v1/references/' + commons.Escaper.ecapeVariable('$referenceId') + '/ bases';
2055 2156
2056 var _response = _requester.request(_url, 2157 var _response = _requester.request(_url,
2057 "GET", 2158 "GET",
2058 body: _body, 2159 body: _body,
2059 queryParams: _queryParams, 2160 queryParams: _queryParams,
2060 uploadOptions: _uploadOptions, 2161 uploadOptions: _uploadOptions,
2061 uploadMedia: _uploadMedia, 2162 uploadMedia: _uploadMedia,
2062 downloadOptions: _downloadOptions); 2163 downloadOptions: _downloadOptions);
2063 return _response.then((data) => new ListBasesResponse.fromJson(data)); 2164 return _response.then((data) => new ListBasesResponse.fromJson(data));
2064 } 2165 }
2065 2166
2066 } 2167 }
2067 2168
2068 2169
2069 class ReferencesetsResourceApi { 2170 class ReferencesetsResourceApi {
2070 final commons.ApiRequester _requester; 2171 final commons.ApiRequester _requester;
2071 2172
2072 ReferencesetsResourceApi(commons.ApiRequester client) : 2173 ReferencesetsResourceApi(commons.ApiRequester client) :
2073 _requester = client; 2174 _requester = client;
2074 2175
2075 /** 2176 /**
2076 * Gets a reference set. For the definitions of references and other genomics 2177 * Gets a reference set.
2077 * resources, see [Fundamentals of Google 2178 *
2179 * For the definitions of references and other genomics resources, see
2180 * [Fundamentals of Google
2078 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 2181 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
2182 *
2079 * Implements 2183 * Implements
2080 * [GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schemas/blob/v 0.5.1/src/main/resources/avro/referencemethods.avdl#L83). 2184 * [GlobalAllianceApi.getReferenceSet](https://github.com/ga4gh/schemas/blob/v 0.5.1/src/main/resources/avro/referencemethods.avdl#L83).
2081 * 2185 *
2082 * Request parameters: 2186 * Request parameters:
2083 * 2187 *
2084 * [referenceSetId] - The ID of the reference set. 2188 * [referenceSetId] - The ID of the reference set.
2085 * 2189 *
2086 * Completes with a [ReferenceSet]. 2190 * Completes with a [ReferenceSet].
2087 * 2191 *
2088 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2192 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
(...skipping 20 matching lines...) Expand all
2109 "GET", 2213 "GET",
2110 body: _body, 2214 body: _body,
2111 queryParams: _queryParams, 2215 queryParams: _queryParams,
2112 uploadOptions: _uploadOptions, 2216 uploadOptions: _uploadOptions,
2113 uploadMedia: _uploadMedia, 2217 uploadMedia: _uploadMedia,
2114 downloadOptions: _downloadOptions); 2218 downloadOptions: _downloadOptions);
2115 return _response.then((data) => new ReferenceSet.fromJson(data)); 2219 return _response.then((data) => new ReferenceSet.fromJson(data));
2116 } 2220 }
2117 2221
2118 /** 2222 /**
2119 * Searches for reference sets which match the given criteria. For the 2223 * Searches for reference sets which match the given criteria.
2120 * definitions of references and other genomics resources, see [Fundamentals 2224 *
2121 * of Google 2225 * For the definitions of references and other genomics resources, see
2226 * [Fundamentals of Google
2122 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 2227 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
2228 *
2123 * Implements 2229 * Implements
2124 * [GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/schemas/bl ob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L71) 2230 * [GlobalAllianceApi.searchReferenceSets](https://github.com/ga4gh/schemas/bl ob/v0.5.1/src/main/resources/avro/referencemethods.avdl#L71)
2125 * 2231 *
2126 * [request] - The metadata request object. 2232 * [request] - The metadata request object.
2127 * 2233 *
2128 * Request parameters: 2234 * Request parameters:
2129 * 2235 *
2130 * Completes with a [SearchReferenceSetsResponse]. 2236 * Completes with a [SearchReferenceSetsResponse].
2131 * 2237 *
2132 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2238 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
(...skipping 29 matching lines...) Expand all
2162 } 2268 }
2163 2269
2164 2270
2165 class VariantsResourceApi { 2271 class VariantsResourceApi {
2166 final commons.ApiRequester _requester; 2272 final commons.ApiRequester _requester;
2167 2273
2168 VariantsResourceApi(commons.ApiRequester client) : 2274 VariantsResourceApi(commons.ApiRequester client) :
2169 _requester = client; 2275 _requester = client;
2170 2276
2171 /** 2277 /**
2172 * Creates a new variant. For the definitions of variants and other genomics 2278 * Creates a new variant.
2173 * resources, see [Fundamentals of Google 2279 *
2280 * For the definitions of variants and other genomics resources, see
2281 * [Fundamentals of Google
2174 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 2282 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
2175 * 2283 *
2176 * [request] - The metadata request object. 2284 * [request] - The metadata request object.
2177 * 2285 *
2178 * Request parameters: 2286 * Request parameters:
2179 * 2287 *
2180 * Completes with a [Variant]. 2288 * Completes with a [Variant].
2181 * 2289 *
2182 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2290 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
2183 * error. 2291 * error.
(...skipping 19 matching lines...) Expand all
2203 "POST", 2311 "POST",
2204 body: _body, 2312 body: _body,
2205 queryParams: _queryParams, 2313 queryParams: _queryParams,
2206 uploadOptions: _uploadOptions, 2314 uploadOptions: _uploadOptions,
2207 uploadMedia: _uploadMedia, 2315 uploadMedia: _uploadMedia,
2208 downloadOptions: _downloadOptions); 2316 downloadOptions: _downloadOptions);
2209 return _response.then((data) => new Variant.fromJson(data)); 2317 return _response.then((data) => new Variant.fromJson(data));
2210 } 2318 }
2211 2319
2212 /** 2320 /**
2213 * Deletes a variant. For the definitions of variants and other genomics 2321 * Deletes a variant.
2214 * resources, see [Fundamentals of Google 2322 *
2323 * For the definitions of variants and other genomics resources, see
2324 * [Fundamentals of Google
2215 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 2325 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
2216 * 2326 *
2217 * Request parameters: 2327 * Request parameters:
2218 * 2328 *
2219 * [variantId] - The ID of the variant to be deleted. 2329 * [variantId] - The ID of the variant to be deleted.
2220 * 2330 *
2221 * Completes with a [Empty]. 2331 * Completes with a [Empty].
2222 * 2332 *
2223 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2333 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
2224 * error. 2334 * error.
(...skipping 19 matching lines...) Expand all
2244 "DELETE", 2354 "DELETE",
2245 body: _body, 2355 body: _body,
2246 queryParams: _queryParams, 2356 queryParams: _queryParams,
2247 uploadOptions: _uploadOptions, 2357 uploadOptions: _uploadOptions,
2248 uploadMedia: _uploadMedia, 2358 uploadMedia: _uploadMedia,
2249 downloadOptions: _downloadOptions); 2359 downloadOptions: _downloadOptions);
2250 return _response.then((data) => new Empty.fromJson(data)); 2360 return _response.then((data) => new Empty.fromJson(data));
2251 } 2361 }
2252 2362
2253 /** 2363 /**
2254 * Gets a variant by ID. For the definitions of variants and other genomics 2364 * Gets a variant by ID.
2255 * resources, see [Fundamentals of Google 2365 *
2366 * For the definitions of variants and other genomics resources, see
2367 * [Fundamentals of Google
2256 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 2368 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
2257 * 2369 *
2258 * Request parameters: 2370 * Request parameters:
2259 * 2371 *
2260 * [variantId] - The ID of the variant. 2372 * [variantId] - The ID of the variant.
2261 * 2373 *
2262 * Completes with a [Variant]. 2374 * Completes with a [Variant].
2263 * 2375 *
2264 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2376 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
2265 * error. 2377 * error.
(...skipping 20 matching lines...) Expand all
2286 body: _body, 2398 body: _body,
2287 queryParams: _queryParams, 2399 queryParams: _queryParams,
2288 uploadOptions: _uploadOptions, 2400 uploadOptions: _uploadOptions,
2289 uploadMedia: _uploadMedia, 2401 uploadMedia: _uploadMedia,
2290 downloadOptions: _downloadOptions); 2402 downloadOptions: _downloadOptions);
2291 return _response.then((data) => new Variant.fromJson(data)); 2403 return _response.then((data) => new Variant.fromJson(data));
2292 } 2404 }
2293 2405
2294 /** 2406 /**
2295 * Creates variant data by asynchronously importing the provided information. 2407 * Creates variant data by asynchronously importing the provided information.
2408 *
2296 * For the definitions of variant sets and other genomics resources, see 2409 * For the definitions of variant sets and other genomics resources, see
2297 * [Fundamentals of Google 2410 * [Fundamentals of Google
2298 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 2411 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
2412 *
2299 * The variants for import will be merged with any existing variant that 2413 * The variants for import will be merged with any existing variant that
2300 * matches its reference sequence, start, end, reference bases, and 2414 * matches its reference sequence, start, end, reference bases, and
2301 * alternative bases. If no such variant exists, a new one will be created. 2415 * alternative bases. If no such variant exists, a new one will be created.
2302 * When variants are merged, the call information from the new variant is 2416 *
2303 * added to the existing variant, and Variant info fields are merged as 2417 * When variants are merged, the call information from the new variant
2304 * specified in infoMergeConfig. As a special case, for single-sample VCF 2418 * is added to the existing variant, and Variant info fields are merged
2305 * files, QUAL and FILTER fields will be moved to the call level; these are 2419 * as specified in
2306 * sometimes interpreted in a call-specific context. Imported VCF headers are 2420 * infoMergeConfig.
2307 * appended to the metadata already in a variant set. 2421 * As a special case, for single-sample VCF files, QUAL and FILTER fields will
2422 * be moved to the call level; these are sometimes interpreted in a
2423 * call-specific context.
2424 * Imported VCF headers are appended to the metadata already in a variant set.
2308 * 2425 *
2309 * [request] - The metadata request object. 2426 * [request] - The metadata request object.
2310 * 2427 *
2311 * Request parameters: 2428 * Request parameters:
2312 * 2429 *
2313 * Completes with a [Operation]. 2430 * Completes with a [Operation].
2314 * 2431 *
2315 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2432 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
2316 * error. 2433 * error.
2317 * 2434 *
(...skipping 18 matching lines...) Expand all
2336 "POST", 2453 "POST",
2337 body: _body, 2454 body: _body,
2338 queryParams: _queryParams, 2455 queryParams: _queryParams,
2339 uploadOptions: _uploadOptions, 2456 uploadOptions: _uploadOptions,
2340 uploadMedia: _uploadMedia, 2457 uploadMedia: _uploadMedia,
2341 downloadOptions: _downloadOptions); 2458 downloadOptions: _downloadOptions);
2342 return _response.then((data) => new Operation.fromJson(data)); 2459 return _response.then((data) => new Operation.fromJson(data));
2343 } 2460 }
2344 2461
2345 /** 2462 /**
2346 * Merges the given variants with existing variants. For the definitions of 2463 * Merges the given variants with existing variants.
2347 * variants and other genomics resources, see [Fundamentals of Google 2464 *
2465 * For the definitions of variants and other genomics resources, see
2466 * [Fundamentals of Google
2348 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 2467 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
2349 * Each variant will be merged with an existing variant that matches its 2468 *
2350 * reference sequence, start, end, reference bases, and alternative bases. If 2469 * Each variant will be
2351 * no such variant exists, a new one will be created. When variants are 2470 * merged with an existing variant that matches its reference sequence,
2352 * merged, the call information from the new variant is added to the existing 2471 * start, end, reference bases, and alternative bases. If no such variant
2353 * variant. Variant info fields are merged as specified in the infoMergeConfig 2472 * exists, a new one will be created.
2354 * field of the MergeVariantsRequest. Please exercise caution when using this 2473 *
2355 * method! It is easy to introduce mistakes in existing variants and difficult 2474 * When variants are merged, the call information from the new variant
2356 * to back out of them. For example, suppose you were trying to merge a new 2475 * is added to the existing variant. Variant info fields are merged as
2357 * variant with an existing one and both variants contain calls that belong to 2476 * specified in the
2358 * callsets with the same callset ID. // Existing variant - irrelevant fields 2477 * infoMergeConfig
2359 * trimmed for clarity { "variantSetId": "10473108253681171589", 2478 * field of the MergeVariantsRequest.
2360 * "referenceName": "1", "start": "10582", "referenceBases": "G", 2479 *
2361 * "alternateBases": [ "A" ], "calls": [ { "callSetId": 2480 * Please exercise caution when using this method! It is easy to introduce
2362 * "10473108253681171589-0", "callSetName": "CALLSET0", "genotype": [ 0, 1 ], 2481 * mistakes in existing variants and difficult to back out of them. For
2363 * } ] } // New variant with conflicting call information { "variantSetId": 2482 * example,
2364 * "10473108253681171589", "referenceName": "1", "start": "10582", 2483 * suppose you were trying to merge a new variant with an existing one and
2365 * "referenceBases": "G", "alternateBases": [ "A" ], "calls": [ { "callSetId": 2484 * both
2366 * "10473108253681171589-0", "callSetName": "CALLSET0", "genotype": [ 1, 1 ], 2485 * variants contain calls that belong to callsets with the same callset ID.
2367 * } ] } The resulting merged variant would overwrite the existing calls with 2486 *
2368 * those from the new variant: { "variantSetId": "10473108253681171589", 2487 * // Existing variant - irrelevant fields trimmed for clarity
2369 * "referenceName": "1", "start": "10582", "referenceBases": "G", 2488 * {
2370 * "alternateBases": [ "A" ], "calls": [ { "callSetId": 2489 * "variantSetId": "10473108253681171589",
2371 * "10473108253681171589-0", "callSetName": "CALLSET0", "genotype": [ 1, 1 ], 2490 * "referenceName": "1",
2372 * } ] } This may be the desired outcome, but it is up to the user to 2491 * "start": "10582",
2373 * determine if if that is indeed the case. 2492 * "referenceBases": "G",
2493 * "alternateBases": [
2494 * "A"
2495 * ],
2496 * "calls": [
2497 * {
2498 * "callSetId": "10473108253681171589-0",
2499 * "callSetName": "CALLSET0",
2500 * "genotype": [
2501 * 0,
2502 * 1
2503 * ],
2504 * }
2505 * ]
2506 * }
2507 *
2508 * // New variant with conflicting call information
2509 * {
2510 * "variantSetId": "10473108253681171589",
2511 * "referenceName": "1",
2512 * "start": "10582",
2513 * "referenceBases": "G",
2514 * "alternateBases": [
2515 * "A"
2516 * ],
2517 * "calls": [
2518 * {
2519 * "callSetId": "10473108253681171589-0",
2520 * "callSetName": "CALLSET0",
2521 * "genotype": [
2522 * 1,
2523 * 1
2524 * ],
2525 * }
2526 * ]
2527 * }
2528 *
2529 * The resulting merged variant would overwrite the existing calls with those
2530 * from the new variant:
2531 *
2532 * {
2533 * "variantSetId": "10473108253681171589",
2534 * "referenceName": "1",
2535 * "start": "10582",
2536 * "referenceBases": "G",
2537 * "alternateBases": [
2538 * "A"
2539 * ],
2540 * "calls": [
2541 * {
2542 * "callSetId": "10473108253681171589-0",
2543 * "callSetName": "CALLSET0",
2544 * "genotype": [
2545 * 1,
2546 * 1
2547 * ],
2548 * }
2549 * ]
2550 * }
2551 *
2552 * This may be the desired outcome, but it is up to the user to determine if
2553 * if that is indeed the case.
2374 * 2554 *
2375 * [request] - The metadata request object. 2555 * [request] - The metadata request object.
2376 * 2556 *
2377 * Request parameters: 2557 * Request parameters:
2378 * 2558 *
2379 * Completes with a [Empty]. 2559 * Completes with a [Empty].
2380 * 2560 *
2381 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2561 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
2382 * error. 2562 * error.
2383 * 2563 *
(...skipping 18 matching lines...) Expand all
2402 "POST", 2582 "POST",
2403 body: _body, 2583 body: _body,
2404 queryParams: _queryParams, 2584 queryParams: _queryParams,
2405 uploadOptions: _uploadOptions, 2585 uploadOptions: _uploadOptions,
2406 uploadMedia: _uploadMedia, 2586 uploadMedia: _uploadMedia,
2407 downloadOptions: _downloadOptions); 2587 downloadOptions: _downloadOptions);
2408 return _response.then((data) => new Empty.fromJson(data)); 2588 return _response.then((data) => new Empty.fromJson(data));
2409 } 2589 }
2410 2590
2411 /** 2591 /**
2412 * Updates a variant. For the definitions of variants and other genomics 2592 * Updates a variant.
2413 * resources, see [Fundamentals of Google 2593 *
2594 * For the definitions of variants and other genomics resources, see
2595 * [Fundamentals of Google
2414 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 2596 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
2597 *
2415 * This method supports patch semantics. Returns the modified variant without 2598 * This method supports patch semantics. Returns the modified variant without
2416 * its calls. 2599 * its calls.
2417 * 2600 *
2418 * [request] - The metadata request object. 2601 * [request] - The metadata request object.
2419 * 2602 *
2420 * Request parameters: 2603 * Request parameters:
2421 * 2604 *
2422 * [variantId] - The ID of the variant to be updated. 2605 * [variantId] - The ID of the variant to be updated.
2423 * 2606 *
2424 * [updateMask] - An optional mask specifying which fields to update. At this 2607 * [updateMask] - An optional mask specifying which fields to update. At this
2425 * time, mutable fields are names and info. Acceptable values are "names" and 2608 * time, mutable
2609 * fields are names and
2610 * info. Acceptable values are "names" and
2426 * "info". If unspecified, all mutable fields will be updated. 2611 * "info". If unspecified, all mutable fields will be updated.
2427 * 2612 *
2428 * Completes with a [Variant]. 2613 * Completes with a [Variant].
2429 * 2614 *
2430 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2615 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
2431 * error. 2616 * error.
2432 * 2617 *
2433 * If the used [http.Client] completes with an error when making a REST call, 2618 * If the used [http.Client] completes with an error when making a REST call,
2434 * this method will complete with the same error. 2619 * this method will complete with the same error.
2435 */ 2620 */
(...skipping 21 matching lines...) Expand all
2457 "PATCH", 2642 "PATCH",
2458 body: _body, 2643 body: _body,
2459 queryParams: _queryParams, 2644 queryParams: _queryParams,
2460 uploadOptions: _uploadOptions, 2645 uploadOptions: _uploadOptions,
2461 uploadMedia: _uploadMedia, 2646 uploadMedia: _uploadMedia,
2462 downloadOptions: _downloadOptions); 2647 downloadOptions: _downloadOptions);
2463 return _response.then((data) => new Variant.fromJson(data)); 2648 return _response.then((data) => new Variant.fromJson(data));
2464 } 2649 }
2465 2650
2466 /** 2651 /**
2467 * Gets a list of variants matching the criteria. For the definitions of 2652 * Gets a list of variants matching the criteria.
2468 * variants and other genomics resources, see [Fundamentals of Google 2653 *
2654 * For the definitions of variants and other genomics resources, see
2655 * [Fundamentals of Google
2469 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 2656 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
2657 *
2470 * Implements 2658 * Implements
2471 * [GlobalAllianceApi.searchVariants](https://github.com/ga4gh/schemas/blob/v0 .5.1/src/main/resources/avro/variantmethods.avdl#L126). 2659 * [GlobalAllianceApi.searchVariants](https://github.com/ga4gh/schemas/blob/v0 .5.1/src/main/resources/avro/variantmethods.avdl#L126).
2472 * 2660 *
2473 * [request] - The metadata request object. 2661 * [request] - The metadata request object.
2474 * 2662 *
2475 * Request parameters: 2663 * Request parameters:
2476 * 2664 *
2477 * Completes with a [SearchVariantsResponse]. 2665 * Completes with a [SearchVariantsResponse].
2478 * 2666 *
2479 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2667 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
(...skipping 19 matching lines...) Expand all
2499 var _response = _requester.request(_url, 2687 var _response = _requester.request(_url,
2500 "POST", 2688 "POST",
2501 body: _body, 2689 body: _body,
2502 queryParams: _queryParams, 2690 queryParams: _queryParams,
2503 uploadOptions: _uploadOptions, 2691 uploadOptions: _uploadOptions,
2504 uploadMedia: _uploadMedia, 2692 uploadMedia: _uploadMedia,
2505 downloadOptions: _downloadOptions); 2693 downloadOptions: _downloadOptions);
2506 return _response.then((data) => new SearchVariantsResponse.fromJson(data)); 2694 return _response.then((data) => new SearchVariantsResponse.fromJson(data));
2507 } 2695 }
2508 2696
2509 /**
2510 * Returns a stream of all the variants matching the search request, ordered
2511 * by reference name, position, and ID.
2512 *
2513 * [request] - The metadata request object.
2514 *
2515 * Request parameters:
2516 *
2517 * Completes with a [StreamVariantsResponse].
2518 *
2519 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
2520 * error.
2521 *
2522 * If the used [http.Client] completes with an error when making a REST call,
2523 * this method will complete with the same error.
2524 */
2525 async.Future<StreamVariantsResponse> stream(StreamVariantsRequest request) {
2526 var _url = null;
2527 var _queryParams = new core.Map();
2528 var _uploadMedia = null;
2529 var _uploadOptions = null;
2530 var _downloadOptions = commons.DownloadOptions.Metadata;
2531 var _body = null;
2532
2533 if (request != null) {
2534 _body = convert.JSON.encode((request).toJson());
2535 }
2536
2537 _url = 'v1/variants:stream';
2538
2539 var _response = _requester.request(_url,
2540 "POST",
2541 body: _body,
2542 queryParams: _queryParams,
2543 uploadOptions: _uploadOptions,
2544 uploadMedia: _uploadMedia,
2545 downloadOptions: _downloadOptions);
2546 return _response.then((data) => new StreamVariantsResponse.fromJson(data));
2547 }
2548
2549 } 2697 }
2550 2698
2551 2699
2552 class VariantsetsResourceApi { 2700 class VariantsetsResourceApi {
2553 final commons.ApiRequester _requester; 2701 final commons.ApiRequester _requester;
2554 2702
2555 VariantsetsResourceApi(commons.ApiRequester client) : 2703 VariantsetsResourceApi(commons.ApiRequester client) :
2556 _requester = client; 2704 _requester = client;
2557 2705
2558 /** 2706 /**
2559 * Creates a new variant set. For the definitions of variant sets and other 2707 * Creates a new variant set.
2560 * genomics resources, see [Fundamentals of Google 2708 *
2709 * For the definitions of variant sets and other genomics resources, see
2710 * [Fundamentals of Google
2561 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 2711 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
2712 *
2562 * The provided variant set must have a valid `datasetId` set - all other 2713 * The provided variant set must have a valid `datasetId` set - all other
2563 * fields are optional. Note that the `id` field will be ignored, as this is 2714 * fields are optional. Note that the `id` field will be ignored, as this is
2564 * assigned by the server. 2715 * assigned by the server.
2565 * 2716 *
2566 * [request] - The metadata request object. 2717 * [request] - The metadata request object.
2567 * 2718 *
2568 * Request parameters: 2719 * Request parameters:
2569 * 2720 *
2570 * Completes with a [VariantSet]. 2721 * Completes with a [VariantSet].
2571 * 2722 *
(...skipping 22 matching lines...) Expand all
2594 body: _body, 2745 body: _body,
2595 queryParams: _queryParams, 2746 queryParams: _queryParams,
2596 uploadOptions: _uploadOptions, 2747 uploadOptions: _uploadOptions,
2597 uploadMedia: _uploadMedia, 2748 uploadMedia: _uploadMedia,
2598 downloadOptions: _downloadOptions); 2749 downloadOptions: _downloadOptions);
2599 return _response.then((data) => new VariantSet.fromJson(data)); 2750 return _response.then((data) => new VariantSet.fromJson(data));
2600 } 2751 }
2601 2752
2602 /** 2753 /**
2603 * Deletes a variant set including all variants, call sets, and calls within. 2754 * Deletes a variant set including all variants, call sets, and calls within.
2604 * This is not reversible. For the definitions of variant sets and other 2755 * This is not reversible.
2605 * genomics resources, see [Fundamentals of Google 2756 *
2757 * For the definitions of variant sets and other genomics resources, see
2758 * [Fundamentals of Google
2606 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 2759 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
2607 * 2760 *
2608 * Request parameters: 2761 * Request parameters:
2609 * 2762 *
2610 * [variantSetId] - The ID of the variant set to be deleted. 2763 * [variantSetId] - The ID of the variant set to be deleted.
2611 * 2764 *
2612 * Completes with a [Empty]. 2765 * Completes with a [Empty].
2613 * 2766 *
2614 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2767 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
2615 * error. 2768 * error.
(...skipping 19 matching lines...) Expand all
2635 "DELETE", 2788 "DELETE",
2636 body: _body, 2789 body: _body,
2637 queryParams: _queryParams, 2790 queryParams: _queryParams,
2638 uploadOptions: _uploadOptions, 2791 uploadOptions: _uploadOptions,
2639 uploadMedia: _uploadMedia, 2792 uploadMedia: _uploadMedia,
2640 downloadOptions: _downloadOptions); 2793 downloadOptions: _downloadOptions);
2641 return _response.then((data) => new Empty.fromJson(data)); 2794 return _response.then((data) => new Empty.fromJson(data));
2642 } 2795 }
2643 2796
2644 /** 2797 /**
2645 * Exports variant set data to an external destination. For the definitions of 2798 * Exports variant set data to an external destination.
2646 * variant sets and other genomics resources, see [Fundamentals of Google 2799 *
2800 * For the definitions of variant sets and other genomics resources, see
2801 * [Fundamentals of Google
2647 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 2802 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
2648 * 2803 *
2649 * [request] - The metadata request object. 2804 * [request] - The metadata request object.
2650 * 2805 *
2651 * Request parameters: 2806 * Request parameters:
2652 * 2807 *
2653 * [variantSetId] - Required. The ID of the variant set that contains variant 2808 * [variantSetId] - Required. The ID of the variant set that contains variant
2654 * data which should be exported. The caller must have READ access to this 2809 * data which
2655 * variant set. 2810 * should be exported. The caller must have READ access to this variant set.
2656 * 2811 *
2657 * Completes with a [Operation]. 2812 * Completes with a [Operation].
2658 * 2813 *
2659 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2814 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
2660 * error. 2815 * error.
2661 * 2816 *
2662 * If the used [http.Client] completes with an error when making a REST call, 2817 * If the used [http.Client] completes with an error when making a REST call,
2663 * this method will complete with the same error. 2818 * this method will complete with the same error.
2664 */ 2819 */
2665 async.Future<Operation> export(ExportVariantSetRequest request, core.String va riantSetId) { 2820 async.Future<Operation> export(ExportVariantSetRequest request, core.String va riantSetId) {
(...skipping 17 matching lines...) Expand all
2683 "POST", 2838 "POST",
2684 body: _body, 2839 body: _body,
2685 queryParams: _queryParams, 2840 queryParams: _queryParams,
2686 uploadOptions: _uploadOptions, 2841 uploadOptions: _uploadOptions,
2687 uploadMedia: _uploadMedia, 2842 uploadMedia: _uploadMedia,
2688 downloadOptions: _downloadOptions); 2843 downloadOptions: _downloadOptions);
2689 return _response.then((data) => new Operation.fromJson(data)); 2844 return _response.then((data) => new Operation.fromJson(data));
2690 } 2845 }
2691 2846
2692 /** 2847 /**
2693 * Gets a variant set by ID. For the definitions of variant sets and other 2848 * Gets a variant set by ID.
2694 * genomics resources, see [Fundamentals of Google 2849 *
2850 * For the definitions of variant sets and other genomics resources, see
2851 * [Fundamentals of Google
2695 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 2852 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
2696 * 2853 *
2697 * Request parameters: 2854 * Request parameters:
2698 * 2855 *
2699 * [variantSetId] - Required. The ID of the variant set. 2856 * [variantSetId] - Required. The ID of the variant set.
2700 * 2857 *
2701 * Completes with a [VariantSet]. 2858 * Completes with a [VariantSet].
2702 * 2859 *
2703 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2860 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
2704 * error. 2861 * error.
(...skipping 19 matching lines...) Expand all
2724 "GET", 2881 "GET",
2725 body: _body, 2882 body: _body,
2726 queryParams: _queryParams, 2883 queryParams: _queryParams,
2727 uploadOptions: _uploadOptions, 2884 uploadOptions: _uploadOptions,
2728 uploadMedia: _uploadMedia, 2885 uploadMedia: _uploadMedia,
2729 downloadOptions: _downloadOptions); 2886 downloadOptions: _downloadOptions);
2730 return _response.then((data) => new VariantSet.fromJson(data)); 2887 return _response.then((data) => new VariantSet.fromJson(data));
2731 } 2888 }
2732 2889
2733 /** 2890 /**
2734 * Updates a variant set using patch semantics. For the definitions of variant 2891 * Updates a variant set using patch semantics.
2735 * sets and other genomics resources, see [Fundamentals of Google 2892 *
2893 * For the definitions of variant sets and other genomics resources, see
2894 * [Fundamentals of Google
2736 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 2895 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
2737 * 2896 *
2738 * [request] - The metadata request object. 2897 * [request] - The metadata request object.
2739 * 2898 *
2740 * Request parameters: 2899 * Request parameters:
2741 * 2900 *
2742 * [variantSetId] - The ID of the variant to be updated (must already exist). 2901 * [variantSetId] - The ID of the variant to be updated (must already exist).
2743 * 2902 *
2744 * [updateMask] - An optional mask specifying which fields to update. 2903 * [updateMask] - An optional mask specifying which fields to update.
2745 * Supported fields: * metadata. * name. * description. Leaving `updateMask` 2904 * Supported fields:
2746 * unset is equivalent to specifying all mutable fields. 2905 *
2906 * * metadata.
2907 * * name.
2908 * * description.
2909 *
2910 * Leaving `updateMask` unset is equivalent to specifying all mutable
2911 * fields.
2747 * 2912 *
2748 * Completes with a [VariantSet]. 2913 * Completes with a [VariantSet].
2749 * 2914 *
2750 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2915 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
2751 * error. 2916 * error.
2752 * 2917 *
2753 * If the used [http.Client] completes with an error when making a REST call, 2918 * If the used [http.Client] completes with an error when making a REST call,
2754 * this method will complete with the same error. 2919 * this method will complete with the same error.
2755 */ 2920 */
2756 async.Future<VariantSet> patch(VariantSet request, core.String variantSetId, { core.String updateMask}) { 2921 async.Future<VariantSet> patch(VariantSet request, core.String variantSetId, { core.String updateMask}) {
(...skipping 20 matching lines...) Expand all
2777 "PATCH", 2942 "PATCH",
2778 body: _body, 2943 body: _body,
2779 queryParams: _queryParams, 2944 queryParams: _queryParams,
2780 uploadOptions: _uploadOptions, 2945 uploadOptions: _uploadOptions,
2781 uploadMedia: _uploadMedia, 2946 uploadMedia: _uploadMedia,
2782 downloadOptions: _downloadOptions); 2947 downloadOptions: _downloadOptions);
2783 return _response.then((data) => new VariantSet.fromJson(data)); 2948 return _response.then((data) => new VariantSet.fromJson(data));
2784 } 2949 }
2785 2950
2786 /** 2951 /**
2787 * Returns a list of all variant sets matching search criteria. For the 2952 * Returns a list of all variant sets matching search criteria.
2788 * definitions of variant sets and other genomics resources, see [Fundamentals 2953 *
2789 * of Google 2954 * For the definitions of variant sets and other genomics resources, see
2955 * [Fundamentals of Google
2790 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 2956 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
2957 *
2791 * Implements 2958 * Implements
2792 * [GlobalAllianceApi.searchVariantSets](https://github.com/ga4gh/schemas/blob /v0.5.1/src/main/resources/avro/variantmethods.avdl#L49). 2959 * [GlobalAllianceApi.searchVariantSets](https://github.com/ga4gh/schemas/blob /v0.5.1/src/main/resources/avro/variantmethods.avdl#L49).
2793 * 2960 *
2794 * [request] - The metadata request object. 2961 * [request] - The metadata request object.
2795 * 2962 *
2796 * Request parameters: 2963 * Request parameters:
2797 * 2964 *
2798 * Completes with a [SearchVariantSetsResponse]. 2965 * Completes with a [SearchVariantSetsResponse].
2799 * 2966 *
2800 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2967 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
(...skipping 26 matching lines...) Expand all
2827 return _response.then((data) => new SearchVariantSetsResponse.fromJson(data) ); 2994 return _response.then((data) => new SearchVariantSetsResponse.fromJson(data) );
2828 } 2995 }
2829 2996
2830 } 2997 }
2831 2998
2832 2999
2833 3000
2834 /** 3001 /**
2835 * An annotation describes a region of reference genome. The value of an 3002 * An annotation describes a region of reference genome. The value of an
2836 * annotation may be one of several canonical types, supplemented by arbitrary 3003 * annotation may be one of several canonical types, supplemented by arbitrary
2837 * info tags. An annotation is not inherently associated with a specific sample 3004 * info tags. An annotation is not inherently associated with a specific
2838 * or individual (though a client could choose to use annotations in this way). 3005 * sample or individual (though a client could choose to use annotations in
2839 * Example canonical annotation types are `GENE` and `VARIANT`. 3006 * this way). Example canonical annotation types are `GENE` and
3007 * `VARIANT`.
2840 */ 3008 */
2841 class Annotation { 3009 class Annotation {
2842 /** The annotation set to which this annotation belongs. */ 3010 /** The annotation set to which this annotation belongs. */
2843 core.String annotationSetId; 3011 core.String annotationSetId;
2844 /** The end position of the range on the reference, 0-based exclusive. */ 3012 /** The end position of the range on the reference, 0-based exclusive. */
2845 core.String end; 3013 core.String end;
2846 /** The server-generated annotation ID, unique across all annotations. */ 3014 /** The server-generated annotation ID, unique across all annotations. */
2847 core.String id; 3015 core.String id;
2848 /** 3016 /**
2849 * A map of additional read alignment information. This must be of the form 3017 * A map of additional read alignment information. This must be of the form
2850 * map (string key mapping to a list of string values). 3018 * map<string, string[]> (string key mapping to a list of string values).
2851 * 3019 *
2852 * The values for Object must be JSON objects. It can consist of `num`, 3020 * The values for Object must be JSON objects. It can consist of `num`,
2853 * `String`, `bool` and `null` as well as `Map` and `List` values. 3021 * `String`, `bool` and `null` as well as `Map` and `List` values.
2854 */ 3022 */
2855 core.Map<core.String, core.List<core.Object>> info; 3023 core.Map<core.String, core.List<core.Object>> info;
2856 /** The display name of this annotation. */ 3024 /** The display name of this annotation. */
2857 core.String name; 3025 core.String name;
2858 /** The ID of the Google Genomics reference associated with this range. */ 3026 /** The ID of the Google Genomics reference associated with this range. */
2859 core.String referenceId; 3027 core.String referenceId;
2860 /** 3028 /**
2861 * The display name corresponding to the reference specified by `referenceId`, 3029 * The display name corresponding to the reference specified by
2862 * for example `chr1`, `1`, or `chrX`. 3030 * `referenceId`, for example `chr1`, `1`, or `chrX`.
2863 */ 3031 */
2864 core.String referenceName; 3032 core.String referenceName;
2865 /** 3033 /**
2866 * Whether this range refers to the reverse strand, as opposed to the forward 3034 * Whether this range refers to the reverse strand, as opposed to the forward
2867 * strand. Note that regardless of this field, the start/end position of the 3035 * strand. Note that regardless of this field, the start/end position of the
2868 * range always refer to the forward strand. 3036 * range always refer to the forward strand.
2869 */ 3037 */
2870 core.bool reverseStrand; 3038 core.bool reverseStrand;
2871 /** The start position of the range on the reference, 0-based inclusive. */ 3039 /** The start position of the range on the reference, 0-based inclusive. */
2872 core.String start; 3040 core.String start;
2873 /** 3041 /**
2874 * A transcript value represents the assertion that a particular region of the 3042 * A transcript value represents the assertion that a particular region of
2875 * reference genome may be transcribed as RNA. An alternative splicing pattern 3043 * the reference genome may be transcribed as RNA. An alternative splicing
2876 * would be represented as a separate transcript object. This field is only 3044 * pattern would be represented as a separate transcript object. This field
2877 * set for annotations of type `TRANSCRIPT`. 3045 * is only set for annotations of type `TRANSCRIPT`.
2878 */ 3046 */
2879 Transcript transcript; 3047 Transcript transcript;
2880 /** 3048 /**
2881 * The data type for this annotation. Must match the containing annotation 3049 * The data type for this annotation. Must match the containing annotation
2882 * set's type. 3050 * set's type.
2883 * Possible string values are: 3051 * Possible string values are:
2884 * - "ANNOTATION_TYPE_UNSPECIFIED" : A ANNOTATION_TYPE_UNSPECIFIED. 3052 * - "ANNOTATION_TYPE_UNSPECIFIED"
2885 * - "GENERIC" : A GENERIC. 3053 * - "GENERIC" : A `GENERIC` annotation type should be used when no other
2886 * - "VARIANT" : A VARIANT. 3054 * annotation
2887 * - "GENE" : A GENE. 3055 * type will suffice. This represents an untyped annotation of the reference
2888 * - "TRANSCRIPT" : A TRANSCRIPT. 3056 * genome.
3057 * - "VARIANT" : A `VARIANT` annotation type.
3058 * - "GENE" : A `GENE` annotation type represents the existence of a gene at
3059 * the
3060 * associated reference coordinates. The start coordinate is typically the
3061 * gene's transcription start site and the end is typically the end of the
3062 * gene's last exon.
3063 * - "TRANSCRIPT" : A `TRANSCRIPT` annotation type represents the assertion
3064 * that a
3065 * particular region of the reference genome may be transcribed as RNA.
2889 */ 3066 */
2890 core.String type; 3067 core.String type;
2891 /** 3068 /**
2892 * A variant annotation, which describes the effect of a variant on the 3069 * A variant annotation, which describes the effect of a variant on the
2893 * genome, the coding sequence, and/or higher level consequences at the 3070 * genome, the coding sequence, and/or higher level consequences at the
2894 * organism level e.g. pathogenicity. This field is only set for annotations 3071 * organism level e.g. pathogenicity. This field is only set for annotations
2895 * of type `VARIANT`. 3072 * of type `VARIANT`.
2896 */ 3073 */
2897 VariantAnnotation variant; 3074 VariantAnnotation variant;
2898 3075
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
2986 */ 3163 */
2987 class AnnotationSet { 3164 class AnnotationSet {
2988 /** The dataset to which this annotation set belongs. */ 3165 /** The dataset to which this annotation set belongs. */
2989 core.String datasetId; 3166 core.String datasetId;
2990 /** 3167 /**
2991 * The server-generated annotation set ID, unique across all annotation sets. 3168 * The server-generated annotation set ID, unique across all annotation sets.
2992 */ 3169 */
2993 core.String id; 3170 core.String id;
2994 /** 3171 /**
2995 * A map of additional read alignment information. This must be of the form 3172 * A map of additional read alignment information. This must be of the form
2996 * map (string key mapping to a list of string values). 3173 * map<string, string[]> (string key mapping to a list of string values).
2997 * 3174 *
2998 * The values for Object must be JSON objects. It can consist of `num`, 3175 * The values for Object must be JSON objects. It can consist of `num`,
2999 * `String`, `bool` and `null` as well as `Map` and `List` values. 3176 * `String`, `bool` and `null` as well as `Map` and `List` values.
3000 */ 3177 */
3001 core.Map<core.String, core.List<core.Object>> info; 3178 core.Map<core.String, core.List<core.Object>> info;
3002 /** The display name for this annotation set. */ 3179 /** The display name for this annotation set. */
3003 core.String name; 3180 core.String name;
3004 /** 3181 /**
3005 * The ID of the reference set that defines the coordinate space for this 3182 * The ID of the reference set that defines the coordinate space for this
3006 * set's annotations. 3183 * set's annotations.
3007 */ 3184 */
3008 core.String referenceSetId; 3185 core.String referenceSetId;
3009 /** 3186 /**
3010 * The source URI describing the file from which this annotation set was 3187 * The source URI describing the file from which this annotation set was
3011 * generated, if any. 3188 * generated, if any.
3012 */ 3189 */
3013 core.String sourceUri; 3190 core.String sourceUri;
3014 /** 3191 /**
3015 * The type of annotations contained within this set. 3192 * The type of annotations contained within this set.
3016 * Possible string values are: 3193 * Possible string values are:
3017 * - "ANNOTATION_TYPE_UNSPECIFIED" : A ANNOTATION_TYPE_UNSPECIFIED. 3194 * - "ANNOTATION_TYPE_UNSPECIFIED"
3018 * - "GENERIC" : A GENERIC. 3195 * - "GENERIC" : A `GENERIC` annotation type should be used when no other
3019 * - "VARIANT" : A VARIANT. 3196 * annotation
3020 * - "GENE" : A GENE. 3197 * type will suffice. This represents an untyped annotation of the reference
3021 * - "TRANSCRIPT" : A TRANSCRIPT. 3198 * genome.
3199 * - "VARIANT" : A `VARIANT` annotation type.
3200 * - "GENE" : A `GENE` annotation type represents the existence of a gene at
3201 * the
3202 * associated reference coordinates. The start coordinate is typically the
3203 * gene's transcription start site and the end is typically the end of the
3204 * gene's last exon.
3205 * - "TRANSCRIPT" : A `TRANSCRIPT` annotation type represents the assertion
3206 * that a
3207 * particular region of the reference genome may be transcribed as RNA.
3022 */ 3208 */
3023 core.String type; 3209 core.String type;
3024 3210
3025 AnnotationSet(); 3211 AnnotationSet();
3026 3212
3027 AnnotationSet.fromJson(core.Map _json) { 3213 AnnotationSet.fromJson(core.Map _json) {
3028 if (_json.containsKey("datasetId")) { 3214 if (_json.containsKey("datasetId")) {
3029 datasetId = _json["datasetId"]; 3215 datasetId = _json["datasetId"];
3030 } 3216 }
3031 if (_json.containsKey("id")) { 3217 if (_json.containsKey("id")) {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
3079 /** 3265 /**
3080 * The annotations to be created. At most 4096 can be specified in a single 3266 * The annotations to be created. At most 4096 can be specified in a single
3081 * request. 3267 * request.
3082 */ 3268 */
3083 core.List<Annotation> annotations; 3269 core.List<Annotation> annotations;
3084 /** 3270 /**
3085 * A unique request ID which enables the server to detect duplicated requests. 3271 * A unique request ID which enables the server to detect duplicated requests.
3086 * If provided, duplicated requests will result in the same response; if not 3272 * If provided, duplicated requests will result in the same response; if not
3087 * provided, duplicated requests may result in duplicated data. For a given 3273 * provided, duplicated requests may result in duplicated data. For a given
3088 * annotation set, callers should not reuse `request_id`s when writing 3274 * annotation set, callers should not reuse `request_id`s when writing
3089 * different batches of annotations - behavior in this case is undefined. A 3275 * different batches of annotations - behavior in this case is undefined.
3090 * common approach is to use a UUID. For batch jobs where worker crashes are a 3276 * A common approach is to use a UUID. For batch jobs where worker crashes are
3091 * possibility, consider using some unique variant of a worker or run ID. 3277 * a possibility, consider using some unique variant of a worker or run ID.
3092 */ 3278 */
3093 core.String requestId; 3279 core.String requestId;
3094 3280
3095 BatchCreateAnnotationsRequest(); 3281 BatchCreateAnnotationsRequest();
3096 3282
3097 BatchCreateAnnotationsRequest.fromJson(core.Map _json) { 3283 BatchCreateAnnotationsRequest.fromJson(core.Map _json) {
3098 if (_json.containsKey("annotations")) { 3284 if (_json.containsKey("annotations")) {
3099 annotations = _json["annotations"].map((value) => new Annotation.fromJson( value)).toList(); 3285 annotations = _json["annotations"].map((value) => new Annotation.fromJson( value)).toList();
3100 } 3286 }
3101 if (_json.containsKey("requestId")) { 3287 if (_json.containsKey("requestId")) {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
3136 _json["entries"] = entries.map((value) => (value).toJson()).toList(); 3322 _json["entries"] = entries.map((value) => (value).toJson()).toList();
3137 } 3323 }
3138 return _json; 3324 return _json;
3139 } 3325 }
3140 } 3326 }
3141 3327
3142 /** Associates `members` with a `role`. */ 3328 /** Associates `members` with a `role`. */
3143 class Binding { 3329 class Binding {
3144 /** 3330 /**
3145 * Specifies the identities requesting access for a Cloud Platform resource. 3331 * Specifies the identities requesting access for a Cloud Platform resource.
3146 * `members` can have the following values: * `allUsers`: A special identifier 3332 * `members` can have the following values:
3147 * that represents anyone who is on the internet; with or without a Google 3333 *
3148 * account. * `allAuthenticatedUsers`: A special identifier that represents 3334 * * `allUsers`: A special identifier that represents anyone who is
3149 * anyone who is authenticated with a Google account or a service account. * 3335 * on the internet; with or without a Google account.
3150 * `user:{emailid}`: An email address that represents a specific Google 3336 *
3151 * account. For example, `alice@gmail.com` or `joe@example.com`. * 3337 * * `allAuthenticatedUsers`: A special identifier that represents anyone
3152 * `serviceAccount:{emailid}`: An email address that represents a service 3338 * who is authenticated with a Google account or a service account.
3153 * account. For example, `my-other-app@appspot.gserviceaccount.com`. * 3339 *
3154 * `group:{emailid}`: An email address that represents a Google group. For 3340 * * `user:{emailid}`: An email address that represents a specific Google
3155 * example, `admins@example.com`. * `domain:{domain}`: A Google Apps domain 3341 * account. For example, `alice@gmail.com` or `joe@example.com`.
3156 * name that represents all the users of that domain. For example, 3342 *
3157 * `google.com` or `example.com`. 3343 *
3344 * * `serviceAccount:{emailid}`: An email address that represents a service
3345 * account. For example, `my-other-app@appspot.gserviceaccount.com`.
3346 *
3347 * * `group:{emailid}`: An email address that represents a Google group.
3348 * For example, `admins@example.com`.
3349 *
3350 * * `domain:{domain}`: A Google Apps domain name that represents all the
3351 * users of that domain. For example, `google.com` or `example.com`.
3158 */ 3352 */
3159 core.List<core.String> members; 3353 core.List<core.String> members;
3160 /** 3354 /**
3161 * Role that is assigned to `members`. For example, `roles/viewer`, 3355 * Role that is assigned to `members`.
3162 * `roles/editor`, or `roles/owner`. Required 3356 * For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
3357 * Required
3163 */ 3358 */
3164 core.String role; 3359 core.String role;
3165 3360
3166 Binding(); 3361 Binding();
3167 3362
3168 Binding.fromJson(core.Map _json) { 3363 Binding.fromJson(core.Map _json) {
3169 if (_json.containsKey("members")) { 3364 if (_json.containsKey("members")) {
3170 members = _json["members"]; 3365 members = _json["members"];
3171 } 3366 }
3172 if (_json.containsKey("role")) { 3367 if (_json.containsKey("role")) {
3173 role = _json["role"]; 3368 role = _json["role"];
3174 } 3369 }
3175 } 3370 }
3176 3371
3177 core.Map toJson() { 3372 core.Map toJson() {
3178 var _json = new core.Map(); 3373 var _json = new core.Map();
3179 if (members != null) { 3374 if (members != null) {
3180 _json["members"] = members; 3375 _json["members"] = members;
3181 } 3376 }
3182 if (role != null) { 3377 if (role != null) {
3183 _json["role"] = role; 3378 _json["role"] = role;
3184 } 3379 }
3185 return _json; 3380 return _json;
3186 } 3381 }
3187 } 3382 }
3188 3383
3189 /** 3384 /**
3190 * A call set is a collection of variant calls, typically for one sample. It 3385 * A call set is a collection of variant calls, typically for one sample. It
3191 * belongs to a variant set. For more genomics resource definitions, see 3386 * belongs to a variant set.
3192 * [Fundamentals of Google 3387 *
3388 * For more genomics resource definitions, see [Fundamentals of Google
3193 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) 3389 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
3194 */ 3390 */
3195 class CallSet { 3391 class CallSet {
3196 /** The date this call set was created in milliseconds from the epoch. */ 3392 /** The date this call set was created in milliseconds from the epoch. */
3197 core.String created; 3393 core.String created;
3198 /** The server-generated call set ID, unique across all call sets. */ 3394 /** The server-generated call set ID, unique across all call sets. */
3199 core.String id; 3395 core.String id;
3200 /** 3396 /**
3201 * A map of additional call set information. This must be of the form map 3397 * A map of additional call set information. This must be of the form
3202 * (string key mapping to a list of string values). 3398 * map<string, string[]> (string key mapping to a list of string values).
3203 * 3399 *
3204 * The values for Object must be JSON objects. It can consist of `num`, 3400 * The values for Object must be JSON objects. It can consist of `num`,
3205 * `String`, `bool` and `null` as well as `Map` and `List` values. 3401 * `String`, `bool` and `null` as well as `Map` and `List` values.
3206 */ 3402 */
3207 core.Map<core.String, core.List<core.Object>> info; 3403 core.Map<core.String, core.List<core.Object>> info;
3208 /** The call set name. */ 3404 /** The call set name. */
3209 core.String name; 3405 core.String name;
3210 /** The sample ID this call set corresponds to. */ 3406 /** The sample ID this call set corresponds to. */
3211 core.String sampleId; 3407 core.String sampleId;
3212 /** 3408 /**
3213 * The IDs of the variant sets this call set belongs to. This field must have 3409 * The IDs of the variant sets this call set belongs to. This field must
3214 * exactly length one, as a call set belongs to a single variant set. This 3410 * have exactly length one, as a call set belongs to a single variant set.
3215 * field is repeated for compatibility with the [GA4GH 0.5.1 3411 * This field is repeated for compatibility with the
3412 * [GA4GH 0.5.1
3216 * API](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/v ariants.avdl#L76). 3413 * API](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/v ariants.avdl#L76).
3217 */ 3414 */
3218 core.List<core.String> variantSetIds; 3415 core.List<core.String> variantSetIds;
3219 3416
3220 CallSet(); 3417 CallSet();
3221 3418
3222 CallSet.fromJson(core.Map _json) { 3419 CallSet.fromJson(core.Map _json) {
3223 if (_json.containsKey("created")) { 3420 if (_json.containsKey("created")) {
3224 created = _json["created"]; 3421 created = _json["created"];
3225 } 3422 }
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
3276 var _json = new core.Map(); 3473 var _json = new core.Map();
3277 return _json; 3474 return _json;
3278 } 3475 }
3279 } 3476 }
3280 3477
3281 /** A single CIGAR operation. */ 3478 /** A single CIGAR operation. */
3282 class CigarUnit { 3479 class CigarUnit {
3283 /** 3480 /**
3284 * 3481 *
3285 * Possible string values are: 3482 * Possible string values are:
3286 * - "OPERATION_UNSPECIFIED" : A OPERATION_UNSPECIFIED. 3483 * - "OPERATION_UNSPECIFIED"
3287 * - "ALIGNMENT_MATCH" : A ALIGNMENT_MATCH. 3484 * - "ALIGNMENT_MATCH" : An alignment match indicates that a sequence can be
3288 * - "INSERT" : A INSERT. 3485 * aligned to the
3289 * - "DELETE" : A DELETE. 3486 * reference without evidence of an INDEL. Unlike the
3290 * - "SKIP" : A SKIP. 3487 * `SEQUENCE_MATCH` and `SEQUENCE_MISMATCH` operators,
3291 * - "CLIP_SOFT" : A CLIP_SOFT. 3488 * the `ALIGNMENT_MATCH` operator does not indicate whether the
3292 * - "CLIP_HARD" : A CLIP_HARD. 3489 * reference and read sequences are an exact match. This operator is
3293 * - "PAD" : A PAD. 3490 * equivalent to SAM's `M`.
3294 * - "SEQUENCE_MATCH" : A SEQUENCE_MATCH. 3491 * - "INSERT" : The insert operator indicates that the read contains evidence
3295 * - "SEQUENCE_MISMATCH" : A SEQUENCE_MISMATCH. 3492 * of bases
3493 * being inserted into the reference. This operator is equivalent to SAM's
3494 * `I`.
3495 * - "DELETE" : The delete operator indicates that the read contains evidence
3496 * of bases
3497 * being deleted from the reference. This operator is equivalent to SAM's
3498 * `D`.
3499 * - "SKIP" : The skip operator indicates that this read skips a long segment
3500 * of the
3501 * reference, but the bases have not been deleted. This operator is commonly
3502 * used when working with RNA-seq data, where reads may skip long segments
3503 * of the reference between exons. This operator is equivalent to SAM's
3504 * `N`.
3505 * - "CLIP_SOFT" : The soft clip operator indicates that bases at the
3506 * start/end of a read
3507 * have not been considered during alignment. This may occur if the majority
3508 * of a read maps, except for low quality bases at the start/end of a read.
3509 * This operator is equivalent to SAM's `S`. Bases that are soft
3510 * clipped will still be stored in the read.
3511 * - "CLIP_HARD" : The hard clip operator indicates that bases at the
3512 * start/end of a read
3513 * have been omitted from this alignment. This may occur if this linear
3514 * alignment is part of a chimeric alignment, or if the read has been
3515 * trimmed (for example, during error correction or to trim poly-A tails for
3516 * RNA-seq). This operator is equivalent to SAM's `H`.
3517 * - "PAD" : The pad operator indicates that there is padding in an alignment.
3518 * This
3519 * operator is equivalent to SAM's `P`.
3520 * - "SEQUENCE_MATCH" : This operator indicates that this portion of the
3521 * aligned sequence exactly
3522 * matches the reference. This operator is equivalent to SAM's `=`.
3523 * - "SEQUENCE_MISMATCH" : This operator indicates that this portion of the
3524 * aligned sequence is an
3525 * alignment match to the reference, but a sequence mismatch. This can
3526 * indicate a SNP or a read error. This operator is equivalent to SAM's
3527 * `X`.
3296 */ 3528 */
3297 core.String operation; 3529 core.String operation;
3298 /** The number of genomic bases that the operation runs for. Required. */ 3530 /** The number of genomic bases that the operation runs for. Required. */
3299 core.String operationLength; 3531 core.String operationLength;
3300 /** 3532 /**
3301 * `referenceSequence` is only used at mismatches (`SEQUENCE_MISMATCH`) and 3533 * `referenceSequence` is only used at mismatches
3302 * deletions (`DELETE`). Filling this field replaces SAM's MD tag. If the 3534 * (`SEQUENCE_MISMATCH`) and deletions (`DELETE`).
3303 * relevant information is not available, this field is unset. 3535 * Filling this field replaces SAM's MD tag. If the relevant information is
3536 * not available, this field is unset.
3304 */ 3537 */
3305 core.String referenceSequence; 3538 core.String referenceSequence;
3306 3539
3307 CigarUnit(); 3540 CigarUnit();
3308 3541
3309 CigarUnit.fromJson(core.Map _json) { 3542 CigarUnit.fromJson(core.Map _json) {
3310 if (_json.containsKey("operation")) { 3543 if (_json.containsKey("operation")) {
3311 operation = _json["operation"]; 3544 operation = _json["operation"];
3312 } 3545 }
3313 if (_json.containsKey("operationLength")) { 3546 if (_json.containsKey("operationLength")) {
(...skipping 14 matching lines...) Expand all
3328 } 3561 }
3329 if (referenceSequence != null) { 3562 if (referenceSequence != null) {
3330 _json["referenceSequence"] = referenceSequence; 3563 _json["referenceSequence"] = referenceSequence;
3331 } 3564 }
3332 return _json; 3565 return _json;
3333 } 3566 }
3334 } 3567 }
3335 3568
3336 class ClinicalCondition { 3569 class ClinicalCondition {
3337 /** 3570 /**
3338 * The MedGen concept id associated with this gene. Search for these IDs at 3571 * The MedGen concept id associated with this gene.
3339 * http://www.ncbi.nlm.nih.gov/medgen/ 3572 * Search for these IDs at http://www.ncbi.nlm.nih.gov/medgen/
3340 */ 3573 */
3341 core.String conceptId; 3574 core.String conceptId;
3342 /** The set of external IDs for this condition. */ 3575 /** The set of external IDs for this condition. */
3343 core.List<ExternalId> externalIds; 3576 core.List<ExternalId> externalIds;
3344 /** A set of names for the condition. */ 3577 /** A set of names for the condition. */
3345 core.List<core.String> names; 3578 core.List<core.String> names;
3346 /** 3579 /**
3347 * The OMIM id for this condition. Search for these IDs at http://omim.org/ 3580 * The OMIM id for this condition.
3581 * Search for these IDs at http://omim.org/
3348 */ 3582 */
3349 core.String omimId; 3583 core.String omimId;
3350 3584
3351 ClinicalCondition(); 3585 ClinicalCondition();
3352 3586
3353 ClinicalCondition.fromJson(core.Map _json) { 3587 ClinicalCondition.fromJson(core.Map _json) {
3354 if (_json.containsKey("conceptId")) { 3588 if (_json.containsKey("conceptId")) {
3355 conceptId = _json["conceptId"]; 3589 conceptId = _json["conceptId"];
3356 } 3590 }
3357 if (_json.containsKey("externalIds")) { 3591 if (_json.containsKey("externalIds")) {
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
3468 return _json; 3702 return _json;
3469 } 3703 }
3470 } 3704 }
3471 3705
3472 /** 3706 /**
3473 * A bucket over which read coverage has been precomputed. A bucket corresponds 3707 * A bucket over which read coverage has been precomputed. A bucket corresponds
3474 * to a specific range of the reference sequence. 3708 * to a specific range of the reference sequence.
3475 */ 3709 */
3476 class CoverageBucket { 3710 class CoverageBucket {
3477 /** 3711 /**
3478 * The average number of reads which are aligned to each individual reference 3712 * The average number of reads which are aligned to each individual
3479 * base in this bucket. 3713 * reference base in this bucket.
3480 */ 3714 */
3481 core.double meanCoverage; 3715 core.double meanCoverage;
3482 /** The genomic coordinate range spanned by this bucket. */ 3716 /** The genomic coordinate range spanned by this bucket. */
3483 Range range; 3717 Range range;
3484 3718
3485 CoverageBucket(); 3719 CoverageBucket();
3486 3720
3487 CoverageBucket.fromJson(core.Map _json) { 3721 CoverageBucket.fromJson(core.Map _json) {
3488 if (_json.containsKey("meanCoverage")) { 3722 if (_json.containsKey("meanCoverage")) {
3489 meanCoverage = _json["meanCoverage"]; 3723 meanCoverage = _json["meanCoverage"];
3490 } 3724 }
3491 if (_json.containsKey("range")) { 3725 if (_json.containsKey("range")) {
3492 range = new Range.fromJson(_json["range"]); 3726 range = new Range.fromJson(_json["range"]);
3493 } 3727 }
3494 } 3728 }
3495 3729
3496 core.Map toJson() { 3730 core.Map toJson() {
3497 var _json = new core.Map(); 3731 var _json = new core.Map();
3498 if (meanCoverage != null) { 3732 if (meanCoverage != null) {
3499 _json["meanCoverage"] = meanCoverage; 3733 _json["meanCoverage"] = meanCoverage;
3500 } 3734 }
3501 if (range != null) { 3735 if (range != null) {
3502 _json["range"] = (range).toJson(); 3736 _json["range"] = (range).toJson();
3503 } 3737 }
3504 return _json; 3738 return _json;
3505 } 3739 }
3506 } 3740 }
3507 3741
3508 /** 3742 /**
3509 * A Dataset is a collection of genomic data. For more genomics resource 3743 * A Dataset is a collection of genomic data.
3510 * definitions, see [Fundamentals of Google 3744 *
3745 * For more genomics resource definitions, see [Fundamentals of Google
3511 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) 3746 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
3512 */ 3747 */
3513 class Dataset { 3748 class Dataset {
3514 /** The time this dataset was created, in seconds from the epoch. */ 3749 /** The time this dataset was created, in seconds from the epoch. */
3515 core.String createTime; 3750 core.String createTime;
3516 /** The server-generated dataset ID, unique across all datasets. */ 3751 /** The server-generated dataset ID, unique across all datasets. */
3517 core.String id; 3752 core.String id;
3518 /** The dataset name. */ 3753 /** The dataset name. */
3519 core.String name; 3754 core.String name;
3520 /** The Google Cloud project ID that this dataset belongs to. */ 3755 /** The Google Cloud project ID that this dataset belongs to. */
(...skipping 29 matching lines...) Expand all
3550 } 3785 }
3551 if (projectId != null) { 3786 if (projectId != null) {
3552 _json["projectId"] = projectId; 3787 _json["projectId"] = projectId;
3553 } 3788 }
3554 return _json; 3789 return _json;
3555 } 3790 }
3556 } 3791 }
3557 3792
3558 /** 3793 /**
3559 * A generic empty message that you can re-use to avoid defining duplicated 3794 * A generic empty message that you can re-use to avoid defining duplicated
3560 * empty messages in your APIs. A typical example is to use it as the request or 3795 * empty messages in your APIs. A typical example is to use it as the request
3561 * the response type of an API method. For instance: service Foo { rpc 3796 * or the response type of an API method. For instance:
3562 * Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON 3797 *
3563 * representation for `Empty` is empty JSON object `{}`. 3798 * service Foo {
3799 * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
3800 * }
3801 *
3802 * The JSON representation for `Empty` is empty JSON object `{}`.
3564 */ 3803 */
3565 class Empty { 3804 class Empty {
3566 3805
3567 Empty(); 3806 Empty();
3568 3807
3569 Empty.fromJson(core.Map _json) { 3808 Empty.fromJson(core.Map _json) {
3570 } 3809 }
3571 3810
3572 core.Map toJson() { 3811 core.Map toJson() {
3573 var _json = new core.Map(); 3812 var _json = new core.Map();
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
3605 } 3844 }
3606 3845
3607 class Exon { 3846 class Exon {
3608 /** 3847 /**
3609 * The end position of the exon on this annotation's reference sequence, 3848 * The end position of the exon on this annotation's reference sequence,
3610 * 0-based exclusive. Note that this is relative to the reference start, and 3849 * 0-based exclusive. Note that this is relative to the reference start, and
3611 * *not* the containing annotation start. 3850 * *not* the containing annotation start.
3612 */ 3851 */
3613 core.String end; 3852 core.String end;
3614 /** 3853 /**
3615 * The frame of this exon. Contains a value of 0, 1, or 2, which indicates the 3854 * The frame of this exon. Contains a value of 0, 1, or 2, which indicates
3616 * offset of the first coding base of the exon within the reading frame of the 3855 * the offset of the first coding base of the exon within the reading frame
3617 * coding DNA sequence, if any. This field is dependent on the strandedness of 3856 * of the coding DNA sequence, if any. This field is dependent on the
3618 * this annotation (see Annotation.reverse_strand). For forward stranded 3857 * strandedness of this annotation (see
3619 * annotations, this offset is relative to the exon.start. For reverse strand 3858 * Annotation.reverse_strand).
3620 * annotations, this offset is relative to the exon.end `- 1`. Unset if this 3859 * For forward stranded annotations, this offset is relative to the
3621 * exon does not intersect the coding sequence. Upon creation of a transcript, 3860 * exon.start. For reverse
3622 * the frame must be populated for all or none of the coding exons. 3861 * strand annotations, this offset is relative to the
3862 * exon.end `- 1`.
3863 *
3864 * Unset if this exon does not intersect the coding sequence. Upon creation
3865 * of a transcript, the frame must be populated for all or none of the
3866 * coding exons.
3623 */ 3867 */
3624 core.int frame; 3868 core.int frame;
3625 /** 3869 /**
3626 * The start position of the exon on this annotation's reference sequence, 3870 * The start position of the exon on this annotation's reference sequence,
3627 * 0-based inclusive. Note that this is relative to the reference start, and 3871 * 0-based inclusive. Note that this is relative to the reference start, and
3628 * **not** the containing annotation start. 3872 * **not** the containing annotation start.
3629 */ 3873 */
3630 core.String start; 3874 core.String start;
3631 3875
3632 Exon(); 3876 Exon();
(...skipping 26 matching lines...) Expand all
3659 } 3903 }
3660 3904
3661 class Experiment { 3905 class Experiment {
3662 /** 3906 /**
3663 * The instrument model used as part of this experiment. This maps to 3907 * The instrument model used as part of this experiment. This maps to
3664 * sequencing technology in the SAM spec. 3908 * sequencing technology in the SAM spec.
3665 */ 3909 */
3666 core.String instrumentModel; 3910 core.String instrumentModel;
3667 /** 3911 /**
3668 * A client-supplied library identifier; a library is a collection of DNA 3912 * A client-supplied library identifier; a library is a collection of DNA
3669 * fragments which have been prepared for sequencing from a sample. This field 3913 * fragments which have been prepared for sequencing from a sample. This
3670 * is important for quality control as error or bias can be introduced during 3914 * field is important for quality control as error or bias can be introduced
3671 * sample preparation. 3915 * during sample preparation.
3672 */ 3916 */
3673 core.String libraryId; 3917 core.String libraryId;
3674 /** 3918 /**
3675 * The platform unit used as part of this experiment, for example 3919 * The platform unit used as part of this experiment, for example
3676 * flowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the 3920 * flowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the
3677 * @RG PU field in the SAM spec. 3921 * @RG PU field in the SAM spec.
3678 */ 3922 */
3679 core.String platformUnit; 3923 core.String platformUnit;
3680 /** The sequencing center used as part of this experiment. */ 3924 /** The sequencing center used as part of this experiment. */
3681 core.String sequencingCenter; 3925 core.String sequencingCenter;
(...skipping 29 matching lines...) Expand all
3711 if (sequencingCenter != null) { 3955 if (sequencingCenter != null) {
3712 _json["sequencingCenter"] = sequencingCenter; 3956 _json["sequencingCenter"] = sequencingCenter;
3713 } 3957 }
3714 return _json; 3958 return _json;
3715 } 3959 }
3716 } 3960 }
3717 3961
3718 /** The read group set export request. */ 3962 /** The read group set export request. */
3719 class ExportReadGroupSetRequest { 3963 class ExportReadGroupSetRequest {
3720 /** 3964 /**
3721 * Required. A Google Cloud Storage URI for the exported BAM file. The 3965 * Required. A Google Cloud Storage URI for the exported BAM file.
3722 * currently authenticated user must have write access to the new file. An 3966 * The currently authenticated user must have write access to the new file.
3723 * error will be returned if the URI already contains data. 3967 * An error will be returned if the URI already contains data.
3724 */ 3968 */
3725 core.String exportUri; 3969 core.String exportUri;
3726 /** 3970 /**
3727 * Required. The Google Cloud project ID that owns this export. The caller 3971 * Required. The Google Cloud project ID that owns this
3728 * must have WRITE access to this project. 3972 * export. The caller must have WRITE access to this project.
3729 */ 3973 */
3730 core.String projectId; 3974 core.String projectId;
3731 /** 3975 /**
3732 * The reference names to export. If this is not specified, all reference 3976 * The reference names to export. If this is not specified, all reference
3733 * sequences, including unmapped reads, are exported. Use `*` to export only 3977 * sequences, including unmapped reads, are exported.
3734 * unmapped reads. 3978 * Use `*` to export only unmapped reads.
3735 */ 3979 */
3736 core.List<core.String> referenceNames; 3980 core.List<core.String> referenceNames;
3737 3981
3738 ExportReadGroupSetRequest(); 3982 ExportReadGroupSetRequest();
3739 3983
3740 ExportReadGroupSetRequest.fromJson(core.Map _json) { 3984 ExportReadGroupSetRequest.fromJson(core.Map _json) {
3741 if (_json.containsKey("exportUri")) { 3985 if (_json.containsKey("exportUri")) {
3742 exportUri = _json["exportUri"]; 3986 exportUri = _json["exportUri"];
3743 } 3987 }
3744 if (_json.containsKey("projectId")) { 3988 if (_json.containsKey("projectId")) {
(...skipping 20 matching lines...) Expand all
3765 } 4009 }
3766 4010
3767 /** The variant data export request. */ 4011 /** The variant data export request. */
3768 class ExportVariantSetRequest { 4012 class ExportVariantSetRequest {
3769 /** 4013 /**
3770 * Required. The BigQuery dataset to export data to. This dataset must already 4014 * Required. The BigQuery dataset to export data to. This dataset must already
3771 * exist. Note that this is distinct from the Genomics concept of "dataset". 4015 * exist. Note that this is distinct from the Genomics concept of "dataset".
3772 */ 4016 */
3773 core.String bigqueryDataset; 4017 core.String bigqueryDataset;
3774 /** 4018 /**
3775 * Required. The BigQuery table to export data to. If the table doesn't exist, 4019 * Required. The BigQuery table to export data to.
3776 * it will be created. If it already exists, it will be overwritten. 4020 * If the table doesn't exist, it will be created. If it already exists, it
4021 * will be overwritten.
3777 */ 4022 */
3778 core.String bigqueryTable; 4023 core.String bigqueryTable;
3779 /** 4024 /**
3780 * If provided, only variant call information from the specified call sets 4025 * If provided, only variant call information from the specified call sets
3781 * will be exported. By default all variant calls are exported. 4026 * will be exported. By default all variant calls are exported.
3782 */ 4027 */
3783 core.List<core.String> callSetIds; 4028 core.List<core.String> callSetIds;
3784 /** 4029 /**
3785 * The format for the exported data. 4030 * The format for the exported data.
3786 * Possible string values are: 4031 * Possible string values are:
3787 * - "FORMAT_UNSPECIFIED" : A FORMAT_UNSPECIFIED. 4032 * - "FORMAT_UNSPECIFIED"
3788 * - "FORMAT_BIGQUERY" : A FORMAT_BIGQUERY. 4033 * - "FORMAT_BIGQUERY" : Export the data to Google BigQuery.
3789 */ 4034 */
3790 core.String format; 4035 core.String format;
3791 /** 4036 /**
3792 * Required. The Google Cloud project ID that owns the destination BigQuery 4037 * Required. The Google Cloud project ID that owns the destination
3793 * dataset. The caller must have WRITE access to this project. This project 4038 * BigQuery dataset. The caller must have WRITE access to this project. This
3794 * will also own the resulting export job. 4039 * project will also own the resulting export job.
3795 */ 4040 */
3796 core.String projectId; 4041 core.String projectId;
3797 4042
3798 ExportVariantSetRequest(); 4043 ExportVariantSetRequest();
3799 4044
3800 ExportVariantSetRequest.fromJson(core.Map _json) { 4045 ExportVariantSetRequest.fromJson(core.Map _json) {
3801 if (_json.containsKey("bigqueryDataset")) { 4046 if (_json.containsKey("bigqueryDataset")) {
3802 bigqueryDataset = _json["bigqueryDataset"]; 4047 bigqueryDataset = _json["bigqueryDataset"];
3803 } 4048 }
3804 if (_json.containsKey("bigqueryTable")) { 4049 if (_json.containsKey("bigqueryTable")) {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
3883 class ImportReadGroupSetsRequest { 4128 class ImportReadGroupSetsRequest {
3884 /** 4129 /**
3885 * Required. The ID of the dataset these read group sets will belong to. The 4130 * Required. The ID of the dataset these read group sets will belong to. The
3886 * caller must have WRITE permissions to this dataset. 4131 * caller must have WRITE permissions to this dataset.
3887 */ 4132 */
3888 core.String datasetId; 4133 core.String datasetId;
3889 /** 4134 /**
3890 * The partition strategy describes how read groups are partitioned into read 4135 * The partition strategy describes how read groups are partitioned into read
3891 * group sets. 4136 * group sets.
3892 * Possible string values are: 4137 * Possible string values are:
3893 * - "PARTITION_STRATEGY_UNSPECIFIED" : A PARTITION_STRATEGY_UNSPECIFIED. 4138 * - "PARTITION_STRATEGY_UNSPECIFIED"
3894 * - "PER_FILE_PER_SAMPLE" : A PER_FILE_PER_SAMPLE. 4139 * - "PER_FILE_PER_SAMPLE" : In most cases, this strategy yields one read
3895 * - "MERGE_ALL" : A MERGE_ALL. 4140 * group set per file. This is
4141 * the default behavior.
4142 *
4143 * Allocate one read group set per file per sample. For BAM files, read
4144 * groups are considered to share a sample if they have identical sample
4145 * names. Furthermore, all reads for each file which do not belong to a read
4146 * group, if any, will be grouped into a single read group set per-file.
4147 * - "MERGE_ALL" : Includes all read groups in all imported files into a
4148 * single read group
4149 * set. Requires that the headers for all imported files are equivalent. All
4150 * reads which do not belong to a read group, if any, will be grouped into a
4151 * separate read group set.
3896 */ 4152 */
3897 core.String partitionStrategy; 4153 core.String partitionStrategy;
3898 /** 4154 /**
3899 * The reference set to which the imported read group sets are aligned to, if 4155 * The reference set to which the imported read group sets are aligned to, if
3900 * any. The reference names of this reference set must be a superset of those 4156 * any. The reference names of this reference set must be a superset of those
3901 * found in the imported file headers. If no reference set id is provided, a 4157 * found in the imported file headers. If no reference set id is provided, a
3902 * best effort is made to associate with a matching reference set. 4158 * best effort is made to associate with a matching reference set.
3903 */ 4159 */
3904 core.String referenceSetId; 4160 core.String referenceSetId;
3905 /** 4161 /**
3906 * A list of URIs pointing at [BAM 4162 * A list of URIs pointing at [BAM
3907 * files](https://samtools.github.io/hts-specs/SAMv1.pdf) in Google Cloud 4163 * files](https://samtools.github.io/hts-specs/SAMv1.pdf)
3908 * Storage. 4164 * in Google Cloud Storage.
4165 * Those URIs can include wildcards (*), but do not add or remove
4166 * matching files before import has completed.
4167 *
4168 * Note that Google Cloud Storage object listing is only eventually
4169 * consistent: files added may be not be immediately visible to
4170 * everyone. Thus, if using a wildcard it is preferable not to start
4171 * the import immediately after the files are created.
3909 */ 4172 */
3910 core.List<core.String> sourceUris; 4173 core.List<core.String> sourceUris;
3911 4174
3912 ImportReadGroupSetsRequest(); 4175 ImportReadGroupSetsRequest();
3913 4176
3914 ImportReadGroupSetsRequest.fromJson(core.Map _json) { 4177 ImportReadGroupSetsRequest.fromJson(core.Map _json) {
3915 if (_json.containsKey("datasetId")) { 4178 if (_json.containsKey("datasetId")) {
3916 datasetId = _json["datasetId"]; 4179 datasetId = _json["datasetId"];
3917 } 4180 }
3918 if (_json.containsKey("partitionStrategy")) { 4181 if (_json.containsKey("partitionStrategy")) {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
3965 return _json; 4228 return _json;
3966 } 4229 }
3967 } 4230 }
3968 4231
3969 /** The variant data import request. */ 4232 /** The variant data import request. */
3970 class ImportVariantsRequest { 4233 class ImportVariantsRequest {
3971 /** 4234 /**
3972 * The format of the variant data being imported. If unspecified, defaults to 4235 * The format of the variant data being imported. If unspecified, defaults to
3973 * to `VCF`. 4236 * to `VCF`.
3974 * Possible string values are: 4237 * Possible string values are:
3975 * - "FORMAT_UNSPECIFIED" : A FORMAT_UNSPECIFIED. 4238 * - "FORMAT_UNSPECIFIED"
3976 * - "FORMAT_VCF" : A FORMAT_VCF. 4239 * - "FORMAT_VCF" : VCF (Variant Call Format). The VCF files may be gzip
3977 * - "FORMAT_COMPLETE_GENOMICS" : A FORMAT_COMPLETE_GENOMICS. 4240 * compressed. gVCF is
4241 * also supported.
4242 * - "FORMAT_COMPLETE_GENOMICS" : Complete Genomics masterVarBeta format. The
4243 * masterVarBeta files may
4244 * be bzip2 compressed.
3978 */ 4245 */
3979 core.String format; 4246 core.String format;
3980 /** 4247 /**
3981 * A mapping between info field keys and the InfoMergeOperations to be 4248 * A mapping between info field keys and the InfoMergeOperations to
3982 * performed on them. This is plumbed down to the MergeVariantRequests 4249 * be performed on them. This is plumbed down to the MergeVariantRequests
3983 * generated by the resulting import job. 4250 * generated by the resulting import job.
3984 */ 4251 */
3985 core.Map<core.String, core.String> infoMergeConfig; 4252 core.Map<core.String, core.String> infoMergeConfig;
3986 /** 4253 /**
3987 * Convert reference names to the canonical representation. hg19 haploytypes 4254 * Convert reference names to the canonical representation.
3988 * (those reference names containing "_hap") are not modified in any way. All 4255 * hg19 haploytypes (those reference names containing "_hap")
3989 * other reference names are modified according to the following rules: The 4256 * are not modified in any way.
3990 * reference name is capitalized. The "chr" prefix is dropped for all 4257 * All other reference names are modified according to the following rules:
3991 * autosomes and sex chromsomes. For example "chr17" becomes "17" and "chrX" 4258 * The reference name is capitalized.
3992 * becomes "X". All mitochondrial chromosomes ("chrM", "chrMT", etc) become 4259 * The "chr" prefix is dropped for all autosomes and sex chromsomes.
3993 * "MT". 4260 * For example "chr17" becomes "17" and "chrX" becomes "X".
4261 * All mitochondrial chromosomes ("chrM", "chrMT", etc) become "MT".
3994 */ 4262 */
3995 core.bool normalizeReferenceNames; 4263 core.bool normalizeReferenceNames;
3996 /** 4264 /**
3997 * A list of URIs referencing variant files in Google Cloud Storage. URIs can 4265 * A list of URIs referencing variant files in Google Cloud Storage. URIs can
3998 * include wildcards [as described 4266 * include wildcards [as described
3999 * here](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames). 4267 * here](https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames).
4000 * Note that recursive wildcards ('**') are not supported. 4268 * Note that recursive wildcards ('**') are not supported.
4001 */ 4269 */
4002 core.List<core.String> sourceUris; 4270 core.List<core.String> sourceUris;
4003 /** Required. The variant set to which variant data should be imported. */ 4271 /** Required. The variant set to which variant data should be imported. */
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
4070 * A linear alignment can be represented by one CIGAR string. Describes the 4338 * A linear alignment can be represented by one CIGAR string. Describes the
4071 * mapped position and local alignment of the read to the reference. 4339 * mapped position and local alignment of the read to the reference.
4072 */ 4340 */
4073 class LinearAlignment { 4341 class LinearAlignment {
4074 /** 4342 /**
4075 * Represents the local alignment of this sequence (alignment matches, indels, 4343 * Represents the local alignment of this sequence (alignment matches, indels,
4076 * etc) against the reference. 4344 * etc) against the reference.
4077 */ 4345 */
4078 core.List<CigarUnit> cigar; 4346 core.List<CigarUnit> cigar;
4079 /** 4347 /**
4080 * The mapping quality of this alignment. Represents how likely the read maps 4348 * The mapping quality of this alignment. Represents how likely
4081 * to this position as opposed to other locations. Specifically, this is -10 4349 * the read maps to this position as opposed to other locations.
4082 * log10 Pr(mapping position is wrong), rounded to the nearest integer. 4350 *
4351 * Specifically, this is -10 log10 Pr(mapping position is wrong), rounded to
4352 * the nearest integer.
4083 */ 4353 */
4084 core.int mappingQuality; 4354 core.int mappingQuality;
4085 /** The position of this alignment. */ 4355 /** The position of this alignment. */
4086 Position position; 4356 Position position;
4087 4357
4088 LinearAlignment(); 4358 LinearAlignment();
4089 4359
4090 LinearAlignment.fromJson(core.Map _json) { 4360 LinearAlignment.fromJson(core.Map _json) {
4091 if (_json.containsKey("cigar")) { 4361 if (_json.containsKey("cigar")) {
4092 cigar = _json["cigar"].map((value) => new CigarUnit.fromJson(value)).toLis t(); 4362 cigar = _json["cigar"].map((value) => new CigarUnit.fromJson(value)).toLis t();
(...skipping 22 matching lines...) Expand all
4115 } 4385 }
4116 4386
4117 class ListBasesResponse { 4387 class ListBasesResponse {
4118 /** 4388 /**
4119 * The continuation token, which is used to page through large result sets. 4389 * The continuation token, which is used to page through large result sets.
4120 * Provide this value in a subsequent request to return the next page of 4390 * Provide this value in a subsequent request to return the next page of
4121 * results. This field will be empty if there aren't any additional results. 4391 * results. This field will be empty if there aren't any additional results.
4122 */ 4392 */
4123 core.String nextPageToken; 4393 core.String nextPageToken;
4124 /** 4394 /**
4125 * The offset position (0-based) of the given `sequence` from the start of 4395 * The offset position (0-based) of the given `sequence` from the
4126 * this `Reference`. This value will differ for each page in a paginated 4396 * start of this `Reference`. This value will differ for each page
4127 * request. 4397 * in a paginated request.
4128 */ 4398 */
4129 core.String offset; 4399 core.String offset;
4130 /** A substring of the bases that make up this reference. */ 4400 /** A substring of the bases that make up this reference. */
4131 core.String sequence; 4401 core.String sequence;
4132 4402
4133 ListBasesResponse(); 4403 ListBasesResponse();
4134 4404
4135 ListBasesResponse.fromJson(core.Map _json) { 4405 ListBasesResponse.fromJson(core.Map _json) {
4136 if (_json.containsKey("nextPageToken")) { 4406 if (_json.containsKey("nextPageToken")) {
4137 nextPageToken = _json["nextPageToken"]; 4407 nextPageToken = _json["nextPageToken"];
(...skipping 25 matching lines...) Expand all
4163 /** 4433 /**
4164 * The length of each coverage bucket in base pairs. Note that buckets at the 4434 * The length of each coverage bucket in base pairs. Note that buckets at the
4165 * end of a reference sequence may be shorter. This value is omitted if the 4435 * end of a reference sequence may be shorter. This value is omitted if the
4166 * bucket width is infinity (the default behaviour, with no range or 4436 * bucket width is infinity (the default behaviour, with no range or
4167 * `targetBucketWidth`). 4437 * `targetBucketWidth`).
4168 */ 4438 */
4169 core.String bucketWidth; 4439 core.String bucketWidth;
4170 /** 4440 /**
4171 * The coverage buckets. The list of buckets is sparse; a bucket with 0 4441 * The coverage buckets. The list of buckets is sparse; a bucket with 0
4172 * overlapping reads is not returned. A bucket never crosses more than one 4442 * overlapping reads is not returned. A bucket never crosses more than one
4173 * reference sequence. Each bucket has width `bucketWidth`, unless its end is 4443 * reference sequence. Each bucket has width `bucketWidth`, unless
4174 * the end of the reference sequence. 4444 * its end is the end of the reference sequence.
4175 */ 4445 */
4176 core.List<CoverageBucket> coverageBuckets; 4446 core.List<CoverageBucket> coverageBuckets;
4177 /** 4447 /**
4178 * The continuation token, which is used to page through large result sets. 4448 * The continuation token, which is used to page through large result sets.
4179 * Provide this value in a subsequent request to return the next page of 4449 * Provide this value in a subsequent request to return the next page of
4180 * results. This field will be empty if there aren't any additional results. 4450 * results. This field will be empty if there aren't any additional results.
4181 */ 4451 */
4182 core.String nextPageToken; 4452 core.String nextPageToken;
4183 4453
4184 ListCoverageBucketsResponse(); 4454 ListCoverageBucketsResponse();
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
4269 } 4539 }
4270 if (operations != null) { 4540 if (operations != null) {
4271 _json["operations"] = operations.map((value) => (value).toJson()).toList() ; 4541 _json["operations"] = operations.map((value) => (value).toJson()).toList() ;
4272 } 4542 }
4273 return _json; 4543 return _json;
4274 } 4544 }
4275 } 4545 }
4276 4546
4277 class MergeVariantsRequest { 4547 class MergeVariantsRequest {
4278 /** 4548 /**
4279 * A mapping between info field keys and the InfoMergeOperations to be 4549 * A mapping between info field keys and the InfoMergeOperations to
4280 * performed on them. 4550 * be performed on them.
4281 */ 4551 */
4282 core.Map<core.String, core.String> infoMergeConfig; 4552 core.Map<core.String, core.String> infoMergeConfig;
4283 /** The destination variant set. */ 4553 /** The destination variant set. */
4284 core.String variantSetId; 4554 core.String variantSetId;
4285 /** The variants to be merged with existing variants. */ 4555 /** The variants to be merged with existing variants. */
4286 core.List<Variant> variants; 4556 core.List<Variant> variants;
4287 4557
4288 MergeVariantsRequest(); 4558 MergeVariantsRequest();
4289 4559
4290 MergeVariantsRequest.fromJson(core.Map _json) { 4560 MergeVariantsRequest.fromJson(core.Map _json) {
(...skipping 22 matching lines...) Expand all
4313 return _json; 4583 return _json;
4314 } 4584 }
4315 } 4585 }
4316 4586
4317 /** 4587 /**
4318 * This resource represents a long-running operation that is the result of a 4588 * This resource represents a long-running operation that is the result of a
4319 * network API call. 4589 * network API call.
4320 */ 4590 */
4321 class Operation { 4591 class Operation {
4322 /** 4592 /**
4323 * If the value is `false`, it means the operation is still in progress. If 4593 * If the value is `false`, it means the operation is still in progress.
4324 * true, the operation is completed, and either `error` or `response` is 4594 * If true, the operation is completed, and either `error` or `response` is
4325 * available. 4595 * available.
4326 */ 4596 */
4327 core.bool done; 4597 core.bool done;
4328 /** The error result of the operation in case of failure or cancellation. */ 4598 /** The error result of the operation in case of failure or cancellation. */
4329 Status error; 4599 Status error;
4330 /** 4600 /**
4331 * An OperationMetadata object. This will always be returned with the 4601 * An OperationMetadata object. This will always be returned with the
4332 * Operation. 4602 * Operation.
4333 * 4603 *
4334 * The values for Object must be JSON objects. It can consist of `num`, 4604 * The values for Object must be JSON objects. It can consist of `num`,
4335 * `String`, `bool` and `null` as well as `Map` and `List` values. 4605 * `String`, `bool` and `null` as well as `Map` and `List` values.
4336 */ 4606 */
4337 core.Map<core.String, core.Object> metadata; 4607 core.Map<core.String, core.Object> metadata;
4338 /** 4608 /**
4339 * The server-assigned name, which is only unique within the same service that 4609 * The server-assigned name, which is only unique within the same service that
4340 * originally returns it. For example: 4610 * originally returns it. For example&#58;
4341 * `operations/CJHU7Oi_ChDrveSpBRjfuL-qzoWAgEw` 4611 * `operations/CJHU7Oi_ChDrveSpBRjfuL-qzoWAgEw`
4342 */ 4612 */
4343 core.String name; 4613 core.String name;
4344 /** 4614 /**
4345 * If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned. If 4615 * If importing ReadGroupSets, an ImportReadGroupSetsResponse is returned. If
4346 * importing Variants, an ImportVariantsResponse is returned. For exports, an 4616 * importing Variants, an ImportVariantsResponse is returned. For pipelines
4347 * empty response is returned. 4617 * and exports, an empty response is returned.
4348 * 4618 *
4349 * The values for Object must be JSON objects. It can consist of `num`, 4619 * The values for Object must be JSON objects. It can consist of `num`,
4350 * `String`, `bool` and `null` as well as `Map` and `List` values. 4620 * `String`, `bool` and `null` as well as `Map` and `List` values.
4351 */ 4621 */
4352 core.Map<core.String, core.Object> response; 4622 core.Map<core.String, core.Object> response;
4353 4623
4354 Operation(); 4624 Operation();
4355 4625
4356 Operation.fromJson(core.Map _json) { 4626 Operation.fromJson(core.Map _json) {
4357 if (_json.containsKey("done")) { 4627 if (_json.containsKey("done")) {
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
4439 * This field is deprecated. Use `labels` instead. Optionally provided by the 4709 * This field is deprecated. Use `labels` instead. Optionally provided by the
4440 * caller when submitting the request that creates the operation. 4710 * caller when submitting the request that creates the operation.
4441 */ 4711 */
4442 core.String clientId; 4712 core.String clientId;
4443 /** The time at which the job was submitted to the Genomics service. */ 4713 /** The time at which the job was submitted to the Genomics service. */
4444 core.String createTime; 4714 core.String createTime;
4445 /** The time at which the job stopped running. */ 4715 /** The time at which the job stopped running. */
4446 core.String endTime; 4716 core.String endTime;
4447 /** 4717 /**
4448 * Optional event messages that were generated during the job's execution. 4718 * Optional event messages that were generated during the job's execution.
4449 * This also contains any warnings that were generated during import or 4719 * This also contains any warnings that were generated during import
4450 * export. 4720 * or export.
4451 */ 4721 */
4452 core.List<OperationEvent> events; 4722 core.List<OperationEvent> events;
4453 /** 4723 /**
4454 * Optionally provided by the caller when submitting the request that creates 4724 * Optionally provided by the caller when submitting the request that creates
4455 * the operation. 4725 * the operation.
4456 */ 4726 */
4457 core.Map<core.String, core.String> labels; 4727 core.Map<core.String, core.String> labels;
4458 /** The Google Cloud Project in which the job is scoped. */ 4728 /** The Google Cloud Project in which the job is scoped. */
4459 core.String projectId; 4729 core.String projectId;
4460 /** 4730 /**
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
4535 _json["runtimeMetadata"] = runtimeMetadata; 4805 _json["runtimeMetadata"] = runtimeMetadata;
4536 } 4806 }
4537 if (startTime != null) { 4807 if (startTime != null) {
4538 _json["startTime"] = startTime; 4808 _json["startTime"] = startTime;
4539 } 4809 }
4540 return _json; 4810 return _json;
4541 } 4811 }
4542 } 4812 }
4543 4813
4544 /** 4814 /**
4545 * Defines an Identity and Access Management (IAM) policy. It is used to specify 4815 * Defines an Identity and Access Management (IAM) policy. It is used to
4546 * access control policies for Cloud Platform resources. A `Policy` consists of 4816 * specify access control policies for Cloud Platform resources.
4547 * a list of `bindings`. A `Binding` binds a list of `members` to a `role`, 4817 *
4548 * where the members can be user accounts, Google groups, Google domains, and 4818 *
4549 * service accounts. A `role` is a named list of permissions defined by IAM. 4819 * A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
4550 * **Example** { "bindings": [ { "role": "roles/owner", "members": [ 4820 * `members` to a `role`, where the members can be user accounts, Google groups,
4551 * "user:mike@example.com", "group:admins@example.com", "domain:google.com", 4821 * Google domains, and service accounts. A `role` is a named list of permissions
4552 * "serviceAccount:my-other-app@appspot.gserviceaccount.com", ] }, { "role": 4822 * defined by IAM.
4553 * "roles/viewer", "members": ["user:sean@example.com"] } ] } For a description 4823 *
4554 * of IAM and its features, see the [IAM developer's 4824 * **Example**
4555 * guide](https://cloud.google.com/iam). 4825 *
4826 * {
4827 * "bindings": [
4828 * {
4829 * "role": "roles/owner",
4830 * "members": [
4831 * "user:mike@example.com",
4832 * "group:admins@example.com",
4833 * "domain:google.com",
4834 * "serviceAccount:my-other-app@appspot.gserviceaccount.com",
4835 * ]
4836 * },
4837 * {
4838 * "role": "roles/viewer",
4839 * "members": ["user:sean@example.com"]
4840 * }
4841 * ]
4842 * }
4843 *
4844 * For a description of IAM and its features, see the
4845 * [IAM developer's guide](https://cloud.google.com/iam).
4556 */ 4846 */
4557 class Policy { 4847 class Policy {
4558 /** 4848 /**
4559 * Associates a list of `members` to a `role`. Multiple `bindings` must not be 4849 * Associates a list of `members` to a `role`.
4560 * specified for the same `role`. `bindings` with no members will result in an 4850 * Multiple `bindings` must not be specified for the same `role`.
4561 * error. 4851 * `bindings` with no members will result in an error.
4562 */ 4852 */
4563 core.List<Binding> bindings; 4853 core.List<Binding> bindings;
4564 /** 4854 /**
4565 * `etag` is used for optimistic concurrency control as a way to help prevent 4855 * `etag` is used for optimistic concurrency control as a way to help
4566 * simultaneous updates of a policy from overwriting each other. It is 4856 * prevent simultaneous updates of a policy from overwriting each other.
4567 * strongly suggested that systems make use of the `etag` in the 4857 * It is strongly suggested that systems make use of the `etag` in the
4568 * read-modify-write cycle to perform policy updates in order to avoid race 4858 * read-modify-write cycle to perform policy updates in order to avoid race
4569 * conditions: An `etag` is returned in the response to `getIamPolicy`, and 4859 * conditions: An `etag` is returned in the response to `getIamPolicy`, and
4570 * systems are expected to put that etag in the request to `setIamPolicy` to 4860 * systems are expected to put that etag in the request to `setIamPolicy` to
4571 * ensure that their change will be applied to the same version of the policy. 4861 * ensure that their change will be applied to the same version of the policy.
4862 *
4572 * If no `etag` is provided in the call to `setIamPolicy`, then the existing 4863 * If no `etag` is provided in the call to `setIamPolicy`, then the existing
4573 * policy is overwritten blindly. 4864 * policy is overwritten blindly.
4574 */ 4865 */
4575 core.String etag; 4866 core.String etag;
4576 core.List<core.int> get etagAsBytes { 4867 core.List<core.int> get etagAsBytes {
4577 return convert.BASE64.decode(etag); 4868 return convert.BASE64.decode(etag);
4578 } 4869 }
4579 4870
4580 void set etagAsBytes(core.List<core.int> _bytes) { 4871 void set etagAsBytes(core.List<core.int> _bytes) {
4581 etag = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "- "); 4872 etag = convert.BASE64.encode(_bytes).replaceAll("/", "_").replaceAll("+", "- ");
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
4716 _json["version"] = version; 5007 _json["version"] = version;
4717 } 5008 }
4718 return _json; 5009 return _json;
4719 } 5010 }
4720 } 5011 }
4721 5012
4722 /** A 0-based half-open genomic coordinate range for search requests. */ 5013 /** A 0-based half-open genomic coordinate range for search requests. */
4723 class Range { 5014 class Range {
4724 /** The end position of the range on the reference, 0-based exclusive. */ 5015 /** The end position of the range on the reference, 0-based exclusive. */
4725 core.String end; 5016 core.String end;
4726 /** The reference sequence name, for example `chr1`, `1`, or `chrX`. */ 5017 /**
5018 * The reference sequence name, for example `chr1`,
5019 * `1`, or `chrX`.
5020 */
4727 core.String referenceName; 5021 core.String referenceName;
4728 /** The start position of the range on the reference, 0-based inclusive. */ 5022 /** The start position of the range on the reference, 0-based inclusive. */
4729 core.String start; 5023 core.String start;
4730 5024
4731 Range(); 5025 Range();
4732 5026
4733 Range.fromJson(core.Map _json) { 5027 Range.fromJson(core.Map _json) {
4734 if (_json.containsKey("end")) { 5028 if (_json.containsKey("end")) {
4735 end = _json["end"]; 5029 end = _json["end"];
4736 } 5030 }
(...skipping 15 matching lines...) Expand all
4752 } 5046 }
4753 if (start != null) { 5047 if (start != null) {
4754 _json["start"] = start; 5048 _json["start"] = start;
4755 } 5049 }
4756 return _json; 5050 return _json;
4757 } 5051 }
4758 } 5052 }
4759 5053
4760 /** 5054 /**
4761 * A read alignment describes a linear alignment of a string of DNA to a 5055 * A read alignment describes a linear alignment of a string of DNA to a
4762 * reference sequence, in addition to metadata about the fragment (the molecule 5056 * reference sequence, in addition to metadata
4763 * of DNA sequenced) and the read (the bases which were read by the sequencer). 5057 * about the fragment (the molecule of DNA sequenced) and the read (the bases
4764 * A read is equivalent to a line in a SAM file. A read belongs to exactly one 5058 * which were read by the sequencer). A read is equivalent to a line in a SAM
4765 * read group and exactly one read group set. For more genomics resource 5059 * file. A read belongs to exactly one read group and exactly one
4766 * definitions, see [Fundamentals of Google 5060 * read group set.
5061 *
5062 * For more genomics resource definitions, see [Fundamentals of Google
4767 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) 5063 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
4768 * ### Reverse-stranded reads Mapped reads (reads having a non-null `alignment`) 5064 *
4769 * can be aligned to either the forward or the reverse strand of their 5065 * ### Reverse-stranded reads
4770 * associated reference. Strandedness of a mapped read is encoded by 5066 *
4771 * `alignment.position.reverseStrand`. If we consider the reference to be a 5067 * Mapped reads (reads having a non-null `alignment`) can be aligned to either
4772 * forward-stranded coordinate space of `[0, reference.length)` with `0` as the 5068 * the forward or the reverse strand of their associated reference. Strandedness
4773 * left-most position and `reference.length` as the right-most position, reads 5069 * of a mapped read is encoded by `alignment.position.reverseStrand`.
4774 * are always aligned left to right. That is, `alignment.position.position` 5070 *
4775 * always refers to the left-most reference coordinate and `alignment.cigar` 5071 * If we consider the reference to be a forward-stranded coordinate space of
4776 * describes the alignment of this read to the reference from left to right. All 5072 * `[0, reference.length)` with `0` as the left-most position and
4777 * per-base fields such as `alignedSequence` and `alignedQuality` share this 5073 * `reference.length` as the right-most position, reads are always aligned left
4778 * same left-to-right orientation; this is true of reads which are aligned to 5074 * to right. That is, `alignment.position.position` always refers to the
4779 * either strand. For reverse-stranded reads, this means that `alignedSequence` 5075 * left-most reference coordinate and `alignment.cigar` describes the alignment
4780 * is the reverse complement of the bases that were originally reported by the 5076 * of this read to the reference from left to right. All per-base fields such as
4781 * sequencing machine. ### Generating a reference-aligned sequence string When 5077 * `alignedSequence` and `alignedQuality` share this same left-to-right
4782 * interacting with mapped reads, it's often useful to produce a string 5078 * orientation; this is true of reads which are aligned to either strand. For
5079 * reverse-stranded reads, this means that `alignedSequence` is the reverse
5080 * complement of the bases that were originally reported by the sequencing
5081 * machine.
5082 *
5083 * ### Generating a reference-aligned sequence string
5084 *
5085 * When interacting with mapped reads, it's often useful to produce a string
4783 * representing the local alignment of the read to reference. The following 5086 * representing the local alignment of the read to reference. The following
4784 * pseudocode demonstrates one way of doing this: out = "" offset = 0 for c in 5087 * pseudocode demonstrates one way of doing this:
4785 * read.alignment.cigar { switch c.operation { case "ALIGNMENT_MATCH", 5088 *
4786 * "SEQUENCE_MATCH", "SEQUENCE_MISMATCH": out += 5089 * out = ""
4787 * read.alignedSequence[offset:offset+c.operationLength] offset += 5090 * offset = 0
4788 * c.operationLength break case "CLIP_SOFT", "INSERT": offset += 5091 * for c in read.alignment.cigar {
4789 * c.operationLength break case "PAD": out += repeat("*", c.operationLength) 5092 * switch c.operation {
4790 * break case "DELETE": out += repeat("-", c.operationLength) break case "SKIP": 5093 * case "ALIGNMENT_MATCH", "SEQUENCE_MATCH", "SEQUENCE_MISMATCH":
4791 * out += repeat(" ", c.operationLength) break case "CLIP_HARD": break } } 5094 * out += read.alignedSequence[offset:offset+c.operationLength]
4792 * return out ### Converting to SAM's CIGAR string The following pseudocode 5095 * offset += c.operationLength
4793 * generates a SAM CIGAR string from the `cigar` field. Note that this is a 5096 * break
4794 * lossy conversion (`cigar.referenceSequence` is lost). cigarMap = { 5097 * case "CLIP_SOFT", "INSERT":
4795 * "ALIGNMENT_MATCH": "M", "INSERT": "I", "DELETE": "D", "SKIP": "N", 5098 * offset += c.operationLength
4796 * "CLIP_SOFT": "S", "CLIP_HARD": "H", "PAD": "P", "SEQUENCE_MATCH": "=", 5099 * break
4797 * "SEQUENCE_MISMATCH": "X", } cigarStr = "" for c in read.alignment.cigar { 5100 * case "PAD":
4798 * cigarStr += c.operationLength + cigarMap[c.operation] } return cigarStr 5101 * out += repeat("*", c.operationLength)
5102 * break
5103 * case "DELETE":
5104 * out += repeat("-", c.operationLength)
5105 * break
5106 * case "SKIP":
5107 * out += repeat(" ", c.operationLength)
5108 * break
5109 * case "CLIP_HARD":
5110 * break
5111 * }
5112 * }
5113 * return out
5114 *
5115 * ### Converting to SAM's CIGAR string
5116 *
5117 * The following pseudocode generates a SAM CIGAR string from the
5118 * `cigar` field. Note that this is a lossy conversion
5119 * (`cigar.referenceSequence` is lost).
5120 *
5121 * cigarMap = {
5122 * "ALIGNMENT_MATCH": "M",
5123 * "INSERT": "I",
5124 * "DELETE": "D",
5125 * "SKIP": "N",
5126 * "CLIP_SOFT": "S",
5127 * "CLIP_HARD": "H",
5128 * "PAD": "P",
5129 * "SEQUENCE_MATCH": "=",
5130 * "SEQUENCE_MISMATCH": "X",
5131 * }
5132 * cigarStr = ""
5133 * for c in read.alignment.cigar {
5134 * cigarStr += c.operationLength + cigarMap[c.operation]
5135 * }
5136 * return cigarStr
4799 */ 5137 */
4800 class Read { 5138 class Read {
4801 /** 5139 /**
4802 * The quality of the read sequence contained in this alignment record 5140 * The quality of the read sequence contained in this alignment record
4803 * (equivalent to QUAL in SAM). `alignedSequence` and `alignedQuality` may be 5141 * (equivalent to QUAL in SAM).
4804 * shorter than the full read sequence and quality. This will occur if the
4805 * alignment is part of a chimeric alignment, or if the read was trimmed. When
4806 * this occurs, the CIGAR for this read will begin/end with a hard clip
4807 * operator that will indicate the length of the excised sequence.
4808 */
4809 core.List<core.int> alignedQuality;
4810 /**
4811 * The bases of the read sequence contained in this alignment record,
4812 * **without CIGAR operations applied** (equivalent to SEQ in SAM).
4813 * `alignedSequence` and `alignedQuality` may be shorter than the full read 5142 * `alignedSequence` and `alignedQuality` may be shorter than the full read
4814 * sequence and quality. This will occur if the alignment is part of a 5143 * sequence and quality. This will occur if the alignment is part of a
4815 * chimeric alignment, or if the read was trimmed. When this occurs, the CIGAR 5144 * chimeric alignment, or if the read was trimmed. When this occurs, the CIGAR
4816 * for this read will begin/end with a hard clip operator that will indicate 5145 * for this read will begin/end with a hard clip operator that will indicate
4817 * the length of the excised sequence. 5146 * the length of the excised sequence.
4818 */ 5147 */
5148 core.List<core.int> alignedQuality;
5149 /**
5150 * The bases of the read sequence contained in this alignment record,
5151 * **without CIGAR operations applied** (equivalent to SEQ in SAM).
5152 * `alignedSequence` and `alignedQuality` may be
5153 * shorter than the full read sequence and quality. This will occur if the
5154 * alignment is part of a chimeric alignment, or if the read was trimmed. When
5155 * this occurs, the CIGAR for this read will begin/end with a hard clip
5156 * operator that will indicate the length of the excised sequence.
5157 */
4819 core.String alignedSequence; 5158 core.String alignedSequence;
4820 /** 5159 /**
4821 * The linear alignment for this alignment record. This field is null for 5160 * The linear alignment for this alignment record. This field is null for
4822 * unmapped reads. 5161 * unmapped reads.
4823 */ 5162 */
4824 LinearAlignment alignment; 5163 LinearAlignment alignment;
4825 /** The fragment is a PCR or optical duplicate (SAM flag 0x400). */ 5164 /** The fragment is a PCR or optical duplicate (SAM flag 0x400). */
4826 core.bool duplicateFragment; 5165 core.bool duplicateFragment;
4827 /** 5166 /**
4828 * Whether this read did not pass filters, such as platform or vendor quality 5167 * Whether this read did not pass filters, such as platform or vendor quality
4829 * controls (SAM flag 0x200). 5168 * controls (SAM flag 0x200).
4830 */ 5169 */
4831 core.bool failedVendorQualityChecks; 5170 core.bool failedVendorQualityChecks;
4832 /** The observed length of the fragment, equivalent to TLEN in SAM. */ 5171 /** The observed length of the fragment, equivalent to TLEN in SAM. */
4833 core.int fragmentLength; 5172 core.int fragmentLength;
4834 /** The fragment name. Equivalent to QNAME (query template name) in SAM. */ 5173 /** The fragment name. Equivalent to QNAME (query template name) in SAM. */
4835 core.String fragmentName; 5174 core.String fragmentName;
4836 /** 5175 /**
4837 * The server-generated read ID, unique across all reads. This is different 5176 * The server-generated read ID, unique across all reads. This is different
4838 * from the `fragmentName`. 5177 * from the `fragmentName`.
4839 */ 5178 */
4840 core.String id; 5179 core.String id;
4841 /** 5180 /**
4842 * A map of additional read alignment information. This must be of the form 5181 * A map of additional read alignment information. This must be of the form
4843 * map (string key mapping to a list of string values). 5182 * map<string, string[]> (string key mapping to a list of string values).
4844 * 5183 *
4845 * The values for Object must be JSON objects. It can consist of `num`, 5184 * The values for Object must be JSON objects. It can consist of `num`,
4846 * `String`, `bool` and `null` as well as `Map` and `List` values. 5185 * `String`, `bool` and `null` as well as `Map` and `List` values.
4847 */ 5186 */
4848 core.Map<core.String, core.List<core.Object>> info; 5187 core.Map<core.String, core.List<core.Object>> info;
4849 /** 5188 /**
4850 * The mapping of the primary alignment of the `(readNumber+1)%numberReads` 5189 * The mapping of the primary alignment of the
4851 * read in the fragment. It replaces mate position and mate strand in SAM. 5190 * `(readNumber+1)%numberReads` read in the fragment. It replaces
5191 * mate position and mate strand in SAM.
4852 */ 5192 */
4853 Position nextMatePosition; 5193 Position nextMatePosition;
4854 /** The number of reads in the fragment (extension to SAM flag 0x1). */ 5194 /** The number of reads in the fragment (extension to SAM flag 0x1). */
4855 core.int numberReads; 5195 core.int numberReads;
4856 /** 5196 /**
4857 * The orientation and the distance between reads from the fragment are 5197 * The orientation and the distance between reads from the fragment are
4858 * consistent with the sequencing protocol (SAM flag 0x2). 5198 * consistent with the sequencing protocol (SAM flag 0x2).
4859 */ 5199 */
4860 core.bool properPlacement; 5200 core.bool properPlacement;
4861 /** 5201 /**
4862 * The ID of the read group this read belongs to. A read belongs to exactly 5202 * The ID of the read group this read belongs to. A read belongs to exactly
4863 * one read group. This is a server-generated ID which is distinct from SAM's 5203 * one read group. This is a server-generated ID which is distinct from SAM's
4864 * RG tag (for that value, see ReadGroup.name). 5204 * RG tag (for that value, see
5205 * ReadGroup.name).
4865 */ 5206 */
4866 core.String readGroupId; 5207 core.String readGroupId;
4867 /** 5208 /**
4868 * The ID of the read group set this read belongs to. A read belongs to 5209 * The ID of the read group set this read belongs to. A read belongs to
4869 * exactly one read group set. 5210 * exactly one read group set.
4870 */ 5211 */
4871 core.String readGroupSetId; 5212 core.String readGroupSetId;
4872 /** 5213 /**
4873 * The read number in sequencing. 0-based and less than numberReads. This 5214 * The read number in sequencing. 0-based and less than numberReads. This
4874 * field replaces SAM flag 0x40 and 0x80. 5215 * field replaces SAM flag 0x40 and 0x80.
4875 */ 5216 */
4876 core.int readNumber; 5217 core.int readNumber;
4877 /** 5218 /**
4878 * Whether this alignment is secondary. Equivalent to SAM flag 0x100. A 5219 * Whether this alignment is secondary. Equivalent to SAM flag 0x100.
4879 * secondary alignment represents an alternative to the primary alignment for 5220 * A secondary alignment represents an alternative to the primary alignment
4880 * this read. Aligners may return secondary alignments if a read can map 5221 * for this read. Aligners may return secondary alignments if a read can map
4881 * ambiguously to multiple coordinates in the genome. By convention, each read 5222 * ambiguously to multiple coordinates in the genome. By convention, each read
4882 * has one and only one alignment where both `secondaryAlignment` and 5223 * has one and only one alignment where both `secondaryAlignment`
4883 * `supplementaryAlignment` are false. 5224 * and `supplementaryAlignment` are false.
4884 */ 5225 */
4885 core.bool secondaryAlignment; 5226 core.bool secondaryAlignment;
4886 /** 5227 /**
4887 * Whether this alignment is supplementary. Equivalent to SAM flag 0x800. 5228 * Whether this alignment is supplementary. Equivalent to SAM flag 0x800.
4888 * Supplementary alignments are used in the representation of a chimeric 5229 * Supplementary alignments are used in the representation of a chimeric
4889 * alignment. In a chimeric alignment, a read is split into multiple linear 5230 * alignment. In a chimeric alignment, a read is split into multiple
4890 * alignments that map to different reference contigs. The first linear 5231 * linear alignments that map to different reference contigs. The first
4891 * alignment in the read will be designated as the representative alignment; 5232 * linear alignment in the read will be designated as the representative
4892 * the remaining linear alignments will be designated as supplementary 5233 * alignment; the remaining linear alignments will be designated as
4893 * alignments. These alignments may have different mapping quality scores. In 5234 * supplementary alignments. These alignments may have different mapping
4894 * each linear alignment in a chimeric alignment, the read will be hard 5235 * quality scores. In each linear alignment in a chimeric alignment, the read
4895 * clipped. The `alignedSequence` and `alignedQuality` fields in the alignment 5236 * will be hard clipped. The `alignedSequence` and
4896 * record will only represent the bases for its respective linear alignment. 5237 * `alignedQuality` fields in the alignment record will only
5238 * represent the bases for its respective linear alignment.
4897 */ 5239 */
4898 core.bool supplementaryAlignment; 5240 core.bool supplementaryAlignment;
4899 5241
4900 Read(); 5242 Read();
4901 5243
4902 Read.fromJson(core.Map _json) { 5244 Read.fromJson(core.Map _json) {
4903 if (_json.containsKey("alignedQuality")) { 5245 if (_json.containsKey("alignedQuality")) {
4904 alignedQuality = _json["alignedQuality"]; 5246 alignedQuality = _json["alignedQuality"];
4905 } 5247 }
4906 if (_json.containsKey("alignedSequence")) { 5248 if (_json.containsKey("alignedSequence")) {
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
5014 * A read group is all the data that's processed the same way by the sequencer. 5356 * A read group is all the data that's processed the same way by the sequencer.
5015 */ 5357 */
5016 class ReadGroup { 5358 class ReadGroup {
5017 /** The dataset to which this read group belongs. */ 5359 /** The dataset to which this read group belongs. */
5018 core.String datasetId; 5360 core.String datasetId;
5019 /** A free-form text description of this read group. */ 5361 /** A free-form text description of this read group. */
5020 core.String description; 5362 core.String description;
5021 /** The experiment used to generate this read group. */ 5363 /** The experiment used to generate this read group. */
5022 Experiment experiment; 5364 Experiment experiment;
5023 /** 5365 /**
5024 * The server-generated read group ID, unique for all read groups. Note: This 5366 * The server-generated read group ID, unique for all read groups.
5025 * is different than the @RG ID field in the SAM spec. For that value, see 5367 * Note: This is different than the @RG ID field in the SAM spec. For that
5026 * name. 5368 * value, see name.
5027 */ 5369 */
5028 core.String id; 5370 core.String id;
5029 /** 5371 /**
5030 * A map of additional read group information. This must be of the form map 5372 * A map of additional read group information. This must be of the form
5031 * (string key mapping to a list of string values). 5373 * map<string, string[]> (string key mapping to a list of string values).
5032 * 5374 *
5033 * The values for Object must be JSON objects. It can consist of `num`, 5375 * The values for Object must be JSON objects. It can consist of `num`,
5034 * `String`, `bool` and `null` as well as `Map` and `List` values. 5376 * `String`, `bool` and `null` as well as `Map` and `List` values.
5035 */ 5377 */
5036 core.Map<core.String, core.List<core.Object>> info; 5378 core.Map<core.String, core.List<core.Object>> info;
5037 /** 5379 /**
5038 * The read group name. This corresponds to the @RG ID field in the SAM spec. 5380 * The read group name. This corresponds to the @RG ID field in the SAM spec.
5039 */ 5381 */
5040 core.String name; 5382 core.String name;
5041 /** 5383 /**
5042 * The predicted insert size of this read group. The insert size is the length 5384 * The predicted insert size of this read group. The insert size is the length
5043 * the sequenced DNA fragment from end-to-end, not including the adapters. 5385 * the sequenced DNA fragment from end-to-end, not including the adapters.
5044 */ 5386 */
5045 core.int predictedInsertSize; 5387 core.int predictedInsertSize;
5046 /** 5388 /**
5047 * The programs used to generate this read group. Programs are always 5389 * The programs used to generate this read group. Programs are always
5048 * identical for all read groups within a read group set. For this reason, 5390 * identical for all read groups within a read group set. For this reason,
5049 * only the first read group in a returned set will have this field populated. 5391 * only the first read group in a returned set will have this field
5392 * populated.
5050 */ 5393 */
5051 core.List<Program> programs; 5394 core.List<Program> programs;
5052 /** The reference set the reads in this read group are aligned to. */ 5395 /** The reference set the reads in this read group are aligned to. */
5053 core.String referenceSetId; 5396 core.String referenceSetId;
5054 /** A client-supplied sample identifier for the reads in this read group. */ 5397 /** A client-supplied sample identifier for the reads in this read group. */
5055 core.String sampleId; 5398 core.String sampleId;
5056 5399
5057 ReadGroup(); 5400 ReadGroup();
5058 5401
5059 ReadGroup.fromJson(core.Map _json) { 5402 ReadGroup.fromJson(core.Map _json) {
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
5122 _json["sampleId"] = sampleId; 5465 _json["sampleId"] = sampleId;
5123 } 5466 }
5124 return _json; 5467 return _json;
5125 } 5468 }
5126 } 5469 }
5127 5470
5128 /** 5471 /**
5129 * A read group set is a logical collection of read groups, which are 5472 * A read group set is a logical collection of read groups, which are
5130 * collections of reads produced by a sequencer. A read group set typically 5473 * collections of reads produced by a sequencer. A read group set typically
5131 * models reads corresponding to one sample, sequenced one way, and aligned one 5474 * models reads corresponding to one sample, sequenced one way, and aligned one
5132 * way. * A read group set belongs to one dataset. * A read group belongs to one 5475 * way.
5133 * read group set. * A read belongs to one read group. For more genomics 5476 *
5134 * resource definitions, see [Fundamentals of Google 5477 * * A read group set belongs to one dataset.
5478 * * A read group belongs to one read group set.
5479 * * A read belongs to one read group.
5480 *
5481 * For more genomics resource definitions, see [Fundamentals of Google
5135 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) 5482 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
5136 */ 5483 */
5137 class ReadGroupSet { 5484 class ReadGroupSet {
5138 /** The dataset to which this read group set belongs. */ 5485 /** The dataset to which this read group set belongs. */
5139 core.String datasetId; 5486 core.String datasetId;
5140 /** 5487 /**
5141 * The filename of the original source file for this read group set, if any. 5488 * The filename of the original source file for this read group set, if any.
5142 */ 5489 */
5143 core.String filename; 5490 core.String filename;
5144 /** 5491 /**
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
5217 _json["referenceSetId"] = referenceSetId; 5564 _json["referenceSetId"] = referenceSetId;
5218 } 5565 }
5219 return _json; 5566 return _json;
5220 } 5567 }
5221 } 5568 }
5222 5569
5223 /** 5570 /**
5224 * A reference is a canonical assembled DNA sequence, intended to act as a 5571 * A reference is a canonical assembled DNA sequence, intended to act as a
5225 * reference coordinate space for other genomic annotations. A single reference 5572 * reference coordinate space for other genomic annotations. A single reference
5226 * might represent the human chromosome 1 or mitochandrial DNA, for instance. A 5573 * might represent the human chromosome 1 or mitochandrial DNA, for instance. A
5227 * reference belongs to one or more reference sets. For more genomics resource 5574 * reference belongs to one or more reference sets.
5228 * definitions, see [Fundamentals of Google 5575 *
5576 * For more genomics resource definitions, see [Fundamentals of Google
5229 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) 5577 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
5230 */ 5578 */
5231 class Reference { 5579 class Reference {
5232 /** The server-generated reference ID, unique across all references. */ 5580 /** The server-generated reference ID, unique across all references. */
5233 core.String id; 5581 core.String id;
5234 /** The length of this reference's sequence. */ 5582 /** The length of this reference's sequence. */
5235 core.String length; 5583 core.String length;
5236 /** 5584 /**
5237 * MD5 of the upper-case sequence excluding all whitespace characters (this is 5585 * MD5 of the upper-case sequence excluding all whitespace characters (this
5238 * equivalent to SQ:M5 in SAM). This value is represented in lower case 5586 * is equivalent to SQ:M5 in SAM). This value is represented in lower case
5239 * hexadecimal format. 5587 * hexadecimal format.
5240 */ 5588 */
5241 core.String md5checksum; 5589 core.String md5checksum;
5242 /** The name of this reference, for example `22`. */ 5590 /** The name of this reference, for example `22`. */
5243 core.String name; 5591 core.String name;
5244 /** 5592 /**
5245 * ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human. 5593 * ID from http://www.ncbi.nlm.nih.gov/taxonomy. For example, 9606 for human.
5246 */ 5594 */
5247 core.int ncbiTaxonId; 5595 core.int ncbiTaxonId;
5248 /** 5596 /**
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
5303 _json["sourceAccessions"] = sourceAccessions; 5651 _json["sourceAccessions"] = sourceAccessions;
5304 } 5652 }
5305 if (sourceUri != null) { 5653 if (sourceUri != null) {
5306 _json["sourceUri"] = sourceUri; 5654 _json["sourceUri"] = sourceUri;
5307 } 5655 }
5308 return _json; 5656 return _json;
5309 } 5657 }
5310 } 5658 }
5311 5659
5312 /** 5660 /**
5313 * ReferenceBound records an upper bound for the starting coordinate of variants 5661 * ReferenceBound records an upper bound for the starting coordinate of
5314 * in a particular reference. 5662 * variants in a particular reference.
5315 */ 5663 */
5316 class ReferenceBound { 5664 class ReferenceBound {
5317 /** The name of the reference associated with this reference bound. */ 5665 /** The name of the reference associated with this reference bound. */
5318 core.String referenceName; 5666 core.String referenceName;
5319 /** 5667 /**
5320 * An upper bound (inclusive) on the starting coordinate of any variant in the 5668 * An upper bound (inclusive) on the starting coordinate of any
5321 * reference sequence. 5669 * variant in the reference sequence.
5322 */ 5670 */
5323 core.String upperBound; 5671 core.String upperBound;
5324 5672
5325 ReferenceBound(); 5673 ReferenceBound();
5326 5674
5327 ReferenceBound.fromJson(core.Map _json) { 5675 ReferenceBound.fromJson(core.Map _json) {
5328 if (_json.containsKey("referenceName")) { 5676 if (_json.containsKey("referenceName")) {
5329 referenceName = _json["referenceName"]; 5677 referenceName = _json["referenceName"];
5330 } 5678 }
5331 if (_json.containsKey("upperBound")) { 5679 if (_json.containsKey("upperBound")) {
5332 upperBound = _json["upperBound"]; 5680 upperBound = _json["upperBound"];
5333 } 5681 }
5334 } 5682 }
5335 5683
5336 core.Map toJson() { 5684 core.Map toJson() {
5337 var _json = new core.Map(); 5685 var _json = new core.Map();
5338 if (referenceName != null) { 5686 if (referenceName != null) {
5339 _json["referenceName"] = referenceName; 5687 _json["referenceName"] = referenceName;
5340 } 5688 }
5341 if (upperBound != null) { 5689 if (upperBound != null) {
5342 _json["upperBound"] = upperBound; 5690 _json["upperBound"] = upperBound;
5343 } 5691 }
5344 return _json; 5692 return _json;
5345 } 5693 }
5346 } 5694 }
5347 5695
5348 /** 5696 /**
5349 * A reference set is a set of references which typically comprise a reference 5697 * A reference set is a set of references which typically comprise a reference
5350 * assembly for a species, such as `GRCh38` which is representative of the human 5698 * assembly for a species, such as `GRCh38` which is representative
5351 * genome. A reference set defines a common coordinate space for comparing 5699 * of the human genome. A reference set defines a common coordinate space for
5352 * reference-aligned experimental data. A reference set contains 1 or more 5700 * comparing reference-aligned experimental data. A reference set contains 1 or
5353 * references. For more genomics resource definitions, see [Fundamentals of 5701 * more references.
5354 * Google 5702 *
5703 * For more genomics resource definitions, see [Fundamentals of Google
5355 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) 5704 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
5356 */ 5705 */
5357 class ReferenceSet { 5706 class ReferenceSet {
5358 /** Public id of this reference set, such as `GRCh37`. */ 5707 /** Public id of this reference set, such as `GRCh37`. */
5359 core.String assemblyId; 5708 core.String assemblyId;
5360 /** Free text description of this reference set. */ 5709 /** Free text description of this reference set. */
5361 core.String description; 5710 core.String description;
5362 /** 5711 /**
5363 * The server-generated reference set ID, unique across all reference sets. 5712 * The server-generated reference set ID, unique across all reference sets.
5364 */ 5713 */
5365 core.String id; 5714 core.String id;
5366 /** 5715 /**
5367 * Order-independent MD5 checksum which identifies this reference set. The 5716 * Order-independent MD5 checksum which identifies this reference set. The
5368 * checksum is computed by sorting all lower case hexidecimal string 5717 * checksum is computed by sorting all lower case hexidecimal string
5369 * `reference.md5checksum` (for all reference in this set) in ascending 5718 * `reference.md5checksum` (for all reference in this set) in
5370 * lexicographic order, concatenating, and taking the MD5 of that value. The 5719 * ascending lexicographic order, concatenating, and taking the MD5 of that
5371 * resulting value is represented in lower case hexadecimal format. 5720 * value. The resulting value is represented in lower case hexadecimal format.
5372 */ 5721 */
5373 core.String md5checksum; 5722 core.String md5checksum;
5374 /** 5723 /**
5375 * ID from http://www.ncbi.nlm.nih.gov/taxonomy (for example, 9606 for human) 5724 * ID from http://www.ncbi.nlm.nih.gov/taxonomy (for example, 9606 for human)
5376 * indicating the species which this reference set is intended to model. Note 5725 * indicating the species which this reference set is intended to model. Note
5377 * that contained references may specify a different `ncbiTaxonId`, as 5726 * that contained references may specify a different `ncbiTaxonId`, as
5378 * assemblies may contain reference sequences which do not belong to the 5727 * assemblies may contain reference sequences which do not belong to the
5379 * modeled species, for example EBV in a human reference genome. 5728 * modeled species, for example EBV in a human reference genome.
5380 */ 5729 */
5381 core.int ncbiTaxonId; 5730 core.int ncbiTaxonId;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
5445 _json["sourceAccessions"] = sourceAccessions; 5794 _json["sourceAccessions"] = sourceAccessions;
5446 } 5795 }
5447 if (sourceUri != null) { 5796 if (sourceUri != null) {
5448 _json["sourceUri"] = sourceUri; 5797 _json["sourceUri"] = sourceUri;
5449 } 5798 }
5450 return _json; 5799 return _json;
5451 } 5800 }
5452 } 5801 }
5453 5802
5454 /** 5803 /**
5455 * Runtime metadata that will be populated in the runtimeMetadata field of the 5804 * Runtime metadata that will be populated in the
5456 * Operation associated with a RunPipeline execution. 5805 * runtimeMetadata
5806 * field of the Operation associated with a RunPipeline execution.
5457 */ 5807 */
5458 class RuntimeMetadata { 5808 class RuntimeMetadata {
5459 /** Execution information specific to Google Compute Engine. */ 5809 /** Execution information specific to Google Compute Engine. */
5460 ComputeEngine computeEngine; 5810 ComputeEngine computeEngine;
5461 5811
5462 RuntimeMetadata(); 5812 RuntimeMetadata();
5463 5813
5464 RuntimeMetadata.fromJson(core.Map _json) { 5814 RuntimeMetadata.fromJson(core.Map _json) {
5465 if (_json.containsKey("computeEngine")) { 5815 if (_json.containsKey("computeEngine")) {
5466 computeEngine = new ComputeEngine.fromJson(_json["computeEngine"]); 5816 computeEngine = new ComputeEngine.fromJson(_json["computeEngine"]);
(...skipping 19 matching lines...) Expand all
5486 * Only return annotations sets for which a substring of the name matches this 5836 * Only return annotations sets for which a substring of the name matches this
5487 * string (case insensitive). 5837 * string (case insensitive).
5488 */ 5838 */
5489 core.String name; 5839 core.String name;
5490 /** 5840 /**
5491 * The maximum number of results to return in a single page. If unspecified, 5841 * The maximum number of results to return in a single page. If unspecified,
5492 * defaults to 128. The maximum value is 1024. 5842 * defaults to 128. The maximum value is 1024.
5493 */ 5843 */
5494 core.int pageSize; 5844 core.int pageSize;
5495 /** 5845 /**
5496 * The continuation token, which is used to page through large result sets. To 5846 * The continuation token, which is used to page through large result sets.
5497 * get the next page of results, set this parameter to the value of 5847 * To get the next page of results, set this parameter to the value of
5498 * `nextPageToken` from the previous response. 5848 * `nextPageToken` from the previous response.
5499 */ 5849 */
5500 core.String pageToken; 5850 core.String pageToken;
5501 /** 5851 /**
5502 * If specified, only annotation sets associated with the given reference set 5852 * If specified, only annotation sets associated with the given reference set
5503 * are returned. 5853 * are returned.
5504 */ 5854 */
5505 core.String referenceSetId; 5855 core.String referenceSetId;
5506 /** 5856 /**
5507 * If specified, only annotation sets that have any of these types are 5857 * If specified, only annotation sets that have any of these types are
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
5584 } 5934 }
5585 if (nextPageToken != null) { 5935 if (nextPageToken != null) {
5586 _json["nextPageToken"] = nextPageToken; 5936 _json["nextPageToken"] = nextPageToken;
5587 } 5937 }
5588 return _json; 5938 return _json;
5589 } 5939 }
5590 } 5940 }
5591 5941
5592 class SearchAnnotationsRequest { 5942 class SearchAnnotationsRequest {
5593 /** 5943 /**
5594 * Required. The annotation sets to search within. The caller must have `READ` 5944 * Required. The annotation sets to search within. The caller must have
5595 * access to these annotation sets. All queried annotation sets must have the 5945 * `READ` access to these annotation sets.
5596 * same type. 5946 * All queried annotation sets must have the same type.
5597 */ 5947 */
5598 core.List<core.String> annotationSetIds; 5948 core.List<core.String> annotationSetIds;
5599 /** 5949 /**
5600 * The end position of the range on the reference, 0-based exclusive. If 5950 * The end position of the range on the reference, 0-based exclusive. If
5601 * referenceId or referenceName must be specified, Defaults to the length of 5951 * referenceId or
5602 * the reference. 5952 * referenceName
5953 * must be specified, Defaults to the length of the reference.
5603 */ 5954 */
5604 core.String end; 5955 core.String end;
5605 /** 5956 /**
5606 * The maximum number of results to return in a single page. If unspecified, 5957 * The maximum number of results to return in a single page. If unspecified,
5607 * defaults to 256. The maximum value is 2048. 5958 * defaults to 256. The maximum value is 2048.
5608 */ 5959 */
5609 core.int pageSize; 5960 core.int pageSize;
5610 /** 5961 /**
5611 * The continuation token, which is used to page through large result sets. To 5962 * The continuation token, which is used to page through large result sets.
5612 * get the next page of results, set this parameter to the value of 5963 * To get the next page of results, set this parameter to the value of
5613 * `nextPageToken` from the previous response. 5964 * `nextPageToken` from the previous response.
5614 */ 5965 */
5615 core.String pageToken; 5966 core.String pageToken;
5616 /** The ID of the reference to query. */ 5967 /** The ID of the reference to query. */
5617 core.String referenceId; 5968 core.String referenceId;
5618 /** 5969 /**
5619 * The name of the reference to query, within the reference set associated 5970 * The name of the reference to query, within the reference set associated
5620 * with this query. 5971 * with this query.
5621 */ 5972 */
5622 core.String referenceName; 5973 core.String referenceName;
5623 /** 5974 /**
5624 * The start position of the range on the reference, 0-based inclusive. If 5975 * The start position of the range on the reference, 0-based inclusive. If
5625 * specified, referenceId or referenceName must be specified. Defaults to 0. 5976 * specified,
5977 * referenceId or
5978 * referenceName
5979 * must be specified. Defaults to 0.
5626 */ 5980 */
5627 core.String start; 5981 core.String start;
5628 5982
5629 SearchAnnotationsRequest(); 5983 SearchAnnotationsRequest();
5630 5984
5631 SearchAnnotationsRequest.fromJson(core.Map _json) { 5985 SearchAnnotationsRequest.fromJson(core.Map _json) {
5632 if (_json.containsKey("annotationSetIds")) { 5986 if (_json.containsKey("annotationSetIds")) {
5633 annotationSetIds = _json["annotationSetIds"]; 5987 annotationSetIds = _json["annotationSetIds"];
5634 } 5988 }
5635 if (_json.containsKey("end")) { 5989 if (_json.containsKey("end")) {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
5718 * Only return call sets for which a substring of the name matches this 6072 * Only return call sets for which a substring of the name matches this
5719 * string. 6073 * string.
5720 */ 6074 */
5721 core.String name; 6075 core.String name;
5722 /** 6076 /**
5723 * The maximum number of results to return in a single page. If unspecified, 6077 * The maximum number of results to return in a single page. If unspecified,
5724 * defaults to 1024. 6078 * defaults to 1024.
5725 */ 6079 */
5726 core.int pageSize; 6080 core.int pageSize;
5727 /** 6081 /**
5728 * The continuation token, which is used to page through large result sets. To 6082 * The continuation token, which is used to page through large result sets.
5729 * get the next page of results, set this parameter to the value of 6083 * To get the next page of results, set this parameter to the value of
5730 * `nextPageToken` from the previous response. 6084 * `nextPageToken` from the previous response.
5731 */ 6085 */
5732 core.String pageToken; 6086 core.String pageToken;
5733 /** 6087 /**
5734 * Restrict the query to call sets within the given variant sets. At least one 6088 * Restrict the query to call sets within the given variant sets. At least one
5735 * ID must be provided. 6089 * ID must be provided.
5736 */ 6090 */
5737 core.List<core.String> variantSetIds; 6091 core.List<core.String> variantSetIds;
5738 6092
5739 SearchCallSetsRequest(); 6093 SearchCallSetsRequest();
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
5816 * Only return read group sets for which a substring of the name matches this 6170 * Only return read group sets for which a substring of the name matches this
5817 * string. 6171 * string.
5818 */ 6172 */
5819 core.String name; 6173 core.String name;
5820 /** 6174 /**
5821 * The maximum number of results to return in a single page. If unspecified, 6175 * The maximum number of results to return in a single page. If unspecified,
5822 * defaults to 256. The maximum value is 1024. 6176 * defaults to 256. The maximum value is 1024.
5823 */ 6177 */
5824 core.int pageSize; 6178 core.int pageSize;
5825 /** 6179 /**
5826 * The continuation token, which is used to page through large result sets. To 6180 * The continuation token, which is used to page through large result sets.
5827 * get the next page of results, set this parameter to the value of 6181 * To get the next page of results, set this parameter to the value of
5828 * `nextPageToken` from the previous response. 6182 * `nextPageToken` from the previous response.
5829 */ 6183 */
5830 core.String pageToken; 6184 core.String pageToken;
5831 6185
5832 SearchReadGroupSetsRequest(); 6186 SearchReadGroupSetsRequest();
5833 6187
5834 SearchReadGroupSetsRequest.fromJson(core.Map _json) { 6188 SearchReadGroupSetsRequest.fromJson(core.Map _json) {
5835 if (_json.containsKey("datasetIds")) { 6189 if (_json.containsKey("datasetIds")) {
5836 datasetIds = _json["datasetIds"]; 6190 datasetIds = _json["datasetIds"];
5837 } 6191 }
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
5904 * The end position of the range on the reference, 0-based exclusive. If 6258 * The end position of the range on the reference, 0-based exclusive. If
5905 * specified, `referenceName` must also be specified. 6259 * specified, `referenceName` must also be specified.
5906 */ 6260 */
5907 core.String end; 6261 core.String end;
5908 /** 6262 /**
5909 * The maximum number of results to return in a single page. If unspecified, 6263 * The maximum number of results to return in a single page. If unspecified,
5910 * defaults to 256. The maximum value is 2048. 6264 * defaults to 256. The maximum value is 2048.
5911 */ 6265 */
5912 core.int pageSize; 6266 core.int pageSize;
5913 /** 6267 /**
5914 * The continuation token, which is used to page through large result sets. To 6268 * The continuation token, which is used to page through large result sets.
5915 * get the next page of results, set this parameter to the value of 6269 * To get the next page of results, set this parameter to the value of
5916 * `nextPageToken` from the previous response. 6270 * `nextPageToken` from the previous response.
5917 */ 6271 */
5918 core.String pageToken; 6272 core.String pageToken;
5919 /** 6273 /**
5920 * The IDs of the read groups within which to search for reads. All specified 6274 * The IDs of the read groups within which to search for reads. All specified
5921 * read groups must belong to the same read group sets. Must specify one of 6275 * read groups must belong to the same read group sets. Must specify one of
5922 * `readGroupSetIds` or `readGroupIds`. 6276 * `readGroupSetIds` or `readGroupIds`.
5923 */ 6277 */
5924 core.List<core.String> readGroupIds; 6278 core.List<core.String> readGroupIds;
5925 /** 6279 /**
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
5990 if (start != null) { 6344 if (start != null) {
5991 _json["start"] = start; 6345 _json["start"] = start;
5992 } 6346 }
5993 return _json; 6347 return _json;
5994 } 6348 }
5995 } 6349 }
5996 6350
5997 /** The read search response. */ 6351 /** The read search response. */
5998 class SearchReadsResponse { 6352 class SearchReadsResponse {
5999 /** 6353 /**
6000 * The list of matching alignments sorted by mapped genomic coordinate, if 6354 * The list of matching alignments sorted by mapped genomic coordinate,
6001 * any, ascending in position within the same reference. Unmapped reads, which 6355 * if any, ascending in position within the same reference. Unmapped reads,
6002 * have no position, are returned contiguously and are sorted in ascending 6356 * which have no position, are returned contiguously and are sorted in
6003 * lexicographic order by fragment name. 6357 * ascending lexicographic order by fragment name.
6004 */ 6358 */
6005 core.List<Read> alignments; 6359 core.List<Read> alignments;
6006 /** 6360 /**
6007 * The continuation token, which is used to page through large result sets. 6361 * The continuation token, which is used to page through large result sets.
6008 * Provide this value in a subsequent request to return the next page of 6362 * Provide this value in a subsequent request to return the next page of
6009 * results. This field will be empty if there aren't any additional results. 6363 * results. This field will be empty if there aren't any additional results.
6010 */ 6364 */
6011 core.String nextPageToken; 6365 core.String nextPageToken;
6012 6366
6013 SearchReadsResponse(); 6367 SearchReadsResponse();
(...skipping 15 matching lines...) Expand all
6029 if (nextPageToken != null) { 6383 if (nextPageToken != null) {
6030 _json["nextPageToken"] = nextPageToken; 6384 _json["nextPageToken"] = nextPageToken;
6031 } 6385 }
6032 return _json; 6386 return _json;
6033 } 6387 }
6034 } 6388 }
6035 6389
6036 class SearchReferenceSetsRequest { 6390 class SearchReferenceSetsRequest {
6037 /** 6391 /**
6038 * If present, return reference sets for which a prefix of any of 6392 * If present, return reference sets for which a prefix of any of
6039 * sourceAccessions match any of these strings. Accession numbers typically 6393 * sourceAccessions
6040 * have a main number and a version, for example `NC_000001.11`. 6394 * match any of these strings. Accession numbers typically have a main number
6395 * and a version, for example `NC_000001.11`.
6041 */ 6396 */
6042 core.List<core.String> accessions; 6397 core.List<core.String> accessions;
6043 /** 6398 /**
6044 * If present, return reference sets for which a substring of their 6399 * If present, return reference sets for which a substring of their
6045 * `assemblyId` matches this string (case insensitive). 6400 * `assemblyId` matches this string (case insensitive).
6046 */ 6401 */
6047 core.String assemblyId; 6402 core.String assemblyId;
6048 /** 6403 /**
6049 * If present, return reference sets for which the md5checksum matches 6404 * If present, return reference sets for which the
6050 * exactly. 6405 * md5checksum matches exactly.
6051 */ 6406 */
6052 core.List<core.String> md5checksums; 6407 core.List<core.String> md5checksums;
6053 /** 6408 /**
6054 * The maximum number of results to return in a single page. If unspecified, 6409 * The maximum number of results to return in a single page. If unspecified,
6055 * defaults to 1024. The maximum value is 4096. 6410 * defaults to 1024. The maximum value is 4096.
6056 */ 6411 */
6057 core.int pageSize; 6412 core.int pageSize;
6058 /** 6413 /**
6059 * The continuation token, which is used to page through large result sets. To 6414 * The continuation token, which is used to page through large result sets.
6060 * get the next page of results, set this parameter to the value of 6415 * To get the next page of results, set this parameter to the value of
6061 * `nextPageToken` from the previous response. 6416 * `nextPageToken` from the previous response.
6062 */ 6417 */
6063 core.String pageToken; 6418 core.String pageToken;
6064 6419
6065 SearchReferenceSetsRequest(); 6420 SearchReferenceSetsRequest();
6066 6421
6067 SearchReferenceSetsRequest.fromJson(core.Map _json) { 6422 SearchReferenceSetsRequest.fromJson(core.Map _json) {
6068 if (_json.containsKey("accessions")) { 6423 if (_json.containsKey("accessions")) {
6069 accessions = _json["accessions"]; 6424 accessions = _json["accessions"];
6070 } 6425 }
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
6131 } 6486 }
6132 if (referenceSets != null) { 6487 if (referenceSets != null) {
6133 _json["referenceSets"] = referenceSets.map((value) => (value).toJson()).to List(); 6488 _json["referenceSets"] = referenceSets.map((value) => (value).toJson()).to List();
6134 } 6489 }
6135 return _json; 6490 return _json;
6136 } 6491 }
6137 } 6492 }
6138 6493
6139 class SearchReferencesRequest { 6494 class SearchReferencesRequest {
6140 /** 6495 /**
6141 * If present, return references for which a prefix of any of sourceAccessions 6496 * If present, return references for which a prefix of any of
6142 * match any of these strings. Accession numbers typically have a main number 6497 * sourceAccessions match
6143 * and a version, for example `GCF_000001405.26`. 6498 * any of these strings. Accession numbers typically have a main number and a
6499 * version, for example `GCF_000001405.26`.
6144 */ 6500 */
6145 core.List<core.String> accessions; 6501 core.List<core.String> accessions;
6146 /** 6502 /**
6147 * If present, return references for which the md5checksum matches exactly. 6503 * If present, return references for which the
6504 * md5checksum matches exactly.
6148 */ 6505 */
6149 core.List<core.String> md5checksums; 6506 core.List<core.String> md5checksums;
6150 /** 6507 /**
6151 * The maximum number of results to return in a single page. If unspecified, 6508 * The maximum number of results to return in a single page. If unspecified,
6152 * defaults to 1024. The maximum value is 4096. 6509 * defaults to 1024. The maximum value is 4096.
6153 */ 6510 */
6154 core.int pageSize; 6511 core.int pageSize;
6155 /** 6512 /**
6156 * The continuation token, which is used to page through large result sets. To 6513 * The continuation token, which is used to page through large result sets.
6157 * get the next page of results, set this parameter to the value of 6514 * To get the next page of results, set this parameter to the value of
6158 * `nextPageToken` from the previous response. 6515 * `nextPageToken` from the previous response.
6159 */ 6516 */
6160 core.String pageToken; 6517 core.String pageToken;
6161 /** If present, return only references which belong to this reference set. */ 6518 /** If present, return only references which belong to this reference set. */
6162 core.String referenceSetId; 6519 core.String referenceSetId;
6163 6520
6164 SearchReferencesRequest(); 6521 SearchReferencesRequest();
6165 6522
6166 SearchReferencesRequest.fromJson(core.Map _json) { 6523 SearchReferencesRequest.fromJson(core.Map _json) {
6167 if (_json.containsKey("accessions")) { 6524 if (_json.containsKey("accessions")) {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
6241 * Exactly one dataset ID must be provided here. Only variant sets which 6598 * Exactly one dataset ID must be provided here. Only variant sets which
6242 * belong to this dataset will be returned. 6599 * belong to this dataset will be returned.
6243 */ 6600 */
6244 core.List<core.String> datasetIds; 6601 core.List<core.String> datasetIds;
6245 /** 6602 /**
6246 * The maximum number of results to return in a single page. If unspecified, 6603 * The maximum number of results to return in a single page. If unspecified,
6247 * defaults to 1024. 6604 * defaults to 1024.
6248 */ 6605 */
6249 core.int pageSize; 6606 core.int pageSize;
6250 /** 6607 /**
6251 * The continuation token, which is used to page through large result sets. To 6608 * The continuation token, which is used to page through large result sets.
6252 * get the next page of results, set this parameter to the value of 6609 * To get the next page of results, set this parameter to the value of
6253 * `nextPageToken` from the previous response. 6610 * `nextPageToken` from the previous response.
6254 */ 6611 */
6255 core.String pageToken; 6612 core.String pageToken;
6256 6613
6257 SearchVariantSetsRequest(); 6614 SearchVariantSetsRequest();
6258 6615
6259 SearchVariantSetsRequest.fromJson(core.Map _json) { 6616 SearchVariantSetsRequest.fromJson(core.Map _json) {
6260 if (_json.containsKey("datasetIds")) { 6617 if (_json.containsKey("datasetIds")) {
6261 datasetIds = _json["datasetIds"]; 6618 datasetIds = _json["datasetIds"];
6262 } 6619 }
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
6313 if (variantSets != null) { 6670 if (variantSets != null) {
6314 _json["variantSets"] = variantSets.map((value) => (value).toJson()).toList (); 6671 _json["variantSets"] = variantSets.map((value) => (value).toJson()).toList ();
6315 } 6672 }
6316 return _json; 6673 return _json;
6317 } 6674 }
6318 } 6675 }
6319 6676
6320 /** The variant search request. */ 6677 /** The variant search request. */
6321 class SearchVariantsRequest { 6678 class SearchVariantsRequest {
6322 /** 6679 /**
6323 * Only return variant calls which belong to call sets with these ids. Leaving 6680 * Only return variant calls which belong to call sets with these ids.
6324 * this blank returns all variant calls. If a variant has no calls belonging 6681 * Leaving this blank returns all variant calls. If a variant has no
6325 * to any of these call sets, it won't be returned at all. 6682 * calls belonging to any of these call sets, it won't be returned at all.
6326 */ 6683 */
6327 core.List<core.String> callSetIds; 6684 core.List<core.String> callSetIds;
6328 /** 6685 /**
6329 * The end of the window, 0-based exclusive. If unspecified or 0, defaults to 6686 * The end of the window, 0-based exclusive. If unspecified or 0, defaults to
6330 * the length of the reference. 6687 * the length of the reference.
6331 */ 6688 */
6332 core.String end; 6689 core.String end;
6333 /** 6690 /**
6334 * The maximum number of calls to return in a single page. Note that this 6691 * The maximum number of calls to return in a single page. Note that this
6335 * limit may be exceeded in the event that a matching variant contains more 6692 * limit may be exceeded in the event that a matching variant contains more
6336 * calls than the requested maximum. If unspecified, defaults to 5000. The 6693 * calls than the requested maximum. If unspecified, defaults to 5000. The
6337 * maximum value is 10000. 6694 * maximum value is 10000.
6338 */ 6695 */
6339 core.int maxCalls; 6696 core.int maxCalls;
6340 /** 6697 /**
6341 * The maximum number of variants to return in a single page. If unspecified, 6698 * The maximum number of variants to return in a single page. If unspecified,
6342 * defaults to 5000. The maximum value is 10000. 6699 * defaults to 5000. The maximum value is 10000.
6343 */ 6700 */
6344 core.int pageSize; 6701 core.int pageSize;
6345 /** 6702 /**
6346 * The continuation token, which is used to page through large result sets. To 6703 * The continuation token, which is used to page through large result sets.
6347 * get the next page of results, set this parameter to the value of 6704 * To get the next page of results, set this parameter to the value of
6348 * `nextPageToken` from the previous response. 6705 * `nextPageToken` from the previous response.
6349 */ 6706 */
6350 core.String pageToken; 6707 core.String pageToken;
6351 /** Required. Only return variants in this reference sequence. */ 6708 /** Required. Only return variants in this reference sequence. */
6352 core.String referenceName; 6709 core.String referenceName;
6353 /** 6710 /**
6354 * The beginning of the window (0-based, inclusive) for which overlapping 6711 * The beginning of the window (0-based, inclusive) for which
6355 * variants should be returned. If unspecified, defaults to 0. 6712 * overlapping variants should be returned. If unspecified, defaults to 0.
6356 */ 6713 */
6357 core.String start; 6714 core.String start;
6358 /** Only return variants which have exactly this name. */ 6715 /** Only return variants which have exactly this name. */
6359 core.String variantName; 6716 core.String variantName;
6360 /** 6717 /**
6361 * At most one variant set ID must be provided. Only variants from this 6718 * At most one variant set ID must be provided. Only variants from this
6362 * variant set will be returned. If omitted, a call set id must be included in 6719 * variant set will be returned. If omitted, a call set id must be included in
6363 * the request. 6720 * the request.
6364 */ 6721 */
6365 core.List<core.String> variantSetIds; 6722 core.List<core.String> variantSetIds;
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
6460 _json["variants"] = variants.map((value) => (value).toJson()).toList(); 6817 _json["variants"] = variants.map((value) => (value).toJson()).toList();
6461 } 6818 }
6462 return _json; 6819 return _json;
6463 } 6820 }
6464 } 6821 }
6465 6822
6466 /** Request message for `SetIamPolicy` method. */ 6823 /** Request message for `SetIamPolicy` method. */
6467 class SetIamPolicyRequest { 6824 class SetIamPolicyRequest {
6468 /** 6825 /**
6469 * REQUIRED: The complete policy to be applied to the `resource`. The size of 6826 * REQUIRED: The complete policy to be applied to the `resource`. The size of
6470 * the policy is limited to a few 10s of KB. An empty policy is a valid policy 6827 * the policy is limited to a few 10s of KB. An empty policy is a
6471 * but certain Cloud Platform services (such as Projects) might reject them. 6828 * valid policy but certain Cloud Platform services (such as Projects)
6829 * might reject them.
6472 */ 6830 */
6473 Policy policy; 6831 Policy policy;
6474 6832
6475 SetIamPolicyRequest(); 6833 SetIamPolicyRequest();
6476 6834
6477 SetIamPolicyRequest.fromJson(core.Map _json) { 6835 SetIamPolicyRequest.fromJson(core.Map _json) {
6478 if (_json.containsKey("policy")) { 6836 if (_json.containsKey("policy")) {
6479 policy = new Policy.fromJson(_json["policy"]); 6837 policy = new Policy.fromJson(_json["policy"]);
6480 } 6838 }
6481 } 6839 }
6482 6840
6483 core.Map toJson() { 6841 core.Map toJson() {
6484 var _json = new core.Map(); 6842 var _json = new core.Map();
6485 if (policy != null) { 6843 if (policy != null) {
6486 _json["policy"] = (policy).toJson(); 6844 _json["policy"] = (policy).toJson();
6487 } 6845 }
6488 return _json; 6846 return _json;
6489 } 6847 }
6490 } 6848 }
6491 6849
6492 /** 6850 /**
6493 * The `Status` type defines a logical error model that is suitable for 6851 * The `Status` type defines a logical error model that is suitable for
6494 * different programming environments, including REST APIs and RPC APIs. It is 6852 * different
6495 * used by [gRPC](https://github.com/grpc). The error model is designed to be: - 6853 * programming environments, including REST APIs and RPC APIs. It is used by
6496 * Simple to use and understand for most users - Flexible enough to meet 6854 * [gRPC](https://github.com/grpc). The error model is designed to be:
6497 * unexpected needs # Overview The `Status` message contains three pieces of 6855 *
6498 * data: error code, error message, and error details. The error code should be 6856 * - Simple to use and understand for most users
6499 * an enum value of google.rpc.Code, but it may accept additional error codes if 6857 * - Flexible enough to meet unexpected needs
6500 * needed. The error message should be a developer-facing English message that 6858 *
6501 * helps developers *understand* and *resolve* the error. If a localized 6859 * # Overview
6502 * user-facing error message is needed, put the localized message in the error 6860 *
6503 * details or localize it in the client. The optional error details may contain 6861 * The `Status` message contains three pieces of data: error code, error
6504 * arbitrary information about the error. There is a predefined set of error 6862 * message,
6505 * detail types in the package `google.rpc` which can be used for common error 6863 * and error details. The error code should be an enum value of
6506 * conditions. # Language mapping The `Status` message is the logical 6864 * google.rpc.Code, but it may accept additional error codes if needed. The
6507 * representation of the error model, but it is not necessarily the actual wire 6865 * error message should be a developer-facing English message that helps
6508 * format. When the `Status` message is exposed in different client libraries 6866 * developers *understand* and *resolve* the error. If a localized user-facing
6509 * and different wire protocols, it can be mapped differently. For example, it 6867 * error message is needed, put the localized message in the error details or
6510 * will likely be mapped to some exceptions in Java, but more likely mapped to 6868 * localize it in the client. The optional error details may contain arbitrary
6511 * some error codes in C. # Other uses The error model and the `Status` message 6869 * information about the error. There is a predefined set of error detail types
6512 * can be used in a variety of environments, either with or without APIs, to 6870 * in the package `google.rpc` which can be used for common error conditions.
6513 * provide a consistent developer experience across different environments. 6871 *
6514 * Example uses of this error model include: - Partial errors. If a service 6872 * # Language mapping
6515 * needs to return partial errors to the client, it may embed the `Status` in 6873 *
6516 * the normal response to indicate the partial errors. - Workflow errors. A 6874 * The `Status` message is the logical representation of the error model, but it
6517 * typical workflow has multiple steps. Each step may have a `Status` message 6875 * is not necessarily the actual wire format. When the `Status` message is
6518 * for error reporting purpose. - Batch operations. If a client uses batch 6876 * exposed in different client libraries and different wire protocols, it can be
6519 * request and batch response, the `Status` message should be used directly 6877 * mapped differently. For example, it will likely be mapped to some exceptions
6520 * inside batch response, one for each error sub-response. - Asynchronous 6878 * in Java, but more likely mapped to some error codes in C.
6521 * operations. If an API call embeds asynchronous operation results in its 6879 *
6522 * response, the status of those operations should be represented directly using 6880 * # Other uses
6523 * the `Status` message. - Logging. If some API errors are stored in logs, the 6881 *
6524 * message `Status` could be used directly after any stripping needed for 6882 * The error model and the `Status` message can be used in a variety of
6525 * security/privacy reasons. 6883 * environments, either with or without APIs, to provide a
6884 * consistent developer experience across different environments.
6885 *
6886 * Example uses of this error model include:
6887 *
6888 * - Partial errors. If a service needs to return partial errors to the client,
6889 * it may embed the `Status` in the normal response to indicate the partial
6890 * errors.
6891 *
6892 * - Workflow errors. A typical workflow has multiple steps. Each step may
6893 * have a `Status` message for error reporting purpose.
6894 *
6895 * - Batch operations. If a client uses batch request and batch response, the
6896 * `Status` message should be used directly inside batch response, one for
6897 * each error sub-response.
6898 *
6899 * - Asynchronous operations. If an API call embeds asynchronous operation
6900 * results in its response, the status of those operations should be
6901 * represented directly using the `Status` message.
6902 *
6903 * - Logging. If some API errors are stored in logs, the message `Status` could
6904 * be used directly after any stripping needed for security/privacy reasons.
6526 */ 6905 */
6527 class Status { 6906 class Status {
6528 /** The status code, which should be an enum value of google.rpc.Code. */ 6907 /** The status code, which should be an enum value of google.rpc.Code. */
6529 core.int code; 6908 core.int code;
6530 /** 6909 /**
6531 * A list of messages that carry the error details. There will be a common set 6910 * A list of messages that carry the error details. There will be a
6532 * of message types for APIs to use. 6911 * common set of message types for APIs to use.
6533 * 6912 *
6534 * The values for Object must be JSON objects. It can consist of `num`, 6913 * The values for Object must be JSON objects. It can consist of `num`,
6535 * `String`, `bool` and `null` as well as `Map` and `List` values. 6914 * `String`, `bool` and `null` as well as `Map` and `List` values.
6536 */ 6915 */
6537 core.List<core.Map<core.String, core.Object>> details; 6916 core.List<core.Map<core.String, core.Object>> details;
6538 /** 6917 /**
6539 * A developer-facing error message, which should be in English. Any 6918 * A developer-facing error message, which should be in English. Any
6540 * user-facing error message should be localized and sent in the 6919 * user-facing error message should be localized and sent in the
6541 * google.rpc.Status.details field, or localized by the client. 6920 * google.rpc.Status.details field, or localized by the client.
6542 */ 6921 */
(...skipping 21 matching lines...) Expand all
6564 if (details != null) { 6943 if (details != null) {
6565 _json["details"] = details; 6944 _json["details"] = details;
6566 } 6945 }
6567 if (message != null) { 6946 if (message != null) {
6568 _json["message"] = message; 6947 _json["message"] = message;
6569 } 6948 }
6570 return _json; 6949 return _json;
6571 } 6950 }
6572 } 6951 }
6573 6952
6574 /** The stream reads request. */
6575 class StreamReadsRequest {
6576 /**
6577 * The end position of the range on the reference, 0-based exclusive. If
6578 * specified, `referenceName` must also be specified.
6579 */
6580 core.String end;
6581 /**
6582 * The Google Cloud project ID which will be billed for this access. The
6583 * caller must have WRITE access to this project. Required.
6584 */
6585 core.String projectId;
6586 /** The ID of the read group set from which to stream reads. */
6587 core.String readGroupSetId;
6588 /**
6589 * The reference sequence name, for example `chr1`, `1`, or `chrX`. If set to
6590 * *, only unmapped reads are returned.
6591 */
6592 core.String referenceName;
6593 /**
6594 * Restricts results to a shard containing approximately `1/totalShards` of
6595 * the normal response payload for this query. Results from a sharded request
6596 * are disjoint from those returned by all queries which differ only in their
6597 * shard parameter. A shard may yield 0 results; this is especially likely for
6598 * large values of `totalShards`. Valid values are `[0, totalShards)`.
6599 */
6600 core.int shard;
6601 /**
6602 * The start position of the range on the reference, 0-based inclusive. If
6603 * specified, `referenceName` must also be specified.
6604 */
6605 core.String start;
6606 /**
6607 * Specifying `totalShards` causes a disjoint subset of the normal response
6608 * payload to be returned for each query with a unique `shard` parameter
6609 * specified. A best effort is made to yield equally sized shards. Sharding
6610 * can be used to distribute processing amongst workers, where each worker is
6611 * assigned a unique `shard` number and all workers specify the same
6612 * `totalShards` number. The union of reads returned for all sharded queries
6613 * `[0, totalShards)` is equal to those returned by a single unsharded query.
6614 * Queries for different values of `totalShards` with common divisors will
6615 * share shard boundaries. For example, streaming `shard` 2 of 5 `totalShards`
6616 * yields the same results as streaming `shard`s 4 and 5 of 10 `totalShards`.
6617 * This property can be leveraged for adaptive retries.
6618 */
6619 core.int totalShards;
6620
6621 StreamReadsRequest();
6622
6623 StreamReadsRequest.fromJson(core.Map _json) {
6624 if (_json.containsKey("end")) {
6625 end = _json["end"];
6626 }
6627 if (_json.containsKey("projectId")) {
6628 projectId = _json["projectId"];
6629 }
6630 if (_json.containsKey("readGroupSetId")) {
6631 readGroupSetId = _json["readGroupSetId"];
6632 }
6633 if (_json.containsKey("referenceName")) {
6634 referenceName = _json["referenceName"];
6635 }
6636 if (_json.containsKey("shard")) {
6637 shard = _json["shard"];
6638 }
6639 if (_json.containsKey("start")) {
6640 start = _json["start"];
6641 }
6642 if (_json.containsKey("totalShards")) {
6643 totalShards = _json["totalShards"];
6644 }
6645 }
6646
6647 core.Map toJson() {
6648 var _json = new core.Map();
6649 if (end != null) {
6650 _json["end"] = end;
6651 }
6652 if (projectId != null) {
6653 _json["projectId"] = projectId;
6654 }
6655 if (readGroupSetId != null) {
6656 _json["readGroupSetId"] = readGroupSetId;
6657 }
6658 if (referenceName != null) {
6659 _json["referenceName"] = referenceName;
6660 }
6661 if (shard != null) {
6662 _json["shard"] = shard;
6663 }
6664 if (start != null) {
6665 _json["start"] = start;
6666 }
6667 if (totalShards != null) {
6668 _json["totalShards"] = totalShards;
6669 }
6670 return _json;
6671 }
6672 }
6673
6674 class StreamReadsResponse {
6675 core.List<Read> alignments;
6676
6677 StreamReadsResponse();
6678
6679 StreamReadsResponse.fromJson(core.Map _json) {
6680 if (_json.containsKey("alignments")) {
6681 alignments = _json["alignments"].map((value) => new Read.fromJson(value)). toList();
6682 }
6683 }
6684
6685 core.Map toJson() {
6686 var _json = new core.Map();
6687 if (alignments != null) {
6688 _json["alignments"] = alignments.map((value) => (value).toJson()).toList() ;
6689 }
6690 return _json;
6691 }
6692 }
6693
6694 /** The stream variants request. */
6695 class StreamVariantsRequest {
6696 /**
6697 * Only return variant calls which belong to call sets with these IDs. Leaving
6698 * this blank returns all variant calls.
6699 */
6700 core.List<core.String> callSetIds;
6701 /**
6702 * The end of the window (0-based, exclusive) for which overlapping variants
6703 * should be returned.
6704 */
6705 core.String end;
6706 /**
6707 * The Google Cloud project ID which will be billed for this access. The
6708 * caller must have WRITE access to this project. Required.
6709 */
6710 core.String projectId;
6711 /** Required. Only return variants in this reference sequence. */
6712 core.String referenceName;
6713 /**
6714 * The beginning of the window (0-based, inclusive) for which overlapping
6715 * variants should be returned.
6716 */
6717 core.String start;
6718 /** The variant set ID from which to stream variants. */
6719 core.String variantSetId;
6720
6721 StreamVariantsRequest();
6722
6723 StreamVariantsRequest.fromJson(core.Map _json) {
6724 if (_json.containsKey("callSetIds")) {
6725 callSetIds = _json["callSetIds"];
6726 }
6727 if (_json.containsKey("end")) {
6728 end = _json["end"];
6729 }
6730 if (_json.containsKey("projectId")) {
6731 projectId = _json["projectId"];
6732 }
6733 if (_json.containsKey("referenceName")) {
6734 referenceName = _json["referenceName"];
6735 }
6736 if (_json.containsKey("start")) {
6737 start = _json["start"];
6738 }
6739 if (_json.containsKey("variantSetId")) {
6740 variantSetId = _json["variantSetId"];
6741 }
6742 }
6743
6744 core.Map toJson() {
6745 var _json = new core.Map();
6746 if (callSetIds != null) {
6747 _json["callSetIds"] = callSetIds;
6748 }
6749 if (end != null) {
6750 _json["end"] = end;
6751 }
6752 if (projectId != null) {
6753 _json["projectId"] = projectId;
6754 }
6755 if (referenceName != null) {
6756 _json["referenceName"] = referenceName;
6757 }
6758 if (start != null) {
6759 _json["start"] = start;
6760 }
6761 if (variantSetId != null) {
6762 _json["variantSetId"] = variantSetId;
6763 }
6764 return _json;
6765 }
6766 }
6767
6768 class StreamVariantsResponse {
6769 core.List<Variant> variants;
6770
6771 StreamVariantsResponse();
6772
6773 StreamVariantsResponse.fromJson(core.Map _json) {
6774 if (_json.containsKey("variants")) {
6775 variants = _json["variants"].map((value) => new Variant.fromJson(value)).t oList();
6776 }
6777 }
6778
6779 core.Map toJson() {
6780 var _json = new core.Map();
6781 if (variants != null) {
6782 _json["variants"] = variants.map((value) => (value).toJson()).toList();
6783 }
6784 return _json;
6785 }
6786 }
6787
6788 /** Request message for `TestIamPermissions` method. */ 6953 /** Request message for `TestIamPermissions` method. */
6789 class TestIamPermissionsRequest { 6954 class TestIamPermissionsRequest {
6790 /** 6955 /**
6791 * REQUIRED: The set of permissions to check for the 'resource'. Permissions 6956 * REQUIRED: The set of permissions to check for the 'resource'.
6792 * with wildcards (such as '*' or 'storage.*') are not allowed. Allowed 6957 * Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
6793 * permissions are: * `genomics.datasets.create` * `genomics.datasets.delete` 6958 * Allowed permissions are&#58;
6794 * * `genomics.datasets.get` * `genomics.datasets.list` * 6959 *
6795 * `genomics.datasets.update` * `genomics.datasets.getIamPolicy` * 6960 * * `genomics.datasets.create`
6796 * `genomics.datasets.setIamPolicy` 6961 * * `genomics.datasets.delete`
6962 * * `genomics.datasets.get`
6963 * * `genomics.datasets.list`
6964 * * `genomics.datasets.update`
6965 * * `genomics.datasets.getIamPolicy`
6966 * * `genomics.datasets.setIamPolicy`
6797 */ 6967 */
6798 core.List<core.String> permissions; 6968 core.List<core.String> permissions;
6799 6969
6800 TestIamPermissionsRequest(); 6970 TestIamPermissionsRequest();
6801 6971
6802 TestIamPermissionsRequest.fromJson(core.Map _json) { 6972 TestIamPermissionsRequest.fromJson(core.Map _json) {
6803 if (_json.containsKey("permissions")) { 6973 if (_json.containsKey("permissions")) {
6804 permissions = _json["permissions"]; 6974 permissions = _json["permissions"];
6805 } 6975 }
6806 } 6976 }
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
6840 } 7010 }
6841 7011
6842 /** 7012 /**
6843 * A transcript represents the assertion that a particular region of the 7013 * A transcript represents the assertion that a particular region of the
6844 * reference genome may be transcribed as RNA. 7014 * reference genome may be transcribed as RNA.
6845 */ 7015 */
6846 class Transcript { 7016 class Transcript {
6847 /** 7017 /**
6848 * The range of the coding sequence for this transcript, if any. To determine 7018 * The range of the coding sequence for this transcript, if any. To determine
6849 * the exact ranges of coding sequence, intersect this range with those of the 7019 * the exact ranges of coding sequence, intersect this range with those of the
6850 * exons, if any. If there are any exons, the codingSequence must start and 7020 * exons, if any. If there are any
6851 * end within them. Note that in some cases, the reference genome will not 7021 * exons, the
6852 * exactly match the observed mRNA transcript e.g. due to variance in the 7022 * codingSequence must start
6853 * source genome from reference. In these cases, exon.frame will not 7023 * and end within them.
6854 * necessarily match the expected reference reading frame and coding exon 7024 *
6855 * reference bases cannot necessarily be concatenated to produce the original 7025 * Note that in some cases, the reference genome will not exactly match the
6856 * transcript mRNA. 7026 * observed mRNA transcript e.g. due to variance in the source genome from
7027 * reference. In these cases,
7028 * exon.frame will not necessarily
7029 * match the expected reference reading frame and coding exon reference bases
7030 * cannot necessarily be concatenated to produce the original transcript mRNA.
6857 */ 7031 */
6858 CodingSequence codingSequence; 7032 CodingSequence codingSequence;
6859 /** 7033 /**
6860 * The exons that compose this transcript. This field should be unset for 7034 * The <a href="http://en.wikipedia.org/wiki/Exon">exons</a> that compose
6861 * genomes where transcript splicing does not occur, for example prokaryotes. 7035 * this transcript. This field should be unset for genomes where transcript
6862 * Introns are regions of the transcript that are not included in the spliced 7036 * splicing does not occur, for example prokaryotes.
6863 * RNA product. Though not explicitly modeled here, intron ranges can be 7037 *
6864 * deduced; all regions of this transcript that are not exons are introns. 7038 * Introns are regions of the transcript that are not included in the
6865 * Exonic sequences do not necessarily code for a translational product (amino 7039 * spliced RNA product. Though not explicitly modeled here, intron ranges can
6866 * acids). Only the regions of exons bounded by the codingSequence correspond 7040 * be deduced; all regions of this transcript that are not exons are introns.
6867 * to coding DNA sequence. Exons are ordered by start position and may not 7041 *
6868 * overlap. 7042 * Exonic sequences do not necessarily code for a translational product
7043 * (amino acids). Only the regions of exons bounded by the
7044 * codingSequence correspond
7045 * to coding DNA sequence.
7046 *
7047 * Exons are ordered by start position and may not overlap.
6869 */ 7048 */
6870 core.List<Exon> exons; 7049 core.List<Exon> exons;
6871 /** 7050 /**
6872 * The annotation ID of the gene from which this transcript is transcribed. 7051 * The annotation ID of the gene from which this transcript is transcribed.
6873 */ 7052 */
6874 core.String geneId; 7053 core.String geneId;
6875 7054
6876 Transcript(); 7055 Transcript();
6877 7056
6878 Transcript.fromJson(core.Map _json) { 7057 Transcript.fromJson(core.Map _json) {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
6911 7090
6912 core.Map toJson() { 7091 core.Map toJson() {
6913 var _json = new core.Map(); 7092 var _json = new core.Map();
6914 return _json; 7093 return _json;
6915 } 7094 }
6916 } 7095 }
6917 7096
6918 /** 7097 /**
6919 * A variant represents a change in DNA sequence relative to a reference 7098 * A variant represents a change in DNA sequence relative to a reference
6920 * sequence. For example, a variant could represent a SNP or an insertion. 7099 * sequence. For example, a variant could represent a SNP or an insertion.
6921 * Variants belong to a variant set. For more genomics resource definitions, see 7100 * Variants belong to a variant set.
6922 * [Fundamentals of Google 7101 *
7102 * For more genomics resource definitions, see [Fundamentals of Google
6923 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) 7103 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
7104 *
6924 * Each of the calls on a variant represent a determination of genotype with 7105 * Each of the calls on a variant represent a determination of genotype with
6925 * respect to that variant. For example, a call might assign probability of 0.32 7106 * respect to that variant. For example, a call might assign probability of 0.32
6926 * to the occurrence of a SNP named rs1234 in a sample named NA12345. A call 7107 * to the occurrence of a SNP named rs1234 in a sample named NA12345. A call
6927 * belongs to a call set, which contains related calls typically from one 7108 * belongs to a call set, which contains related calls typically from one
6928 * sample. 7109 * sample.
6929 */ 7110 */
6930 class Variant { 7111 class Variant {
6931 /** The bases that appear instead of the reference bases. */ 7112 /** The bases that appear instead of the reference bases. */
6932 core.List<core.String> alternateBases; 7113 core.List<core.String> alternateBases;
6933 /** 7114 /**
6934 * The variant calls for this particular variant. Each one represents the 7115 * The variant calls for this particular variant. Each one represents the
6935 * determination of genotype with respect to this variant. 7116 * determination of genotype with respect to this variant.
6936 */ 7117 */
6937 core.List<VariantCall> calls; 7118 core.List<VariantCall> calls;
6938 /** The date this variant was created, in milliseconds from the epoch. */ 7119 /** The date this variant was created, in milliseconds from the epoch. */
6939 core.String created; 7120 core.String created;
6940 /** 7121 /**
6941 * The end position (0-based) of this variant. This corresponds to the first 7122 * The end position (0-based) of this variant. This corresponds to the first
6942 * base after the last base in the reference allele. So, the length of the 7123 * base after the last base in the reference allele. So, the length of
6943 * reference allele is (end - start). This is useful for variants that don't 7124 * the reference allele is (end - start). This is useful for variants
6944 * explicitly give alternate bases, for example large deletions. 7125 * that don't explicitly give alternate bases, for example large deletions.
6945 */ 7126 */
6946 core.String end; 7127 core.String end;
6947 /** 7128 /**
6948 * A list of filters (normally quality filters) this variant has failed. 7129 * A list of filters (normally quality filters) this variant has failed.
6949 * `PASS` indicates this variant has passed all filters. 7130 * `PASS` indicates this variant has passed all filters.
6950 */ 7131 */
6951 core.List<core.String> filter; 7132 core.List<core.String> filter;
6952 /** The server-generated variant ID, unique across all variants. */ 7133 /** The server-generated variant ID, unique across all variants. */
6953 core.String id; 7134 core.String id;
6954 /** 7135 /**
6955 * A map of additional variant information. This must be of the form map 7136 * A map of additional variant information. This must be of the form
6956 * (string key mapping to a list of string values). 7137 * map<string, string[]> (string key mapping to a list of string values).
6957 * 7138 *
6958 * The values for Object must be JSON objects. It can consist of `num`, 7139 * The values for Object must be JSON objects. It can consist of `num`,
6959 * `String`, `bool` and `null` as well as `Map` and `List` values. 7140 * `String`, `bool` and `null` as well as `Map` and `List` values.
6960 */ 7141 */
6961 core.Map<core.String, core.List<core.Object>> info; 7142 core.Map<core.String, core.List<core.Object>> info;
6962 /** Names for the variant, for example a RefSNP ID. */ 7143 /** Names for the variant, for example a RefSNP ID. */
6963 core.List<core.String> names; 7144 core.List<core.String> names;
6964 /** 7145 /**
6965 * A measure of how likely this variant is to be real. A higher value is 7146 * A measure of how likely this variant is to be real.
6966 * better. 7147 * A higher value is better.
6967 */ 7148 */
6968 core.double quality; 7149 core.double quality;
6969 /** 7150 /**
6970 * The reference bases for this variant. They start at the given position. 7151 * The reference bases for this variant. They start at the given
7152 * position.
6971 */ 7153 */
6972 core.String referenceBases; 7154 core.String referenceBases;
6973 /** The reference on which this variant occurs. (such as `chr20` or `X`) */ 7155 /**
7156 * The reference on which this variant occurs.
7157 * (such as `chr20` or `X`)
7158 */
6974 core.String referenceName; 7159 core.String referenceName;
6975 /** 7160 /**
6976 * The position at which this variant occurs (0-based). This corresponds to 7161 * The position at which this variant occurs (0-based).
6977 * the first base of the string of reference bases. 7162 * This corresponds to the first base of the string of reference bases.
6978 */ 7163 */
6979 core.String start; 7164 core.String start;
6980 /** The ID of the variant set this variant belongs to. */ 7165 /** The ID of the variant set this variant belongs to. */
6981 core.String variantSetId; 7166 core.String variantSetId;
6982 7167
6983 Variant(); 7168 Variant();
6984 7169
6985 Variant.fromJson(core.Map _json) { 7170 Variant.fromJson(core.Map _json) {
6986 if (_json.containsKey("alternateBases")) { 7171 if (_json.containsKey("alternateBases")) {
6987 alternateBases = _json["alternateBases"]; 7172 alternateBases = _json["alternateBases"];
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
7064 } 7249 }
7065 if (variantSetId != null) { 7250 if (variantSetId != null) {
7066 _json["variantSetId"] = variantSetId; 7251 _json["variantSetId"] = variantSetId;
7067 } 7252 }
7068 return _json; 7253 return _json;
7069 } 7254 }
7070 } 7255 }
7071 7256
7072 class VariantAnnotation { 7257 class VariantAnnotation {
7073 /** 7258 /**
7074 * The alternate allele for this variant. If multiple alternate alleles exist 7259 * The alternate allele for this variant. If multiple alternate alleles
7075 * at this location, create a separate variant for each one, as they may 7260 * exist at this location, create a separate variant for each one, as they
7076 * represent distinct conditions. 7261 * may represent distinct conditions.
7077 */ 7262 */
7078 core.String alternateBases; 7263 core.String alternateBases;
7079 /** 7264 /**
7080 * Describes the clinical significance of a variant. It is adapted from the 7265 * Describes the clinical significance of a variant.
7081 * ClinVar controlled vocabulary for clinical significance described at: 7266 * It is adapted from the ClinVar controlled vocabulary for clinical
7267 * significance described at:
7082 * http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/ 7268 * http://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/
7083 * Possible string values are: 7269 * Possible string values are:
7084 * - "CLINICAL_SIGNIFICANCE_UNSPECIFIED" : A 7270 * - "CLINICAL_SIGNIFICANCE_UNSPECIFIED"
7085 * CLINICAL_SIGNIFICANCE_UNSPECIFIED. 7271 * - "CLINICAL_SIGNIFICANCE_OTHER" : `OTHER` should be used when no other
7086 * - "CLINICAL_SIGNIFICANCE_OTHER" : A CLINICAL_SIGNIFICANCE_OTHER. 7272 * clinical significance
7087 * - "UNCERTAIN" : A UNCERTAIN. 7273 * value will suffice.
7088 * - "BENIGN" : A BENIGN. 7274 * - "UNCERTAIN"
7089 * - "LIKELY_BENIGN" : A LIKELY_BENIGN. 7275 * - "BENIGN"
7090 * - "LIKELY_PATHOGENIC" : A LIKELY_PATHOGENIC. 7276 * - "LIKELY_BENIGN"
7091 * - "PATHOGENIC" : A PATHOGENIC. 7277 * - "LIKELY_PATHOGENIC"
7092 * - "DRUG_RESPONSE" : A DRUG_RESPONSE. 7278 * - "PATHOGENIC"
7093 * - "HISTOCOMPATIBILITY" : A HISTOCOMPATIBILITY. 7279 * - "DRUG_RESPONSE"
7094 * - "CONFERS_SENSITIVITY" : A CONFERS_SENSITIVITY. 7280 * - "HISTOCOMPATIBILITY"
7095 * - "RISK_FACTOR" : A RISK_FACTOR. 7281 * - "CONFERS_SENSITIVITY"
7096 * - "ASSOCIATION" : A ASSOCIATION. 7282 * - "RISK_FACTOR"
7097 * - "PROTECTIVE" : A PROTECTIVE. 7283 * - "ASSOCIATION"
7098 * - "MULTIPLE_REPORTED" : A MULTIPLE_REPORTED. 7284 * - "PROTECTIVE"
7285 * - "MULTIPLE_REPORTED" : `MULTIPLE_REPORTED` should be used when multiple
7286 * clinical
7287 * signficances are reported for a variant. The original clinical
7288 * significance values may be provided in the `info` field.
7099 */ 7289 */
7100 core.String clinicalSignificance; 7290 core.String clinicalSignificance;
7101 /** 7291 /**
7102 * The set of conditions associated with this variant. A condition describes 7292 * The set of conditions associated with this variant.
7103 * the way a variant influences human health. 7293 * A condition describes the way a variant influences human health.
7104 */ 7294 */
7105 core.List<ClinicalCondition> conditions; 7295 core.List<ClinicalCondition> conditions;
7106 /** 7296 /**
7107 * Effect of the variant on the coding sequence. 7297 * Effect of the variant on the coding sequence.
7108 * Possible string values are: 7298 * Possible string values are:
7109 * - "EFFECT_UNSPECIFIED" : A EFFECT_UNSPECIFIED. 7299 * - "EFFECT_UNSPECIFIED"
7110 * - "EFFECT_OTHER" : A EFFECT_OTHER. 7300 * - "EFFECT_OTHER" : `EFFECT_OTHER` should be used when no other Effect
7111 * - "FRAMESHIFT" : A FRAMESHIFT. 7301 * will suffice.
7112 * - "FRAME_PRESERVING_INDEL" : A FRAME_PRESERVING_INDEL. 7302 * - "FRAMESHIFT" : `FRAMESHIFT` indicates a mutation in which the insertion
7113 * - "SYNONYMOUS_SNP" : A SYNONYMOUS_SNP. 7303 * or
7114 * - "NONSYNONYMOUS_SNP" : A NONSYNONYMOUS_SNP. 7304 * deletion of nucleotides resulted in a frameshift change.
7115 * - "STOP_GAIN" : A STOP_GAIN. 7305 * - "FRAME_PRESERVING_INDEL" : `FRAME_PRESERVING_INDEL` indicates a mutation
7116 * - "STOP_LOSS" : A STOP_LOSS. 7306 * in which a
7117 * - "SPLICE_SITE_DISRUPTION" : A SPLICE_SITE_DISRUPTION. 7307 * multiple of three nucleotides has been inserted or deleted, resulting
7308 * in no change to the reading frame of the coding sequence.
7309 * - "SYNONYMOUS_SNP" : `SYNONYMOUS_SNP` indicates a single nucleotide
7310 * polymorphism
7311 * mutation that results in no amino acid change.
7312 * - "NONSYNONYMOUS_SNP" : `NONSYNONYMOUS_SNP` indicates a single nucleotide
7313 * polymorphism mutation that results in an amino acid change.
7314 * - "STOP_GAIN" : `STOP_GAIN` indicates a mutation that leads to the creation
7315 * of a stop codon at the variant site. Frameshift mutations creating
7316 * downstream stop codons do not count as `STOP_GAIN`.
7317 * - "STOP_LOSS" : `STOP_LOSS` indicates a mutation that eliminates a
7318 * stop codon at the variant site.
7319 * - "SPLICE_SITE_DISRUPTION" : `SPLICE_SITE_DISRUPTION` indicates that this
7320 * variant is
7321 * found in a splice site for the associated transcript, and alters the
7322 * normal splicing pattern.
7118 */ 7323 */
7119 core.String effect; 7324 core.String effect;
7120 /** 7325 /**
7121 * Google annotation ID of the gene affected by this variant. This should be 7326 * Google annotation ID of the gene affected by this variant. This should
7122 * provided when the variant is created. 7327 * be provided when the variant is created.
7123 */ 7328 */
7124 core.String geneId; 7329 core.String geneId;
7125 /** 7330 /**
7126 * Google annotation IDs of the transcripts affected by this variant. These 7331 * Google annotation IDs of the transcripts affected by this variant. These
7127 * should be provided when the variant is created. 7332 * should be provided when the variant is created.
7128 */ 7333 */
7129 core.List<core.String> transcriptIds; 7334 core.List<core.String> transcriptIds;
7130 /** 7335 /**
7131 * Type has been adapted from ClinVar's list of variant types. 7336 * Type has been adapted from ClinVar's list of variant types.
7132 * Possible string values are: 7337 * Possible string values are:
7133 * - "TYPE_UNSPECIFIED" : A TYPE_UNSPECIFIED. 7338 * - "TYPE_UNSPECIFIED"
7134 * - "TYPE_OTHER" : A TYPE_OTHER. 7339 * - "TYPE_OTHER" : `TYPE_OTHER` should be used when no other Type will
7135 * - "INSERTION" : A INSERTION. 7340 * suffice.
7136 * - "DELETION" : A DELETION. 7341 * Further explanation of the variant type may be included in the
7137 * - "SUBSTITUTION" : A SUBSTITUTION. 7342 * info field.
7138 * - "SNP" : A SNP. 7343 * - "INSERTION" : `INSERTION` indicates an insertion.
7139 * - "STRUCTURAL" : A STRUCTURAL. 7344 * - "DELETION" : `DELETION` indicates a deletion.
7140 * - "CNV" : A CNV. 7345 * - "SUBSTITUTION" : `SUBSTITUTION` indicates a block substitution of
7346 * two or more nucleotides.
7347 * - "SNP" : `SNP` indicates a single nucleotide polymorphism.
7348 * - "STRUCTURAL" : `STRUCTURAL` indicates a large structural variant,
7349 * including chromosomal fusions, inversions, etc.
7350 * - "CNV" : `CNV` indicates a variation in copy number.
7141 */ 7351 */
7142 core.String type; 7352 core.String type;
7143 7353
7144 VariantAnnotation(); 7354 VariantAnnotation();
7145 7355
7146 VariantAnnotation.fromJson(core.Map _json) { 7356 VariantAnnotation.fromJson(core.Map _json) {
7147 if (_json.containsKey("alternateBases")) { 7357 if (_json.containsKey("alternateBases")) {
7148 alternateBases = _json["alternateBases"]; 7358 alternateBases = _json["alternateBases"];
7149 } 7359 }
7150 if (_json.containsKey("clinicalSignificance")) { 7360 if (_json.containsKey("clinicalSignificance")) {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
7190 if (type != null) { 7400 if (type != null) {
7191 _json["type"] = type; 7401 _json["type"] = type;
7192 } 7402 }
7193 return _json; 7403 return _json;
7194 } 7404 }
7195 } 7405 }
7196 7406
7197 /** 7407 /**
7198 * A call represents the determination of genotype with respect to a particular 7408 * A call represents the determination of genotype with respect to a particular
7199 * variant. It may include associated information such as quality and phasing. 7409 * variant. It may include associated information such as quality and phasing.
7200 * For example, a call might assign a probability of 0.32 to the occurrence of a 7410 * For example, a call might assign a probability of 0.32 to the occurrence of
7201 * SNP named rs1234 in a call set with the name NA12345. 7411 * a SNP named rs1234 in a call set with the name NA12345.
7202 */ 7412 */
7203 class VariantCall { 7413 class VariantCall {
7204 /** The ID of the call set this variant call belongs to. */ 7414 /** The ID of the call set this variant call belongs to. */
7205 core.String callSetId; 7415 core.String callSetId;
7206 /** The name of the call set this variant call belongs to. */ 7416 /** The name of the call set this variant call belongs to. */
7207 core.String callSetName; 7417 core.String callSetName;
7208 /** 7418 /**
7209 * The genotype of this variant call. Each value represents either the value 7419 * The genotype of this variant call. Each value represents either the value
7210 * of the `referenceBases` field or a 1-based index into `alternateBases`. If 7420 * of the `referenceBases` field or a 1-based index into
7211 * a variant had a `referenceBases` value of `T` and an `alternateBases` value 7421 * `alternateBases`. If a variant had a `referenceBases`
7212 * of `["A", "C"]`, and the `genotype` was `[2, 1]`, that would mean the call 7422 * value of `T` and an `alternateBases`
7213 * represented the heterozygous value `CA` for this variant. If the `genotype` 7423 * value of `["A", "C"]`, and the `genotype` was
7214 * was instead `[0, 1]`, the represented value would be `TA`. Ordering of the 7424 * `[2, 1]`, that would mean the call
7215 * genotype values is important if the `phaseset` is present. If a genotype is 7425 * represented the heterozygous value `CA` for this variant.
7216 * not called (that is, a `.` is present in the GT string) -1 is returned. 7426 * If the `genotype` was instead `[0, 1]`, the
7427 * represented value would be `TA`. Ordering of the
7428 * genotype values is important if the `phaseset` is present.
7429 * If a genotype is not called (that is, a `.` is present in the
7430 * GT string) -1 is returned.
7217 */ 7431 */
7218 core.List<core.int> genotype; 7432 core.List<core.int> genotype;
7219 /** 7433 /**
7220 * The genotype likelihoods for this variant call. Each array entry represents 7434 * The genotype likelihoods for this variant call. Each array entry
7221 * how likely a specific genotype is for this call. The value ordering is 7435 * represents how likely a specific genotype is for this call. The value
7222 * defined by the GL tag in the VCF spec. If Phred-scaled genotype likelihood 7436 * ordering is defined by the GL tag in the VCF spec.
7223 * scores (PL) are available and log10(P) genotype likelihood scores (GL) are 7437 * If Phred-scaled genotype likelihood scores (PL) are available and
7224 * not, PL scores are converted to GL scores. If both are available, PL scores 7438 * log10(P) genotype likelihood scores (GL) are not, PL scores are converted
7225 * are stored in `info`. 7439 * to GL scores. If both are available, PL scores are stored in `info`.
7226 */ 7440 */
7227 core.List<core.double> genotypeLikelihood; 7441 core.List<core.double> genotypeLikelihood;
7228 /** 7442 /**
7229 * A map of additional variant call information. This must be of the form map 7443 * A map of additional variant call information. This must be of the form
7230 * (string key mapping to a list of string values). 7444 * map<string, string[]> (string key mapping to a list of string values).
7231 * 7445 *
7232 * The values for Object must be JSON objects. It can consist of `num`, 7446 * The values for Object must be JSON objects. It can consist of `num`,
7233 * `String`, `bool` and `null` as well as `Map` and `List` values. 7447 * `String`, `bool` and `null` as well as `Map` and `List` values.
7234 */ 7448 */
7235 core.Map<core.String, core.List<core.Object>> info; 7449 core.Map<core.String, core.List<core.Object>> info;
7236 /** 7450 /**
7237 * If this field is present, this variant call's genotype ordering implies the 7451 * If this field is present, this variant call's genotype ordering implies
7238 * phase of the bases and is consistent with any other variant calls in the 7452 * the phase of the bases and is consistent with any other variant calls in
7239 * same reference sequence which have the same phaseset value. When importing 7453 * the same reference sequence which have the same phaseset value.
7240 * data from VCF, if the genotype data was phased but no phase set was 7454 * When importing data from VCF, if the genotype data was phased but no
7241 * specified this field will be set to `*`. 7455 * phase set was specified this field will be set to `*`.
7242 */ 7456 */
7243 core.String phaseset; 7457 core.String phaseset;
7244 7458
7245 VariantCall(); 7459 VariantCall();
7246 7460
7247 VariantCall.fromJson(core.Map _json) { 7461 VariantCall.fromJson(core.Map _json) {
7248 if (_json.containsKey("callSetId")) { 7462 if (_json.containsKey("callSetId")) {
7249 callSetId = _json["callSetId"]; 7463 callSetId = _json["callSetId"];
7250 } 7464 }
7251 if (_json.containsKey("callSetName")) { 7465 if (_json.containsKey("callSetName")) {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
7284 } 7498 }
7285 if (phaseset != null) { 7499 if (phaseset != null) {
7286 _json["phaseset"] = phaseset; 7500 _json["phaseset"] = phaseset;
7287 } 7501 }
7288 return _json; 7502 return _json;
7289 } 7503 }
7290 } 7504 }
7291 7505
7292 /** 7506 /**
7293 * A variant set is a collection of call sets and variants. It contains summary 7507 * A variant set is a collection of call sets and variants. It contains summary
7294 * statistics of those contents. A variant set belongs to a dataset. For more 7508 * statistics of those contents. A variant set belongs to a dataset.
7295 * genomics resource definitions, see [Fundamentals of Google 7509 *
7510 * For more genomics resource definitions, see [Fundamentals of Google
7296 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics) 7511 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics)
7297 */ 7512 */
7298 class VariantSet { 7513 class VariantSet {
7299 /** The dataset to which this variant set belongs. */ 7514 /** The dataset to which this variant set belongs. */
7300 core.String datasetId; 7515 core.String datasetId;
7301 /** A textual description of this variant set. */ 7516 /** A textual description of this variant set. */
7302 core.String description; 7517 core.String description;
7303 /** The server-generated variant set ID, unique across all variant sets. */ 7518 /** The server-generated variant set ID, unique across all variant sets. */
7304 core.String id; 7519 core.String id;
7305 /** The metadata associated with this variant set. */ 7520 /** The metadata associated with this variant set. */
7306 core.List<VariantSetMetadata> metadata; 7521 core.List<VariantSetMetadata> metadata;
7307 /** User-specified, mutable name. */ 7522 /** User-specified, mutable name. */
7308 core.String name; 7523 core.String name;
7309 /** 7524 /**
7310 * A list of all references used by the variants in a variant set with 7525 * A list of all references used by the variants in a variant set
7311 * associated coordinate upper bounds for each one. 7526 * with associated coordinate upper bounds for each one.
7312 */ 7527 */
7313 core.List<ReferenceBound> referenceBounds; 7528 core.List<ReferenceBound> referenceBounds;
7314 /** 7529 /**
7315 * The reference set to which the variant set is mapped. The reference set 7530 * The reference set to which the variant set is mapped. The reference set
7316 * describes the alignment provenance of the variant set, while the 7531 * describes the alignment provenance of the variant set, while the
7317 * `referenceBounds` describe the shape of the actual variant data. The 7532 * `referenceBounds` describe the shape of the actual variant data. The
7318 * reference set's reference names are a superset of those found in the 7533 * reference set's reference names are a superset of those found in the
7319 * `referenceBounds`. For example, given a variant set that is mapped to the 7534 * `referenceBounds`.
7320 * GRCh38 reference set and contains a single variant on reference 'X', 7535 *
7321 * `referenceBounds` would contain only an entry for 'X', while the associated 7536 * For example, given a variant set that is mapped to the GRCh38 reference set
7322 * reference set enumerates all possible references: '1', '2', 'X', 'Y', 'MT', 7537 * and contains a single variant on reference 'X', `referenceBounds` would
7323 * etc. 7538 * contain only an entry for 'X', while the associated reference set
7539 * enumerates all possible references: '1', '2', 'X', 'Y', 'MT', etc.
7324 */ 7540 */
7325 core.String referenceSetId; 7541 core.String referenceSetId;
7326 7542
7327 VariantSet(); 7543 VariantSet();
7328 7544
7329 VariantSet.fromJson(core.Map _json) { 7545 VariantSet.fromJson(core.Map _json) {
7330 if (_json.containsKey("datasetId")) { 7546 if (_json.containsKey("datasetId")) {
7331 datasetId = _json["datasetId"]; 7547 datasetId = _json["datasetId"];
7332 } 7548 }
7333 if (_json.containsKey("description")) { 7549 if (_json.containsKey("description")) {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
7371 _json["referenceBounds"] = referenceBounds.map((value) => (value).toJson() ).toList(); 7587 _json["referenceBounds"] = referenceBounds.map((value) => (value).toJson() ).toList();
7372 } 7588 }
7373 if (referenceSetId != null) { 7589 if (referenceSetId != null) {
7374 _json["referenceSetId"] = referenceSetId; 7590 _json["referenceSetId"] = referenceSetId;
7375 } 7591 }
7376 return _json; 7592 return _json;
7377 } 7593 }
7378 } 7594 }
7379 7595
7380 /** 7596 /**
7381 * Metadata describes a single piece of variant call metadata. These data 7597 * Metadata describes a single piece of variant call metadata.
7382 * include a top level key and either a single value string (value) or a list of 7598 * These data include a top level key and either a single value string (value)
7383 * key-value pairs (info.) Value and info are mutually exclusive. 7599 * or a list of key-value pairs (info.)
7600 * Value and info are mutually exclusive.
7384 */ 7601 */
7385 class VariantSetMetadata { 7602 class VariantSetMetadata {
7386 /** A textual description of this metadata. */ 7603 /** A textual description of this metadata. */
7387 core.String description; 7604 core.String description;
7388 /** 7605 /**
7389 * User-provided ID field, not enforced by this API. Two or more pieces of 7606 * User-provided ID field, not enforced by this API.
7390 * structured metadata with identical id and key fields are considered 7607 * Two or more pieces of structured metadata with identical
7391 * equivalent. 7608 * id and key fields are considered equivalent.
7392 */ 7609 */
7393 core.String id; 7610 core.String id;
7394 /** 7611 /**
7395 * Remaining structured metadata key-value pairs. This must be of the form map 7612 * Remaining structured metadata key-value pairs. This must be of the form
7396 * (string key mapping to a list of string values). 7613 * map<string, string[]> (string key mapping to a list of string values).
7397 * 7614 *
7398 * The values for Object must be JSON objects. It can consist of `num`, 7615 * The values for Object must be JSON objects. It can consist of `num`,
7399 * `String`, `bool` and `null` as well as `Map` and `List` values. 7616 * `String`, `bool` and `null` as well as `Map` and `List` values.
7400 */ 7617 */
7401 core.Map<core.String, core.List<core.Object>> info; 7618 core.Map<core.String, core.List<core.Object>> info;
7402 /** The top-level key. */ 7619 /** The top-level key. */
7403 core.String key; 7620 core.String key;
7404 /** 7621 /**
7405 * The number of values that can be included in a field described by this 7622 * The number of values that can be included in a field described by this
7406 * metadata. 7623 * metadata.
7407 */ 7624 */
7408 core.String number; 7625 core.String number;
7409 /** 7626 /**
7410 * The type of data. Possible types include: Integer, Float, Flag, Character, 7627 * The type of data. Possible types include: Integer, Float,
7411 * and String. 7628 * Flag, Character, and String.
7412 * Possible string values are: 7629 * Possible string values are:
7413 * - "TYPE_UNSPECIFIED" : A TYPE_UNSPECIFIED. 7630 * - "TYPE_UNSPECIFIED"
7414 * - "INTEGER" : A INTEGER. 7631 * - "INTEGER"
7415 * - "FLOAT" : A FLOAT. 7632 * - "FLOAT"
7416 * - "FLAG" : A FLAG. 7633 * - "FLAG"
7417 * - "CHARACTER" : A CHARACTER. 7634 * - "CHARACTER"
7418 * - "STRING" : A STRING. 7635 * - "STRING"
7419 */ 7636 */
7420 core.String type; 7637 core.String type;
7421 /** The value field for simple metadata */ 7638 /** The value field for simple metadata */
7422 core.String value; 7639 core.String value;
7423 7640
7424 VariantSetMetadata(); 7641 VariantSetMetadata();
7425 7642
7426 VariantSetMetadata.fromJson(core.Map _json) { 7643 VariantSetMetadata.fromJson(core.Map _json) {
7427 if (_json.containsKey("description")) { 7644 if (_json.containsKey("description")) {
7428 description = _json["description"]; 7645 description = _json["description"];
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
7466 } 7683 }
7467 if (type != null) { 7684 if (type != null) {
7468 _json["type"] = type; 7685 _json["type"] = type;
7469 } 7686 }
7470 if (value != null) { 7687 if (value != null) {
7471 _json["value"] = value; 7688 _json["value"] = value;
7472 } 7689 }
7473 return _json; 7690 return _json;
7474 } 7691 }
7475 } 7692 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/firebaserules/v1.dart ('k') | generated/googleapis/lib/gmail/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698