| OLD | NEW |
| 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_beta.genomics.v1beta2; | 3 library googleapis_beta.genomics.v1beta2; |
| 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; |
| (...skipping 2385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2396 "POST", | 2396 "POST", |
| 2397 body: _body, | 2397 body: _body, |
| 2398 queryParams: _queryParams, | 2398 queryParams: _queryParams, |
| 2399 uploadOptions: _uploadOptions, | 2399 uploadOptions: _uploadOptions, |
| 2400 uploadMedia: _uploadMedia, | 2400 uploadMedia: _uploadMedia, |
| 2401 downloadOptions: _downloadOptions); | 2401 downloadOptions: _downloadOptions); |
| 2402 return _response.then((data) => new VariantSet.fromJson(data)); | 2402 return _response.then((data) => new VariantSet.fromJson(data)); |
| 2403 } | 2403 } |
| 2404 | 2404 |
| 2405 /** | 2405 /** |
| 2406 * Deletes the contents of a variant set. The variant set object is not | 2406 * Deletes a variant set including all variants, call sets, and calls within. |
| 2407 * deleted. | 2407 * This is not reversible. |
| 2408 * | 2408 * |
| 2409 * Request parameters: | 2409 * Request parameters: |
| 2410 * | 2410 * |
| 2411 * [variantSetId] - The ID of the variant set to be deleted. | 2411 * [variantSetId] - The ID of the variant set to be deleted. |
| 2412 * | 2412 * |
| 2413 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 2413 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
| 2414 * error. | 2414 * error. |
| 2415 * | 2415 * |
| 2416 * If the used [http.Client] completes with an error when making a REST call, | 2416 * If the used [http.Client] completes with an error when making a REST call, |
| 2417 * this method will complete with the same error. | 2417 * this method will complete with the same error. |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2525 uploadMedia: _uploadMedia, | 2525 uploadMedia: _uploadMedia, |
| 2526 downloadOptions: _downloadOptions); | 2526 downloadOptions: _downloadOptions); |
| 2527 return _response.then((data) => new VariantSet.fromJson(data)); | 2527 return _response.then((data) => new VariantSet.fromJson(data)); |
| 2528 } | 2528 } |
| 2529 | 2529 |
| 2530 /** | 2530 /** |
| 2531 * Creates variant data by asynchronously importing the provided information. | 2531 * Creates variant data by asynchronously importing the provided information. |
| 2532 * | 2532 * |
| 2533 * The variants for import will be merged with any existing data and each | 2533 * The variants for import will be merged with any existing data and each |
| 2534 * other according to the behavior of mergeVariants. In particular, this means | 2534 * other according to the behavior of mergeVariants. In particular, this means |
| 2535 * for merged VCF variants that have conflicting INFO fields, some data will | 2535 * for merged VCF variants that have conflicting info fields, some data will |
| 2536 * be arbitrarily discarded. As a special case, for single-sample VCF files, | 2536 * be arbitrarily discarded. As a special case, for single-sample VCF files, |
| 2537 * QUAL and FILTER fields will be moved to the call level; these are sometimes | 2537 * QUAL and FILTER fields will be moved to the call level; these are sometimes |
| 2538 * interpreted in a call-specific context. Imported VCF headers are appended | 2538 * interpreted in a call-specific context. Imported VCF headers are appended |
| 2539 * to the metadata already in a variant set. | 2539 * to the metadata already in a variant set. |
| 2540 * | 2540 * |
| 2541 * [request] - The metadata request object. | 2541 * [request] - The metadata request object. |
| 2542 * | 2542 * |
| 2543 * Request parameters: | 2543 * Request parameters: |
| 2544 * | 2544 * |
| 2545 * [variantSetId] - Required. The variant set to which variant data should be | 2545 * [variantSetId] - Required. The variant set to which variant data should be |
| (...skipping 1208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3754 _json["jobId"] = jobId; | 3754 _json["jobId"] = jobId; |
| 3755 } | 3755 } |
| 3756 return _json; | 3756 return _json; |
| 3757 } | 3757 } |
| 3758 } | 3758 } |
| 3759 | 3759 |
| 3760 /** The variant data import request. */ | 3760 /** The variant data import request. */ |
| 3761 class ImportVariantsRequest { | 3761 class ImportVariantsRequest { |
| 3762 /** | 3762 /** |
| 3763 * The format of the variant data being imported. If unspecified, defaults to | 3763 * The format of the variant data being imported. If unspecified, defaults to |
| 3764 * to "VCF". | 3764 * "VCF". |
| 3765 * Possible string values are: | 3765 * Possible string values are: |
| 3766 * - "COMPLETE_GENOMICS" | 3766 * - "COMPLETE_GENOMICS" |
| 3767 * - "VCF" | 3767 * - "VCF" |
| 3768 */ | 3768 */ |
| 3769 core.String format; | 3769 core.String format; |
| 3770 /** | 3770 /** |
| 3771 * Convert reference names to the canonical representation. hg19 haploytypes | 3771 * Convert reference names to the canonical representation. hg19 haploytypes |
| 3772 * (those reference names containing "_hap") are not modified in any way. All | 3772 * (those reference names containing "_hap") are not modified in any way. All |
| 3773 * other reference names are modified according to the following rules: The | 3773 * other reference names are modified according to the following rules: The |
| 3774 * reference name is capitalized. The "chr" prefix is dropped for all | 3774 * reference name is capitalized. The "chr" prefix is dropped for all |
| (...skipping 1412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5187 } | 5187 } |
| 5188 return _json; | 5188 return _json; |
| 5189 } | 5189 } |
| 5190 } | 5190 } |
| 5191 | 5191 |
| 5192 /** | 5192 /** |
| 5193 * ReferenceBound records an upper bound for the starting coordinate of variants | 5193 * ReferenceBound records an upper bound for the starting coordinate of variants |
| 5194 * in a particular reference. | 5194 * in a particular reference. |
| 5195 */ | 5195 */ |
| 5196 class ReferenceBound { | 5196 class ReferenceBound { |
| 5197 /** The name of the reference associated with this ReferenceBound. */ | 5197 /** The name of the reference associated with this reference bound. */ |
| 5198 core.String referenceName; | 5198 core.String referenceName; |
| 5199 /** | 5199 /** |
| 5200 * An upper bound (inclusive) on the starting coordinate of any variant in the | 5200 * An upper bound (inclusive) on the starting coordinate of any variant in the |
| 5201 * reference sequence. | 5201 * reference sequence. |
| 5202 */ | 5202 */ |
| 5203 core.String upperBound; | 5203 core.String upperBound; |
| 5204 | 5204 |
| 5205 ReferenceBound(); | 5205 ReferenceBound(); |
| 5206 | 5206 |
| 5207 ReferenceBound.fromJson(core.Map _json) { | 5207 ReferenceBound.fromJson(core.Map _json) { |
| (...skipping 1054 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6262 * with no calls from any call set will never be returned. | 6262 * with no calls from any call set will never be returned. |
| 6263 */ | 6263 */ |
| 6264 core.List<core.String> callSetIds; | 6264 core.List<core.String> callSetIds; |
| 6265 /** | 6265 /** |
| 6266 * The end of the window, 0-based exclusive. If unspecified or 0, defaults to | 6266 * The end of the window, 0-based exclusive. If unspecified or 0, defaults to |
| 6267 * the length of the reference. | 6267 * the length of the reference. |
| 6268 */ | 6268 */ |
| 6269 core.String end; | 6269 core.String end; |
| 6270 /** | 6270 /** |
| 6271 * The maximum number of calls to return in a single page. Note that this | 6271 * The maximum number of calls to return in a single page. Note that this |
| 6272 * limit may be exceeded; at least one variant is always returned per page, | 6272 * limit may be exceeded in the event that a matching variant contains more |
| 6273 * even if it has more calls than this limit. If unspecified, defaults to | 6273 * calls than the requested maximum. If unspecified, defaults to 5000. The |
| 6274 * 5000. The maximum value is 10000. | 6274 * maximum value is 10000. |
| 6275 */ | 6275 */ |
| 6276 core.int maxCalls; | 6276 core.int maxCalls; |
| 6277 /** | 6277 /** |
| 6278 * The maximum number of variants to return in a single page. If unspecified, | 6278 * The maximum number of variants to return in a single page. If unspecified, |
| 6279 * defaults to 5000. The maximum value is 10000. | 6279 * defaults to 5000. The maximum value is 10000. |
| 6280 */ | 6280 */ |
| 6281 core.int pageSize; | 6281 core.int pageSize; |
| 6282 /** | 6282 /** |
| 6283 * The continuation token, which is used to page through large result sets. To | 6283 * The continuation token, which is used to page through large result sets. To |
| 6284 * get the next page of results, set this parameter to the value of | 6284 * get the next page of results, set this parameter to the value of |
| (...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6946 } | 6946 } |
| 6947 if (referenceBounds != null) { | 6947 if (referenceBounds != null) { |
| 6948 _json["referenceBounds"] = referenceBounds.map((value) => (value).toJson()
).toList(); | 6948 _json["referenceBounds"] = referenceBounds.map((value) => (value).toJson()
).toList(); |
| 6949 } | 6949 } |
| 6950 if (referenceSetId != null) { | 6950 if (referenceSetId != null) { |
| 6951 _json["referenceSetId"] = referenceSetId; | 6951 _json["referenceSetId"] = referenceSetId; |
| 6952 } | 6952 } |
| 6953 return _json; | 6953 return _json; |
| 6954 } | 6954 } |
| 6955 } | 6955 } |
| OLD | NEW |