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.v3; | 3 library googleapis.drive.v3; |
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 902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
913 body: _body, | 913 body: _body, |
914 queryParams: _queryParams, | 914 queryParams: _queryParams, |
915 uploadOptions: _uploadOptions, | 915 uploadOptions: _uploadOptions, |
916 uploadMedia: _uploadMedia, | 916 uploadMedia: _uploadMedia, |
917 downloadOptions: _downloadOptions); | 917 downloadOptions: _downloadOptions); |
918 return _response.then((data) => null); | 918 return _response.then((data) => null); |
919 } | 919 } |
920 | 920 |
921 /** | 921 /** |
922 * Exports a Google Doc to the requested MIME type and returns the exported | 922 * Exports a Google Doc to the requested MIME type and returns the exported |
923 * content. | 923 * content. Please note that the exported content is limited to 10MB. |
924 * | 924 * |
925 * Request parameters: | 925 * Request parameters: |
926 * | 926 * |
927 * [fileId] - The ID of the file. | 927 * [fileId] - The ID of the file. |
928 * | 928 * |
929 * [mimeType] - The MIME type of the format requested for this export. | 929 * [mimeType] - The MIME type of the format requested for this export. |
930 * | 930 * |
931 * [downloadOptions] - Options for downloading. A download can be either a | 931 * [downloadOptions] - Options for downloading. A download can be either a |
932 * Metadata (default) or Media download. Partial Media downloads are possible | 932 * Metadata (default) or Media download. Partial Media downloads are possible |
933 * as well. | 933 * as well. |
(...skipping 4355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5289 } | 5289 } |
5290 if (permissionId != null) { | 5290 if (permissionId != null) { |
5291 _json["permissionId"] = permissionId; | 5291 _json["permissionId"] = permissionId; |
5292 } | 5292 } |
5293 if (photoLink != null) { | 5293 if (photoLink != null) { |
5294 _json["photoLink"] = photoLink; | 5294 _json["photoLink"] = photoLink; |
5295 } | 5295 } |
5296 return _json; | 5296 return _json; |
5297 } | 5297 } |
5298 } | 5298 } |
OLD | NEW |