Drive API v2 (revision 30)
com.google.api.services.drive.model
Class File.Thumbnail
java.lang.Object
java.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.drive.model.File.Thumbnail
- All Implemented Interfaces:
- Cloneable, Map<String,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 interface java.util.Map |
Map.Entry<K,V> |
File.Thumbnail
public File.Thumbnail()
getImage
public String getImage()
- The URL-safe Base64 encoded bytes of the thumbnail image.
The value returned may be
null.
setImage
public File.Thumbnail setImage(String image)
- The URL-safe Base64 encoded bytes of the thumbnail image.
The value set may be
null.
getMimeType
public String getMimeType()
- The MIME type of the thumbnail.
The value returned may be
null.
setMimeType
public File.Thumbnail setMimeType(String mimeType)
- The MIME type of the thumbnail.
The value set may be
null.