Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class ExampleSuggestion.
A suggested BigQuery NL-SQL example for the given table.
Generated from protobuf message google.cloud.geminidataanalytics.v1beta.RetrieveBigQueryTableSuggestedExamplesResponse.ExampleSuggestion
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1beta \ RetrieveBigQueryTableSuggestedExamplesResponseMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ nl_query |
string
The natural language query. |
↳ sql |
string
The SQL answer to the query. |
↳ linked_bigquery_tables |
array
The linked table resources for the suggested example. |
getNlQuery
The natural language query.
Returns | |
---|---|
Type | Description |
string |
setNlQuery
The natural language query.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSql
The SQL answer to the query.
Returns | |
---|---|
Type | Description |
string |
setSql
The SQL answer to the query.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getLinkedBigqueryTables
The linked table resources for the suggested example.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setLinkedBigqueryTables
The linked table resources for the suggested example.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |