java.lang.Object | |
↳ | com.google.android.gms.drive.MetadataChangeSet |
A collection of metadata changes. Any fields with null values will retain their current value.
Nested Classes | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
MetadataChangeSet.Builder | A builder for creating a new MetadataChangeSet. |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | CUSTOM_PROPERTY_SIZE_LIMIT_BYTES | The limit on the total number of bytes (in UTF-8 encoding) of the key string and the value string together. | |||||||||
int | INDEXABLE_TEXT_SIZE_LIMIT_BYTES | The limit on the indexable text size in bytes (for UTF-8 encoding). | |||||||||
int | MAX_PRIVATE_PROPERTIES_PER_RESOURCE_PER_APP | The maximum number of private properties an application can have on a Drive resource. | |||||||||
int | MAX_PUBLIC_PROPERTIES_PER_RESOURCE | The maximum number of public properties allowed on a Drive resource. | |||||||||
int | MAX_TOTAL_PROPERTIES_PER_RESOURCE | The maximum number of properties allowed on a Drive resource. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a map that defines the custom property changes for the resource.
| |||||||||||
Returns the new description for the resource or
null if unchanged.
| |||||||||||
Returns the new text to be indexed for the resource or
null if unchanged.
| |||||||||||
Returns the date which will be recorded as when the user most recently viewed the resource or
null if unchanged.
| |||||||||||
Returns the new MIME type for the resource or
null if unchanged.
| |||||||||||
Returns the new title for the resource or
null if unchanged.
| |||||||||||
Returns the new pinned state for the resource or
null if unchanged.
| |||||||||||
Returns the new starred state for the resource or
null if unchanged.
| |||||||||||
Returns the new viewed state for the resource or
null if unchanged.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
The limit on the total number of bytes (in UTF-8 encoding) of the key string and the value string together.
The limit on the indexable text size in bytes (for UTF-8 encoding). See: https://developers.google.com/drive/web/file
The maximum number of private properties an application can have on a Drive resource.
The maximum number of public properties allowed on a Drive resource.
The maximum number of properties allowed on a Drive resource. This includes the public properties on the resource as well as the private properties from all the applications having access to this Drive resource.
Returns a map that defines the custom property changes for the resource. The map is from the property keys to the new or updated values. Null values correspond to properties that are going to be deleted.
Returns the new description for the resource or null
if unchanged.
Returns the new text to be indexed for the resource or null
if unchanged.
Returns the date which will be recorded as when the user most recently viewed the resource or
null
if unchanged.
Returns the new MIME type for the resource or null
if unchanged.
Returns the new title for the resource or null
if unchanged.
Returns the new pinned state for the resource or null
if unchanged.
Returns the new starred state for the resource or null
if unchanged.
Returns the new viewed state for the resource or null
if unchanged.