Table of Contents

Class PermissionsResource.DeleteRequest

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

Deletes a permission.

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

Constructors

DeleteRequest(IClientService, string, string)

Constructs a new Delete request.

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

Parameters

service IClientService
fileId string
permissionId string

Properties

FileId

The ID of the file or shared drive.

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

PermissionId

The ID of the permission.

public virtual string PermissionId { 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?

UseDomainAdminAccess

Issue the request as a domain administrator; if set to true, then the requester will be granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs.

public virtual bool? UseDomainAdminAccess { get; set; }

Property Value

bool?

Methods

InitParameters()

Initializes Delete parameter list.

protected override void InitParameters()