# Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::AgentAssistantFeedback (v1.16.1)

1.16.1 (latest) 1.16.0 1.15.0 1.14.0 1.13.0 1.12.1 1.11.0 1.10.1 1.9.1 1.8.0 1.7.0 1.6.0 1.5.0 1.4.1 1.3.0 1.2.0 1.1.1 1.0.0 0.34.0 0.33.0 0.32.2 0.31.0 0.30.0 0.29.0 0.28.0 0.27.0 0.26.2 0.25.0 0.24.0 0.23.0 0.22.0 0.21.0 0.20.0 0.19.0 0.18.0 0.17.1 0.16.0 0.15.2 0.14.0 0.13.0 0.12.0 Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::AgentAssistantFeedback.

Detail feedback of Agent Assist result.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #answer_relevance

    def answer_relevance() -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::AnswerRelevance

**Returns**

- ([::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::AnswerRelevance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-AnswerRelevance)) ---

  Optional. Whether or not the suggested answer is relevant.

  For example:
  - Query: "Can I change my mailing address?"
  - Suggested document says: "Items must be returned/exchanged within 60 days of the purchase date."
  - [answer_relevance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback#Google__Cloud__Dialogflow__V2__AgentAssistantFeedback_answer_relevance_instance_ "Google::Cloud::Dialogflow::V2::AgentAssistantFeedback#answer_relevance (method)"): [AnswerRelevance.IRRELEVANT](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-AnswerRelevance#Google__Cloud__Dialogflow__V2__AgentAssistantFeedback__AnswerRelevance__IRRELEVANT "Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::AnswerRelevance::IRRELEVANT (constant)")

### #answer_relevance=

    def answer_relevance=(value) -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::AnswerRelevance

**Parameter**

- **value** ([::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::AnswerRelevance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-AnswerRelevance)) ---

  Optional. Whether or not the suggested answer is relevant.

  For example:
  - Query: "Can I change my mailing address?"
  - Suggested document says: "Items must be returned/exchanged within 60 days of the purchase date."
  - [answer_relevance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback#Google__Cloud__Dialogflow__V2__AgentAssistantFeedback_answer_relevance_instance_ "Google::Cloud::Dialogflow::V2::AgentAssistantFeedback#answer_relevance (method)"): [AnswerRelevance.IRRELEVANT](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-AnswerRelevance#Google__Cloud__Dialogflow__V2__AgentAssistantFeedback__AnswerRelevance__IRRELEVANT "Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::AnswerRelevance::IRRELEVANT (constant)")
**Returns**

- ([::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::AnswerRelevance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-AnswerRelevance)) ---

  Optional. Whether or not the suggested answer is relevant.

  For example:
  - Query: "Can I change my mailing address?"
  - Suggested document says: "Items must be returned/exchanged within 60 days of the purchase date."
  - [answer_relevance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback#Google__Cloud__Dialogflow__V2__AgentAssistantFeedback_answer_relevance_instance_ "Google::Cloud::Dialogflow::V2::AgentAssistantFeedback#answer_relevance (method)"): [AnswerRelevance.IRRELEVANT](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-AnswerRelevance#Google__Cloud__Dialogflow__V2__AgentAssistantFeedback__AnswerRelevance__IRRELEVANT "Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::AnswerRelevance::IRRELEVANT (constant)")

### #document_correctness

    def document_correctness() -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentCorrectness

**Returns**

- ([::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentCorrectness](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-DocumentCorrectness)) ---

  Optional. Whether or not the information in the document is correct.

  For example:
  - Query: "Can I return the package in 2 days once received?"
  - Suggested document says: "Items must be returned/exchanged within 60 days of the purchase date."
  - Ground truth: "No return or exchange is allowed."
  - [document_correctness](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback#Google__Cloud__Dialogflow__V2__AgentAssistantFeedback_document_correctness_instance_ "Google::Cloud::Dialogflow::V2::AgentAssistantFeedback#document_correctness (method)"): [INCORRECT](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-DocumentCorrectness#Google__Cloud__Dialogflow__V2__AgentAssistantFeedback__DocumentCorrectness__INCORRECT "Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentCorrectness::INCORRECT (constant)")

### #document_correctness=

    def document_correctness=(value) -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentCorrectness

**Parameter**

- **value** ([::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentCorrectness](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-DocumentCorrectness)) ---

  Optional. Whether or not the information in the document is correct.

  For example:
  - Query: "Can I return the package in 2 days once received?"
  - Suggested document says: "Items must be returned/exchanged within 60 days of the purchase date."
  - Ground truth: "No return or exchange is allowed."
  - [document_correctness](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback#Google__Cloud__Dialogflow__V2__AgentAssistantFeedback_document_correctness_instance_ "Google::Cloud::Dialogflow::V2::AgentAssistantFeedback#document_correctness (method)"): [INCORRECT](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-DocumentCorrectness#Google__Cloud__Dialogflow__V2__AgentAssistantFeedback__DocumentCorrectness__INCORRECT "Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentCorrectness::INCORRECT (constant)")
**Returns**

- ([::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentCorrectness](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-DocumentCorrectness)) ---

  Optional. Whether or not the information in the document is correct.

  For example:
  - Query: "Can I return the package in 2 days once received?"
  - Suggested document says: "Items must be returned/exchanged within 60 days of the purchase date."
  - Ground truth: "No return or exchange is allowed."
  - [document_correctness](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback#Google__Cloud__Dialogflow__V2__AgentAssistantFeedback_document_correctness_instance_ "Google::Cloud::Dialogflow::V2::AgentAssistantFeedback#document_correctness (method)"): [INCORRECT](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-DocumentCorrectness#Google__Cloud__Dialogflow__V2__AgentAssistantFeedback__DocumentCorrectness__INCORRECT "Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentCorrectness::INCORRECT (constant)")

### #document_efficiency

    def document_efficiency() -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentEfficiency

**Returns**

- ([::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentEfficiency](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-DocumentEfficiency)) --- Optional. Whether or not the suggested document is efficient. For example, if the document is poorly written, hard to understand, hard to use or too long to find useful information, [document_efficiency](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback#Google__Cloud__Dialogflow__V2__AgentAssistantFeedback_document_efficiency_instance_ "Google::Cloud::Dialogflow::V2::AgentAssistantFeedback#document_efficiency (method)") is [DocumentEfficiency.INEFFICIENT](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-DocumentEfficiency#Google__Cloud__Dialogflow__V2__AgentAssistantFeedback__DocumentEfficiency__INEFFICIENT "Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentEfficiency::INEFFICIENT (constant)").

### #document_efficiency=

    def document_efficiency=(value) -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentEfficiency

**Parameter**

- **value** ([::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentEfficiency](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-DocumentEfficiency)) --- Optional. Whether or not the suggested document is efficient. For example, if the document is poorly written, hard to understand, hard to use or too long to find useful information, [document_efficiency](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback#Google__Cloud__Dialogflow__V2__AgentAssistantFeedback_document_efficiency_instance_ "Google::Cloud::Dialogflow::V2::AgentAssistantFeedback#document_efficiency (method)") is [DocumentEfficiency.INEFFICIENT](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-DocumentEfficiency#Google__Cloud__Dialogflow__V2__AgentAssistantFeedback__DocumentEfficiency__INEFFICIENT "Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentEfficiency::INEFFICIENT (constant)").
**Returns**

- ([::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentEfficiency](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-DocumentEfficiency)) --- Optional. Whether or not the suggested document is efficient. For example, if the document is poorly written, hard to understand, hard to use or too long to find useful information, [document_efficiency](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback#Google__Cloud__Dialogflow__V2__AgentAssistantFeedback_document_efficiency_instance_ "Google::Cloud::Dialogflow::V2::AgentAssistantFeedback#document_efficiency (method)") is [DocumentEfficiency.INEFFICIENT](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-DocumentEfficiency#Google__Cloud__Dialogflow__V2__AgentAssistantFeedback__DocumentEfficiency__INEFFICIENT "Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::DocumentEfficiency::INEFFICIENT (constant)").

### #knowledge_assist_feedback

    def knowledge_assist_feedback() -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeAssistFeedback

**Returns**

- ([::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeAssistFeedback](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-KnowledgeAssistFeedback)) --- Optional. Feedback for knowledge assist.

### #knowledge_assist_feedback=

    def knowledge_assist_feedback=(value) -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeAssistFeedback

**Parameter**

- **value** ([::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeAssistFeedback](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-KnowledgeAssistFeedback)) --- Optional. Feedback for knowledge assist.
**Returns**

- ([::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeAssistFeedback](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-KnowledgeAssistFeedback)) --- Optional. Feedback for knowledge assist.

### #knowledge_search_feedback

    def knowledge_search_feedback() -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeSearchFeedback

**Returns**

- ([::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeSearchFeedback](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-KnowledgeSearchFeedback)) --- Optional. Feedback for knowledge search.

### #knowledge_search_feedback=

    def knowledge_search_feedback=(value) -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeSearchFeedback

**Parameter**

- **value** ([::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeSearchFeedback](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-KnowledgeSearchFeedback)) --- Optional. Feedback for knowledge search.
**Returns**

- ([::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::KnowledgeSearchFeedback](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-KnowledgeSearchFeedback)) --- Optional. Feedback for knowledge search.

### #summarization_feedback

    def summarization_feedback() -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::SummarizationFeedback

**Returns**

- ([::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::SummarizationFeedback](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-SummarizationFeedback)) --- Optional. Feedback for conversation summarization.

### #summarization_feedback=

    def summarization_feedback=(value) -> ::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::SummarizationFeedback

**Parameter**

- **value** ([::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::SummarizationFeedback](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-SummarizationFeedback)) --- Optional. Feedback for conversation summarization.
**Returns**

- ([::Google::Cloud::Dialogflow::V2::AgentAssistantFeedback::SummarizationFeedback](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dialogflow-v2/latest/Google-Cloud-Dialogflow-V2-AgentAssistantFeedback-SummarizationFeedback)) --- Optional. Feedback for conversation summarization.