public class Drive.Parents
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Drive.Parents.Delete |
class |
Drive.Parents.Get |
class |
Drive.Parents.Insert |
class |
Drive.Parents.List |
Constructor and Description |
---|
Drive.Parents() |
Modifier and Type | Method and Description |
---|---|
Drive.Parents.Delete |
delete(java.lang.String fileId,
java.lang.String parentId)
Removes a parent from a file.
|
Drive.Parents.Get |
get(java.lang.String fileId,
java.lang.String parentId)
Gets a specific parent reference.
|
Drive.Parents.Insert |
insert(java.lang.String fileId,
ParentReference content)
Adds a parent folder for a file.
|
Drive.Parents.List |
list(java.lang.String fileId)
Lists a file's parents.
|
public Drive.Parents.Delete delete(java.lang.String fileId, java.lang.String parentId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.fileId
- The ID of the file.parentId
- The ID of the parent.java.io.IOException
public Drive.Parents.Get get(java.lang.String fileId, java.lang.String parentId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.fileId
- The ID of the file.parentId
- The ID of the parent.java.io.IOException
public Drive.Parents.Insert insert(java.lang.String fileId, ParentReference content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.fileId
- The ID of the file.content
- the ParentReference
java.io.IOException
public Drive.Parents.List list(java.lang.String fileId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.fileId
- The ID of the file.java.io.IOException