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

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

Issue 663113002: Api roll 4: 2014-10-20 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 2 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/src/common_internal.dart ('k') | generated/googleapis/pubspec.yaml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library googleapis.storage.v1; 1 library googleapis.storage.v1;
2 2
3 import "dart:core" as core; 3 import "dart:core" as core;
4 import "dart:collection" as collection; 4 import "dart:collection" as collection;
5 import "dart:async" as async; 5 import "dart:async" as async;
6 import "dart:convert" as convert; 6 import "dart:convert" as convert;
7 7
8 import "package:crypto/crypto.dart" as crypto; 8 import "package:crypto/crypto.dart" as crypto;
9 import 'package:http/http.dart' as http; 9 import 'package:http/http.dart' as http;
10 import '../src/common_internal.dart' as common_internal; 10 import '../src/common_internal.dart' as common_internal;
11 import '../common/common.dart' as common; 11 import '../common/common.dart' as common;
12 12
13 export '../common/common.dart' show ApiRequestError; 13 export '../common/common.dart' show ApiRequestError;
14 export '../common/common.dart' show DetailedApiRequestError; 14 export '../common/common.dart' show DetailedApiRequestError;
15 15
16 /** Lets you store and retrieve potentially-large, immutable data objects. */ 16 /** Lets you store and retrieve potentially-large, immutable data objects. */
17 class StorageApi { 17 class StorageApi {
18 /** View and manage your data across Google Cloud Platform services */
19 static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf orm";
20
18 /** Manage your data and permissions in Google Cloud Storage */ 21 /** Manage your data and permissions in Google Cloud Storage */
19 static const DevstorageFullControlScope = "https://www.googleapis.com/auth/dev storage.full_control"; 22 static const DevstorageFullControlScope = "https://www.googleapis.com/auth/dev storage.full_control";
20 23
21 /** View your data in Google Cloud Storage */ 24 /** View your data in Google Cloud Storage */
22 static const DevstorageReadOnlyScope = "https://www.googleapis.com/auth/devsto rage.read_only"; 25 static const DevstorageReadOnlyScope = "https://www.googleapis.com/auth/devsto rage.read_only";
23 26
24 /** Manage your data in Google Cloud Storage */ 27 /** Manage your data in Google Cloud Storage */
25 static const DevstorageReadWriteScope = "https://www.googleapis.com/auth/devst orage.read_write"; 28 static const DevstorageReadWriteScope = "https://www.googleapis.com/auth/devst orage.read_write";
26 29
27 30
(...skipping 1769 matching lines...) Expand 10 before | Expand all | Expand 10 after
1797 "DELETE", 1800 "DELETE",
1798 body: _body, 1801 body: _body,
1799 queryParams: _queryParams, 1802 queryParams: _queryParams,
1800 uploadOptions: _uploadOptions, 1803 uploadOptions: _uploadOptions,
1801 uploadMedia: _uploadMedia, 1804 uploadMedia: _uploadMedia,
1802 downloadOptions: _downloadOptions); 1805 downloadOptions: _downloadOptions);
1803 return _response.then((data) => null); 1806 return _response.then((data) => null);
1804 } 1807 }
1805 1808
1806 /** 1809 /**
1807 * Retrieves objects or their metadata. 1810 * Retrieves an object or its metadata.
1808 * 1811 *
1809 * Request parameters: 1812 * Request parameters:
1810 * 1813 *
1811 * [bucket] - Name of the bucket in which the object resides. 1814 * [bucket] - Name of the bucket in which the object resides.
1812 * 1815 *
1813 * [object] - Name of the object. 1816 * [object] - Name of the object.
1814 * 1817 *
1815 * [generation] - If present, selects a specific revision of this object (as 1818 * [generation] - If present, selects a specific revision of this object (as
1816 * opposed to the latest version, the default). 1819 * opposed to the latest version, the default).
1817 * 1820 *
(...skipping 2201 matching lines...) Expand 10 before | Expand all | Expand 10 after
4019 _json["nextPageToken"] = nextPageToken; 4022 _json["nextPageToken"] = nextPageToken;
4020 } 4023 }
4021 if (prefixes != null) { 4024 if (prefixes != null) {
4022 _json["prefixes"] = prefixes; 4025 _json["prefixes"] = prefixes;
4023 } 4026 }
4024 return _json; 4027 return _json;
4025 } 4028 }
4026 } 4029 }
4027 4030
4028 4031
OLDNEW
« no previous file with comments | « generated/googleapis/lib/src/common_internal.dart ('k') | generated/googleapis/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698