Google Cloud Gemini Data Analytics V1beta Client - Class LookerGoldenQuery (0.6.0)

Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta 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.v1beta.LookerGoldenQuery

Namespace

Google \ Cloud \ GeminiDataAnalytics \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ natural_language_questions array

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
Google\Protobuf\Internal\RepeatedField

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
var LookerQuery
Returns
Type Description
$this