Reference documentation and code samples for the Data Analytics API with Gemini V1 API class Google::Cloud::GeminiDataAnalytics::V1::LookerGoldenQuery.
A golden query for Looker, including natural language questions and a corresponding Looker Query. Analogous to ExampleQuery.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#looker_query
def looker_query() -> ::Google::Cloud::GeminiDataAnalytics::V1::LookerQuery- (::Google::Cloud::GeminiDataAnalytics::V1::LookerQuery) — Optional. The Looker Query corresponding to the natural language questions.
#looker_query=
def looker_query=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1::LookerQuery- value (::Google::Cloud::GeminiDataAnalytics::V1::LookerQuery) — Optional. The Looker Query corresponding to the natural language questions.
- (::Google::Cloud::GeminiDataAnalytics::V1::LookerQuery) — Optional. The Looker Query corresponding to the natural language questions.
#natural_language_questions
def natural_language_questions() -> ::Array<::String>-
(::Array<::String>) — Optional. Natural language questions that a user might ask.
For example: "How many orders were placed last month?"
Must be at most 2,000 bytes per question (approx. 2,000 characters).
#natural_language_questions=
def natural_language_questions=(value) -> ::Array<::String>-
value (::Array<::String>) — Optional. Natural language questions that a user might ask.
For example: "How many orders were placed last month?"
Must be at most 2,000 bytes per question (approx. 2,000 characters).
-
(::Array<::String>) — Optional. Natural language questions that a user might ask.
For example: "How many orders were placed last month?"
Must be at most 2,000 bytes per question (approx. 2,000 characters).