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

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

Issue 2734843002: Api-roll 46: 2017-03-06 (Closed)
Patch Set: Created 3 years, 9 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;
(...skipping 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after
1029 1029
1030 /** 1030 /**
1031 * Lists datasets within a project. 1031 * Lists datasets within a project.
1032 * 1032 *
1033 * For the definitions of datasets and other genomics resources, see 1033 * For the definitions of datasets and other genomics resources, see
1034 * [Fundamentals of Google 1034 * [Fundamentals of Google
1035 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics ) 1035 * Genomics](https://cloud.google.com/genomics/fundamentals-of-google-genomics )
1036 * 1036 *
1037 * Request parameters: 1037 * Request parameters:
1038 * 1038 *
1039 * [pageToken] - The continuation token, which is used to page through large
1040 * result sets.
1041 * To get the next page of results, set this parameter to the value of
1042 * `nextPageToken` from the previous response.
1043 *
1039 * [pageSize] - The maximum number of results to return in a single page. If 1044 * [pageSize] - The maximum number of results to return in a single page. If
1040 * unspecified, 1045 * unspecified,
1041 * defaults to 50. The maximum value is 1024. 1046 * defaults to 50. The maximum value is 1024.
1042 * 1047 *
1043 * [projectId] - Required. The Google Cloud project ID to list datasets for. 1048 * [projectId] - Required. The Google Cloud project ID to list datasets for.
1044 * 1049 *
1045 * [pageToken] - The continuation token, which is used to page through large
1046 * result sets.
1047 * To get the next page of results, set this parameter to the value of
1048 * `nextPageToken` from the previous response.
1049 *
1050 * Completes with a [ListDatasetsResponse]. 1050 * Completes with a [ListDatasetsResponse].
1051 * 1051 *
1052 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1052 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1053 * error. 1053 * error.
1054 * 1054 *
1055 * 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,
1056 * this method will complete with the same error. 1056 * this method will complete with the same error.
1057 */ 1057 */
1058 async.Future<ListDatasetsResponse> list({core.int pageSize, core.String projec tId, core.String pageToken}) { 1058 async.Future<ListDatasetsResponse> list({core.String pageToken, core.int pageS ize, core.String projectId}) {
1059 var _url = null; 1059 var _url = null;
1060 var _queryParams = new core.Map(); 1060 var _queryParams = new core.Map();
1061 var _uploadMedia = null; 1061 var _uploadMedia = null;
1062 var _uploadOptions = null; 1062 var _uploadOptions = null;
1063 var _downloadOptions = commons.DownloadOptions.Metadata; 1063 var _downloadOptions = commons.DownloadOptions.Metadata;
1064 var _body = null; 1064 var _body = null;
1065 1065
1066 if (pageToken != null) {
1067 _queryParams["pageToken"] = [pageToken];
1068 }
1066 if (pageSize != null) { 1069 if (pageSize != null) {
1067 _queryParams["pageSize"] = ["${pageSize}"]; 1070 _queryParams["pageSize"] = ["${pageSize}"];
1068 } 1071 }
1069 if (projectId != null) { 1072 if (projectId != null) {
1070 _queryParams["projectId"] = [projectId]; 1073 _queryParams["projectId"] = [projectId];
1071 } 1074 }
1072 if (pageToken != null) {
1073 _queryParams["pageToken"] = [pageToken];
1074 }
1075 1075
1076 _url = 'v1/datasets'; 1076 _url = 'v1/datasets';
1077 1077
1078 var _response = _requester.request(_url, 1078 var _response = _requester.request(_url,
1079 "GET", 1079 "GET",
1080 body: _body, 1080 body: _body,
1081 queryParams: _queryParams, 1081 queryParams: _queryParams,
1082 uploadOptions: _uploadOptions, 1082 uploadOptions: _uploadOptions,
1083 uploadMedia: _uploadMedia, 1083 uploadMedia: _uploadMedia,
1084 downloadOptions: _downloadOptions); 1084 downloadOptions: _downloadOptions);
(...skipping 318 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 *
1413 * [pageSize] - The maximum number of results to return. If unspecified, 1415 * [pageSize] - The maximum number of results to return. If unspecified,
1414 * defaults to 1416 * defaults to
1415 * 256. The maximum value is 2048. 1417 * 256. The maximum value is 2048.
1416 * 1418 *
1417 * [filter] - A string for filtering Operations. 1419 * [filter] - A string for filtering Operations.
1418 * The following filter fields are supported&#58; 1420 * The following filter fields are supported&#58;
1419 * 1421 *
1420 * * projectId&#58; Required. Corresponds to 1422 * * projectId&#58; Required. Corresponds to
1421 * OperationMetadata.projectId. 1423 * OperationMetadata.projectId.
1422 * * createTime&#58; The time this job was created, in seconds from the 1424 * * 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 `<=` 1425 * [epoch](http://en.wikipedia.org/wiki/Unix_time). Can use `>=` and/or `<=`
1424 * operators. 1426 * operators.
1425 * * status&#58; Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `CANCELED`. Only 1427 * * status&#58; Can be `RUNNING`, `SUCCESS`, `FAILURE`, or `CANCELED`. Only
1426 * one status may be specified. 1428 * one status may be specified.
1427 * * labels.key where key is a label key. 1429 * * labels.key where key is a label key.
1428 * 1430 *
1429 * Examples&#58; 1431 * Examples&#58;
1430 * 1432 *
1431 * * `projectId = my-project AND createTime >= 1432140000` 1433 * * `projectId = my-project AND createTime >= 1432140000`
1432 * * `projectId = my-project AND createTime >= 1432140000 AND createTime <= 1434 * * `projectId = my-project AND createTime >= 1432140000 AND createTime <=
1433 * 1432150000 AND status = RUNNING` 1435 * 1432150000 AND status = RUNNING`
1434 * * `projectId = my-project AND labels.color = *` 1436 * * `projectId = my-project AND labels.color = *`
1435 * * `projectId = my-project AND labels.color = red` 1437 * * `projectId = my-project AND labels.color = red`
1436 * 1438 *
1437 * [pageToken] - The standard list page token.
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.int pageSize , core.String filter, core.String pageToken}) { 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 (pageToken != null) {
1459 _queryParams["pageToken"] = [pageToken];
1460 }
1458 if (pageSize != null) { 1461 if (pageSize != null) {
1459 _queryParams["pageSize"] = ["${pageSize}"]; 1462 _queryParams["pageSize"] = ["${pageSize}"];
1460 } 1463 }
1461 if (filter != null) { 1464 if (filter != null) {
1462 _queryParams["filter"] = [filter]; 1465 _queryParams["filter"] = [filter];
1463 } 1466 }
1464 if (pageToken != null) {
1465 _queryParams["pageToken"] = [pageToken];
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 * [pageSize] - The maximum number of results to return in a single page. If
1830 * unspecified,
1831 * defaults to 1024. The maximum value is 2048.
1832 *
1833 * [start] - The start position of the range on the reference, 0-based 1829 * [start] - The start position of the range on the reference, 0-based
1834 * inclusive. If 1830 * inclusive. If
1835 * specified, `referenceName` must also be specified. Defaults to 0. 1831 * specified, `referenceName` must also be specified. Defaults to 0.
1836 * 1832 *
1837 * [targetBucketWidth] - The desired width of each reported coverage bucket in 1833 * [targetBucketWidth] - The desired width of each reported coverage bucket in
1838 * base pairs. This 1834 * base pairs. This
1839 * will be rounded down to the nearest precomputed bucket width; the value 1835 * will be rounded down to the nearest precomputed bucket width; the value
1840 * of which is returned as `bucketWidth` in the response. Defaults 1836 * of which is returned as `bucketWidth` in the response. Defaults
1841 * to infinity (each bucket spans an entire reference sequence) or the length 1837 * to infinity (each bucket spans an entire reference sequence) or the length
1842 * of the target range, if specified. The smallest precomputed 1838 * of the target range, if specified. The smallest precomputed
1843 * `bucketWidth` is currently 2048 base pairs; this is subject to 1839 * `bucketWidth` is currently 2048 base pairs; this is subject to
1844 * change. 1840 * change.
1845 * 1841 *
1846 * [referenceName] - The name of the reference to query, within the reference 1842 * [referenceName] - The name of the reference to query, within the reference
1847 * set associated 1843 * set associated
1848 * with this query. Optional. 1844 * with this query. Optional.
1849 * 1845 *
1850 * [end] - The end position of the range on the reference, 0-based exclusive. 1846 * [end] - The end position of the range on the reference, 0-based exclusive.
1851 * If 1847 * If
1852 * specified, `referenceName` must also be specified. If unset or 0, defaults 1848 * specified, `referenceName` must also be specified. If unset or 0, defaults
1853 * to the length of the reference. 1849 * to the length of the reference.
1854 * 1850 *
1855 * [pageToken] - The continuation token, which is used to page through large 1851 * [pageToken] - The continuation token, which is used to page through large
1856 * result sets. 1852 * result sets.
1857 * To get the next page of results, set this parameter to the value of 1853 * To get the next page of results, set this parameter to the value of
1858 * `nextPageToken` from the previous response. 1854 * `nextPageToken` from the previous response.
1859 * 1855 *
1856 * [pageSize] - The maximum number of results to return in a single page. If
1857 * unspecified,
1858 * defaults to 1024. The maximum value is 2048.
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.int pageSize, core.String start, core.String targetBucketWidth, core.String r eferenceName, core.String end, core.String pageToken}) { 1868 async.Future<ListCoverageBucketsResponse> list(core.String readGroupSetId, {co re.String start, core.String targetBucketWidth, core.String referenceName, core. String end, core.String pageToken, core.int pageSize}) {
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 (pageSize != null) {
1880 _queryParams["pageSize"] = ["${pageSize}"];
1881 }
1882 if (start != null) { 1879 if (start != null) {
1883 _queryParams["start"] = [start]; 1880 _queryParams["start"] = [start];
1884 } 1881 }
1885 if (targetBucketWidth != null) { 1882 if (targetBucketWidth != null) {
1886 _queryParams["targetBucketWidth"] = [targetBucketWidth]; 1883 _queryParams["targetBucketWidth"] = [targetBucketWidth];
1887 } 1884 }
1888 if (referenceName != null) { 1885 if (referenceName != null) {
1889 _queryParams["referenceName"] = [referenceName]; 1886 _queryParams["referenceName"] = [referenceName];
1890 } 1887 }
1891 if (end != null) { 1888 if (end != null) {
1892 _queryParams["end"] = [end]; 1889 _queryParams["end"] = [end];
1893 } 1890 }
1894 if (pageToken != null) { 1891 if (pageToken != null) {
1895 _queryParams["pageToken"] = [pageToken]; 1892 _queryParams["pageToken"] = [pageToken];
1896 } 1893 }
1894 if (pageSize != null) {
1895 _queryParams["pageSize"] = ["${pageSize}"];
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 * [pageToken] - The continuation token, which is used to page through large
2108 * result sets.
2109 * To get the next page of results, set this parameter to the value of
2110 * `nextPageToken` from the previous response.
2111 *
2107 * [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
2108 * unspecified, 2113 * unspecified,
2109 * 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
2110 * pairs). 2115 * pairs).
2111 * 2116 *
2112 * [start] - The start position (0-based) of this query. Defaults to 0. 2117 * [start] - The start position (0-based) of this query. Defaults to 0.
2113 * 2118 *
2114 * [end] - The end position (0-based, exclusive) of this query. Defaults to 2119 * [end] - The end position (0-based, exclusive) of this query. Defaults to
2115 * the length 2120 * the length
2116 * of this reference. 2121 * of this reference.
2117 * 2122 *
2118 * [pageToken] - The continuation token, which is used to page through large
2119 * result sets.
2120 * To get the next page of results, set this parameter to the value of
2121 * `nextPageToken` from the previous response.
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.int pageSi ze, core.String start, core.String end, core.String pageToken}) { 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 }
2142 if (pageSize != null) { 2145 if (pageSize != null) {
2143 _queryParams["pageSize"] = ["${pageSize}"]; 2146 _queryParams["pageSize"] = ["${pageSize}"];
2144 } 2147 }
2145 if (start != null) { 2148 if (start != null) {
2146 _queryParams["start"] = [start]; 2149 _queryParams["start"] = [start];
2147 } 2150 }
2148 if (end != null) { 2151 if (end != null) {
2149 _queryParams["end"] = [end]; 2152 _queryParams["end"] = [end];
2150 } 2153 }
2151 if (pageToken != null) {
2152 _queryParams["pageToken"] = [pageToken];
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 5519 matching lines...) Expand 10 before | Expand all | Expand 10 after
7683 } 7683 }
7684 if (type != null) { 7684 if (type != null) {
7685 _json["type"] = type; 7685 _json["type"] = type;
7686 } 7686 }
7687 if (value != null) { 7687 if (value != null) {
7688 _json["value"] = value; 7688 _json["value"] = value;
7689 } 7689 }
7690 return _json; 7690 return _json;
7691 } 7691 }
7692 } 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