Class ChildrenResource.ListRequest
Lists a folder's children.
Inheritance
ChildrenResource.ListRequest
Inherited Members
Namespace: Google.Apis.Drive.v2
Assembly: Google.Apis.Drive.v2.dll
Syntax
public class ChildrenResource.ListRequest : DriveBaseServiceRequest<ChildList>, IClientServiceRequest<ChildList>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string folderId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | folderId |
Properties
FolderId
The ID of the folder.
Declaration
[RequestParameter("folderId", RequestParameterType.Path)]
public virtual string FolderId { get; }
Property Value
| Type | Description |
|---|---|
| string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MaxResults
Maximum number of children to return.
Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual int? MaxResults { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
OrderBy
A comma-separated list of sort keys. Valid keys are createdDate, folder, lastViewedByMeDate,
modifiedByMeDate, modifiedDate, quotaBytesUsed, recency, sharedWithMeDate, starred, and
title. Each key sorts ascending by default, but may be reversed with the desc modifier. Example
usage: ?orderBy=folder,modifiedDate desc,title. Please note that there is a current limitation for users
with approximately one million files in which the requested sort order is ignored.
Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual string OrderBy { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PageToken
Page token for children.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Q
Query string for searching children.
Declaration
[RequestParameter("q", RequestParameterType.Query)]
public virtual string Q { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()