Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

GoogleDrivePermissionCreateOptions

OfficeIMO.GoogleWorkspace.Drive

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

Grantee, role, discovery, and notification settings for creating a Drive permission.

Inheritance

  • object
  • GoogleDrivePermissionCreateOptions

Usage

Explore 1 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.

Accepted by parameters 1

Constructors

public GoogleDrivePermissionCreateOptions() #

Properties

public string Type { get; set; } #

Gets or sets the grantee type. The default is user.

public string Role { get; set; } #

Gets or sets the granted role. The default is reader.

public string? EmailAddress { get; set; } #

Gets or sets the user or group email address.

public string? Domain { get; set; } #

Gets or sets the domain for a domain permission.

public bool? AllowFileDiscovery { get; set; } #

Gets or sets whether an anyone or domain permission makes the file discoverable.

public bool SendNotificationEmail { get; set; } #

Gets or sets whether the request asks Google to email an applicable grantee. The default is true.

public string? EmailMessage { get; set; } #

Gets or sets an optional message requested for an applicable notification email.