Object class
An object.
Constructors
-
Object({List<
ObjectAccessControl> ? acl, String? bucket, String? cacheControl, int? componentCount, String? contentDisposition, String? contentEncoding, String? contentLanguage, String? contentType, String? crc32c, DateTime? customTime, ObjectCustomerEncryption? customerEncryption, String? etag, bool? eventBasedHold, String? generation, String? id, String? kind, String? kmsKeyName, String? md5Hash, String? mediaLink, Map<String, String> ? metadata, String? metageneration, String? name, ObjectOwner? owner, DateTime? retentionExpirationTime, String? selfLink, String? size, String? storageClass, bool? temporaryHold, DateTime? timeCreated, DateTime? timeDeleted, DateTime? timeStorageClassUpdated, DateTime? updated}) - Object.fromJson(Map _json)
Properties
-
acl
↔ List<
ObjectAccessControl> ? -
Access controls on the object.
getter/setter pair
- bucket ↔ String?
-
The name of the bucket containing this object.
getter/setter pair
- cacheControl ↔ String?
-
Cache-Control directive for the object data.
getter/setter pair
- componentCount ↔ int?
-
Number of underlying components that make up this object.
getter/setter pair
- contentDisposition ↔ String?
-
Content-Disposition of the object data.
getter/setter pair
- contentEncoding ↔ String?
-
Content-Encoding of the object data.
getter/setter pair
- contentLanguage ↔ String?
-
Content-Language of the object data.
getter/setter pair
- contentType ↔ String?
-
Content-Type of the object data.
getter/setter pair
- crc32c ↔ String?
-
CRC32c checksum, as described in RFC 4960, Appendix B; encoded using
base64 in big-endian byte order.
getter/setter pair
- customerEncryption ↔ ObjectCustomerEncryption?
-
Metadata of customer-supplied encryption key, if the object is encrypted
by such a key.
getter/setter pair
- customTime ↔ DateTime?
-
A timestamp in RFC 3339 format specified by the user for an object.
getter/setter pair
- etag ↔ String?
-
HTTP 1.1 Entity tag for the object.
getter/setter pair
- eventBasedHold ↔ bool?
-
Whether an object is under event-based hold.
getter/setter pair
- generation ↔ String?
-
The content generation of this object.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
The ID of the object, including the bucket name, object name, and
generation number.
getter/setter pair
- kind ↔ String?
-
The kind of item this is.
getter/setter pair
- kmsKeyName ↔ String?
-
Not currently supported.
getter/setter pair
- md5Hash ↔ String?
-
MD5 hash of the data; encoded using base64.
getter/setter pair
- mediaLink ↔ String?
-
Media download link.
getter/setter pair
-
metadata
↔ Map<
String, String> ? -
User-provided metadata, in key/value pairs.
getter/setter pair
- metageneration ↔ String?
-
The version of the metadata for this object at this generation.
getter/setter pair
- name ↔ String?
-
The name of the object.
getter/setter pair
- owner ↔ ObjectOwner?
-
The owner of the object.
getter/setter pair
- retentionExpirationTime ↔ DateTime?
-
A server-determined value that specifies the earliest time that the
object's retention period expires.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selfLink ↔ String?
-
The link to this object.
getter/setter pair
- size ↔ String?
-
Content-Length of the data in bytes.
getter/setter pair
- storageClass ↔ String?
-
Storage class of the object.
getter/setter pair
- temporaryHold ↔ bool?
-
Whether an object is under temporary hold.
getter/setter pair
- timeCreated ↔ DateTime?
-
The creation time of the object in RFC 3339 format.
getter/setter pair
- timeDeleted ↔ DateTime?
-
The deletion time of the object in RFC 3339 format.
getter/setter pair
- timeStorageClassUpdated ↔ DateTime?
-
The time at which the object's storage class was last changed.
getter/setter pair
- updated ↔ DateTime?
-
The modification time of the object metadata in RFC 3339 format.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited