interface R2PutOptions {
    customMetadata?: Record<string, string>;
    httpMetadata?: Headers | R2HTTPMetadata;
    md5?: string | ArrayBuffer;
    onlyIf?: Headers | R2Conditional;
    sha1?: string | ArrayBuffer;
    sha256?: string | ArrayBuffer;
    sha384?: string | ArrayBuffer;
    sha512?: string | ArrayBuffer;
    storageClass?: string;
}

Properties

customMetadata?: Record<string, string>
httpMetadata?: Headers | R2HTTPMetadata
md5?: string | ArrayBuffer
sha1?: string | ArrayBuffer
sha256?: string | ArrayBuffer
sha384?: string | ArrayBuffer
sha512?: string | ArrayBuffer
storageClass?: string