toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'bucket': bucket,
'cacheControl': ?cacheControl,
'content': ?content,
'contentDisposition': ?contentDisposition,
'contentEncoding': ?contentEncoding,
'contentLanguage': ?contentLanguage,
'contentType': ?contentType,
'contexts': ?pulumi.Input.mapOptionalInputValue<BucketObjectContexts, Map<String, dynamic>>(contexts, (value) => value.toMap()),
'customerEncryption': ?pulumi.Input.mapOptionalInputValue<BucketObjectCustomerEncryption, Map<String, dynamic>>(customerEncryption, (value) => value.toMap()),
'deletionPolicy': ?deletionPolicy,
'detectMd5hash': ?detectMd5hash,
'eventBasedHold': ?eventBasedHold,
'forceEmptyContentType': ?forceEmptyContentType,
'kmsKeyName': ?kmsKeyName,
'metadata': ?metadata,
'name': ?name,
'retention': ?pulumi.Input.mapOptionalInputValue<BucketObjectRetention, Map<String, dynamic>>(retention, (value) => value.toMap()),
'source': ?source,
'sourceMd5hash': ?sourceMd5hash,
'storageClass': ?storageClass,
'temporaryHold': ?temporaryHold,
};
}