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

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

Issue 2987103002: Api-Roll 52: 2017-07-31 (Closed)
Patch Set: Created 3 years, 4 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/bigquery/v2.dart ('k') | generated/googleapis/lib/calendar/v3.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.bigquerydatatransfer.v1; 3 library googleapis.bigquerydatatransfer.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 729 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 740
741 /** 741 /**
742 * Returns information about all data transfers in the project. 742 * Returns information about all data transfers in the project.
743 * 743 *
744 * Request parameters: 744 * Request parameters:
745 * 745 *
746 * [parent] - The BigQuery project id for which data sources 746 * [parent] - The BigQuery project id for which data sources
747 * should be returned: `projects/{project_id}`. 747 * should be returned: `projects/{project_id}`.
748 * Value must have pattern "^projects/[^/]+/locations/[^/]+$". 748 * Value must have pattern "^projects/[^/]+/locations/[^/]+$".
749 * 749 *
750 * [dataSourceIds] - When specified, only configurations of requested data
751 * sources are returned.
752 *
753 * [pageToken] - Pagination token, which can be used to request a specific 750 * [pageToken] - Pagination token, which can be used to request a specific
754 * page 751 * page
755 * of `ListTransfersRequest` list results. For multiple-page 752 * of `ListTransfersRequest` list results. For multiple-page
756 * results, `ListTransfersResponse` outputs 753 * results, `ListTransfersResponse` outputs
757 * a `next_page` token, which can be used as the 754 * a `next_page` token, which can be used as the
758 * `page_token` value to request the next page of list results. 755 * `page_token` value to request the next page of list results.
759 * 756 *
760 * [pageSize] - Page size. The default page size is the maximum value of 1000 757 * [pageSize] - Page size. The default page size is the maximum value of 1000
761 * results. 758 * results.
762 * 759 *
760 * [dataSourceIds] - When specified, only configurations of requested data
761 * sources are returned.
762 *
763 * Completes with a [ListTransferConfigsResponse]. 763 * Completes with a [ListTransferConfigsResponse].
764 * 764 *
765 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 765 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
766 * error. 766 * error.
767 * 767 *
768 * If the used [http.Client] completes with an error when making a REST call, 768 * If the used [http.Client] completes with an error when making a REST call,
769 * this method will complete with the same error. 769 * this method will complete with the same error.
770 */ 770 */
771 async.Future<ListTransferConfigsResponse> list(core.String parent, {core.List< core.String> dataSourceIds, core.String pageToken, core.int pageSize}) { 771 async.Future<ListTransferConfigsResponse> list(core.String parent, {core.Strin g pageToken, core.int pageSize, core.List<core.String> dataSourceIds}) {
772 var _url = null; 772 var _url = null;
773 var _queryParams = new core.Map(); 773 var _queryParams = new core.Map();
774 var _uploadMedia = null; 774 var _uploadMedia = null;
775 var _uploadOptions = null; 775 var _uploadOptions = null;
776 var _downloadOptions = commons.DownloadOptions.Metadata; 776 var _downloadOptions = commons.DownloadOptions.Metadata;
777 var _body = null; 777 var _body = null;
778 778
779 if (parent == null) { 779 if (parent == null) {
780 throw new core.ArgumentError("Parameter parent is required."); 780 throw new core.ArgumentError("Parameter parent is required.");
781 } 781 }
782 if (dataSourceIds != null) {
783 _queryParams["dataSourceIds"] = dataSourceIds;
784 }
785 if (pageToken != null) { 782 if (pageToken != null) {
786 _queryParams["pageToken"] = [pageToken]; 783 _queryParams["pageToken"] = [pageToken];
787 } 784 }
788 if (pageSize != null) { 785 if (pageSize != null) {
789 _queryParams["pageSize"] = ["${pageSize}"]; 786 _queryParams["pageSize"] = ["${pageSize}"];
790 } 787 }
788 if (dataSourceIds != null) {
789 _queryParams["dataSourceIds"] = dataSourceIds;
790 }
791 791
792 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/transfer Configs'; 792 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/transfer Configs';
793 793
794 var _response = _requester.request(_url, 794 var _response = _requester.request(_url,
795 "GET", 795 "GET",
796 body: _body, 796 body: _body,
797 queryParams: _queryParams, 797 queryParams: _queryParams,
798 uploadOptions: _uploadOptions, 798 uploadOptions: _uploadOptions,
799 uploadMedia: _uploadMedia, 799 uploadMedia: _uploadMedia,
800 downloadOptions: _downloadOptions); 800 downloadOptions: _downloadOptions);
801 return _response.then((data) => new ListTransferConfigsResponse.fromJson(dat a)); 801 return _response.then((data) => new ListTransferConfigsResponse.fromJson(dat a));
802 } 802 }
803 803
804 /** 804 /**
805 * Updates a data transfer configuration. 805 * Updates a data transfer configuration.
806 * All fields must be set, even if they are not updated. 806 * All fields must be set, even if they are not updated.
807 * 807 *
808 * [request] - The metadata request object. 808 * [request] - The metadata request object.
809 * 809 *
810 * Request parameters: 810 * Request parameters:
811 * 811 *
812 * [name] - The resource name of the transfer run. 812 * [name] - The resource name of the transfer run.
813 * Transfer run names have the form 813 * Transfer run names have the form
814 * `projects/{project_id}/transferConfigs/{config_id}`. 814 * `projects/{project_id}/transferConfigs/{config_id}`.
815 * Where `config_id` is usually a uuid, even though it is not 815 * Where `config_id` is usually a uuid, even though it is not
816 * guaranteed or required. The name is ignored when creating a transfer run. 816 * guaranteed or required. The name is ignored when creating a transfer run.
817 * Value must have pattern 817 * Value must have pattern
818 * "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+$". 818 * "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+$".
819 * 819 *
820 * [updateMask] - Required list of fields to be updated in this request.
821 *
820 * [authorizationCode] - Optional OAuth2 authorization code to use with this 822 * [authorizationCode] - Optional OAuth2 authorization code to use with this
821 * transfer configuration. 823 * transfer configuration.
822 * If it is provided, the transfer configuration will be associated with the 824 * If it is provided, the transfer configuration will be associated with the
823 * gaia id of the authorizing user. 825 * gaia id of the authorizing user.
824 * In order to obtain authorization_code, please make a 826 * In order to obtain authorization_code, please make a
825 * request to 827 * request to
826 * https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatra nsferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri> 828 * https://www.gstatic.com/bigquerydatatransfer/oauthz/auth?client_id=<datatra nsferapiclientid>&scope=<data_source_scopes>&redirect_uri=<redirect_uri>
827 * 829 *
828 * * client_id should be OAuth client_id of BigQuery DTS API for the given 830 * * client_id should be OAuth client_id of BigQuery DTS API for the given
829 * data source returned by ListDataSources method. 831 * data source returned by ListDataSources method.
830 * * data_source_scopes are the scopes returned by ListDataSources method. 832 * * data_source_scopes are the scopes returned by ListDataSources method.
831 * * redirect_uri is an optional parameter. If not specified, then 833 * * redirect_uri is an optional parameter. If not specified, then
832 * authorization code is posted to the opener of authorization flow window. 834 * authorization code is posted to the opener of authorization flow window.
833 * Otherwise it will be sent to the redirect uri. A special value of 835 * Otherwise it will be sent to the redirect uri. A special value of
834 * urn:ietf:wg:oauth:2.0:oob means that authorization code should be 836 * urn:ietf:wg:oauth:2.0:oob means that authorization code should be
835 * returned in the title bar of the browser, with the page text prompting 837 * returned in the title bar of the browser, with the page text prompting
836 * the user to copy the code and paste it in the application. 838 * the user to copy the code and paste it in the application.
837 * 839 *
838 * [updateMask] - Required list of fields to be updated in this request.
839 *
840 * Completes with a [TransferConfig]. 840 * Completes with a [TransferConfig].
841 * 841 *
842 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 842 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
843 * error. 843 * error.
844 * 844 *
845 * If the used [http.Client] completes with an error when making a REST call, 845 * If the used [http.Client] completes with an error when making a REST call,
846 * this method will complete with the same error. 846 * this method will complete with the same error.
847 */ 847 */
848 async.Future<TransferConfig> patch(TransferConfig request, core.String name, { core.String authorizationCode, core.String updateMask}) { 848 async.Future<TransferConfig> patch(TransferConfig request, core.String name, { core.String updateMask, core.String authorizationCode}) {
849 var _url = null; 849 var _url = null;
850 var _queryParams = new core.Map(); 850 var _queryParams = new core.Map();
851 var _uploadMedia = null; 851 var _uploadMedia = null;
852 var _uploadOptions = null; 852 var _uploadOptions = null;
853 var _downloadOptions = commons.DownloadOptions.Metadata; 853 var _downloadOptions = commons.DownloadOptions.Metadata;
854 var _body = null; 854 var _body = null;
855 855
856 if (request != null) { 856 if (request != null) {
857 _body = convert.JSON.encode((request).toJson()); 857 _body = convert.JSON.encode((request).toJson());
858 } 858 }
859 if (name == null) { 859 if (name == null) {
860 throw new core.ArgumentError("Parameter name is required."); 860 throw new core.ArgumentError("Parameter name is required.");
861 } 861 }
862 if (updateMask != null) {
863 _queryParams["updateMask"] = [updateMask];
864 }
862 if (authorizationCode != null) { 865 if (authorizationCode != null) {
863 _queryParams["authorizationCode"] = [authorizationCode]; 866 _queryParams["authorizationCode"] = [authorizationCode];
864 } 867 }
865 if (updateMask != null) {
866 _queryParams["updateMask"] = [updateMask];
867 }
868 868
869 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name'); 869 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
870 870
871 var _response = _requester.request(_url, 871 var _response = _requester.request(_url,
872 "PATCH", 872 "PATCH",
873 body: _body, 873 body: _body,
874 queryParams: _queryParams, 874 queryParams: _queryParams,
875 uploadOptions: _uploadOptions, 875 uploadOptions: _uploadOptions,
876 uploadMedia: _uploadMedia, 876 uploadMedia: _uploadMedia,
877 downloadOptions: _downloadOptions); 877 downloadOptions: _downloadOptions);
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
1111 /** 1111 /**
1112 * Returns user facing log messages for the data transfer run. 1112 * Returns user facing log messages for the data transfer run.
1113 * 1113 *
1114 * Request parameters: 1114 * Request parameters:
1115 * 1115 *
1116 * [parent] - Transfer run name in the form: 1116 * [parent] - Transfer run name in the form:
1117 * `projects/{project_id}/transferConfigs/{config_Id}/runs/{run_id}`. 1117 * `projects/{project_id}/transferConfigs/{config_Id}/runs/{run_id}`.
1118 * Value must have pattern 1118 * Value must have pattern
1119 * "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+/runs/[^/]+$". 1119 * "^projects/[^/]+/locations/[^/]+/transferConfigs/[^/]+/runs/[^/]+$".
1120 * 1120 *
1121 * [pageSize] - Page size. The default page size is the maximum value of 1000
1122 * results.
1123 *
1121 * [messageTypes] - Message types to return. If not populated - INFO, WARNING 1124 * [messageTypes] - Message types to return. If not populated - INFO, WARNING
1122 * and ERROR 1125 * and ERROR
1123 * messages are returned. 1126 * messages are returned.
1124 * 1127 *
1125 * [pageToken] - Pagination token, which can be used to request a specific 1128 * [pageToken] - Pagination token, which can be used to request a specific
1126 * page 1129 * page
1127 * of `ListTransferLogsRequest` list results. For multiple-page 1130 * of `ListTransferLogsRequest` list results. For multiple-page
1128 * results, `ListTransferLogsResponse` outputs 1131 * results, `ListTransferLogsResponse` outputs
1129 * a `next_page` token, which can be used as the 1132 * a `next_page` token, which can be used as the
1130 * `page_token` value to request the next page of list results. 1133 * `page_token` value to request the next page of list results.
1131 * 1134 *
1132 * [pageSize] - Page size. The default page size is the maximum value of 1000
1133 * results.
1134 *
1135 * Completes with a [ListTransferLogsResponse]. 1135 * Completes with a [ListTransferLogsResponse].
1136 * 1136 *
1137 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1137 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1138 * error. 1138 * error.
1139 * 1139 *
1140 * If the used [http.Client] completes with an error when making a REST call, 1140 * If the used [http.Client] completes with an error when making a REST call,
1141 * this method will complete with the same error. 1141 * this method will complete with the same error.
1142 */ 1142 */
1143 async.Future<ListTransferLogsResponse> list(core.String parent, {core.List<cor e.String> messageTypes, core.String pageToken, core.int pageSize}) { 1143 async.Future<ListTransferLogsResponse> list(core.String parent, {core.int page Size, core.List<core.String> messageTypes, core.String pageToken}) {
1144 var _url = null; 1144 var _url = null;
1145 var _queryParams = new core.Map(); 1145 var _queryParams = new core.Map();
1146 var _uploadMedia = null; 1146 var _uploadMedia = null;
1147 var _uploadOptions = null; 1147 var _uploadOptions = null;
1148 var _downloadOptions = commons.DownloadOptions.Metadata; 1148 var _downloadOptions = commons.DownloadOptions.Metadata;
1149 var _body = null; 1149 var _body = null;
1150 1150
1151 if (parent == null) { 1151 if (parent == null) {
1152 throw new core.ArgumentError("Parameter parent is required."); 1152 throw new core.ArgumentError("Parameter parent is required.");
1153 } 1153 }
1154 if (pageSize != null) {
1155 _queryParams["pageSize"] = ["${pageSize}"];
1156 }
1154 if (messageTypes != null) { 1157 if (messageTypes != null) {
1155 _queryParams["messageTypes"] = messageTypes; 1158 _queryParams["messageTypes"] = messageTypes;
1156 } 1159 }
1157 if (pageToken != null) { 1160 if (pageToken != null) {
1158 _queryParams["pageToken"] = [pageToken]; 1161 _queryParams["pageToken"] = [pageToken];
1159 } 1162 }
1160 if (pageSize != null) {
1161 _queryParams["pageSize"] = ["${pageSize}"];
1162 }
1163 1163
1164 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/transfer Logs'; 1164 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/transfer Logs';
1165 1165
1166 var _response = _requester.request(_url, 1166 var _response = _requester.request(_url,
1167 "GET", 1167 "GET",
1168 body: _body, 1168 body: _body,
1169 queryParams: _queryParams, 1169 queryParams: _queryParams,
1170 uploadOptions: _uploadOptions, 1170 uploadOptions: _uploadOptions,
1171 uploadMedia: _uploadMedia, 1171 uploadMedia: _uploadMedia,
1172 downloadOptions: _downloadOptions); 1172 downloadOptions: _downloadOptions);
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
1343 1343
1344 /** 1344 /**
1345 * Returns information about all data transfers in the project. 1345 * Returns information about all data transfers in the project.
1346 * 1346 *
1347 * Request parameters: 1347 * Request parameters:
1348 * 1348 *
1349 * [parent] - The BigQuery project id for which data sources 1349 * [parent] - The BigQuery project id for which data sources
1350 * should be returned: `projects/{project_id}`. 1350 * should be returned: `projects/{project_id}`.
1351 * Value must have pattern "^projects/[^/]+$". 1351 * Value must have pattern "^projects/[^/]+$".
1352 * 1352 *
1353 * [pageSize] - Page size. The default page size is the maximum value of 1000
1354 * results.
1355 *
1353 * [dataSourceIds] - When specified, only configurations of requested data 1356 * [dataSourceIds] - When specified, only configurations of requested data
1354 * sources are returned. 1357 * sources are returned.
1355 * 1358 *
1356 * [pageToken] - Pagination token, which can be used to request a specific 1359 * [pageToken] - Pagination token, which can be used to request a specific
1357 * page 1360 * page
1358 * of `ListTransfersRequest` list results. For multiple-page 1361 * of `ListTransfersRequest` list results. For multiple-page
1359 * results, `ListTransfersResponse` outputs 1362 * results, `ListTransfersResponse` outputs
1360 * a `next_page` token, which can be used as the 1363 * a `next_page` token, which can be used as the
1361 * `page_token` value to request the next page of list results. 1364 * `page_token` value to request the next page of list results.
1362 * 1365 *
1363 * [pageSize] - Page size. The default page size is the maximum value of 1000
1364 * results.
1365 *
1366 * Completes with a [ListTransferConfigsResponse]. 1366 * Completes with a [ListTransferConfigsResponse].
1367 * 1367 *
1368 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1368 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1369 * error. 1369 * error.
1370 * 1370 *
1371 * If the used [http.Client] completes with an error when making a REST call, 1371 * If the used [http.Client] completes with an error when making a REST call,
1372 * this method will complete with the same error. 1372 * this method will complete with the same error.
1373 */ 1373 */
1374 async.Future<ListTransferConfigsResponse> list(core.String parent, {core.List< core.String> dataSourceIds, core.String pageToken, core.int pageSize}) { 1374 async.Future<ListTransferConfigsResponse> list(core.String parent, {core.int p ageSize, core.List<core.String> dataSourceIds, core.String pageToken}) {
1375 var _url = null; 1375 var _url = null;
1376 var _queryParams = new core.Map(); 1376 var _queryParams = new core.Map();
1377 var _uploadMedia = null; 1377 var _uploadMedia = null;
1378 var _uploadOptions = null; 1378 var _uploadOptions = null;
1379 var _downloadOptions = commons.DownloadOptions.Metadata; 1379 var _downloadOptions = commons.DownloadOptions.Metadata;
1380 var _body = null; 1380 var _body = null;
1381 1381
1382 if (parent == null) { 1382 if (parent == null) {
1383 throw new core.ArgumentError("Parameter parent is required."); 1383 throw new core.ArgumentError("Parameter parent is required.");
1384 } 1384 }
1385 if (pageSize != null) {
1386 _queryParams["pageSize"] = ["${pageSize}"];
1387 }
1385 if (dataSourceIds != null) { 1388 if (dataSourceIds != null) {
1386 _queryParams["dataSourceIds"] = dataSourceIds; 1389 _queryParams["dataSourceIds"] = dataSourceIds;
1387 } 1390 }
1388 if (pageToken != null) { 1391 if (pageToken != null) {
1389 _queryParams["pageToken"] = [pageToken]; 1392 _queryParams["pageToken"] = [pageToken];
1390 } 1393 }
1391 if (pageSize != null) {
1392 _queryParams["pageSize"] = ["${pageSize}"];
1393 }
1394 1394
1395 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/transfer Configs'; 1395 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/transfer Configs';
1396 1396
1397 var _response = _requester.request(_url, 1397 var _response = _requester.request(_url,
1398 "GET", 1398 "GET",
1399 body: _body, 1399 body: _body,
1400 queryParams: _queryParams, 1400 queryParams: _queryParams,
1401 uploadOptions: _uploadOptions, 1401 uploadOptions: _uploadOptions,
1402 uploadMedia: _uploadMedia, 1402 uploadMedia: _uploadMedia,
1403 downloadOptions: _downloadOptions); 1403 downloadOptions: _downloadOptions);
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
1630 * Returns information about running and completed jobs. 1630 * Returns information about running and completed jobs.
1631 * 1631 *
1632 * Request parameters: 1632 * Request parameters:
1633 * 1633 *
1634 * [parent] - Name of transfer configuration for which transfer runs should be 1634 * [parent] - Name of transfer configuration for which transfer runs should be
1635 * retrieved. 1635 * retrieved.
1636 * Format of transfer configuration resource name is: 1636 * Format of transfer configuration resource name is:
1637 * `projects/{project_id}/transferConfigs/{config_id}`. 1637 * `projects/{project_id}/transferConfigs/{config_id}`.
1638 * Value must have pattern "^projects/[^/]+/transferConfigs/[^/]+$". 1638 * Value must have pattern "^projects/[^/]+/transferConfigs/[^/]+$".
1639 * 1639 *
1640 * [runAttempt] - Indicates how run attempts are to be pulled.
1641 * Possible string values are:
1642 * - "RUN_ATTEMPT_UNSPECIFIED" : A RUN_ATTEMPT_UNSPECIFIED.
1643 * - "LATEST" : A LATEST.
1644 *
1645 * [pageToken] - Pagination token, which can be used to request a specific 1640 * [pageToken] - Pagination token, which can be used to request a specific
1646 * page 1641 * page
1647 * of `ListTransferRunsRequest` list results. For multiple-page 1642 * of `ListTransferRunsRequest` list results. For multiple-page
1648 * results, `ListTransferRunsResponse` outputs 1643 * results, `ListTransferRunsResponse` outputs
1649 * a `next_page` token, which can be used as the 1644 * a `next_page` token, which can be used as the
1650 * `page_token` value to request the next page of list results. 1645 * `page_token` value to request the next page of list results.
1651 * 1646 *
1652 * [pageSize] - Page size. The default page size is the maximum value of 1000 1647 * [pageSize] - Page size. The default page size is the maximum value of 1000
1653 * results. 1648 * results.
1654 * 1649 *
1655 * [statuses] - When specified, only transfer runs with requested statuses are 1650 * [statuses] - When specified, only transfer runs with requested statuses are
1656 * returned. 1651 * returned.
1657 * 1652 *
1653 * [runAttempt] - Indicates how run attempts are to be pulled.
1654 * Possible string values are:
1655 * - "RUN_ATTEMPT_UNSPECIFIED" : A RUN_ATTEMPT_UNSPECIFIED.
1656 * - "LATEST" : A LATEST.
1657 *
1658 * Completes with a [ListTransferRunsResponse]. 1658 * Completes with a [ListTransferRunsResponse].
1659 * 1659 *
1660 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1660 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1661 * error. 1661 * error.
1662 * 1662 *
1663 * If the used [http.Client] completes with an error when making a REST call, 1663 * If the used [http.Client] completes with an error when making a REST call,
1664 * this method will complete with the same error. 1664 * this method will complete with the same error.
1665 */ 1665 */
1666 async.Future<ListTransferRunsResponse> list(core.String parent, {core.String r unAttempt, core.String pageToken, core.int pageSize, core.List<core.String> stat uses}) { 1666 async.Future<ListTransferRunsResponse> list(core.String parent, {core.String p ageToken, core.int pageSize, core.List<core.String> statuses, core.String runAtt empt}) {
1667 var _url = null; 1667 var _url = null;
1668 var _queryParams = new core.Map(); 1668 var _queryParams = new core.Map();
1669 var _uploadMedia = null; 1669 var _uploadMedia = null;
1670 var _uploadOptions = null; 1670 var _uploadOptions = null;
1671 var _downloadOptions = commons.DownloadOptions.Metadata; 1671 var _downloadOptions = commons.DownloadOptions.Metadata;
1672 var _body = null; 1672 var _body = null;
1673 1673
1674 if (parent == null) { 1674 if (parent == null) {
1675 throw new core.ArgumentError("Parameter parent is required."); 1675 throw new core.ArgumentError("Parameter parent is required.");
1676 } 1676 }
1677 if (runAttempt != null) {
1678 _queryParams["runAttempt"] = [runAttempt];
1679 }
1680 if (pageToken != null) { 1677 if (pageToken != null) {
1681 _queryParams["pageToken"] = [pageToken]; 1678 _queryParams["pageToken"] = [pageToken];
1682 } 1679 }
1683 if (pageSize != null) { 1680 if (pageSize != null) {
1684 _queryParams["pageSize"] = ["${pageSize}"]; 1681 _queryParams["pageSize"] = ["${pageSize}"];
1685 } 1682 }
1686 if (statuses != null) { 1683 if (statuses != null) {
1687 _queryParams["statuses"] = statuses; 1684 _queryParams["statuses"] = statuses;
1688 } 1685 }
1686 if (runAttempt != null) {
1687 _queryParams["runAttempt"] = [runAttempt];
1688 }
1689 1689
1690 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/runs'; 1690 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/runs';
1691 1691
1692 var _response = _requester.request(_url, 1692 var _response = _requester.request(_url,
1693 "GET", 1693 "GET",
1694 body: _body, 1694 body: _body,
1695 queryParams: _queryParams, 1695 queryParams: _queryParams,
1696 uploadOptions: _uploadOptions, 1696 uploadOptions: _uploadOptions,
1697 uploadMedia: _uploadMedia, 1697 uploadMedia: _uploadMedia,
1698 downloadOptions: _downloadOptions); 1698 downloadOptions: _downloadOptions);
(...skipping 1180 matching lines...) Expand 10 before | Expand all | Expand 10 after
2879 } 2879 }
2880 if (updateTime != null) { 2880 if (updateTime != null) {
2881 _json["updateTime"] = updateTime; 2881 _json["updateTime"] = updateTime;
2882 } 2882 }
2883 if (userId != null) { 2883 if (userId != null) {
2884 _json["userId"] = userId; 2884 _json["userId"] = userId;
2885 } 2885 }
2886 return _json; 2886 return _json;
2887 } 2887 }
2888 } 2888 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/bigquery/v2.dart ('k') | generated/googleapis/lib/calendar/v3.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698