SettableMetadata interface

可以随时设置的对象元数据。

签名:

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;