public sealed class SuggestQueriesRequest : IMessage<SuggestQueriesRequest>, IEquatable<SuggestQueriesRequest>, IDeepCloneable<SuggestQueriesRequest>, IBufferMessage, IMessageReference documentation and code samples for the Data QnA v1alpha API class SuggestQueriesRequest.
Request for query suggestions.
Implements
IMessageSuggestQueriesRequest, IEquatableSuggestQueriesRequest, IDeepCloneableSuggestQueriesRequest, IBufferMessage, IMessageNamespace
Google.Cloud.DataQnA.V1AlphaAssembly
Google.Cloud.DataQnA.V1Alpha.dll
Constructors
SuggestQueriesRequest()
public SuggestQueriesRequest()SuggestQueriesRequest(SuggestQueriesRequest)
public SuggestQueriesRequest(SuggestQueriesRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
SuggestQueriesRequest |
Properties
Parent
public string Parent { get; set; }Required. The parent of the suggestion query is the resource denoting the project and location.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }LocationName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
LocationName |
|
Query
public string Query { get; set; }User query for which to generate suggestions. If the query is empty, zero state suggestions are returned. This allows UIs to display suggestions right away, helping the user to get a sense of what a query might look like.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Scopes
public RepeatedField<string> Scopes { get; }The scopes to which this search is restricted. The only supported scope
pattern is
//bigquery.googleapis.com/projects/{GCP-PROJECT-ID}/datasets/{DATASET-ID}/tables/{TABLE-ID}.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldstring |
|
SuggestionTypes
public RepeatedField<SuggestionType> SuggestionTypes { get; }The requested suggestion type. Multiple suggestion types can be requested, but there is no guarantee that the service will return suggestions for each type. Suggestions for a requested type might rank lower than suggestions for other types and the service may decide to cut these suggestions off.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldSuggestionType |
|