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 Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[[["\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. |"]]