GetBucketObjectResult constructor
- 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.
Implementation
const GetBucketObjectResult({
this.bucket,
this.cacheControl,
this.content,
this.contentDisposition,
this.contentEncoding,
this.contentLanguage,
this.contentType,
this.contexts,
this.crc32c,
this.customerEncryptions,
this.deletionPolicy,
this.detectMd5hash,
this.eventBasedHold,
this.forceEmptyContentType,
this.generation,
this.id,
this.kmsKeyName,
this.md5hash,
this.md5hexhash,
this.mediaLink,
this.metadata,
this.name,
this.outputName,
this.retentions,
this.selfLink,
this.source,
this.sourceMd5hash,
this.storageClass,
this.temporaryHold,
});