# Data Analytics API with Gemini V1BETA API - Class Google::Cloud::GeminiDataAnalytics::V1beta::ChartResult (v0.11.0)

0.11.0 (latest) 0.10.0 0.9.1 0.8.0 0.7.0 0.6.0 0.5.1 0.4.0 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Data Analytics API with Gemini V1BETA API class Google::Cloud::GeminiDataAnalytics::V1beta::ChartResult.

The result of a chart generation query.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #image

    def image() -> ::Google::Cloud::GeminiDataAnalytics::V1beta::Blob

**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1beta::Blob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1beta/latest/Google-Cloud-GeminiDataAnalytics-V1beta-Blob)) --- Optional. A rendering of the chart if this was requested in the context.

### #image=

    def image=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1beta::Blob

**Parameter**

- **value** ([::Google::Cloud::GeminiDataAnalytics::V1beta::Blob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1beta/latest/Google-Cloud-GeminiDataAnalytics-V1beta-Blob)) --- Optional. A rendering of the chart if this was requested in the context.
**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1beta::Blob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1beta/latest/Google-Cloud-GeminiDataAnalytics-V1beta-Blob)) --- Optional. A rendering of the chart if this was requested in the context.

### #vega_config

    def vega_config() -> ::Google::Protobuf::Struct

**Returns**

- ([::Google::Protobuf::Struct](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1beta/latest/Google-Protobuf-Struct)) --- Optional. A generated Vega chart config. See https://vega.github.io/vega/docs/config/

### #vega_config=

    def vega_config=(value) -> ::Google::Protobuf::Struct

**Parameter**

- **value** ([::Google::Protobuf::Struct](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1beta/latest/Google-Protobuf-Struct)) --- Optional. A generated Vega chart config. See https://vega.github.io/vega/docs/config/
**Returns**

- ([::Google::Protobuf::Struct](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1beta/latest/Google-Protobuf-Struct)) --- Optional. A generated Vega chart config. See https://vega.github.io/vega/docs/config/