2.1.0 (latest) 2.0.0 1.1.0 1.0.0

    public sealed class QueryParameter : IMessage<QueryParameter>, IEquatable<QueryParameter>, IDeepCloneable<QueryParameter>, IBufferMessage, IMessage

Reference 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.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> QueryParameter

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[QueryParameter](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.QueryParameter), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[QueryParameter](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.QueryParameter), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[QueryParameter](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.QueryParameter), [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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.GeminiDataAnalytics.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1)

## Assembly

Google.Cloud.GeminiDataAnalytics.V1.dll

## Constructors

### QueryParameter()

    public QueryParameter()

### QueryParameter(QueryParameter)

    public QueryParameter(QueryParameter other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.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](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types).
This will be used to populate
google.cloud.bigquery.v2.QueryParameterType.type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.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** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Name

    public string Name { get; set; }

Required. The name of the parameter reference in the SQL query.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |