Table of Contents

Class DriveBaseServiceRequest<TResponse>

Namespace
Google.Apis.Drive.v3
Assembly
Google.Apis.Drive.v3.dll

A base abstract class for Drive requests.

public abstract class DriveBaseServiceRequest<TResponse> : ClientServiceRequest<TResponse>

Type Parameters

TResponse
Inheritance
DriveBaseServiceRequest<TResponse>
Derived

Constructors

DriveBaseServiceRequest(IClientService)

Constructs a new DriveBaseServiceRequest instance.

protected DriveBaseServiceRequest(IClientService service)

Parameters

service IClientService

Properties

Alt

Data format for the response.

public virtual DriveBaseServiceRequest<TResponse>.AltEnum? Alt { get; set; }

Property Value

DriveBaseServiceRequest<TResponse>.AltEnum?

Fields

Selector specifying which fields to include in a partial response.

public virtual string Fields { get; set; }

Property Value

string

Key

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

public virtual string Key { get; set; }

Property Value

string

OauthToken

OAuth 2.0 token for the current user.

public virtual string OauthToken { get; set; }

Property Value

string

PrettyPrint

Returns response with indentations and line breaks.

public virtual bool? PrettyPrint { get; set; }

Property Value

bool?

QuotaUser

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

public virtual string QuotaUser { get; set; }

Property Value

string

UserIp

Deprecated. Please use quotaUser instead.

public virtual string UserIp { get; set; }

Property Value

string

Methods

InitParameters()

Initializes Drive parameter list.

protected override void InitParameters()