Show / Hide Table of Contents

Class DrivesResource.ListRequest

Lists the user's shared drives.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<DriveList>
DriveBaseServiceRequest<DriveList>
DrivesResource.ListRequest
Implements
IClientServiceRequest<DriveList>
IClientServiceRequest
Inherited Members
DriveBaseServiceRequest<DriveList>.Alt
DriveBaseServiceRequest<DriveList>.Fields
DriveBaseServiceRequest<DriveList>.Key
DriveBaseServiceRequest<DriveList>.OauthToken
DriveBaseServiceRequest<DriveList>.PrettyPrint
DriveBaseServiceRequest<DriveList>.QuotaUser
DriveBaseServiceRequest<DriveList>.UserIp
ClientServiceRequest<DriveList>.Execute()
ClientServiceRequest<DriveList>.ExecuteAsStream()
ClientServiceRequest<DriveList>.ExecuteAsync()
ClientServiceRequest<DriveList>.ExecuteAsync(CancellationToken)
ClientServiceRequest<DriveList>.ExecuteAsStreamAsync()
ClientServiceRequest<DriveList>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<DriveList>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<DriveList>.GenerateRequestUri()
ClientServiceRequest<DriveList>.GetBody()
ClientServiceRequest<DriveList>.GetDefaultETagAction(String)
ClientServiceRequest<DriveList>.ETagAction
ClientServiceRequest<DriveList>.ModifyRequest
ClientServiceRequest<DriveList>.ValidateParameters
ClientServiceRequest<DriveList>.RequestParameters
ClientServiceRequest<DriveList>.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<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
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.DriveList>.HttpMethod

MaxResults

Maximum number of shared drives to return per page.

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

PageToken

Page token for shared drives.

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

Q

Query string for searching shared drives.

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.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
System.Nullable<System.Boolean>

Methods

InitParameters()

Initializes List parameter list.

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

Implements

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