| Package | Description |
|---|---|
| com.google.api.services.appsactivity.model |
| Modifier and Type | Method and Description |
|---|---|
Permission |
Permission.clone() |
Permission |
Permission.set(String fieldName,
Object value) |
Permission |
Permission.setName(String name)
The name of the user or group the permission applies to.
|
Permission |
Permission.setPermissionId(String permissionId)
The ID for this permission.
|
Permission |
Permission.setRole(String role)
Indicates the Google Drive permissions role.
|
Permission |
Permission.setType(String type)
Indicates how widely permissions are granted.
|
Permission |
Permission.setUser(User user)
The user's information if the type is USER.
|
Permission |
Permission.setWithLink(Boolean withLink)
Whether the permission requires a link to the file.
|
| Modifier and Type | Method and Description |
|---|---|
List<Permission> |
PermissionChange.getAddedPermissions()
Lists all Permission objects added.
|
List<Permission> |
PermissionChange.getRemovedPermissions()
Lists all Permission objects removed.
|
| Modifier and Type | Method and Description |
|---|---|
PermissionChange |
PermissionChange.setAddedPermissions(List<Permission> addedPermissions)
Lists all Permission objects added.
|
PermissionChange |
PermissionChange.setRemovedPermissions(List<Permission> removedPermissions)
Lists all Permission objects removed.
|
Copyright © 2011–2020 Google. All rights reserved.