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 |
---|
Drive.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, or adds it if it doesn't exist.
|
Drive.Properties.Update |
update(String fileId,
String propertyKey,
Property content)
Updates a property, or adds it if it doesn't exist.
|
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.IOException
public 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.IOException
public 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 Property
IOException
public Drive.Properties.List list(String fileId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.fileId
- The ID of the file.IOException
public 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 Property
IOException
public 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 Property
IOException