Class SuggestRequest
Request of suggest API.
Inheritance
System.Object
SuggestRequest
Implements
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.CloudSearch.v1.Data
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class SuggestRequest : IDirectResponseSchema
Properties
DataSourceRestrictions
The sources to use for suggestions. If not specified, the data sources are taken from the current search application. NOTE: Suggestions are supported only for third party data sources and people (i.e. PredefinedSource.PERSON).
Declaration
[JsonProperty("dataSourceRestrictions")]
public virtual IList<DataSourceRestriction> DataSourceRestrictions { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<DataSourceRestriction> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Query
Partial query for which autocomplete suggestions will be shown. For example, if the query is "sea", then the server might return "season", "search", "seagull" and so on.
Declaration
[JsonProperty("query")]
public virtual string Query { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
RequestOptions
Request options, such as the search application and user timezone.
Declaration
[JsonProperty("requestOptions")]
public virtual RequestOptions RequestOptions { get; set; }
Property Value
| Type | Description |
|---|---|
| RequestOptions |