# REST Resource: projects.thumbnails

## Resource: Thumbnail

Information about a thumbnail.

| JSON representation |
|---|
| ``` { "name": string, "expression": { object (`https://developers.google.com/earth-engine/reference/rest/v1alpha/Expression`) }, "fileFormat": enum (`https://developers.google.com/earth-engine/reference/rest/v1alpha/ImageFileFormat`), "bandIds": [ string ], "visualizationOptions": { object (`https://developers.google.com/earth-engine/reference/rest/v1alpha/VisualizationOptions`) }, "grid": { object (`https://developers.google.com/earth-engine/reference/rest/v1alpha/PixelGrid`) }, "filenamePrefix": string } ``` |

| Fields ||
|---|---|
| `name` | `string` The resource name representing the thumbnail, of the form "projects/\*/thumbnails/\*\*" (e.g. "projects/earthengine-legacy/thumbnails/"). |
| `expression` | ``object (`https://developers.google.com/earth-engine/reference/rest/v1alpha/Expression`)`` The expression to compute. Must evaluate to an Image. |
| `fileFormat` | ``enum (`https://developers.google.com/earth-engine/reference/rest/v1alpha/ImageFileFormat`)`` The output encoding in which to generate the resulting image. |
| `bandIds[]` | `string` If present, specifies a specific set of bands that will be selected from the result of evaluating `expression`. If not present, all bands resulting from `expression` will be selected. |
| `visualizationOptions` | ``object (`https://developers.google.com/earth-engine/reference/rest/v1alpha/VisualizationOptions`)`` If present, a set of visualization options to apply to produce an 8-bit RGB visualization of the data. |
| `grid` | ``object (`https://developers.google.com/earth-engine/reference/rest/v1alpha/PixelGrid`)`` An optional pixel grid describing how the image computed by `expression` is reprojected and clipped. |
| `filenamePrefix` | `string` Only used when fileFormat is ZIPPED_GEO_TIFF or ZIPPED_GEO_TIFF_PER_BAND. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/earth-engine/reference/rest/v1alpha/projects.thumbnails/create` | Creates an ID that can be used to render a "thumbnail" image. |
| ### `https://developers.google.com/earth-engine/reference/rest/v1alpha/projects.thumbnails/getPixels` | Computes an image showing the result of a computation. |