可以隨時設定的對像元資料。
簽名:
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;