Google Drive SDK

Parents

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
id string The ID of the parent.
isRoot boolean Whether or not the parent is the root folder.
kind string This is always drive#parentReference.

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.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.