Class RevisionsResource.DeleteRequest
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
Properties
FileId
The ID of the file.
public virtual string FileId { get; }
Property Value
HttpMethod
Gets the HTTP method.
public override string HttpMethod { get; }
Property Value
MethodName
Gets the method name.
public override string MethodName { get; }
Property Value
RestPath
Gets the REST path.
public override string RestPath { get; }
Property Value
RevisionId
The ID of the revision.
public virtual string RevisionId { get; }
Property Value
Methods
InitParameters()
Initializes Delete parameter list.
protected override void InitParameters()