Show / Hide Table of Contents

Class DrivesResource.ListRequest

Lists the user's shared drives.

Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<DriveList>
DriveBaseServiceRequest<DriveList>
DrivesResource.ListRequest
Implements
Google.Apis.Requests.IClientServiceRequest<DriveList>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
DriveBaseServiceRequest<DriveList>.Alt
DriveBaseServiceRequest<DriveList>.Fields
DriveBaseServiceRequest<DriveList>.Key
DriveBaseServiceRequest<DriveList>.OauthToken
DriveBaseServiceRequest<DriveList>.PrettyPrint
DriveBaseServiceRequest<DriveList>.QuotaUser
DriveBaseServiceRequest<DriveList>.UserIp
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.DriveList>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.DriveList>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.DriveList>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.DriveList>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.DriveList>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.DriveList>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.DriveList>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.DriveList>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.DriveList>.GetBody()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.DriveList>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.DriveList>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.DriveList>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.DriveList>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.DriveList>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Drive.v2.Data.DriveList>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.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
Google.Apis.Services.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

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top