Table of Contents

Class PermissionsResource.ListRequest

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

Lists a file's or shared drive's permissions.

public class PermissionsResource.ListRequest : DriveBaseServiceRequest<PermissionList>
Inheritance
PermissionsResource.ListRequest
Inherited Members

Constructors

ListRequest(IClientService, string)

Constructs a new List request.

public ListRequest(IClientService service, string fileId)

Parameters

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

IncludePermissionsForView

Specifies which additional view's permissions to include in the response. Only 'published' is supported.

public virtual string IncludePermissionsForView { get; set; }

Property Value

string

MethodName

Gets the method name.

public override string MethodName { get; }

Property Value

string

PageSize

The maximum number of permissions to return per page. When not set for files in a shared drive, at most 100 results will be returned. When not set for files that are not in a shared drive, the entire list will be returned.

public virtual int? PageSize { get; set; }

Property Value

int?

PageToken

The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response.

public virtual string PageToken { get; set; }

Property Value

string

RestPath

Gets the REST path.

public override string RestPath { get; }

Property Value

string

SupportsAllDrives

Whether the requesting application supports both My Drives and 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 List parameter list.

protected override void InitParameters()