Data Analytics API with Gemini v1 API - Class QueryParameter (1.0.0-beta01)

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 > QueryParameter

Namespace

Google.Cloud.GeminiDataAnalytics.V1

Assembly

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