Table of Contents

Class FilesResource.EmptyTrashRequest

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

Permanently deletes all of the user's trashed files.

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

Constructors

EmptyTrashRequest(IClientService)

Constructs a new EmptyTrash request.

public EmptyTrashRequest(IClientService service)

Parameters

service IClientService

Properties

EnforceSingleParent

Set to true to opt in to API behavior that aims for all items to have exactly one parent. This parameter will only take effect if the item is not in a shared drive. If an item's last parent is deleted but the item itself is not, the item will be placed under its owner's root.

public virtual bool? EnforceSingleParent { get; set; }

Property Value

bool?

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

Methods

InitParameters()

Initializes EmptyTrash parameter list.

protected override void InitParameters()