Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class QueryParameter.
A query parameter message represents a parameter that can be used to parameterize a SQL query.
Generated from protobuf message google.cloud.geminidataanalytics.v1beta.QueryParameter
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name of the parameter reference in the SQL query.
↳ description
string
Optional. The description of the parameter that can be used by LLM to extract the parameter value from the user question.
↳ data_type
string
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.
getName
Required. The name of the parameter reference in the SQL query.
string
setName
Required. The name of the parameter reference in the SQL query.
var
string
$this
getDescription
Optional. The description of the parameter that can be used by LLM to extract the parameter value from the user question.
string
setDescription
Optional. The description of the parameter that can be used by LLM to extract the parameter value from the user question.
var
string
$this
getDataType
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.
string
setDataType
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.
var
string
$this

