|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.services.drive.Drive.Parents
public class Drive.Parents
The "parents" collection of methods.
| Nested Class Summary | |
|---|---|
class |
Drive.Parents.Delete
|
class |
Drive.Parents.Get
|
class |
Drive.Parents.Insert
|
class |
Drive.Parents.List
|
| Constructor Summary | |
|---|---|
Drive.Parents()
|
|
| Method Summary | |
|---|---|
Drive.Parents.Delete |
delete(String fileId,
String parentId)
Removes a parent from a file. |
Drive.Parents.Get |
get(String fileId,
String parentId)
Gets a specific parent reference. |
Drive.Parents.Insert |
insert(String fileId,
ParentReference content)
Adds a parent folder for a file. |
Drive.Parents.List |
list(String fileId)
Lists a file's parents. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Drive.Parents()
| Method Detail |
|---|
public Drive.Parents.Insert insert(String fileId,
ParentReference content)
throws IOException
Drive.Parents.Insert.execute() method to invoke the remote operation.
fileId - The ID of the file.content - the ParentReference
IOException - if the initialization of the request fails
public Drive.Parents.Get get(String fileId,
String parentId)
throws IOException
Drive.Parents.Get.execute() method to invoke the remote operation.
fileId - The ID of the file.parentId - The ID of the parent.
IOException - if the initialization of the request fails
public Drive.Parents.List list(String fileId)
throws IOException
Drive.Parents.List.execute() method to invoke the remote operation.
fileId - The ID of the file.
IOException - if the initialization of the request fails
public Drive.Parents.Delete delete(String fileId,
String parentId)
throws IOException
Drive.Parents.Delete.execute() method to invoke the remote operation.
fileId - The ID of the file.parentId - The ID of the parent.
IOException - if the initialization of the request fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||