Class SuggestRequest
Request of suggest API.
Implements
Inherited Members
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 only supported for the following sources: * Third-party data sources * PredefinedSource.PERSON * PredefinedSource.GOOGLE_DRIVE
Declaration
[JsonProperty("dataSourceRestrictions")]
public virtual IList<DataSourceRestriction> DataSourceRestrictions { get; set; }
Property Value
Type | Description |
---|---|
IList<DataSourceRestriction> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
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 |