Package | Description |
---|---|
com.google.api.services.drive |
Modifier and Type | Method and Description |
---|---|
Drive.Permissions.Insert |
Drive.Permissions.insert(java.lang.String fileId,
Permission content)
Inserts a permission for a file or shared drive.
|
Drive.Permissions.Insert |
Drive.Permissions.Insert.set(java.lang.String parameterName,
java.lang.Object value) |
Drive.Permissions.Insert |
Drive.Permissions.Insert.setAlt(java.lang.String alt) |
Drive.Permissions.Insert |
Drive.Permissions.Insert.setEmailMessage(java.lang.String emailMessage)
A plain text custom message to include in notification emails.
|
Drive.Permissions.Insert |
Drive.Permissions.Insert.setEnforceSingleParent(java.lang.Boolean enforceSingleParent)
Set to true to opt in to API behavior that aims for all items to have exactly one parent.
|
Drive.Permissions.Insert |
Drive.Permissions.Insert.setFields(java.lang.String fields) |
Drive.Permissions.Insert |
Drive.Permissions.Insert.setFileId(java.lang.String fileId)
The ID for the file or shared drive.
|
Drive.Permissions.Insert |
Drive.Permissions.Insert.setKey(java.lang.String key) |
Drive.Permissions.Insert |
Drive.Permissions.Insert.setMoveToNewOwnersRoot(java.lang.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(java.lang.String oauthToken) |
Drive.Permissions.Insert |
Drive.Permissions.Insert.setPrettyPrint(java.lang.Boolean prettyPrint) |
Drive.Permissions.Insert |
Drive.Permissions.Insert.setQuotaUser(java.lang.String quotaUser) |
Drive.Permissions.Insert |
Drive.Permissions.Insert.setSendNotificationEmails(java.lang.Boolean sendNotificationEmails)
Whether to send notification emails when sharing to users or groups.
|
Drive.Permissions.Insert |
Drive.Permissions.Insert.setSupportsAllDrives(java.lang.Boolean supportsAllDrives)
Deprecated - Whether the requesting application supports both My Drives and shared drives.
|
Drive.Permissions.Insert |
Drive.Permissions.Insert.setSupportsTeamDrives(java.lang.Boolean supportsTeamDrives)
Deprecated use supportsAllDrives instead.
|
Drive.Permissions.Insert |
Drive.Permissions.Insert.setUseDomainAdminAccess(java.lang.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(java.lang.String userIp) |