Class Thumbnail
A single thumbnail, with its size and format.
Implements
Inherited Members
Namespace: Google.Apis.ToolResults.v1beta3.Data
Assembly: Google.Apis.ToolResults.v1beta3.dll
Syntax
public class Thumbnail : IDirectResponseSchema
Properties
ContentType
The thumbnail's content type, i.e. "image/png". Always set.
Declaration
[JsonProperty("contentType")]
public virtual string ContentType { get; set; }
Property Value
Type | Description |
---|---|
string |
Data
The thumbnail file itself. That is, the bytes here are precisely the bytes that make up the thumbnail file; they can be served as an image as-is (with the appropriate content type.) Always set.
Declaration
[JsonProperty("data")]
public virtual string Data { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
HeightPx
The height of the thumbnail, in pixels. Always set.
Declaration
[JsonProperty("heightPx")]
public virtual int? HeightPx { get; set; }
Property Value
Type | Description |
---|---|
int? |
WidthPx
The width of the thumbnail, in pixels. Always set.
Declaration
[JsonProperty("widthPx")]
public virtual int? WidthPx { get; set; }
Property Value
Type | Description |
---|---|
int? |