public sealed class SuggestQueriesRequest : IMessage<SuggestQueriesRequest>, IEquatable<SuggestQueriesRequest>, IDeepCloneable<SuggestQueriesRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Data QnA v1alpha API class SuggestQueriesRequest.
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.
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}.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation details the \u003ccode\u003eSuggestQueriesRequest\u003c/code\u003e class, which is part of the Google Cloud Data QnA v1alpha API and is designed to request query suggestions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSuggestQueriesRequest\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in message handling and data cloning.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eSuggestQueriesRequest\u003c/code\u003e include \u003ccode\u003eParent\u003c/code\u003e, to define the project and location, \u003ccode\u003eQuery\u003c/code\u003e, for the user's input, \u003ccode\u003eScopes\u003c/code\u003e, which dictates the search domain, and \u003ccode\u003eSuggestionTypes\u003c/code\u003e, to specify the desired suggestion types.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default constructor \u003ccode\u003eSuggestQueriesRequest()\u003c/code\u003e and one that takes another \u003ccode\u003eSuggestQueriesRequest\u003c/code\u003e object as input, allowing for object copying.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this API element is 2.0.0-alpha02, and the current documentation also lists previous versions 2.0.0-alpha01 and 1.0.0-alpha03.\u003c/p\u003e\n"]]],[],null,["# Data QnA v1alpha API - Class SuggestQueriesRequest (2.0.0-alpha02)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-alpha02 (latest)](/dotnet/docs/reference/Google.Cloud.DataQnA.V1Alpha/latest/Google.Cloud.DataQnA.V1Alpha.SuggestQueriesRequest)\n- [2.0.0-alpha01](/dotnet/docs/reference/Google.Cloud.DataQnA.V1Alpha/2.0.0-alpha01/Google.Cloud.DataQnA.V1Alpha.SuggestQueriesRequest)\n- [1.0.0-alpha03](/dotnet/docs/reference/Google.Cloud.DataQnA.V1Alpha/1.0.0-alpha03/Google.Cloud.DataQnA.V1Alpha.SuggestQueriesRequest) \n\n public sealed class SuggestQueriesRequest : IMessage\u003cSuggestQueriesRequest\u003e, IEquatable\u003cSuggestQueriesRequest\u003e, IDeepCloneable\u003cSuggestQueriesRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Data QnA v1alpha API class SuggestQueriesRequest.\n\nRequest for query suggestions. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SuggestQueriesRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SuggestQueriesRequest](/dotnet/docs/reference/Google.Cloud.DataQnA.V1Alpha/latest/Google.Cloud.DataQnA.V1Alpha.SuggestQueriesRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SuggestQueriesRequest](/dotnet/docs/reference/Google.Cloud.DataQnA.V1Alpha/latest/Google.Cloud.DataQnA.V1Alpha.SuggestQueriesRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SuggestQueriesRequest](/dotnet/docs/reference/Google.Cloud.DataQnA.V1Alpha/latest/Google.Cloud.DataQnA.V1Alpha.SuggestQueriesRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.DataQnA.V1Alpha](/dotnet/docs/reference/Google.Cloud.DataQnA.V1Alpha/latest/Google.Cloud.DataQnA.V1Alpha)\n\nAssembly\n--------\n\nGoogle.Cloud.DataQnA.V1Alpha.dll\n\nConstructors\n------------\n\n### SuggestQueriesRequest()\n\n public SuggestQueriesRequest()\n\n### SuggestQueriesRequest(SuggestQueriesRequest)\n\n public SuggestQueriesRequest(SuggestQueriesRequest other)\n\nProperties\n----------\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The parent of the suggestion query is the resource denoting the project and\nlocation.\n\n### ParentAsLocationName\n\n public LocationName ParentAsLocationName { get; set; }\n\n[LocationName](https://github.com/googleapis/gax-dotnet/blob/510f63bbae727cfa4cee5180d0a9916bc2dee248/Google.Api.Gax/ResourceNames/LocationName.cs)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.DataQnA.V1Alpha/latest/Google.Cloud.DataQnA.V1Alpha.SuggestQueriesRequest#Google_Cloud_DataQnA_V1Alpha_SuggestQueriesRequest_Parent) resource name property.\n\n### Query\n\n public string Query { get; set; }\n\nUser query for which to generate suggestions. If the query is empty, zero\nstate suggestions are returned. This allows UIs to display suggestions\nright away, helping the user to get a sense of what a query might look\nlike.\n\n### Scopes\n\n public RepeatedField\u003cstring\u003e Scopes { get; }\n\nThe scopes to which this search is restricted. The only supported scope\npattern is\n`//bigquery.googleapis.com/projects/{GCP-PROJECT-ID}/datasets/{DATASET-ID}/tables/{TABLE-ID}`.\n\n### SuggestionTypes\n\n public RepeatedField\u003cSuggestionType\u003e SuggestionTypes { get; }\n\nThe requested suggestion type. Multiple suggestion types can be\nrequested, but there is no guarantee that the service will return\nsuggestions for each type. Suggestions for a requested type might rank\nlower than suggestions for other types and the service may decide to cut\nthese suggestions off."]]