OptionalbucketDownloads bucket; default: idea-downloads.
OptionalcompressIf true, the body is gzipped with Content-Encoding: gzip. Browsers and fetch decompress transparently.
Recommended for text/JSON payloads over ~50 KB; for already-compressed binaries (images, zip, etc.) leave it off.
Only applied when data is a string, Buffer, or Uint8Array; silently ignored for other body types.
OptionalcontentExplicit Content-Encoding to store on the object (e.g., 'gzip', 'br').
Use this when the body is already compressed. Ignored when compress: true (in that case 'gzip' is forced).
OptionalcontentContent type, e.g. application/json; default: guessed.
OptionalfilenameThe suggested name for the file once it's downloaded/saved. Note: the string is cleaned to ensure maximum compatibility with every OS.
OptionalkeyThe unique filepath in which to store the file; default: random.
OptionalprefixFolder (e.g. the project name); default: common.
OptionalsecSeconds to URL expiration; default: 180.
Options for creating a download URL.