Class Search
Response to a custom search request.
Inheritance
System.Object
Search
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 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 |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Items
The current set of custom search results.
Declaration
[JsonProperty("items")]
public virtual IList<Result> Items { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.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 |
---|---|
System.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 |
---|---|
System.Collections.Generic.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 |
Implements
Google.Apis.Requests.IDirectResponseSchema