Show / Hide Table of Contents

Class ChildrenResource.ListRequest

Lists a folder's children.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<ChildList>
DriveBaseServiceRequest<ChildList>
ChildrenResource.ListRequest
Implements
IClientServiceRequest<ChildList>
IClientServiceRequest
Inherited Members
DriveBaseServiceRequest<ChildList>.Alt
DriveBaseServiceRequest<ChildList>.Fields
DriveBaseServiceRequest<ChildList>.Key
DriveBaseServiceRequest<ChildList>.OauthToken
DriveBaseServiceRequest<ChildList>.PrettyPrint
DriveBaseServiceRequest<ChildList>.QuotaUser
DriveBaseServiceRequest<ChildList>.UserIp
ClientServiceRequest<ChildList>.Execute()
ClientServiceRequest<ChildList>.ExecuteAsStream()
ClientServiceRequest<ChildList>.ExecuteAsync()
ClientServiceRequest<ChildList>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ChildList>.ExecuteAsStreamAsync()
ClientServiceRequest<ChildList>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ChildList>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<ChildList>.GenerateRequestUri()
ClientServiceRequest<ChildList>.GetBody()
ClientServiceRequest<ChildList>.GetDefaultETagAction(String)
ClientServiceRequest<ChildList>.ETagAction
ClientServiceRequest<ChildList>.ModifyRequest
ClientServiceRequest<ChildList>.ValidateParameters
ClientServiceRequest<ChildList>.RequestParameters
ClientServiceRequest<ChildList>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
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 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
System.String folderId

Properties

FolderId

The ID of the folder.

Declaration
[RequestParameter("folderId", RequestParameterType.Path)]
public virtual string FolderId { get; }
Property Value
Type Description
System.String

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.ChildList>.HttpMethod

MaxResults

Maximum number of children to return.

Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual int? MaxResults { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.ChildList>.MethodName

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

PageToken

Page token for children.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
System.String

Q

Query string for searching children.

Declaration
[RequestParameter("q", RequestParameterType.Query)]
public virtual string Q { get; set; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.ChildList>.RestPath

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Drive.v2.DriveBaseServiceRequest<Google.Apis.Drive.v2.Data.ChildList>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top Generated by DocFX