Show / Hide Table of Contents

Class ChildrenResource

The "children" collection of methods.

Inheritance
System.Object
ChildrenResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Drive.v2
Assembly: Google.Apis.Drive.v2.dll
Syntax
public class ChildrenResource

Constructors

ChildrenResource(IClientService)

Constructs a new resource.

Declaration
public ChildrenResource(IClientService service)
Parameters
Type Name Description
Google.Apis.Services.IClientService service

Methods

Delete(String, String)

Removes a child from a folder.

Declaration
public virtual ChildrenResource.DeleteRequest Delete(string folderId, string childId)
Parameters
Type Name Description
System.String folderId

The ID of the folder.

System.String childId

The ID of the child.

Returns
Type Description
ChildrenResource.DeleteRequest

Get(String, String)

Gets a specific child reference.

Declaration
public virtual ChildrenResource.GetRequest Get(string folderId, string childId)
Parameters
Type Name Description
System.String folderId

The ID of the folder.

System.String childId

The ID of the child.

Returns
Type Description
ChildrenResource.GetRequest

Insert(ChildReference, String)

Inserts a file into a folder.

Declaration
public virtual ChildrenResource.InsertRequest Insert(ChildReference body, string folderId)
Parameters
Type Name Description
ChildReference body

The body of the request.

System.String folderId

The ID of the folder.

Returns
Type Description
ChildrenResource.InsertRequest

List(String)

Lists a folder's children.

Declaration
public virtual ChildrenResource.ListRequest List(string folderId)
Parameters
Type Name Description
System.String folderId

The ID of the folder.

Returns
Type Description
ChildrenResource.ListRequest
In This Article
Back to top