# Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::Feedback (v0.28.0)

0.28.0 (latest) 0.27.0 0.26.0 0.25.0 0.24.0 0.23.1 0.22.0 0.21.0 0.20.1 0.19.1 0.18.0 0.17.0 0.16.0 0.15.0 0.14.2 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.2 0.6.0 0.5.0 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::Feedback.

Information about the user feedback. This information will be used for
logging and metrics purpose.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #comment

    def comment() -> ::String

**Returns**

- (::String) --- Optional. The additional user comment of the feedback if user gives a thumb down.

### #comment=

    def comment=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The additional user comment of the feedback if user gives a thumb down.
**Returns**

- (::String) --- Optional. The additional user comment of the feedback if user gives a thumb down.

### #component_version

    def component_version() -> ::String

**Returns**

- (::String) --- Optional. The version of the component that this report is being sent from.

### #component_version=

    def component_version=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The version of the component that this report is being sent from.
**Returns**

- (::String) --- Optional. The version of the component that this report is being sent from.

### #conversation_info

    def conversation_info() -> ::Google::Cloud::DiscoveryEngine::V1beta::Feedback::ConversationInfo

**Returns**

- ([::Google::Cloud::DiscoveryEngine::V1beta::Feedback::ConversationInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-Feedback-ConversationInfo)) --- The related conversation information when user gives feedback.

### #conversation_info=

    def conversation_info=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::Feedback::ConversationInfo

**Parameter**

- **value** ([::Google::Cloud::DiscoveryEngine::V1beta::Feedback::ConversationInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-Feedback-ConversationInfo)) --- The related conversation information when user gives feedback.
**Returns**

- ([::Google::Cloud::DiscoveryEngine::V1beta::Feedback::ConversationInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-Feedback-ConversationInfo)) --- The related conversation information when user gives feedback.

### #data_terms_accepted

    def data_terms_accepted() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. Whether the customer accepted data use terms.

### #data_terms_accepted=

    def data_terms_accepted=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. Whether the customer accepted data use terms.
**Returns**

- (::Boolean) --- Optional. Whether the customer accepted data use terms.

### #feedback_source

    def feedback_source() -> ::Google::Cloud::DiscoveryEngine::V1beta::Feedback::FeedbackSource

**Returns**

- ([::Google::Cloud::DiscoveryEngine::V1beta::Feedback::FeedbackSource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-Feedback-FeedbackSource)) --- Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP.

### #feedback_source=

    def feedback_source=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::Feedback::FeedbackSource

**Parameter**

- **value** ([::Google::Cloud::DiscoveryEngine::V1beta::Feedback::FeedbackSource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-Feedback-FeedbackSource)) --- Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP.
**Returns**

- ([::Google::Cloud::DiscoveryEngine::V1beta::Feedback::FeedbackSource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-Feedback-FeedbackSource)) --- Optional. The UI component the user feedback comes from, which could be GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP.

### #feedback_type

    def feedback_type() -> ::Google::Cloud::DiscoveryEngine::V1beta::Feedback::FeedbackType

**Returns**

- ([::Google::Cloud::DiscoveryEngine::V1beta::Feedback::FeedbackType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-Feedback-FeedbackType)) --- Required. Indicate whether the user gives a positive or negative feedback. If the user gives a negative feedback, there might be more feedback details.

### #feedback_type=

    def feedback_type=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::Feedback::FeedbackType

**Parameter**

- **value** ([::Google::Cloud::DiscoveryEngine::V1beta::Feedback::FeedbackType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-Feedback-FeedbackType)) --- Required. Indicate whether the user gives a positive or negative feedback. If the user gives a negative feedback, there might be more feedback details.
**Returns**

- ([::Google::Cloud::DiscoveryEngine::V1beta::Feedback::FeedbackType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-Feedback-FeedbackType)) --- Required. Indicate whether the user gives a positive or negative feedback. If the user gives a negative feedback, there might be more feedback details.

### #llm_model_version

    def llm_model_version() -> ::String

**Returns**

- (::String) --- The version of the LLM model that was used to generate the response.

### #llm_model_version=

    def llm_model_version=(value) -> ::String

**Parameter**

- **value** (::String) --- The version of the LLM model that was used to generate the response.
**Returns**

- (::String) --- The version of the LLM model that was used to generate the response.

### #reasons

    def reasons() -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::Feedback::Reason>

**Returns**

- (::Array\<[::Google::Cloud::DiscoveryEngine::V1beta::Feedback::Reason](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-Feedback-Reason)\>) --- Optional. The reason if user gives a thumb down.

### #reasons=

    def reasons=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::Feedback::Reason>

**Parameter**

- **value** (::Array\<[::Google::Cloud::DiscoveryEngine::V1beta::Feedback::Reason](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-Feedback-Reason)\>) --- Optional. The reason if user gives a thumb down.
**Returns**

- (::Array\<[::Google::Cloud::DiscoveryEngine::V1beta::Feedback::Reason](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-discovery_engine-v1beta/latest/Google-Cloud-DiscoveryEngine-V1beta-Feedback-Reason)\>) --- Optional. The reason if user gives a thumb down.