GetBucketObjectResult class

Result data returned by getBucketObject.

Constructors

GetBucketObjectResult({String? bucket, String? cacheControl, String? content, String? contentDisposition, String? contentEncoding, String? contentLanguage, String? contentType, List<GetBucketObjectContext>? contexts, String? crc32c, List<GetBucketObjectCustomerEncryption>? customerEncryptions, String? deletionPolicy, String? detectMd5hash, bool? eventBasedHold, bool? forceEmptyContentType, int? generation, String? id, String? kmsKeyName, String? md5hash, String? md5hexhash, String? mediaLink, Map<String, String>? metadata, String? name, String? outputName, List<GetBucketObjectRetention>? retentions, String? selfLink, String? source, String? sourceMd5hash, String? storageClass, bool? temporaryHold})
Creates a new GetBucketObjectResult. bucket Optional. cacheControl (Computed) Cache-Control content Optional. contentDisposition (Computed) Content-Disposition of the object data. contentEncoding (Computed) Content-Encoding of the object data. contentLanguage (Computed) Content-Language of the object data. contentType (Computed) Content-Type of the object data. Defaults to "application/octet-stream" or "text/plain; charset=utf-8". contexts Optional. crc32c (Computed) Base 64 CRC32 hash of the uploaded data. customerEncryptions Optional. deletionPolicy Optional. detectMd5hash (Computed) Detect changes to local file or changes made outside of Terraform to the file stored on the server. MD5 hash of the data, encoded using base64. This field is not present for composite objects. For more information about using the MD5 hash, see Hashes and ETags: Best Practices. eventBasedHold (Computed) Whether an object is under event-based hold. Event-based hold is a way to retain objects until an event occurs, which is signified by the hold's release (i.e. this value is set to false). After being released (set to false), such objects will be subject to bucket-level retention (if any). forceEmptyContentType Optional. generation (Computed) The content generation of this object. Used for object versioning and soft delete. id The provider-assigned unique ID for this managed resource. kmsKeyName Optional. md5hash (Computed) Base 64 MD5 hash of the uploaded data. md5hexhash Optional. mediaLink (Computed) A url reference to download this object. metadata Optional. name Optional. outputName Optional. retentions Optional. selfLink (Computed) A url reference to this object. source Optional. sourceMd5hash Optional. storageClass (Computed) The StorageClass of the new bucket object. temporaryHold (Computed) Whether an object is under temporary hold. While this flag is set to true, the object is protected against deletion and overwrites.
const
GetBucketObjectResult.fromMap(Map<String, dynamic> map)
factory

Properties

bucket → String?
final
cacheControl → String?
(Computed) Cache-Control directive to specify caching behavior of object data. If omitted and object is accessible to all anonymous users, the default will be public, max-age=3600
final
content → String?
final
contentDisposition → String?
(Computed) Content-Disposition of the object data.
final
contentEncoding → String?
(Computed) Content-Encoding of the object data.
final
contentLanguage → String?
(Computed) Content-Language of the object data.
final
contentType → String?
(Computed) Content-Type of the object data. Defaults to "application/octet-stream" or "text/plain; charset=utf-8".
final
contexts → List<GetBucketObjectContext>?
final
crc32c → String?
(Computed) Base 64 CRC32 hash of the uploaded data.
final
customerEncryptions → List<GetBucketObjectCustomerEncryption>?
final
deletionPolicy → String?
final
detectMd5hash → String?
(Computed) Detect changes to local file or changes made outside of Terraform to the file stored on the server. MD5 hash of the data, encoded using base64. This field is not present for composite objects. For more information about using the MD5 hash, see Hashes and ETags: Best Practices.
final
eventBasedHold → bool?
(Computed) Whether an object is under event-based hold. Event-based hold is a way to retain objects until an event occurs, which is signified by the hold's release (i.e. this value is set to false). After being released (set to false), such objects will be subject to bucket-level retention (if any).
final
forceEmptyContentType → bool?
final
generation → int?
(Computed) The content generation of this object. Used for object versioning and soft delete.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
The provider-assigned unique ID for this managed resource.
final
kmsKeyName → String?
final
md5hash → String?
(Computed) Base 64 MD5 hash of the uploaded data.
final
md5hexhash → String?
final
(Computed) A url reference to download this object.
final
metadata → Map<String, String>?
final
name → String?
final
outputName → String?
final
retentions → List<GetBucketObjectRetention>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
(Computed) A url reference to this object.
final
source → String?
final
sourceMd5hash → String?
final
storageClass → String?
(Computed) The StorageClass of the new bucket object. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE. If not provided, this defaults to the bucket's default storage class or to a standard class.
final
temporaryHold → bool?
(Computed) Whether an object is under temporary hold. While this flag is set to true, the object is protected against deletion and overwrites.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited