Data Analytics API with Gemini V1BETA API - Class Google::Cloud::GeminiDataAnalytics::V1beta::DataQuery (v0.3.1)

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

defdatasources()->::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::Datasource>
Returns

#datasources=

defdatasources=(value)->::Array<::Google::Cloud::GeminiDataAnalytics::V1beta::Datasource>
Parameter
Returns

#name

defname()->::String
Returns
  • (::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=

defname=(value)->::String
Parameter
  • 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"
Returns
  • (::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

defquestion()->::String
Returns
  • (::String) — Optional. A natural language question to answer.

#question=

defquestion=(value)->::String
Parameter
  • value (::String) — Optional. A natural language question to answer.
Returns
  • (::String) — Optional. A natural language question to answer.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.