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 |
---|
Drive.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.
|
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.IOException
public 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.IOException
public 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 Property
java.io.IOException
public 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.IOException
public 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 Property
java.io.IOException
public 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 Property
java.io.IOException