DriveDataRef
Stay organized with collections
Save and categorize content based on your preferences.
A reference to the data of a drive attachment.
JSON representation |
{
"driveFileId": string
} |
Fields |
driveFileId |
string
The ID for the drive file. Use with the Drive API.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-27 UTC.
[null,null,["Last updated 2025-02-27 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. |"]]