Show / Hide Table of Contents

Class DrivesResource.ListRequest

Lists the user's shared drives. This method accepts the q parameter, which is a search query combining one or more search terms. For more information, see the Search for shared drives guide.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<DriveList>
DriveBaseServiceRequest<DriveList>
DrivesResource.ListRequest
Implements
IClientServiceRequest<DriveList>
IClientServiceRequest
Inherited Members
DriveBaseServiceRequest<DriveList>.Xgafv
DriveBaseServiceRequest<DriveList>.AccessToken
DriveBaseServiceRequest<DriveList>.Alt
DriveBaseServiceRequest<DriveList>.Callback
DriveBaseServiceRequest<DriveList>.Fields
DriveBaseServiceRequest<DriveList>.Key
DriveBaseServiceRequest<DriveList>.OauthToken
DriveBaseServiceRequest<DriveList>.PrettyPrint
DriveBaseServiceRequest<DriveList>.QuotaUser
DriveBaseServiceRequest<DriveList>.UploadType
DriveBaseServiceRequest<DriveList>.UploadProtocol
ClientServiceRequest<DriveList>.Execute()
ClientServiceRequest<DriveList>.ExecuteAsStream()
ClientServiceRequest<DriveList>.ExecuteAsync()
ClientServiceRequest<DriveList>.ExecuteAsync(CancellationToken)
ClientServiceRequest<DriveList>.ExecuteAsStreamAsync()
ClientServiceRequest<DriveList>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<DriveList>.CreateRequest(bool?)
ClientServiceRequest<DriveList>.GenerateRequestUri()
ClientServiceRequest<DriveList>.GetBody()
ClientServiceRequest<DriveList>.GetDefaultETagAction(string)
ClientServiceRequest<DriveList>.ETagAction
ClientServiceRequest<DriveList>.ModifyRequest
ClientServiceRequest<DriveList>.ValidateParameters
ClientServiceRequest<DriveList>.ApiVersion
ClientServiceRequest<DriveList>.RequestParameters
ClientServiceRequest<DriveList>.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.v3
Assembly: Google.Apis.Drive.v3.dll
Syntax
public class DrivesResource.ListRequest : DriveBaseServiceRequest<DriveList>, IClientServiceRequest<DriveList>, IClientServiceRequest

Constructors

ListRequest(IClientService)

Constructs a new List request.

Declaration
public ListRequest(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<DriveList>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<DriveList>.MethodName

PageSize

The maximum number of shared drives to return. The service may return fewer than this value. If unspecified, at most 10 shared drives will be returned. The maximum value is 100; values above 100 will be coerced to 100.

Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type Description
int?

PageToken

Page token for shared drives.

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

Q

Query string for searching shared drives.

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<DriveList>.RestPath

UseDomainAdminAccess

Issue the request as a domain administrator; if set to true, then all shared drives of the domain in which the requester is an administrator are returned.

Declaration
[RequestParameter("useDomainAdminAccess", RequestParameterType.Query)]
public virtual bool? UseDomainAdminAccess { get; set; }
Property Value
Type Description
bool?

Methods

InitParameters()

Initializes List parameter list.

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

Implements

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