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

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

Issue 1268013003: Api-roll 21: 2015-08-04 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 5 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
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.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 /** Lets you store and retrieve 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 /**
25 * MESSAGE UNDER CONSTRUCTION View your data across Google Cloud Platform
26 * services
27 */
28 static const CloudPlatformReadOnlyScope = "https://www.googleapis.com/auth/clo ud-platform.read-only";
29
24 /** Manage your data and permissions in Google Cloud Storage */ 30 /** Manage your data and permissions in Google Cloud Storage */
25 static const DevstorageFullControlScope = "https://www.googleapis.com/auth/dev storage.full_control"; 31 static const DevstorageFullControlScope = "https://www.googleapis.com/auth/dev storage.full_control";
26 32
27 /** View your data in Google Cloud Storage */ 33 /** View your data in Google Cloud Storage */
28 static const DevstorageReadOnlyScope = "https://www.googleapis.com/auth/devsto rage.read_only"; 34 static const DevstorageReadOnlyScope = "https://www.googleapis.com/auth/devsto rage.read_only";
29 35
30 /** Manage your data in Google Cloud Storage */ 36 /** Manage your data in Google Cloud Storage */
31 static const DevstorageReadWriteScope = "https://www.googleapis.com/auth/devst orage.read_write"; 37 static const DevstorageReadWriteScope = "https://www.googleapis.com/auth/devst orage.read_write";
32 38
33 39
(...skipping 3582 matching lines...) Expand 10 before | Expand all | Expand 10 after
3616 /** Content-Disposition of the object data. */ 3622 /** Content-Disposition of the object data. */
3617 core.String contentDisposition; 3623 core.String contentDisposition;
3618 /** Content-Encoding of the object data. */ 3624 /** Content-Encoding of the object data. */
3619 core.String contentEncoding; 3625 core.String contentEncoding;
3620 /** Content-Language of the object data. */ 3626 /** Content-Language of the object data. */
3621 core.String contentLanguage; 3627 core.String contentLanguage;
3622 /** Content-Type of the object data. */ 3628 /** Content-Type of the object data. */
3623 core.String contentType; 3629 core.String contentType;
3624 /** 3630 /**
3625 * CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 3631 * CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64
3626 * in big-endian byte order. 3632 * in big-endian byte order. For more information about using the CRC32c
3633 * checksum, see Hashes and ETags: Best Practices.
3627 */ 3634 */
3628 core.String crc32c; 3635 core.String crc32c;
3629 /** HTTP 1.1 Entity tag for the object. */ 3636 /** HTTP 1.1 Entity tag for the object. */
3630 core.String etag; 3637 core.String etag;
3631 /** The content generation of this object. Used for object versioning. */ 3638 /** The content generation of this object. Used for object versioning. */
3632 core.String generation; 3639 core.String generation;
3633 /** The ID of the object. */ 3640 /** The ID of the object. */
3634 core.String id; 3641 core.String id;
3635 /** The kind of item this is. For objects, this is always storage#object. */ 3642 /** The kind of item this is. For objects, this is always storage#object. */
3636 core.String kind; 3643 core.String kind;
3637 /** MD5 hash of the data; encoded using base64. */ 3644 /**
3645 * MD5 hash of the data; encoded using base64. For more information about
3646 * using the MD5 hash, see Hashes and ETags: Best Practices.
3647 */
3638 core.String md5Hash; 3648 core.String md5Hash;
3639 /** Media download link. */ 3649 /** Media download link. */
3640 core.String mediaLink; 3650 core.String mediaLink;
3641 /** User-provided metadata, in key/value pairs. */ 3651 /** User-provided metadata, in key/value pairs. */
3642 core.Map<core.String, core.String> metadata; 3652 core.Map<core.String, core.String> metadata;
3643 /** 3653 /**
3644 * The version of the metadata for this object at this generation. Used for 3654 * The version of the metadata for this object at this generation. Used for
3645 * preconditions and for detecting changes in metadata. A metageneration 3655 * preconditions and for detecting changes in metadata. A metageneration
3646 * number is only meaningful in the context of a particular generation of a 3656 * number is only meaningful in the context of a particular generation of a
3647 * particular object. 3657 * particular object.
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
4154 } 4164 }
4155 if (rewriteToken != null) { 4165 if (rewriteToken != null) {
4156 _json["rewriteToken"] = rewriteToken; 4166 _json["rewriteToken"] = rewriteToken;
4157 } 4167 }
4158 if (totalBytesRewritten != null) { 4168 if (totalBytesRewritten != null) {
4159 _json["totalBytesRewritten"] = totalBytesRewritten; 4169 _json["totalBytesRewritten"] = totalBytesRewritten;
4160 } 4170 }
4161 return _json; 4171 return _json;
4162 } 4172 }
4163 } 4173 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698