| 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(String fileId,
String propertyKey)
Deletes a property.
|
Drive.Properties.Get |
get(String fileId,
String propertyKey)
Gets a property by its key.
|
Drive.Properties.Insert |
insert(String fileId,
Property content)
Adds a property to a file, or updates it if it already exists.
|
Drive.Properties.List |
list(String fileId)
Lists a file's properties.
|
Drive.Properties.Patch |
patch(String fileId,
String propertyKey,
Property content)
Updates a property.
|
Drive.Properties.Update |
update(String fileId,
String propertyKey,
Property content)
Updates a property.
|
public Drive.Properties.Delete delete(String fileId, String propertyKey) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - The ID of the file.propertyKey - The key of the property.IOExceptionpublic Drive.Properties.Get get(String fileId, String propertyKey) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - The ID of the file.propertyKey - The key of the property.IOExceptionpublic Drive.Properties.Insert insert(String fileId, Property content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - The ID of the file.content - the PropertyIOExceptionpublic Drive.Properties.List list(String fileId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - The ID of the file.IOExceptionpublic Drive.Properties.Patch patch(String fileId, String propertyKey, Property content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - The ID of the file.propertyKey - The key of the property.content - the PropertyIOExceptionpublic Drive.Properties.Update update(String fileId, String propertyKey, Property content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - The ID of the file.propertyKey - The key of the property.content - the PropertyIOExceptionCopyright © 2011–2023 Google. All rights reserved.