Data Analytics API with Gemini V1 API - Class Google::Cloud::GeminiDataAnalytics::V1::QueryParameter (v0.1.0)

Reference documentation and code samples for the Data Analytics API with Gemini V1 API class Google::Cloud::GeminiDataAnalytics::V1::QueryParameter.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#data_type

def data_type() -> ::String
Returns
  • (::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.

#data_type=

def data_type=(value) -> ::String
Parameter
  • value (::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.
Returns
  • (::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.

#description

def description() -> ::String
Returns
  • (::String) — Optional. The description of the parameter that can be used by LLM to extract the parameter value from the user question.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. The description of the parameter that can be used by LLM to extract the parameter value from the user question.
Returns
  • (::String) — Optional. The description of the parameter that can be used by LLM to extract the parameter value from the user question.

#name

def name() -> ::String
Returns
  • (::String) — Required. The name of the parameter reference in the SQL query.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the parameter reference in the SQL query.
Returns
  • (::String) — Required. The name of the parameter reference in the SQL query.