public class Drive.Properties
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Drive.Properties.Delete |
class |
Drive.Properties.Get |
class |
Drive.Properties.Insert |
class |
Drive.Properties.List |
class |
Drive.Properties.Patch |
class |
Drive.Properties.Update |
| Constructor and Description |
|---|
Properties() |
| Modifier and Type | Method and Description |
|---|---|
Drive.Properties.Delete |
delete(java.lang.String fileId,
java.lang.String propertyKey)
Deletes a property.
|
Drive.Properties.Get |
get(java.lang.String fileId,
java.lang.String propertyKey)
Gets a property by its key.
|
Drive.Properties.Insert |
insert(java.lang.String fileId,
Property content)
Adds a property to a file, or updates it if it already exists.
|
Drive.Properties.List |
list(java.lang.String fileId)
Lists a file's properties.
|
Drive.Properties.Patch |
patch(java.lang.String fileId,
java.lang.String propertyKey,
Property content)
Updates a property.
|
Drive.Properties.Update |
update(java.lang.String fileId,
java.lang.String propertyKey,
Property content)
Updates a property.
|
public Drive.Properties.Delete delete(java.lang.String fileId, java.lang.String propertyKey) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - The ID of the file.propertyKey - The key of the property.java.io.IOExceptionpublic Drive.Properties.Get get(java.lang.String fileId, java.lang.String propertyKey) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - The ID of the file.propertyKey - The key of the property.java.io.IOExceptionpublic Drive.Properties.Insert insert(java.lang.String fileId, Property content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - The ID of the file.content - the Propertyjava.io.IOExceptionpublic Drive.Properties.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.IOExceptionpublic Drive.Properties.Patch patch(java.lang.String fileId, java.lang.String propertyKey, Property content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - The ID of the file.propertyKey - The key of the property.content - the Propertyjava.io.IOExceptionpublic Drive.Properties.Update update(java.lang.String fileId, java.lang.String propertyKey, Property content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - The ID of the file.propertyKey - The key of the property.content - the Propertyjava.io.IOException