| Class info |
| public final class PermissionList extends GenericJson |
| File permission list class. |
| Constructor name |
| PermissionList () Constructor for the PermissionList class. |
| Return type | Method name |
| PermissionList | clone() Clones a PermissionList object. |
| String | getCategory() Obtains the resource type, which is always drive#permissionList. |
| String | getNextCursor() Obtains the cursor for the next page of permissions. If no such cursor is obtained, the last page of permissions has been returned. |
| List<Permission> | getPermissions() Obtains the list of permissions for the shared drive. |
| PermissionList | set(String fieldName, Object value) Sets the given field value for the given field name. |
| PermissionList | setCategory(String category) Sets the resource type, which is always drive#permissionList. |
| PermissionList | setNextCursor(String nextCursor) Sets the cursor for the next page of permissions. If no such cursor is set, the last page of permissions has been returned. |
| PermissionList | setPermissions(List<Permission> permissions) Sets the list of permissions for the shared drive. |
| constructor |
| PermissionList () |
| Constructs a PermissionList object. |
| Method |
| public PermissionList clone() |
| Clones a PermissionList object. |
Return
| type | desc |
| PermissionList | A PermissionList object. |
| Method |
| public String getCategory() |
| Obtains the resource type, which is always drive#permissionList. |
Return
| type | desc |
| String | Resource type, which is always drive#permissionList. |
| Method |
| public String getNextCursor() |
| Obtains the cursor for the next page of permissions. If no such cursor is obtained, the last page of permissions has been returned. |
Return
| type | desc |
| String | Cursor for the next page of permissions. If no such cursor is obtained, the last page of permissions has been returned. |
| Method |
| public List<Permission> getPermissions() |
| Obtains the list of permissions for the shared drive. |
Return
| type | desc |
| List<Permission> | List of permissions for the shared drive. |
| Method |
| public PermissionList set(String fieldName, Object value) |
| Sets the given field value for the given field name. |
Parameters
| Parameter name | Parameter desc |
| fieldName | Field name. |
| value | Field value. |
Return
| type | desc |
| PermissionList | A PermissionList object. |
| Method |
| public PermissionList setCategory(String category) |
| Sets the resource type, which is always drive#permissionList. |
Parameters
| Parameter name | Parameter desc |
| category | Resource type, which is always drive#permissionList. |
Return
| type | desc |
| PermissionList | A PermissionList object. |
| Method |
| public PermissionList setNextCursor(String nextCursor) |
| Sets the cursor for the next page of permissions. If no such cursor is set, the last page of permissions has been returned. |
Parameters
| Parameter name | Parameter desc |
| nextCursor | Cursor for the next page of permissions. If no such cursor is set, the last page of permissions has been returned. |
Return
| type | desc |
| PermissionList | A PermissionList object. |
| Method |
| public PermissionList setPermissions(List<Permission> permissions) |
| Sets the list of permissions for the shared drive. |
Parameters
| Parameter name | Parameter desc |
| permissions | List of permissions for the shared drive. |
Return
| type | desc |
| PermissionList | A PermissionList object. |