DriveDataRef
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Một tham chiếu đến dữ liệu của một tệp đính kèm trên Drive.
Biểu diễn dưới dạng JSON |
{
"driveFileId": string
} |
Trường |
driveFileId |
string
Mã nhận dạng của tệp trên Drive. Dùng với API Drive.
|
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\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. |"]]