Show / Hide Table of Contents

Class Result

A custom search result.

Inheritance
System.Object
Result
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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
System.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
System.String

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

FileFormat

The file format of the search result.

Declaration
[JsonProperty("fileFormat")]
public virtual string FileFormat { get; set; }
Property Value
Type Description
System.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
System.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
System.String

HtmlSnippet

The snippet of the search result, in HTML.

Declaration
[JsonProperty("htmlSnippet")]
public virtual string HtmlSnippet { get; set; }
Property Value
Type Description
System.String

HtmlTitle

The title of the search result, in HTML.

Declaration
[JsonProperty("htmlTitle")]
public virtual string HtmlTitle { get; set; }
Property Value
Type Description
System.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
System.String

Labels

Encapsulates all information about refinement labels.

Declaration
[JsonProperty("labels")]
public virtual IList<Result.LabelsData> Labels { get; set; }
Property Value
Type Description
System.Collections.Generic.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
System.String

Mime

The MIME type of the search result.

Declaration
[JsonProperty("mime")]
public virtual string Mime { get; set; }
Property Value
Type Description
System.String

Pagemap

Contains PageMap information for this search result.

Declaration
[JsonProperty("pagemap")]
public virtual IDictionary<string, object> Pagemap { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.Object>

Snippet

The snippet of the search result, in plain text.

Declaration
[JsonProperty("snippet")]
public virtual string Snippet { get; set; }
Property Value
Type Description
System.String

Title

The title of the search result, in plain text.

Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
Type Description
System.String

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top