# Data Analytics API with Gemini V1 API - Class Google::Cloud::GeminiDataAnalytics::V1::ChartResult (v0.2.0)

0.2.0 (latest) 0.1.0 Reference documentation and code samples for the Data Analytics API with Gemini V1 API class Google::Cloud::GeminiDataAnalytics::V1::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::V1::Blob

**Returns**

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

### #image=

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

**Parameter**

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

- ([::Google::Cloud::GeminiDataAnalytics::V1::Blob](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-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-v1/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-v1/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-v1/latest/Google-Protobuf-Struct)) --- Optional. A generated Vega chart config. See https://vega.github.io/vega/docs/config/