Reference documentation and code samples for the Data Analytics API with Gemini V1BETA API class Google::Cloud::GeminiDataAnalytics::V1beta::DataQuery.
A query for retrieving data.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#datasources
def datasources() -> ::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::Datasource>
- (::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::Datasource>) — Optional. The datasources available to answer the question.
#datasources=
def datasources=(value) -> ::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::Datasource>
- value (::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::Datasource>) — Optional. The datasources available to answer the question.
- (::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::Datasource>) — Optional. The datasources available to answer the question.
#name
def name() -> ::String
-
(::String) —
Optional. A snake-case name for the query that reflects its intent. It is used to name the corresponding data result, so that it can be referenced in later steps.
- Example: "total_sales_by_product"
- Example: "sales_for_product_12345"
#name=
def name=(value) -> ::String
-
value (::String) —
Optional. A snake-case name for the query that reflects its intent. It is used to name the corresponding data result, so that it can be referenced in later steps.
- Example: "total_sales_by_product"
- Example: "sales_for_product_12345"
-
(::String) —
Optional. A snake-case name for the query that reflects its intent. It is used to name the corresponding data result, so that it can be referenced in later steps.
- Example: "total_sales_by_product"
- Example: "sales_for_product_12345"
#question
def question() -> ::String
- (::String) — Optional. A natural language question to answer.
#question=
def question=(value) -> ::String
- value (::String) — Optional. A natural language question to answer.
- (::String) — Optional. A natural language question to answer.