# Contact Center AI Insights V1 API - Class Google::Cloud::ContactCenterInsights::V1::FaqAnswerData (v1.10.0)

1.10.0 (latest) 1.9.0 1.8.1 1.7.0 1.6.0 1.5.1 1.4.0 1.3.0 1.2.0 1.1.0 1.0.1 0.22.0 0.21.1 0.20.1 0.19.1 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.2 0.7.2 0.6.0 Reference documentation and code samples for the Contact Center AI Insights V1 API class Google::Cloud::ContactCenterInsights::V1::FaqAnswerData.

Agent Assist frequently-asked-question answer data.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #answer

    def answer() -> ::String

**Returns**

- (::String) --- The piece of text from the `source` knowledge base document.

### #answer=

    def answer=(value) -> ::String

**Parameter**

- **value** (::String) --- The piece of text from the `source` knowledge base document.
**Returns**

- (::String) --- The piece of text from the `source` knowledge base document.

### #confidence_score

    def confidence_score() -> ::Float

**Returns**

- (::Float) --- The system's confidence score that this answer is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).

### #confidence_score=

    def confidence_score=(value) -> ::Float

**Parameter**

- **value** (::Float) --- The system's confidence score that this answer is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).
**Returns**

- (::Float) --- The system's confidence score that this answer is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).

### #metadata

    def metadata() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Map that contains metadata about the FAQ answer and the document that it originates from.

### #metadata=

    def metadata=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Map that contains metadata about the FAQ answer and the document that it originates from.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Map that contains metadata about the FAQ answer and the document that it originates from.

### #query_record

    def query_record() -> ::String

**Returns**

- (::String) --- The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}

### #query_record=

    def query_record=(value) -> ::String

**Parameter**

- **value** (::String) --- The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}
**Returns**

- (::String) --- The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}

### #question

    def question() -> ::String

**Returns**

- (::String) --- The corresponding FAQ question.

### #question=

    def question=(value) -> ::String

**Parameter**

- **value** (::String) --- The corresponding FAQ question.
**Returns**

- (::String) --- The corresponding FAQ question.

### #source

    def source() -> ::String

**Returns**

- (::String) --- The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}.

### #source=

    def source=(value) -> ::String

**Parameter**

- **value** (::String) --- The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}.
**Returns**

- (::String) --- The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}.