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.drive.v2; | 3 library googleapis.drive.v2; |
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_1; | 7 import 'dart:convert' as convert_1; |
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 1286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1297 body: _body, | 1297 body: _body, |
1298 queryParams: _queryParams, | 1298 queryParams: _queryParams, |
1299 uploadOptions: _uploadOptions, | 1299 uploadOptions: _uploadOptions, |
1300 uploadMedia: _uploadMedia, | 1300 uploadMedia: _uploadMedia, |
1301 downloadOptions: _downloadOptions); | 1301 downloadOptions: _downloadOptions); |
1302 return _response.then((data) => null); | 1302 return _response.then((data) => null); |
1303 } | 1303 } |
1304 | 1304 |
1305 /** | 1305 /** |
1306 * Exports a Google Doc to the requested MIME type and returns the exported | 1306 * Exports a Google Doc to the requested MIME type and returns the exported |
1307 * content. | 1307 * content. Please note that the exported content is limited to 10MB. |
1308 * | 1308 * |
1309 * Request parameters: | 1309 * Request parameters: |
1310 * | 1310 * |
1311 * [fileId] - The ID of the file. | 1311 * [fileId] - The ID of the file. |
1312 * | 1312 * |
1313 * [mimeType] - The MIME type of the format requested for this export. | 1313 * [mimeType] - The MIME type of the format requested for this export. |
1314 * | 1314 * |
1315 * [downloadOptions] - Options for downloading. A download can be either a | 1315 * [downloadOptions] - Options for downloading. A download can be either a |
1316 * Metadata (default) or Media download. Partial Media downloads are possible | 1316 * Metadata (default) or Media download. Partial Media downloads are possible |
1317 * as well. | 1317 * as well. |
(...skipping 7024 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8342 } | 8342 } |
8343 if (permissionId != null) { | 8343 if (permissionId != null) { |
8344 _json["permissionId"] = permissionId; | 8344 _json["permissionId"] = permissionId; |
8345 } | 8345 } |
8346 if (picture != null) { | 8346 if (picture != null) { |
8347 _json["picture"] = (picture).toJson(); | 8347 _json["picture"] = (picture).toJson(); |
8348 } | 8348 } |
8349 return _json; | 8349 return _json; |
8350 } | 8350 } |
8351 } | 8351 } |
OLD | NEW |