DriveDataRef
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
JSON 表示法 |
{
"driveFileId": string
} |
欄位 |
driveFileId |
string
雲端硬碟檔案的 ID。搭配 Drive API 使用。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eDrive attachment data is referenced using a JSON representation.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON object contains a single field, \u003ccode\u003edriveFileId\u003c/code\u003e, which stores the drive file's ID as a string.\u003c/p\u003e\n"],["\u003cp\u003eThis \u003ccode\u003edriveFileId\u003c/code\u003e can be used with the Drive API for further interactions with the file.\u003c/p\u003e\n"]]],["The JSON representation describes a drive attachment using a `driveFileId`. This `driveFileId` is a string value that uniquely identifies a file within Google Drive. It is intended for use with the Drive API to access or manage the associated file. This ID is the sole field and key piece of information needed to reference a specific drive file.\n"],null,["# DriveDataRef\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nA reference to the data of a drive attachment.\n\n| JSON representation |\n|-----------------------------------|\n| ``` { \"driveFileId\": string } ``` |\n\n| Fields ||\n|---------------|-------------------------------------------------------------|\n| `driveFileId` | `string` The ID for the drive file. Use with the Drive API. |"]]