# Data Analytics API with Gemini V1 API - Class Google::Cloud::GeminiDataAnalytics::V1::AnalysisMessage (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::AnalysisMessage.

A message produced during analysis.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #progress_event

    def progress_event() -> ::Google::Cloud::GeminiDataAnalytics::V1::AnalysisEvent

**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::AnalysisEvent](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-AnalysisEvent)) --- An event indicating the progress of the analysis.


  Note: The following fields are mutually exclusive: `progress_event`, `query`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #progress_event=

    def progress_event=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1::AnalysisEvent

**Parameter**

- **value** ([::Google::Cloud::GeminiDataAnalytics::V1::AnalysisEvent](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-AnalysisEvent)) --- An event indicating the progress of the analysis.


  Note: The following fields are mutually exclusive: `progress_event`, `query`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::AnalysisEvent](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-AnalysisEvent)) --- An event indicating the progress of the analysis.


  Note: The following fields are mutually exclusive: `progress_event`, `query`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #query

    def query() -> ::Google::Cloud::GeminiDataAnalytics::V1::AnalysisQuery

**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::AnalysisQuery](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-AnalysisQuery)) --- An analysis query.


  Note: The following fields are mutually exclusive: `query`, `progress_event`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #query=

    def query=(value) -> ::Google::Cloud::GeminiDataAnalytics::V1::AnalysisQuery

**Parameter**

- **value** ([::Google::Cloud::GeminiDataAnalytics::V1::AnalysisQuery](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-AnalysisQuery)) --- An analysis query.


  Note: The following fields are mutually exclusive: `query`, `progress_event`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::GeminiDataAnalytics::V1::AnalysisQuery](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gemini_data_analytics-v1/latest/Google-Cloud-GeminiDataAnalytics-V1-AnalysisQuery)) --- An analysis query.


  Note: The following fields are mutually exclusive: `query`, `progress_event`. If a field in that set is populated, all other fields in the set will automatically be cleared.