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; |
(...skipping 3008 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3019 /** Access controls on the bucket. */ | 3019 /** Access controls on the bucket. */ |
3020 core.List<BucketAccessControl> acl; | 3020 core.List<BucketAccessControl> acl; |
3021 /** The bucket's Cross-Origin Resource Sharing (CORS) configuration. */ | 3021 /** The bucket's Cross-Origin Resource Sharing (CORS) configuration. */ |
3022 core.List<BucketCors> cors; | 3022 core.List<BucketCors> cors; |
3023 /** | 3023 /** |
3024 * Default access controls to apply to new objects when no ACL is provided. | 3024 * Default access controls to apply to new objects when no ACL is provided. |
3025 */ | 3025 */ |
3026 core.List<ObjectAccessControl> defaultObjectAcl; | 3026 core.List<ObjectAccessControl> defaultObjectAcl; |
3027 /** HTTP 1.1 Entity tag for the bucket. */ | 3027 /** HTTP 1.1 Entity tag for the bucket. */ |
3028 core.String etag; | 3028 core.String etag; |
3029 /** The ID of the bucket. */ | 3029 /** |
| 3030 * The ID of the bucket. For buckets, the id and name properities are the |
| 3031 * same. |
| 3032 */ |
3030 core.String id; | 3033 core.String id; |
3031 /** The kind of item this is. For buckets, this is always storage#bucket. */ | 3034 /** The kind of item this is. For buckets, this is always storage#bucket. */ |
3032 core.String kind; | 3035 core.String kind; |
3033 /** | 3036 /** |
3034 * The bucket's lifecycle configuration. See lifecycle management for more | 3037 * The bucket's lifecycle configuration. See lifecycle management for more |
3035 * information. | 3038 * information. |
3036 */ | 3039 */ |
3037 BucketLifecycle lifecycle; | 3040 BucketLifecycle lifecycle; |
3038 /** | 3041 /** |
3039 * The location of the bucket. Object data for objects in the bucket resides | 3042 * The location of the bucket. Object data for objects in the bucket resides |
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3744 core.String crc32c; | 3747 core.String crc32c; |
3745 /** | 3748 /** |
3746 * Metadata of customer-supplied encryption key, if the object is encrypted by | 3749 * Metadata of customer-supplied encryption key, if the object is encrypted by |
3747 * such a key. | 3750 * such a key. |
3748 */ | 3751 */ |
3749 ObjectCustomerEncryption customerEncryption; | 3752 ObjectCustomerEncryption customerEncryption; |
3750 /** HTTP 1.1 Entity tag for the object. */ | 3753 /** HTTP 1.1 Entity tag for the object. */ |
3751 core.String etag; | 3754 core.String etag; |
3752 /** The content generation of this object. Used for object versioning. */ | 3755 /** The content generation of this object. Used for object versioning. */ |
3753 core.String generation; | 3756 core.String generation; |
3754 /** The ID of the object. */ | 3757 /** |
| 3758 * The ID of the object, including the bucket name, object name, and |
| 3759 * generation number. |
| 3760 */ |
3755 core.String id; | 3761 core.String id; |
3756 /** The kind of item this is. For objects, this is always storage#object. */ | 3762 /** The kind of item this is. For objects, this is always storage#object. */ |
3757 core.String kind; | 3763 core.String kind; |
3758 /** | 3764 /** |
3759 * MD5 hash of the data; encoded using base64. For more information about | 3765 * MD5 hash of the data; encoded using base64. For more information about |
3760 * using the MD5 hash, see Hashes and ETags: Best Practices. | 3766 * using the MD5 hash, see Hashes and ETags: Best Practices. |
3761 */ | 3767 */ |
3762 core.String md5Hash; | 3768 core.String md5Hash; |
3763 /** Media download link. */ | 3769 /** Media download link. */ |
3764 core.String mediaLink; | 3770 core.String mediaLink; |
3765 /** User-provided metadata, in key/value pairs. */ | 3771 /** User-provided metadata, in key/value pairs. */ |
3766 core.Map<core.String, core.String> metadata; | 3772 core.Map<core.String, core.String> metadata; |
3767 /** | 3773 /** |
3768 * The version of the metadata for this object at this generation. Used for | 3774 * The version of the metadata for this object at this generation. Used for |
3769 * preconditions and for detecting changes in metadata. A metageneration | 3775 * preconditions and for detecting changes in metadata. A metageneration |
3770 * number is only meaningful in the context of a particular generation of a | 3776 * number is only meaningful in the context of a particular generation of a |
3771 * particular object. | 3777 * particular object. |
3772 */ | 3778 */ |
3773 core.String metageneration; | 3779 core.String metageneration; |
3774 /** The name of this object. Required if not specified by URL parameter. */ | 3780 /** The name of the object. Required if not specified by URL parameter. */ |
3775 core.String name; | 3781 core.String name; |
3776 /** | 3782 /** |
3777 * The owner of the object. This will always be the uploader of the object. | 3783 * The owner of the object. This will always be the uploader of the object. |
3778 */ | 3784 */ |
3779 ObjectOwner owner; | 3785 ObjectOwner owner; |
3780 /** The link to this object. */ | 3786 /** The link to this object. */ |
3781 core.String selfLink; | 3787 core.String selfLink; |
3782 /** Content-Length of the data in bytes. */ | 3788 /** Content-Length of the data in bytes. */ |
3783 core.String size; | 3789 core.String size; |
3784 /** Storage class of the object. */ | 3790 /** Storage class of the object. */ |
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4294 } | 4300 } |
4295 if (rewriteToken != null) { | 4301 if (rewriteToken != null) { |
4296 _json["rewriteToken"] = rewriteToken; | 4302 _json["rewriteToken"] = rewriteToken; |
4297 } | 4303 } |
4298 if (totalBytesRewritten != null) { | 4304 if (totalBytesRewritten != null) { |
4299 _json["totalBytesRewritten"] = totalBytesRewritten; | 4305 _json["totalBytesRewritten"] = totalBytesRewritten; |
4300 } | 4306 } |
4301 return _json; | 4307 return _json; |
4302 } | 4308 } |
4303 } | 4309 } |
OLD | NEW |