The photos space will sunset in early January 2018. Your users can continue to access Google Photos via the drive space by enabling the Google Photos folder in My Drive in the Drive client settings

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
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.

Send feedback about...

Drive REST API v2
Drive REST API v2