OLD | NEW |
1 library googleapis_beta.genomics.v1beta2; | 1 library googleapis_beta.genomics.v1beta2; |
2 | 2 |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
5 import "dart:async" as async; | 5 import "dart:async" as async; |
6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
7 | 7 |
8 import "package:crypto/crypto.dart" as crypto; | 8 import "package:crypto/crypto.dart" as crypto; |
9 import 'package:http/http.dart' as http; | 9 import 'package:http/http.dart' as http; |
10 import '../src/common_internal.dart' as common_internal; | 10 import '../src/common_internal.dart' as common_internal; |
(...skipping 23 matching lines...) Expand all Loading... |
34 DatasetsResourceApi get datasets => new DatasetsResourceApi(_requester); | 34 DatasetsResourceApi get datasets => new DatasetsResourceApi(_requester); |
35 ExperimentalResourceApi get experimental => new ExperimentalResourceApi(_reque
ster); | 35 ExperimentalResourceApi get experimental => new ExperimentalResourceApi(_reque
ster); |
36 JobsResourceApi get jobs => new JobsResourceApi(_requester); | 36 JobsResourceApi get jobs => new JobsResourceApi(_requester); |
37 ReadgroupsetsResourceApi get readgroupsets => new ReadgroupsetsResourceApi(_re
quester); | 37 ReadgroupsetsResourceApi get readgroupsets => new ReadgroupsetsResourceApi(_re
quester); |
38 ReadsResourceApi get reads => new ReadsResourceApi(_requester); | 38 ReadsResourceApi get reads => new ReadsResourceApi(_requester); |
39 ReferencesResourceApi get references => new ReferencesResourceApi(_requester); | 39 ReferencesResourceApi get references => new ReferencesResourceApi(_requester); |
40 ReferencesetsResourceApi get referencesets => new ReferencesetsResourceApi(_re
quester); | 40 ReferencesetsResourceApi get referencesets => new ReferencesetsResourceApi(_re
quester); |
41 VariantsResourceApi get variants => new VariantsResourceApi(_requester); | 41 VariantsResourceApi get variants => new VariantsResourceApi(_requester); |
42 VariantsetsResourceApi get variantsets => new VariantsetsResourceApi(_requeste
r); | 42 VariantsetsResourceApi get variantsets => new VariantsetsResourceApi(_requeste
r); |
43 | 43 |
44 GenomicsApi(http.Client client) : | 44 GenomicsApi(http.Client client, {core.String rootUrl: "https://www.googleapis.
com/", core.String servicePath: "genomics/v1beta2/"}) : |
45 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "genomics/v1beta2/"); | 45 _requester = new common_internal.ApiRequester(client, rootUrl, servicePath
); |
46 } | 46 } |
47 | 47 |
48 | 48 |
49 /** Not documented yet. */ | 49 /** Not documented yet. */ |
50 class CallsetsResourceApi { | 50 class CallsetsResourceApi { |
51 final common_internal.ApiRequester _requester; | 51 final common_internal.ApiRequester _requester; |
52 | 52 |
53 CallsetsResourceApi(common_internal.ApiRequester client) : | 53 CallsetsResourceApi(common_internal.ApiRequester client) : |
54 _requester = client; | 54 _requester = client; |
55 | 55 |
(...skipping 3054 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3110 | 3110 |
3111 /** The read group set import request. */ | 3111 /** The read group set import request. */ |
3112 class ImportReadGroupSetsRequest { | 3112 class ImportReadGroupSetsRequest { |
3113 /** | 3113 /** |
3114 * Required. The ID of the dataset these read group sets will belong to. The | 3114 * Required. The ID of the dataset these read group sets will belong to. The |
3115 * caller must have WRITE permissions to this dataset. | 3115 * caller must have WRITE permissions to this dataset. |
3116 */ | 3116 */ |
3117 core.String datasetId; | 3117 core.String datasetId; |
3118 | 3118 |
3119 /** | 3119 /** |
| 3120 * The partition strategy describes how read groups are partitioned into read |
| 3121 * group sets. |
| 3122 * Possible string values are: |
| 3123 * - "MERGE_ALL" |
| 3124 * - "PER_FILE_PER_SAMPLE" |
| 3125 */ |
| 3126 core.String partitionStrategy; |
| 3127 |
| 3128 /** |
3120 * The reference set to which the imported read group sets are aligned to, if | 3129 * The reference set to which the imported read group sets are aligned to, if |
3121 * any. The reference names of this reference set must be a superset of those | 3130 * any. The reference names of this reference set must be a superset of those |
3122 * found in the imported file headers. If no reference set id is provided, a | 3131 * found in the imported file headers. If no reference set id is provided, a |
3123 * best effort is made to associate with a matching reference set. | 3132 * best effort is made to associate with a matching reference set. |
3124 */ | 3133 */ |
3125 core.String referenceSetId; | 3134 core.String referenceSetId; |
3126 | 3135 |
3127 /** A list of URIs pointing at BAM files in Google Cloud Storage. */ | 3136 /** A list of URIs pointing at BAM files in Google Cloud Storage. */ |
3128 core.List<core.String> sourceUris; | 3137 core.List<core.String> sourceUris; |
3129 | 3138 |
3130 | 3139 |
3131 ImportReadGroupSetsRequest(); | 3140 ImportReadGroupSetsRequest(); |
3132 | 3141 |
3133 ImportReadGroupSetsRequest.fromJson(core.Map _json) { | 3142 ImportReadGroupSetsRequest.fromJson(core.Map _json) { |
3134 if (_json.containsKey("datasetId")) { | 3143 if (_json.containsKey("datasetId")) { |
3135 datasetId = _json["datasetId"]; | 3144 datasetId = _json["datasetId"]; |
3136 } | 3145 } |
| 3146 if (_json.containsKey("partitionStrategy")) { |
| 3147 partitionStrategy = _json["partitionStrategy"]; |
| 3148 } |
3137 if (_json.containsKey("referenceSetId")) { | 3149 if (_json.containsKey("referenceSetId")) { |
3138 referenceSetId = _json["referenceSetId"]; | 3150 referenceSetId = _json["referenceSetId"]; |
3139 } | 3151 } |
3140 if (_json.containsKey("sourceUris")) { | 3152 if (_json.containsKey("sourceUris")) { |
3141 sourceUris = _json["sourceUris"]; | 3153 sourceUris = _json["sourceUris"]; |
3142 } | 3154 } |
3143 } | 3155 } |
3144 | 3156 |
3145 core.Map toJson() { | 3157 core.Map toJson() { |
3146 var _json = new core.Map(); | 3158 var _json = new core.Map(); |
3147 if (datasetId != null) { | 3159 if (datasetId != null) { |
3148 _json["datasetId"] = datasetId; | 3160 _json["datasetId"] = datasetId; |
3149 } | 3161 } |
| 3162 if (partitionStrategy != null) { |
| 3163 _json["partitionStrategy"] = partitionStrategy; |
| 3164 } |
3150 if (referenceSetId != null) { | 3165 if (referenceSetId != null) { |
3151 _json["referenceSetId"] = referenceSetId; | 3166 _json["referenceSetId"] = referenceSetId; |
3152 } | 3167 } |
3153 if (sourceUris != null) { | 3168 if (sourceUris != null) { |
3154 _json["sourceUris"] = sourceUris; | 3169 _json["sourceUris"] = sourceUris; |
3155 } | 3170 } |
3156 return _json; | 3171 return _json; |
3157 } | 3172 } |
3158 } | 3173 } |
3159 | 3174 |
(...skipping 2724 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5884 _json["metadata"] = metadata.map((value) => (value).toJson()).toList(); | 5899 _json["metadata"] = metadata.map((value) => (value).toJson()).toList(); |
5885 } | 5900 } |
5886 if (referenceBounds != null) { | 5901 if (referenceBounds != null) { |
5887 _json["referenceBounds"] = referenceBounds.map((value) => (value).toJson()
).toList(); | 5902 _json["referenceBounds"] = referenceBounds.map((value) => (value).toJson()
).toList(); |
5888 } | 5903 } |
5889 return _json; | 5904 return _json; |
5890 } | 5905 } |
5891 } | 5906 } |
5892 | 5907 |
5893 | 5908 |
OLD | NEW |