Parents

Stay organized with collections Save and categorize content based on your preferences.

For a list of methods for this resource, see the end of this page.

Resource representations

A reference to a file's parent.

{
  "kind": "drive#parentReference",
  "id": string,
  "selfLink": string,
  "parentLink": string,
  "isRoot": boolean
}
Property name Value Description Notes
kind string This is always drive#parentReference.
id string The ID of the parent.
isRoot boolean Whether or not the parent is the root folder.

Methods

delete
Removes a parent from a file.
get
Gets a specific parent reference.
insert
Adds a parent folder for a file.
list
Lists a file's parents.