Google Cloud Gemini Data Analytics V1 Client - Class LookerGoldenQuery (0.11.0)

Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1 Client class LookerGoldenQuery.

A golden query for Looker, including natural language questions and a corresponding Looker Query. Analogous to ExampleQuery.

Generated from protobuf message google.cloud.geminidataanalytics.v1.LookerGoldenQuery

Namespace

Google \ Cloud \ GeminiDataAnalytics \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ natural_language_questions
string[]

Optional. Natural language questions that a user might ask. For example: "How many orders were placed last month?"

↳ looker_query
LookerQuery

Optional. The Looker Query corresponding to the natural language questions.

getNaturalLanguageQuestions

Optional. Natural language questions that a user might ask.

For example: "How many orders were placed last month?"

Returns
Type
Description

setNaturalLanguageQuestions

Optional. Natural language questions that a user might ask.

For example: "How many orders were placed last month?"

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this

getLookerQuery

Optional. The Looker Query corresponding to the natural language questions.

Returns
Type
Description
LookerQuery |null

hasLookerQuery

clearLookerQuery

setLookerQuery

Optional. The Looker Query corresponding to the natural language questions.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: