Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class ChartQuery.
A query for generating a chart.
Generated from protobuf message google.cloud.geminidataanalytics.v1beta.ChartQuery
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1betaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ instructions |
string
Optional. Natural language instructions for generating the chart. |
↳ data_result_name |
string
Optional. The name of a previously retrieved data result to use in the chart. |
getInstructions
Optional. Natural language instructions for generating the chart.
Returns | |
---|---|
Type | Description |
string |
setInstructions
Optional. Natural language instructions for generating the chart.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDataResultName
Optional. The name of a previously retrieved data result to use in the chart.
Returns | |
---|---|
Type | Description |
string |
setDataResultName
Optional. The name of a previously retrieved data result to use in the chart.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |