Package | Description |
---|---|
com.google.api.services.drive | |
com.google.api.services.drive.model |
Modifier and Type | Method and Description |
---|---|
Drive.Parents.Insert |
Drive.Parents.insert(java.lang.String fileId,
ParentReference content)
Adds a parent folder for a file.
|
Constructor and Description |
---|
Insert(java.lang.String fileId,
ParentReference content)
Adds a parent folder for a file.
|
Modifier and Type | Method and Description |
---|---|
ParentReference |
ParentReference.clone() |
ParentReference |
ParentReference.set(java.lang.String fieldName,
java.lang.Object value) |
ParentReference |
ParentReference.setId(java.lang.String id)
The ID of the parent.
|
ParentReference |
ParentReference.setIsRoot(java.lang.Boolean isRoot)
Whether or not the parent is the root folder.
|
ParentReference |
ParentReference.setKind(java.lang.String kind)
This is always drive#parentReference.
|
ParentReference |
ParentReference.setParentLink(java.lang.String parentLink)
A link to the parent.
|
ParentReference |
ParentReference.setSelfLink(java.lang.String selfLink)
A link back to this reference.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ParentReference> |
ParentList.getItems()
The list of parents.
|
java.util.List<ParentReference> |
File.getParents()
Collection of parent folders which contain this file.
|
Modifier and Type | Method and Description |
---|---|
ParentList |
ParentList.setItems(java.util.List<ParentReference> items)
The list of parents.
|
File |
File.setParents(java.util.List<ParentReference> parents)
Collection of parent folders which contain this file.
|