A collection of metadata changes. Any fields with null values will retain their current value.
| class | MetadataChangeSet.Builder | A builder for creating a new MetadataChangeSet. | |
| 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. |
| Map<CustomPropertyKey, String> |
getCustomPropertyChangeMap()
Returns a map that defines the custom property changes for the resource.
|
| String |
getDescription()
Returns the new description for the resource or
null if unchanged.
|
| String |
getIndexableText()
Returns the new text to be indexed for the resource or
null if
unchanged.
|
| Date |
getLastViewedByMeDate()
Returns the date which will be recorded as when the user most recently viewed
the resource or
null if unchanged.
|
| String |
getMimeType()
Returns the new MIME type for the resource or
null if unchanged.
|
| String |
getTitle()
Returns the new title for the resource or
null if unchanged.
|
| Boolean |
isPinned()
Returns the new pinned state for the resource or
null if
unchanged.
|
| Boolean |
isStarred()
Returns the new starred state for the resource or
null if
unchanged.
|
| Boolean |
isViewed()
Returns the new viewed state for the resource or
null if
unchanged.
|
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: //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.