Class QueryParameter (0.13.0)

QueryParameter(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A query parameter message represents a parameter that can be used to parameterize a SQL query.

Attributes

Name Description
name str
Required. The name of the parameter reference in the SQL query.
description str
Optional. The description of the parameter that can be used by LLM to extract the parameter value from the user question.
data_type str
Required. The data type of the parameter, e.g. "STRING", "INT64", "DATE", etc. For valid values, see the `BigQuery documentation