Class Result
A custom search result.
Implements
Inherited Members
Namespace: Google.Apis.CustomSearchAPI.v1.Data
Assembly: Google.Apis.CustomSearchAPI.v1.dll
Syntax
public class Result : IDirectResponseSchema
Properties
CacheId
Indicates the ID of Google's cached version of the search result.
Declaration
[JsonProperty("cacheId")]
public virtual string CacheId { get; set; }
Property Value
Type | Description |
---|---|
string |
DisplayLink
An abridged version of this search result’s URL, e.g. www.example.com.
Declaration
[JsonProperty("displayLink")]
public virtual string DisplayLink { 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 |
FileFormat
The file format of the search result.
Declaration
[JsonProperty("fileFormat")]
public virtual string FileFormat { get; set; }
Property Value
Type | Description |
---|---|
string |
FormattedUrl
The URL displayed after the snippet for each search result.
Declaration
[JsonProperty("formattedUrl")]
public virtual string FormattedUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
HtmlFormattedUrl
The HTML-formatted URL displayed after the snippet for each search result.
Declaration
[JsonProperty("htmlFormattedUrl")]
public virtual string HtmlFormattedUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
HtmlSnippet
The snippet of the search result, in HTML.
Declaration
[JsonProperty("htmlSnippet")]
public virtual string HtmlSnippet { get; set; }
Property Value
Type | Description |
---|---|
string |
HtmlTitle
The title of the search result, in HTML.
Declaration
[JsonProperty("htmlTitle")]
public virtual string HtmlTitle { get; set; }
Property Value
Type | Description |
---|---|
string |
Image
Image belonging to a custom search result.
Declaration
[JsonProperty("image")]
public virtual Result.ImageData Image { get; set; }
Property Value
Type | Description |
---|---|
Result.ImageData |
Kind
A unique identifier for the type of current object. For this API, it is customsearch#result.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
Labels
Encapsulates all information about refinement labels.
Declaration
[JsonProperty("labels")]
public virtual IList<Result.LabelsData> Labels { get; set; }
Property Value
Type | Description |
---|---|
IList<Result.LabelsData> |
Link
The full URL to which the search result is pointing, e.g. http://www.example.com/foo/bar.
Declaration
[JsonProperty("link")]
public virtual string Link { get; set; }
Property Value
Type | Description |
---|---|
string |
Mime
The MIME type of the search result.
Declaration
[JsonProperty("mime")]
public virtual string Mime { get; set; }
Property Value
Type | Description |
---|---|
string |
Pagemap
Contains PageMap information for this search result.
Declaration
[JsonProperty("pagemap")]
public virtual IDictionary<string, object> Pagemap { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
Snippet
The snippet of the search result, in plain text.
Declaration
[JsonProperty("snippet")]
public virtual string Snippet { get; set; }
Property Value
Type | Description |
---|---|
string |
Title
The title of the search result, in plain text.
Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
Type | Description |
---|---|
string |