UpdateFile interface
更新檔案元數據。
- Extends
屬性
| download |
選擇性的下載處理程式,可用來利用相關檔案來下載承載檔案。 |
| etag | 檔案 ETag。 |
| file |
檔案識別,在匯入時由伺服器產生。 |
| related |
選擇性的相關檔案元數據會一起使用 DownloadHandler 元數據來下載承載檔案。 |
繼承的屬性
| file |
檔案名稱。 |
| hashes | 哈希演算法與base64編碼哈希值的對應。 |
| mime |
檔案MIME類型。 |
| properties | 選用的檔案屬性(服務未取用,但傳遞至裝置)。 |
| scan |
反惡意代碼掃描詳細數據。 |
| scan |
反惡意代碼掃描結果。 |
| size |
檔案大小,以位元組數為單位。 |
屬性詳細資料
downloadHandler
選擇性的下載處理程式,可用來利用相關檔案來下載承載檔案。
downloadHandler?: UpdateFileDownloadHandler
屬性值
etag
檔案 ETag。
etag?: string
屬性值
string
fileId
檔案識別,在匯入時由伺服器產生。
fileId: string
屬性值
string
relatedFiles
繼承的屬性詳細資料
fileName
hashes
哈希演算法與base64編碼哈希值的對應。
hashes: Record<string, string>
屬性值
Record<string, string>
mimeType
properties
選用的檔案屬性(服務未取用,但傳遞至裝置)。
properties?: Record<string, string>
屬性值
Record<string, string>