Modifier and Type | Class and Description |
---|---|
class |
Drive.Children.Delete |
class |
Drive.Children.Get |
class |
Drive.Children.Insert |
class |
Drive.Children.List |
Constructor and Description |
---|
Children() |
Modifier and Type | Method and Description |
---|---|
Drive.Children.Delete |
delete(String folderId,
String childId)
Removes a child from a folder.
|
Drive.Children.Get |
get(String folderId,
String childId)
Gets a specific child reference.
|
Drive.Children.Insert |
insert(String folderId,
ChildReference content)
Inserts a file into a folder.
|
Drive.Children.List |
list(String folderId)
Lists a folder's children.
|
public Drive.Children.Delete delete(String folderId, String childId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.folderId
- The ID of the folder.childId
- The ID of the child.IOException
public Drive.Children.Get get(String folderId, String childId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.folderId
- The ID of the folder.childId
- The ID of the child.IOException
public Drive.Children.Insert insert(String folderId, ChildReference content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.folderId
- The ID of the folder.content
- the ChildReference
IOException
public Drive.Children.List list(String folderId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.folderId
- The ID of the folder.IOException
Copyright © 2011–2019 Google. All rights reserved.