new_releases 更新:查看
版本说明,了解新功能和产品动态。
FileInfo
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"mimeType": string,
"fileSizeBytes": integer,
"fileName": string,
"fileUri": string
} |
字段 |
mimeType |
string
文件的 MIME 类型。
|
fileSizeBytes |
integer
文件大小(以字节为单位)。
|
fileName |
string
文件的名称。
|
fileUri |
string
文件的 URI。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThe data describes a file sent by a user, providing key details about it.\u003c/p\u003e\n"],["\u003cp\u003eThe file's MIME type, size in bytes, name, and URI are included in the data.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003emimeType\u003c/code\u003e is a string field representing the file's MIME type.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003efileSizeBytes\u003c/code\u003e represents an integer value indicating the file's size in bytes.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003efileName\u003c/code\u003e and \u003ccode\u003efileUri\u003c/code\u003e represent the name and URI of the sent file respectively, and are both strings.\u003c/p\u003e\n"]]],[],null,["# FileInfo\n\nInformation about a file sent from a user to the agent.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------|\n| ``` { \"mimeType\": string, \"fileSizeBytes\": integer, \"fileName\": string, \"fileUri\": string } ``` |\n\n| Fields ||\n|-----------------|------------------------------------|\n| `mimeType` | `string` MIME type of the file. |\n| `fileSizeBytes` | `integer` Size of file (in bytes). |\n| `fileName` | `string` Name of the file. |\n| `fileUri` | `string` URI of the file. |"]]