Show / Hide Table of Contents

Class ParentReference

A reference to a file's parent. A file can only have one parent folder; specifying multiple parents isn't supported. Some resource methods (such as parents.get) require a parentId. Use the parents.list method to retrieve the ID for a parent.

Inheritance
object
ParentReference
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Drive.v2.Data
Assembly: Google.Apis.Drive.v2.dll
Syntax
public class ParentReference : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Id

The ID of the parent.

Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type Description
string

IsRoot

Output only. Whether or not the parent is the root folder.

Declaration
[JsonProperty("isRoot")]
public virtual bool? IsRoot { get; set; }
Property Value
Type Description
bool?

Kind

Output only. This is always drive#parentReference.

Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type Description
string

ParentLink

Output only. A link to the parent.

Declaration
[JsonProperty("parentLink")]
public virtual string ParentLink { get; set; }
Property Value
Type Description
string

SelfLink

Output only. A link back to this reference.

Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX