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

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

Issue 2824163002: Api-roll 48: 2017-04-18 (Closed)
Patch Set: Revert changes to pubspecs Created 3 years, 8 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/iam/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;
(...skipping 1392 matching lines...) Expand 10 before | Expand all | Expand 10 after
1403 } 1403 }
1404 1404
1405 /** 1405 /**
1406 * Lists operations that match the specified filter in the request. 1406 * Lists operations that match the specified filter in the request.
1407 * 1407 *
1408 * Request parameters: 1408 * Request parameters:
1409 * 1409 *
1410 * [name] - The name of the operation collection. 1410 * [name] - The name of the operation collection.
1411 * Value must have pattern "^operations$". 1411 * Value must have pattern "^operations$".
1412 * 1412 *
1413 * [pageToken] - The standard list page token.
1414 *
1415 * [pageSize] - The maximum number of results to return. If unspecified,
1416 * defaults to
1417 * 256. The maximum value is 2048.
1418 *
1413 * [filter] - A string for filtering Operations. 1419 * [filter] - A string for filtering Operations.
1414 * The following filter fields are supported: 1420 * The following filter fields are supported:
1415 * 1421 *
1416 * * projectId: Required. Corresponds to 1422 * * projectId: Required. Corresponds to
1417 * OperationMetadata.projectId. 1423 * OperationMetadata.projectId.
1418 * * createTime: The time this job was created, in seconds from the 1424 * * createTime: The time this job was created, in seconds from the
1419 * [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `>=` and/or `<=` 1425 * [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `>=` and/or `<=`
1420 * operators. 1426 * operators.
1421 * * status&#58; Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `CANCELED`. Only 1427 * * status&#58; Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `CANCELED`. Only
1422 * one status may be specified. 1428 * one status may be specified.
1423 * * labels.key where key is a label key. 1429 * * labels.key where key is a label key.
1424 * 1430 *
1425 * Examples&#58; 1431 * Examples&#58;
1426 * 1432 *
1427 * * `projectId = my-project AND createTime >= 1432140000` 1433 * * `projectId = my-project AND createTime >= 1432140000`
1428 * * `projectId = my-project AND createTime >= 1432140000 AND createTime <= 1434 * * `projectId = my-project AND createTime >= 1432140000 AND createTime <=
1429 * 1432150000 AND status = RUNNING` 1435 * 1432150000 AND status = RUNNING`
1430 * * `projectId = my-project AND labels.color = *` 1436 * * `projectId = my-project AND labels.color = *`
1431 * * `projectId = my-project AND labels.color = red` 1437 * * `projectId = my-project AND labels.color = red`
1432 * 1438 *
1433 * [pageToken] - The standard list page token.
1434 *
1435 * [pageSize] - The maximum number of results to return. If unspecified,
1436 * defaults to
1437 * 256. The maximum value is 2048.
1438 *
1439 * Completes with a [ListOperationsResponse]. 1439 * Completes with a [ListOperationsResponse].
1440 * 1440 *
1441 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1441 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1442 * error. 1442 * error.
1443 * 1443 *
1444 * 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,
1445 * this method will complete with the same error. 1445 * this method will complete with the same error.
1446 */ 1446 */
1447 async.Future<ListOperationsResponse> list(core.String name, {core.String filte r, core.String pageToken, core.int pageSize}) { 1447 async.Future<ListOperationsResponse> list(core.String name, {core.String pageT oken, core.int pageSize, core.String filter}) {
1448 var _url = null; 1448 var _url = null;
1449 var _queryParams = new core.Map(); 1449 var _queryParams = new core.Map();
1450 var _uploadMedia = null; 1450 var _uploadMedia = null;
1451 var _uploadOptions = null; 1451 var _uploadOptions = null;
1452 var _downloadOptions = commons.DownloadOptions.Metadata; 1452 var _downloadOptions = commons.DownloadOptions.Metadata;
1453 var _body = null; 1453 var _body = null;
1454 1454
1455 if (name == null) { 1455 if (name == null) {
1456 throw new core.ArgumentError("Parameter name is required."); 1456 throw new core.ArgumentError("Parameter name is required.");
1457 } 1457 }
1458 if (filter != null) {
1459 _queryParams["filter"] = [filter];
1460 }
1461 if (pageToken != null) { 1458 if (pageToken != null) {
1462 _queryParams["pageToken"] = [pageToken]; 1459 _queryParams["pageToken"] = [pageToken];
1463 } 1460 }
1464 if (pageSize != null) { 1461 if (pageSize != null) {
1465 _queryParams["pageSize"] = ["${pageSize}"]; 1462 _queryParams["pageSize"] = ["${pageSize}"];
1466 } 1463 }
1464 if (filter != null) {
1465 _queryParams["filter"] = [filter];
1466 }
1467 1467
1468 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name'); 1468 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
1469 1469
1470 var _response = _requester.request(_url, 1470 var _response = _requester.request(_url,
1471 "GET", 1471 "GET",
1472 body: _body, 1472 body: _body,
1473 queryParams: _queryParams, 1473 queryParams: _queryParams,
1474 uploadOptions: _uploadOptions, 1474 uploadOptions: _uploadOptions,
1475 uploadMedia: _uploadMedia, 1475 uploadMedia: _uploadMedia,
1476 downloadOptions: _downloadOptions); 1476 downloadOptions: _downloadOptions);
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
1819 * base in the reference sequence. Coverage buckets are available at several 1819 * base in the reference sequence. Coverage buckets are available at several
1820 * precomputed bucket widths, enabling retrieval of various coverage 'zoom 1820 * precomputed bucket widths, enabling retrieval of various coverage 'zoom
1821 * 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
1822 * set. 1822 * set.
1823 * 1823 *
1824 * Request parameters: 1824 * Request parameters:
1825 * 1825 *
1826 * [readGroupSetId] - Required. The ID of the read group set over which 1826 * [readGroupSetId] - Required. The ID of the read group set over which
1827 * coverage is requested. 1827 * coverage is requested.
1828 * 1828 *
1829 * [referenceName] - The name of the reference to query, within the reference
1830 * set associated
1831 * with this query. Optional.
1832 *
1833 * [end] - The end position of the range on the reference, 0-based exclusive.
1834 * If
1835 * specified, `referenceName` must also be specified. If unset or 0, defaults
1836 * to the length of the reference.
1837 *
1838 * [pageToken] - The continuation token, which is used to page through large 1829 * [pageToken] - The continuation token, which is used to page through large
1839 * result sets. 1830 * result sets.
1840 * To get the next page of results, set this parameter to the value of 1831 * To get the next page of results, set this parameter to the value of
1841 * `nextPageToken` from the previous response. 1832 * `nextPageToken` from the previous response.
1842 * 1833 *
1843 * [pageSize] - The maximum number of results to return in a single page. If 1834 * [pageSize] - The maximum number of results to return in a single page. If
1844 * unspecified, 1835 * unspecified,
1845 * defaults to 1024. The maximum value is 2048. 1836 * defaults to 1024. The maximum value is 2048.
1846 * 1837 *
1847 * [start] - The start position of the range on the reference, 0-based 1838 * [start] - The start position of the range on the reference, 0-based
1848 * inclusive. If 1839 * inclusive. If
1849 * specified, `referenceName` must also be specified. Defaults to 0. 1840 * specified, `referenceName` must also be specified. Defaults to 0.
1850 * 1841 *
1851 * [targetBucketWidth] - The desired width of each reported coverage bucket in 1842 * [targetBucketWidth] - The desired width of each reported coverage bucket in
1852 * base pairs. This 1843 * base pairs. This
1853 * will be rounded down to the nearest precomputed bucket width; the value 1844 * will be rounded down to the nearest precomputed bucket width; the value
1854 * of which is returned as `bucketWidth` in the response. Defaults 1845 * of which is returned as `bucketWidth` in the response. Defaults
1855 * to infinity (each bucket spans an entire reference sequence) or the length 1846 * to infinity (each bucket spans an entire reference sequence) or the length
1856 * of the target range, if specified. The smallest precomputed 1847 * of the target range, if specified. The smallest precomputed
1857 * `bucketWidth` is currently 2048 base pairs; this is subject to 1848 * `bucketWidth` is currently 2048 base pairs; this is subject to
1858 * change. 1849 * change.
1859 * 1850 *
1851 * [referenceName] - The name of the reference to query, within the reference
1852 * set associated
1853 * with this query. Optional.
1854 *
1855 * [end] - The end position of the range on the reference, 0-based exclusive.
1856 * If
1857 * specified, `referenceName` must also be specified. If unset or 0, defaults
1858 * to the length of the reference.
1859 *
1860 * Completes with a [ListCoverageBucketsResponse]. 1860 * Completes with a [ListCoverageBucketsResponse].
1861 * 1861 *
1862 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1862 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1863 * error. 1863 * error.
1864 * 1864 *
1865 * 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,
1866 * this method will complete with the same error. 1866 * this method will complete with the same error.
1867 */ 1867 */
1868 async.Future<ListCoverageBucketsResponse> list(core.String readGroupSetId, {co re.String referenceName, core.String end, core.String pageToken, core.int pageSi ze, core.String start, core.String targetBucketWidth}) { 1868 async.Future<ListCoverageBucketsResponse> list(core.String readGroupSetId, {co re.String pageToken, core.int pageSize, core.String start, core.String targetBuc ketWidth, core.String referenceName, core.String end}) {
1869 var _url = null; 1869 var _url = null;
1870 var _queryParams = new core.Map(); 1870 var _queryParams = new core.Map();
1871 var _uploadMedia = null; 1871 var _uploadMedia = null;
1872 var _uploadOptions = null; 1872 var _uploadOptions = null;
1873 var _downloadOptions = commons.DownloadOptions.Metadata; 1873 var _downloadOptions = commons.DownloadOptions.Metadata;
1874 var _body = null; 1874 var _body = null;
1875 1875
1876 if (readGroupSetId == null) { 1876 if (readGroupSetId == null) {
1877 throw new core.ArgumentError("Parameter readGroupSetId is required."); 1877 throw new core.ArgumentError("Parameter readGroupSetId is required.");
1878 } 1878 }
1879 if (referenceName != null) {
1880 _queryParams["referenceName"] = [referenceName];
1881 }
1882 if (end != null) {
1883 _queryParams["end"] = [end];
1884 }
1885 if (pageToken != null) { 1879 if (pageToken != null) {
1886 _queryParams["pageToken"] = [pageToken]; 1880 _queryParams["pageToken"] = [pageToken];
1887 } 1881 }
1888 if (pageSize != null) { 1882 if (pageSize != null) {
1889 _queryParams["pageSize"] = ["${pageSize}"]; 1883 _queryParams["pageSize"] = ["${pageSize}"];
1890 } 1884 }
1891 if (start != null) { 1885 if (start != null) {
1892 _queryParams["start"] = [start]; 1886 _queryParams["start"] = [start];
1893 } 1887 }
1894 if (targetBucketWidth != null) { 1888 if (targetBucketWidth != null) {
1895 _queryParams["targetBucketWidth"] = [targetBucketWidth]; 1889 _queryParams["targetBucketWidth"] = [targetBucketWidth];
1896 } 1890 }
1891 if (referenceName != null) {
1892 _queryParams["referenceName"] = [referenceName];
1893 }
1894 if (end != null) {
1895 _queryParams["end"] = [end];
1896 }
1897 1897
1898 _url = 'v1/readgroupsets/' + commons.Escaper.ecapeVariable('$readGroupSetId' ) + '/coveragebuckets'; 1898 _url = 'v1/readgroupsets/' + commons.Escaper.ecapeVariable('$readGroupSetId' ) + '/coveragebuckets';
1899 1899
1900 var _response = _requester.request(_url, 1900 var _response = _requester.request(_url,
1901 "GET", 1901 "GET",
1902 body: _body, 1902 body: _body,
1903 queryParams: _queryParams, 1903 queryParams: _queryParams,
1904 uploadOptions: _uploadOptions, 1904 uploadOptions: _uploadOptions,
1905 uploadMedia: _uploadMedia, 1905 uploadMedia: _uploadMedia,
1906 downloadOptions: _downloadOptions); 1906 downloadOptions: _downloadOptions);
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
2097 * [Fundamentals of Google 2097 * [Fundamentals of Google
2098 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 2098 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
2099 * 2099 *
2100 * Implements 2100 * Implements
2101 * [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).
2102 * 2102 *
2103 * Request parameters: 2103 * Request parameters:
2104 * 2104 *
2105 * [referenceId] - The ID of the reference. 2105 * [referenceId] - The ID of the reference.
2106 * 2106 *
2107 * [start] - The start position (0-based) of this query. Defaults to 0.
2108 *
2109 * [end] - The end position (0-based, exclusive) of this query. Defaults to
2110 * the length
2111 * of this reference.
2112 *
2113 * [pageToken] - The continuation token, which is used to page through large 2107 * [pageToken] - The continuation token, which is used to page through large
2114 * result sets. 2108 * result sets.
2115 * To get the next page of results, set this parameter to the value of 2109 * To get the next page of results, set this parameter to the value of
2116 * `nextPageToken` from the previous response. 2110 * `nextPageToken` from the previous response.
2117 * 2111 *
2118 * [pageSize] - The maximum number of bases to return in a single page. If 2112 * [pageSize] - The maximum number of bases to return in a single page. If
2119 * unspecified, 2113 * unspecified,
2120 * defaults to 200Kbp (kilo base pairs). The maximum value is 10Mbp (mega base 2114 * defaults to 200Kbp (kilo base pairs). The maximum value is 10Mbp (mega base
2121 * pairs). 2115 * pairs).
2122 * 2116 *
2117 * [start] - The start position (0-based) of this query. Defaults to 0.
2118 *
2119 * [end] - The end position (0-based, exclusive) of this query. Defaults to
2120 * the length
2121 * of this reference.
2122 *
2123 * Completes with a [ListBasesResponse]. 2123 * Completes with a [ListBasesResponse].
2124 * 2124 *
2125 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 2125 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
2126 * error. 2126 * error.
2127 * 2127 *
2128 * 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,
2129 * this method will complete with the same error. 2129 * this method will complete with the same error.
2130 */ 2130 */
2131 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.String pag eToken, core.int pageSize, core.String start, core.String end}) {
2132 var _url = null; 2132 var _url = null;
2133 var _queryParams = new core.Map(); 2133 var _queryParams = new core.Map();
2134 var _uploadMedia = null; 2134 var _uploadMedia = null;
2135 var _uploadOptions = null; 2135 var _uploadOptions = null;
2136 var _downloadOptions = commons.DownloadOptions.Metadata; 2136 var _downloadOptions = commons.DownloadOptions.Metadata;
2137 var _body = null; 2137 var _body = null;
2138 2138
2139 if (referenceId == null) { 2139 if (referenceId == null) {
2140 throw new core.ArgumentError("Parameter referenceId is required."); 2140 throw new core.ArgumentError("Parameter referenceId is required.");
2141 } 2141 }
2142 if (pageToken != null) {
2143 _queryParams["pageToken"] = [pageToken];
2144 }
2145 if (pageSize != null) {
2146 _queryParams["pageSize"] = ["${pageSize}"];
2147 }
2142 if (start != null) { 2148 if (start != null) {
2143 _queryParams["start"] = [start]; 2149 _queryParams["start"] = [start];
2144 } 2150 }
2145 if (end != null) { 2151 if (end != null) {
2146 _queryParams["end"] = [end]; 2152 _queryParams["end"] = [end];
2147 } 2153 }
2148 if (pageToken != null) {
2149 _queryParams["pageToken"] = [pageToken];
2150 }
2151 if (pageSize != null) {
2152 _queryParams["pageSize"] = ["${pageSize}"];
2153 }
2154 2154
2155 _url = 'v1/references/' + commons.Escaper.ecapeVariable('$referenceId') + '/ bases'; 2155 _url = 'v1/references/' + commons.Escaper.ecapeVariable('$referenceId') + '/ bases';
2156 2156
2157 var _response = _requester.request(_url, 2157 var _response = _requester.request(_url,
2158 "GET", 2158 "GET",
2159 body: _body, 2159 body: _body,
2160 queryParams: _queryParams, 2160 queryParams: _queryParams,
2161 uploadOptions: _uploadOptions, 2161 uploadOptions: _uploadOptions,
2162 uploadMedia: _uploadMedia, 2162 uploadMedia: _uploadMedia,
2163 downloadOptions: _downloadOptions); 2163 downloadOptions: _downloadOptions);
(...skipping 2067 matching lines...) Expand 10 before | Expand all | Expand 10 after
4231 4231
4232 /** The variant data import request. */ 4232 /** The variant data import request. */
4233 class ImportVariantsRequest { 4233 class ImportVariantsRequest {
4234 /** 4234 /**
4235 * 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
4236 * to `VCF`. 4236 * to `VCF`.
4237 * Possible string values are: 4237 * Possible string values are:
4238 * - "FORMAT_UNSPECIFIED" 4238 * - "FORMAT_UNSPECIFIED"
4239 * - "FORMAT_VCF" : VCF (Variant Call Format). The VCF files may be gzip 4239 * - "FORMAT_VCF" : VCF (Variant Call Format). The VCF files may be gzip
4240 * compressed. gVCF is 4240 * compressed. gVCF is
4241 * also supported. 4241 * also supported. Disclaimer: gzip VCF imports are currently much slower
4242 * than equivalent uncompressed VCF imports. For this reason, uncompressed
4243 * VCF is currently recommended for imports with more than 1GB combined
4244 * uncompressed size, or for time sensitive imports.
4242 * - "FORMAT_COMPLETE_GENOMICS" : Complete Genomics masterVarBeta format. The 4245 * - "FORMAT_COMPLETE_GENOMICS" : Complete Genomics masterVarBeta format. The
4243 * masterVarBeta files may 4246 * masterVarBeta files may
4244 * be bzip2 compressed. 4247 * be bzip2 compressed.
4245 */ 4248 */
4246 core.String format; 4249 core.String format;
4247 /** 4250 /**
4248 * A mapping between info field keys and the InfoMergeOperations to 4251 * A mapping between info field keys and the InfoMergeOperations to
4249 * be performed on them. This is plumbed down to the MergeVariantRequests 4252 * be performed on them. This is plumbed down to the MergeVariantRequests
4250 * generated by the resulting import job. 4253 * generated by the resulting import job.
4251 */ 4254 */
(...skipping 3431 matching lines...) Expand 10 before | Expand all | Expand 10 after
7683 } 7686 }
7684 if (type != null) { 7687 if (type != null) {
7685 _json["type"] = type; 7688 _json["type"] = type;
7686 } 7689 }
7687 if (value != null) { 7690 if (value != null) {
7688 _json["value"] = value; 7691 _json["value"] = value;
7689 } 7692 }
7690 return _json; 7693 return _json;
7691 } 7694 }
7692 } 7695 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/firebaserules/v1.dart ('k') | generated/googleapis/lib/iam/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698