Package | Description |
---|---|
com.google.api.services.drive |
Modifier and Type | Method and Description |
---|---|
Drive.Permissions.Insert |
Drive.Permissions.insert(String fileId,
Permission content)
Inserts a permission for a file or shared drive.
|
Drive.Permissions.Insert |
Drive.Permissions.Insert.set(String parameterName,
Object value) |
Drive.Permissions.Insert |
Drive.Permissions.Insert.setAlt(String alt) |
Drive.Permissions.Insert |
Drive.Permissions.Insert.setEmailMessage(String emailMessage)
A plain text custom message to include in notification emails.
|
Drive.Permissions.Insert |
Drive.Permissions.Insert.setEnforceSingleParent(Boolean enforceSingleParent)
Deprecated.
|
Drive.Permissions.Insert |
Drive.Permissions.Insert.setFields(String fields) |
Drive.Permissions.Insert |
Drive.Permissions.Insert.setFileId(String fileId)
The ID for the file or shared drive.
|
Drive.Permissions.Insert |
Drive.Permissions.Insert.setKey(String key) |
Drive.Permissions.Insert |
Drive.Permissions.Insert.setMoveToNewOwnersRoot(Boolean moveToNewOwnersRoot)
This parameter will only take effect if the item is not in a shared drive and the request
is attempting to transfer the ownership of the item.
|
Drive.Permissions.Insert |
Drive.Permissions.Insert.setOauthToken(String oauthToken) |
Drive.Permissions.Insert |
Drive.Permissions.Insert.setPrettyPrint(Boolean prettyPrint) |
Drive.Permissions.Insert |
Drive.Permissions.Insert.setQuotaUser(String quotaUser) |
Drive.Permissions.Insert |
Drive.Permissions.Insert.setSendNotificationEmails(Boolean sendNotificationEmails)
Whether to send notification emails when sharing to users or groups.
|
Drive.Permissions.Insert |
Drive.Permissions.Insert.setSupportsAllDrives(Boolean supportsAllDrives)
Whether the requesting application supports both My Drives and shared drives.
|
Drive.Permissions.Insert |
Drive.Permissions.Insert.setSupportsTeamDrives(Boolean supportsTeamDrives)
Deprecated use supportsAllDrives instead.
|
Drive.Permissions.Insert |
Drive.Permissions.Insert.setUseDomainAdminAccess(Boolean 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.
|
Drive.Permissions.Insert |
Drive.Permissions.Insert.setUserIp(String userIp) |
Copyright © 2011–2021 Google. All rights reserved.