Generated from protobuf messagegoogle.cloud.contactcenterinsights.v1.FaqAnswerData
Namespace
Google \ Cloud \ ContactCenterInsights \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ answer
string
The piece of text from thesourceknowledge base document.
↳ confidence_score
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).
Map that contains metadata about the FAQ answer and the document that it originates from.
↳ query_record
string
The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}
↳ source
string
The knowledge document that this answer was extracted from. Format: projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}.
getAnswer
The piece of text from thesourceknowledge base document.
Returns
Type
Description
string
setAnswer
The piece of text from thesourceknowledge base document.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getConfidenceScore
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
Type
Description
float
setConfidenceScore
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).
Parameter
Name
Description
var
float
Returns
Type
Description
$this
getQuestion
The corresponding FAQ question.
Returns
Type
Description
string
setQuestion
The corresponding FAQ question.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getMetadata
Map that contains metadata about the FAQ answer and the document that
it originates from.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Contact Center Insights V1 Client - Class FaqAnswerData (2.3.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.3 (latest)](/php/docs/reference/cloud-contact-center-insights/latest/V1.FaqAnswerData)\n- [2.3.2](/php/docs/reference/cloud-contact-center-insights/2.3.2/V1.FaqAnswerData)\n- [2.2.1](/php/docs/reference/cloud-contact-center-insights/2.2.1/V1.FaqAnswerData)\n- [2.1.1](/php/docs/reference/cloud-contact-center-insights/2.1.1/V1.FaqAnswerData)\n- [2.0.1](/php/docs/reference/cloud-contact-center-insights/2.0.1/V1.FaqAnswerData)\n- [1.9.5](/php/docs/reference/cloud-contact-center-insights/1.9.5/V1.FaqAnswerData)\n- [1.8.0](/php/docs/reference/cloud-contact-center-insights/1.8.0/V1.FaqAnswerData)\n- [1.7.1](/php/docs/reference/cloud-contact-center-insights/1.7.1/V1.FaqAnswerData)\n- [1.6.2](/php/docs/reference/cloud-contact-center-insights/1.6.2/V1.FaqAnswerData)\n- [1.5.0](/php/docs/reference/cloud-contact-center-insights/1.5.0/V1.FaqAnswerData)\n- [1.4.1](/php/docs/reference/cloud-contact-center-insights/1.4.1/V1.FaqAnswerData)\n- [1.3.0](/php/docs/reference/cloud-contact-center-insights/1.3.0/V1.FaqAnswerData)\n- [1.2.1](/php/docs/reference/cloud-contact-center-insights/1.2.1/V1.FaqAnswerData)\n- [1.1.0](/php/docs/reference/cloud-contact-center-insights/1.1.0/V1.FaqAnswerData)\n- [1.0.3](/php/docs/reference/cloud-contact-center-insights/1.0.3/V1.FaqAnswerData) \nReference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class FaqAnswerData.\n\nAgent Assist frequently-asked-question answer data.\n\nGenerated from protobuf message `google.cloud.contactcenterinsights.v1.FaqAnswerData`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ContactCenterInsights \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getAnswer\n\nThe piece of text from the `source` knowledge base document.\n\n### setAnswer\n\nThe piece of text from the `source` knowledge base document.\n\n### getConfidenceScore\n\nThe system's confidence score that this answer is a good match for this\nconversation, ranging from 0.0 (completely uncertain) to 1.0 (completely\ncertain).\n\n### setConfidenceScore\n\nThe system's confidence score that this answer is a good match for this\nconversation, ranging from 0.0 (completely uncertain) to 1.0 (completely\ncertain).\n\n### getQuestion\n\nThe corresponding FAQ question.\n\n### setQuestion\n\nThe corresponding FAQ question.\n\n### getMetadata\n\nMap that contains metadata about the FAQ answer and the document that\nit originates from.\n\n### setMetadata\n\nMap that contains metadata about the FAQ answer and the document that\nit originates from.\n\n### getQueryRecord\n\nThe name of the answer record.\n\nFormat:\nprojects/{project}/locations/{location}/answerRecords/{answer_record}\n\n### setQueryRecord\n\nThe name of the answer record.\n\nFormat:\nprojects/{project}/locations/{location}/answerRecords/{answer_record}\n\n### getSource\n\nThe knowledge document that this answer was extracted from.\n\nFormat:\nprojects/{project}/knowledgeBases/{knowledge_base}/documents/{document}.\n\n### setSource\n\nThe knowledge document that this answer was extracted from.\n\nFormat:\nprojects/{project}/knowledgeBases/{knowledge_base}/documents/{document}."]]