API Reference
Class
GoogleDrivePermission
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.
Returned or exposed by 2
Constructors
public GoogleDrivePermission() #Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
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 Boolean? AllowFileDiscovery { get; set; } #JsonPropertyName("allowFileDiscovery")Gets or sets whether the permission makes the file discoverable through search.