|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.services.drive.Drive.Permissions
public class Drive.Permissions
The "permissions" collection of methods.
| Nested Class Summary | |
|---|---|
class |
Drive.Permissions.Delete
|
class |
Drive.Permissions.Get
|
class |
Drive.Permissions.Insert
|
class |
Drive.Permissions.List
|
class |
Drive.Permissions.Patch
|
class |
Drive.Permissions.Update
|
| Constructor Summary | |
|---|---|
Drive.Permissions()
|
|
| Method Summary | |
|---|---|
Drive.Permissions.Delete |
delete(String fileId,
String permissionId)
Deletes a permission from a file. |
Drive.Permissions.Get |
get(String fileId,
String permissionId)
Gets a permission by ID. |
Drive.Permissions.Insert |
insert(String fileId,
Permission content)
Inserts a permission for a file. |
Drive.Permissions.List |
list(String fileId)
Lists a file's permissions. |
Drive.Permissions.Patch |
patch(String fileId,
String permissionId,
Permission content)
Updates a permission. |
Drive.Permissions.Update |
update(String fileId,
String permissionId,
Permission content)
Updates a permission. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Drive.Permissions()
| Method Detail |
|---|
public Drive.Permissions.Insert insert(String fileId,
Permission content)
throws IOException
Drive.Permissions.Insert.execute() method to invoke the remote operation.
fileId - The ID for the file.content - the Permission
IOException - if the initialization of the request fails
public Drive.Permissions.Get get(String fileId,
String permissionId)
throws IOException
Drive.Permissions.Get.execute() method to invoke the remote operation.
fileId - The ID for the file.permissionId - The ID for the permission.
IOException - if the initialization of the request fails
public Drive.Permissions.List list(String fileId)
throws IOException
Drive.Permissions.List.execute() method to invoke the remote operation.
fileId - The ID for the file.
IOException - if the initialization of the request fails
public Drive.Permissions.Update update(String fileId,
String permissionId,
Permission content)
throws IOException
Drive.Permissions.Update.execute() method to invoke the remote operation.
fileId - The ID for the file.permissionId - The ID for the permission.content - the Permission
IOException - if the initialization of the request fails
public Drive.Permissions.Patch patch(String fileId,
String permissionId,
Permission content)
throws IOException
Drive.Permissions.Patch.execute() method to invoke the remote operation.
fileId - The ID for the file.permissionId - The ID for the permission.content - the Permission
IOException - if the initialization of the request fails
public Drive.Permissions.Delete delete(String fileId,
String permissionId)
throws IOException
Drive.Permissions.Delete.execute() method to invoke the remote operation.
fileId - The ID for the file.permissionId - The ID for the permission.
IOException - if the initialization of the request fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||