Google Cloud Gemini Data Analytics V1beta Client - Class ChartQuery (0.9.0)Stay organized with collectionsSave and categorize content based on your preferences.
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 messagegoogle.cloud.geminidataanalytics.v1beta.ChartQuery
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1beta
Methods
__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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-18 UTC."],[],[]]