可以随时设置的对象元数据。
签名:
export interface SettableMetadata
特性
财产 | 类型 | 描述 |
---|---|---|
缓存控制 | 字符串|不明确的 | 用作对象下载时的“Cache-Control”标头。 |
内容配置 | 字符串|不明确的 | 用作对象下载时的“Content-Disposition”标头。 |
内容编码 | 字符串|不明确的 | 用作对象下载时的“Content-Encoding”标头。 |
内容语言 | 字符串|不明确的 | 用作对象下载时的“Content-Language”标头。 |
内容类型 | 字符串|不明确的 | 用作对象下载时的“Content-Type”标头。 |
自定义元数据 | { [键:字符串]:字符串; } |不明确的 | 其他用户定义的自定义元数据。 |
SettableMetadata.cacheControl
用作对象下载时的“Cache-Control”标头。
签名:
cacheControl?: string | undefined;
SettableMetadata.contentDisposition
用作对象下载时的“Content-Disposition”标头。
签名:
contentDisposition?: string | undefined;
SettableMetadata.contentEncoding
用作对象下载时的“Content-Encoding”标头。
签名:
contentEncoding?: string | undefined;
可设置元数据.contentLanguage
用作对象下载时的“Content-Language”标头。
签名:
contentLanguage?: string | undefined;
SettableMetadata.contentType
用作对象下载时的“Content-Type”标头。
签名:
contentType?: string | undefined;
可设置元数据.customMetadata
其他用户定义的自定义元数据。
签名:
customMetadata?: {
[key: string]: string;
} | undefined;