Show / Hide Table of Contents

Class ChildrenResource.ListRequest

Lists a folder's children.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<ChildList>
DriveBaseServiceRequest<ChildList>
ChildrenResource.ListRequest
Implements
IClientServiceRequest<ChildList>
IClientServiceRequest
Inherited Members
DriveBaseServiceRequest<ChildList>.Xgafv
DriveBaseServiceRequest<ChildList>.AccessToken
DriveBaseServiceRequest<ChildList>.Alt
DriveBaseServiceRequest<ChildList>.Callback
DriveBaseServiceRequest<ChildList>.Fields
DriveBaseServiceRequest<ChildList>.Key
DriveBaseServiceRequest<ChildList>.OauthToken
DriveBaseServiceRequest<ChildList>.PrettyPrint
DriveBaseServiceRequest<ChildList>.QuotaUser
DriveBaseServiceRequest<ChildList>.UploadType
DriveBaseServiceRequest<ChildList>.UploadProtocol
ClientServiceRequest<ChildList>.Execute()
ClientServiceRequest<ChildList>.ExecuteAsStream()
ClientServiceRequest<ChildList>.ExecuteAsync()
ClientServiceRequest<ChildList>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ChildList>.ExecuteAsStreamAsync()
ClientServiceRequest<ChildList>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ChildList>.CreateRequest(bool?)
ClientServiceRequest<ChildList>.GenerateRequestUri()
ClientServiceRequest<ChildList>.GetBody()
ClientServiceRequest<ChildList>.GetDefaultETagAction(string)
ClientServiceRequest<ChildList>.ETagAction
ClientServiceRequest<ChildList>.ModifyRequest
ClientServiceRequest<ChildList>.ValidateParameters
ClientServiceRequest<ChildList>.ApiVersion
ClientServiceRequest<ChildList>.RequestParameters
ClientServiceRequest<ChildList>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
ClientServiceRequest<ChildList>.HttpMethod

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
ClientServiceRequest<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
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
ClientServiceRequest<ChildList>.RestPath

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
DriveBaseServiceRequest<ChildList>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX