public sealed class QueryParameter : IMessage<QueryParameter>, IEquatable<QueryParameter>, IDeepCloneable<QueryParameter>, IBufferMessage, IMessageReference documentation and code samples for the Data Analytics API with Gemini v1 API class QueryParameter.
A query parameter message represents a parameter that can be used to parameterize a SQL query.
Implements
IMessageQueryParameter, IEquatableQueryParameter, IDeepCloneableQueryParameter, IBufferMessage, IMessageNamespace
Google.Cloud.GeminiDataAnalytics.V1Assembly
Google.Cloud.GeminiDataAnalytics.V1.dll
Constructors
QueryParameter()
public QueryParameter()QueryParameter(QueryParameter)
public QueryParameter(QueryParameter other)| Parameter | |
|---|---|
| Name | Description |
other |
QueryParameter |
Properties
DataType
public string DataType { get; set; }Required. The data type of the parameter, e.g. "STRING", "INT64", "DATE", etc. For valid values, see the BigQuery documentation. This will be used to populate google.cloud.bigquery.v2.QueryParameterType.type.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Description
public string Description { get; set; }Optional. The description of the parameter that can be used by LLM to extract the parameter value from the user question.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Name
public string Name { get; set; }Required. The name of the parameter reference in the SQL query.
| Property Value | |
|---|---|
| Type | Description |
string |
|