Package | Description |
---|---|
com.google.api.services.drive | |
com.google.api.services.drive.model |
Modifier and Type | Method and Description |
---|---|
Drive.Properties.Insert |
Drive.Properties.insert(String fileId,
Property content)
Adds a property to a file, or updates it if it already exists.
|
Drive.Properties.Patch |
Drive.Properties.patch(String fileId,
String propertyKey,
Property content)
Updates a property.
|
Drive.Properties.Update |
Drive.Properties.update(String fileId,
String propertyKey,
Property content)
Updates a property.
|
Constructor and Description |
---|
Insert(String fileId,
Property content)
Adds a property to a file, or updates it if it already exists.
|
Patch(String fileId,
String propertyKey,
Property content)
Updates a property.
|
Update(String fileId,
String propertyKey,
Property content)
Updates a property.
|
Modifier and Type | Method and Description |
---|---|
Property |
Property.clone() |
Property |
Property.set(String fieldName,
Object value) |
Property |
Property.setEtag(String etag)
ETag of the property.
|
Property |
Property.setKey(String key)
The key of this property.
|
Property |
Property.setKind(String kind)
This is always drive#property.
|
Property |
Property.setSelfLink(String selfLink)
The link back to this property.
|
Property |
Property.setValue(String value)
The value of this property.
|
Property |
Property.setVisibility(String visibility)
The visibility of this property.
|
Modifier and Type | Method and Description |
---|---|
List<Property> |
PropertyList.getItems()
The list of properties.
|
List<Property> |
File.getProperties()
The list of properties.
|
Modifier and Type | Method and Description |
---|---|
PropertyList |
PropertyList.setItems(List<Property> items)
The list of properties.
|
File |
File.setProperties(List<Property> properties)
The list of properties.
|
Copyright © 2011–2021 Google. All rights reserved.