R2Object
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2025
Extended by
Section titled “Extended by”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new R2Object():
R2Object
Returns
Section titled “Returns”R2Object
Properties
Section titled “Properties”checksums
Section titled “checksums”
readonlychecksums:R2Checksums
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2031
customMetadata?
Section titled “customMetadata?”
readonlyoptionalcustomMetadata:Record<string,string>
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2034
readonlyetag:string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2029
httpEtag
Section titled “httpEtag”
readonlyhttpEtag:string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2030
httpMetadata?
Section titled “httpMetadata?”
readonlyoptionalhttpMetadata:R2HTTPMetadata
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2033
readonlykey:string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2026
range?
Section titled “range?”
readonlyoptionalrange:R2Range
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2035
readonlysize:number
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2028
ssecKeyMd5?
Section titled “ssecKeyMd5?”
readonlyoptionalssecKeyMd5:string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2037
storageClass
Section titled “storageClass”
readonlystorageClass:string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2036
uploaded
Section titled “uploaded”
readonlyuploaded:Date
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2032
version
Section titled “version”
readonlyversion:string
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2027
Methods
Section titled “Methods”writeHttpMetadata()
Section titled “writeHttpMetadata()”writeHttpMetadata(
headers):void
Defined in: node_modules/.pnpm/@cloudflare+workers-types@4.20250923.0/node_modules/@cloudflare/workers-types/index.ts:2038
Parameters
Section titled “Parameters”headers
Section titled “headers”Returns
Section titled “Returns”void
