Class ChildrenResource
The "children" collection of methods.
Inherited Members
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 |
---|---|---|
IClient |
service |
Methods
Delete(string, string)
Removes a child from a folder.
Declaration
public virtual ChildrenResource.DeleteRequest Delete(string folderId, string childId)
Parameters
Returns
Type | Description |
---|---|
Children |
Get(string, string)
Gets a specific child reference.
Declaration
public virtual ChildrenResource.GetRequest Get(string folderId, string childId)
Parameters
Returns
Type | Description |
---|---|
Children |
Insert(ChildReference, string)
Inserts a file into a folder.
Declaration
public virtual ChildrenResource.InsertRequest Insert(ChildReference body, string folderId)
Parameters
Type | Name | Description |
---|---|---|
Child |
body | The body of the request. |
string | folderId | The ID of the folder. |
Returns
Type | Description |
---|---|
Children |
List(string)
Lists a folder's children.
Declaration
public virtual ChildrenResource.ListRequest List(string folderId)
Parameters
Type | Name | Description |
---|---|---|
string | folderId | The ID of the folder. |
Returns
Type | Description |
---|---|
Children |