Table of Contents

Class RevisionsResource.DeleteRequest

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

Permanently deletes a file version. You can only delete revisions for files with binary content in Google Drive, like images or videos. Revisions for other files, like Google Docs or Sheets, and the last remaining file version can't be deleted.

public class RevisionsResource.DeleteRequest : DriveBaseServiceRequest<string>
Inheritance
RevisionsResource.DeleteRequest
Inherited Members

Constructors

DeleteRequest(IClientService, string, string)

Constructs a new Delete request.

public DeleteRequest(IClientService service, string fileId, string revisionId)

Parameters

service IClientService
fileId string
revisionId string

Properties

FileId

The ID of the file.

public virtual string FileId { get; }

Property Value

string

HttpMethod

Gets the HTTP method.

public override string HttpMethod { get; }

Property Value

string

MethodName

Gets the method name.

public override string MethodName { get; }

Property Value

string

RestPath

Gets the REST path.

public override string RestPath { get; }

Property Value

string

RevisionId

The ID of the revision.

public virtual string RevisionId { get; }

Property Value

string

Methods

InitParameters()

Initializes Delete parameter list.

protected override void InitParameters()