Table of Contents

Class FilesResource.DeleteRequest

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

Permanently deletes a file owned by the user without moving it to the trash. If the file belongs to a shared drive the user must be an organizer on the parent. If the target is a folder, all descendants owned by the user are also deleted.

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

Constructors

DeleteRequest(IClientService, string)

Constructs a new Delete request.

public DeleteRequest(IClientService service, string fileId)

Parameters

service IClientService
fileId 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

SupportsAllDrives

Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.

public virtual bool? SupportsAllDrives { get; set; }

Property Value

bool?

SupportsTeamDrives

Deprecated use supportsAllDrives instead.

public virtual bool? SupportsTeamDrives { get; set; }

Property Value

bool?

Methods

InitParameters()

Initializes Delete parameter list.

protected override void InitParameters()