|
||||||||||
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.Delete delete(String fileId, String permissionId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
fileId
- The ID for the file.permissionId
- The ID for the permission.
IOException
public Drive.Permissions.Get get(String fileId, String permissionId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
fileId
- The ID for the file.permissionId
- The ID for the permission.
IOException
public Drive.Permissions.Insert insert(String fileId, Permission content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
fileId
- The ID for the file.content
- the Permission
IOException
public Drive.Permissions.List list(String fileId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
fileId
- The ID for the file.
IOException
public Drive.Permissions.Patch patch(String fileId, String permissionId, Permission content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
fileId
- The ID for the file.permissionId
- The ID for the permission.content
- the Permission
IOException
public Drive.Permissions.Update update(String fileId, String permissionId, Permission content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
fileId
- The ID for the file.permissionId
- The ID for the permission.content
- the Permission
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |