Class Search
Response to a custom search request.
Implements
Inherited Members
Namespace: Google.Apis.CustomSearchAPI.v1.Data
Assembly: Google.Apis.CustomSearchAPI.v1.dll
Syntax
public class Search : IDirectResponseSchema
Properties
Context
Metadata and refinements associated with the given search engine, including: * The name of the search engine that was used for the query. * A set of facet objects (refinements) you can use for refining a search.
Declaration
[JsonProperty("context")]
public virtual IDictionary<string, object> Context { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Items
The current set of custom search results.
Declaration
[JsonProperty("items")]
public virtual IList<Result> Items { get; set; }
Property Value
Type | Description |
---|---|
IList<Result> |
Kind
Unique identifier for the type of current object. For this API, it is customsearch#search.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
Promotions
The set of promotions. Present only if the custom search engine's configuration files define any promotions for the given query.
Declaration
[JsonProperty("promotions")]
public virtual IList<Promotion> Promotions { get; set; }
Property Value
Type | Description |
---|---|
IList<Promotion> |
Queries
Query metadata for the previous, current, and next pages of results.
Declaration
[JsonProperty("queries")]
public virtual Search.QueriesData Queries { get; set; }
Property Value
Type | Description |
---|---|
Search.QueriesData |
SearchInformation
Metadata about a search operation.
Declaration
[JsonProperty("searchInformation")]
public virtual Search.SearchInformationData SearchInformation { get; set; }
Property Value
Type | Description |
---|---|
Search.SearchInformationData |
Spelling
Spell correction information for a query.
Declaration
[JsonProperty("spelling")]
public virtual Search.SpellingData Spelling { get; set; }
Property Value
Type | Description |
---|---|
Search.SpellingData |
Url
OpenSearch template and URL.
Declaration
[JsonProperty("url")]
public virtual Search.UrlData Url { get; set; }
Property Value
Type | Description |
---|---|
Search.UrlData |