public sealed class QueryDataRequest : IMessage<QueryDataRequest>, IEquatable<QueryDataRequest>, IDeepCloneable<QueryDataRequest>, IBufferMessage, IMessageReference documentation and code samples for the Data Analytics API with Gemini v1beta API class QueryDataRequest.
Request to query data from a natural language query.
Implements
IMessageQueryDataRequest, IEquatableQueryDataRequest, IDeepCloneableQueryDataRequest, IBufferMessage, IMessageNamespace
Google.Cloud.GeminiDataAnalytics.V1BetaAssembly
Google.Cloud.GeminiDataAnalytics.V1Beta.dll
Constructors
QueryDataRequest()
public QueryDataRequest()QueryDataRequest(QueryDataRequest)
public QueryDataRequest(QueryDataRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
QueryDataRequest |
Properties
Context
public QueryDataContext Context { get; set; }Required. The context for the data query, including the data sources to use.
| Property Value | |
|---|---|
| Type | Description |
QueryDataContext |
|
GenerationOptions
public GenerationOptions GenerationOptions { get; set; }Optional. Options to control query generation and execution behavior.
| Property Value | |
|---|---|
| Type | Description |
GenerationOptions |
|
Parent
public string Parent { get; set; }Required. The parent resource to generate the query for. Format: projects/{project}/locations/{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 |
|
Prompt
public string Prompt { get; set; }Required. The natural language query for which to generate query. Example: "What are the top 5 best selling products this month?"
| Property Value | |
|---|---|
| Type | Description |
string |
|