Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

GoogleDrivePermission

OfficeIMO.GoogleWorkspace.Drive

Namespace
OfficeIMO.GoogleWorkspace.Drive
Assembly
OfficeIMO.GoogleWorkspace
Source revision
22fb5b2be3d2 with working tree changes
Modifiers
sealed

A permission granted on a Drive file or shared drive.

Inheritance

  • object
  • GoogleDrivePermission

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Constructors

public GoogleDrivePermission() #

Properties

public string? Id { get; set; } #
JsonPropertyName("id")

Gets or sets the permission identifier.

public string? Type { get; set; } #
JsonPropertyName("type")

Gets or sets the grantee type, such as user, group, domain, or anyone.

public string? Role { get; set; } #
JsonPropertyName("role")

Gets or sets the granted role, such as reader, commenter, writer, or owner.

public string? EmailAddress { get; set; } #
JsonPropertyName("emailAddress")

Gets or sets the user or group email address.

public string? Domain { get; set; } #
JsonPropertyName("domain")

Gets or sets the grantee domain for domain permissions.

public string? DisplayName { get; set; } #
JsonPropertyName("displayName")

Gets or sets the grantee's display name.

public bool? AllowFileDiscovery { get; set; } #
JsonPropertyName("allowFileDiscovery")

Gets or sets whether the permission makes the file discoverable through search.