Drive API v2 (revision 47)
com.google.api.services.drive.model
Class File.Thumbnail
java.lang.Object
java.util.AbstractMap<java.lang.String,java.lang.Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.drive.model.File.Thumbnail
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>
- Enclosing class:
- File
public static final class File.Thumbnail
- extends GenericJson
Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by
Google.
Nested classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
Method Summary |
java.lang.String |
getImage()
The URL-safe Base64 encoded bytes of the thumbnail image. |
java.lang.String |
getMimeType()
The MIME type of the thumbnail. |
File.Thumbnail |
setImage(java.lang.String image)
The URL-safe Base64 encoded bytes of the thumbnail image. |
File.Thumbnail |
setMimeType(java.lang.String mimeType)
The MIME type of the thumbnail. |
Methods inherited from class java.util.AbstractMap |
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
File.Thumbnail
public File.Thumbnail()
getImage
public java.lang.String getImage()
- The URL-safe Base64 encoded bytes of the thumbnail image.
The value returned may be
null
.
setImage
public File.Thumbnail setImage(java.lang.String image)
- The URL-safe Base64 encoded bytes of the thumbnail image.
The value set may be
null
.
getMimeType
public java.lang.String getMimeType()
- The MIME type of the thumbnail.
The value returned may be
null
.
setMimeType
public File.Thumbnail setMimeType(java.lang.String mimeType)
- The MIME type of the thumbnail.
The value set may be
null
.