Google Cloud Gemini Data Analytics V1beta Client - Class ChartResult (0.1.1)

Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class ChartResult.

The result of a chart generation query.

Generated from protobuf message google.cloud.geminidataanalytics.v1beta.ChartResult

Namespace

Google \ Cloud \ GeminiDataAnalytics \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ vega_config Google\Protobuf\Struct

Optional. A generated Vega chart config. See https://vega.github.io/vega/docs/config/

↳ image Blob

Optional. A rendering of the chart if this was requested in the context.

getVegaConfig

Optional. A generated Vega chart config.

See https://vega.github.io/vega/docs/config/

Returns
Type Description
Google\Protobuf\Struct|null

hasVegaConfig

clearVegaConfig

setVegaConfig

Optional. A generated Vega chart config.

See https://vega.github.io/vega/docs/config/

Parameter
Name Description
var Google\Protobuf\Struct
Returns
Type Description
$this

getImage

Optional. A rendering of the chart if this was requested in the context.

Returns
Type Description
Blob|null

hasImage

clearImage

setImage

Optional. A rendering of the chart if this was requested in the context.

Parameter
Name Description
var Blob
Returns
Type Description
$this