| 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.storage.v1; | 3 library googleapis.storage.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; |
| 11 | 11 |
| 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show | 12 export 'package:_discoveryapis_commons/_discoveryapis_commons.dart' show |
| 13 ApiRequestError, DetailedApiRequestError, Media, UploadOptions, | 13 ApiRequestError, DetailedApiRequestError, Media, UploadOptions, |
| 14 ResumableUploadOptions, DownloadOptions, PartialDownloadOptions, | 14 ResumableUploadOptions, DownloadOptions, PartialDownloadOptions, |
| 15 ByteRange; | 15 ByteRange; |
| 16 | 16 |
| 17 const core.String USER_AGENT = 'dart-api-client storage/v1'; | 17 const core.String USER_AGENT = 'dart-api-client storage/v1'; |
| 18 | 18 |
| 19 /** Lets you store and retrieve potentially-large, immutable data objects. */ | 19 /** Stores and retrieves potentially large, immutable data objects. */ |
| 20 class StorageApi { | 20 class StorageApi { |
| 21 /** View and manage your data across Google Cloud Platform services */ | 21 /** View and manage your data across Google Cloud Platform services */ |
| 22 static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf
orm"; | 22 static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf
orm"; |
| 23 | 23 |
| 24 /** View your data across Google Cloud Platform services */ | 24 /** View your data across Google Cloud Platform services */ |
| 25 static const CloudPlatformReadOnlyScope = "https://www.googleapis.com/auth/clo
ud-platform.read-only"; | 25 static const CloudPlatformReadOnlyScope = "https://www.googleapis.com/auth/clo
ud-platform.read-only"; |
| 26 | 26 |
| 27 /** Manage your data and permissions in Google Cloud Storage */ | 27 /** Manage your data and permissions in Google Cloud Storage */ |
| 28 static const DevstorageFullControlScope = "https://www.googleapis.com/auth/dev
storage.full_control"; | 28 static const DevstorageFullControlScope = "https://www.googleapis.com/auth/dev
storage.full_control"; |
| 29 | 29 |
| (...skipping 4205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4235 } | 4235 } |
| 4236 if (rewriteToken != null) { | 4236 if (rewriteToken != null) { |
| 4237 _json["rewriteToken"] = rewriteToken; | 4237 _json["rewriteToken"] = rewriteToken; |
| 4238 } | 4238 } |
| 4239 if (totalBytesRewritten != null) { | 4239 if (totalBytesRewritten != null) { |
| 4240 _json["totalBytesRewritten"] = totalBytesRewritten; | 4240 _json["totalBytesRewritten"] = totalBytesRewritten; |
| 4241 } | 4241 } |
| 4242 return _json; | 4242 return _json; |
| 4243 } | 4243 } |
| 4244 } | 4244 } |
| OLD | NEW |