Reference documentation and code samples for the Contact Center AI Insights V1 API class Google::Cloud::ContactCenterInsights::V1::SmartComposeSuggestionData.
Agent Assist Smart Compose suggestion data.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#confidence_score
defconfidence_score()->::Float
Returns
(::Float) — The system's confidence score that this suggestion is a good match for this
conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
certain).
#confidence_score=
defconfidence_score=(value)->::Float
Parameter
value (::Float) — The system's confidence score that this suggestion 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 suggestion is a good match for this
conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely
certain).
(::Google::Protobuf::Map{::String => ::String}) — Map that contains metadata about the Smart Compose suggestion and the
document from which it originates.
value (::Google::Protobuf::Map{::String => ::String}) — Map that contains metadata about the Smart Compose suggestion and the
document from which it originates.
Returns
(::Google::Protobuf::Map{::String => ::String}) — Map that contains metadata about the Smart Compose suggestion and the
document from which it originates.
#query_record
defquery_record()->::String
Returns
(::String) — The name of the answer record.
Format:
projects/{project}/locations/{location}/answerRecords/{answer_record}
#query_record=
defquery_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}
[[["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-08-28 UTC."],[],[],null,["# Contact Center AI Insights V1 API - Class Google::Cloud::ContactCenterInsights::V1::SmartComposeSuggestionData (v1.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.6.0 (latest)](/ruby/docs/reference/google-cloud-contact_center_insights-v1/latest/Google-Cloud-ContactCenterInsights-V1-SmartComposeSuggestionData)\n- [1.5.1](/ruby/docs/reference/google-cloud-contact_center_insights-v1/1.5.1/Google-Cloud-ContactCenterInsights-V1-SmartComposeSuggestionData)\n- [1.4.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/1.4.0/Google-Cloud-ContactCenterInsights-V1-SmartComposeSuggestionData)\n- [1.3.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/1.3.0/Google-Cloud-ContactCenterInsights-V1-SmartComposeSuggestionData)\n- [1.2.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/1.2.0/Google-Cloud-ContactCenterInsights-V1-SmartComposeSuggestionData)\n- [1.1.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/1.1.0/Google-Cloud-ContactCenterInsights-V1-SmartComposeSuggestionData)\n- [1.0.1](/ruby/docs/reference/google-cloud-contact_center_insights-v1/1.0.1/Google-Cloud-ContactCenterInsights-V1-SmartComposeSuggestionData)\n- [0.22.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.22.0/Google-Cloud-ContactCenterInsights-V1-SmartComposeSuggestionData)\n- [0.21.1](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.21.1/Google-Cloud-ContactCenterInsights-V1-SmartComposeSuggestionData)\n- [0.20.1](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.20.1/Google-Cloud-ContactCenterInsights-V1-SmartComposeSuggestionData)\n- [0.19.1](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.19.1/Google-Cloud-ContactCenterInsights-V1-SmartComposeSuggestionData)\n- [0.18.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.18.0/Google-Cloud-ContactCenterInsights-V1-SmartComposeSuggestionData)\n- [0.17.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.17.0/Google-Cloud-ContactCenterInsights-V1-SmartComposeSuggestionData)\n- [0.16.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.16.0/Google-Cloud-ContactCenterInsights-V1-SmartComposeSuggestionData)\n- [0.15.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.15.0/Google-Cloud-ContactCenterInsights-V1-SmartComposeSuggestionData)\n- [0.14.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.14.0/Google-Cloud-ContactCenterInsights-V1-SmartComposeSuggestionData)\n- [0.13.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.13.0/Google-Cloud-ContactCenterInsights-V1-SmartComposeSuggestionData)\n- [0.12.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.12.0/Google-Cloud-ContactCenterInsights-V1-SmartComposeSuggestionData)\n- [0.11.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.11.0/Google-Cloud-ContactCenterInsights-V1-SmartComposeSuggestionData)\n- [0.10.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.10.0/Google-Cloud-ContactCenterInsights-V1-SmartComposeSuggestionData)\n- [0.9.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.9.0/Google-Cloud-ContactCenterInsights-V1-SmartComposeSuggestionData)\n- [0.8.2](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.8.2/Google-Cloud-ContactCenterInsights-V1-SmartComposeSuggestionData)\n- [0.7.2](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.7.2/Google-Cloud-ContactCenterInsights-V1-SmartComposeSuggestionData)\n- [0.6.0](/ruby/docs/reference/google-cloud-contact_center_insights-v1/0.6.0/Google-Cloud-ContactCenterInsights-V1-SmartComposeSuggestionData) \nReference documentation and code samples for the Contact Center AI Insights V1 API class Google::Cloud::ContactCenterInsights::V1::SmartComposeSuggestionData.\n\nAgent Assist Smart Compose suggestion data. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #confidence_score\n\n def confidence_score() -\u003e ::Float\n\n**Returns**\n\n- (::Float) --- The system's confidence score that this suggestion is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).\n\n### #confidence_score=\n\n def confidence_score=(value) -\u003e ::Float\n\n**Parameter**\n\n- **value** (::Float) --- The system's confidence score that this suggestion is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain). \n**Returns**\n\n- (::Float) --- The system's confidence score that this suggestion is a good match for this conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely certain).\n\n### #metadata\n\n def metadata() -\u003e ::Google::Protobuf::Map{::String =\u003e ::String}\n\n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- Map that contains metadata about the Smart Compose suggestion and the document from which it originates.\n\n### #metadata=\n\n def metadata=(value) -\u003e ::Google::Protobuf::Map{::String =\u003e ::String}\n\n**Parameter**\n\n- **value** (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- Map that contains metadata about the Smart Compose suggestion and the document from which it originates. \n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- Map that contains metadata about the Smart Compose suggestion and the document from which it originates.\n\n### #query_record\n\n def query_record() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}\n\n### #query_record=\n\n def query_record=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record} \n**Returns**\n\n- (::String) --- The name of the answer record. Format: projects/{project}/locations/{location}/answerRecords/{answer_record}\n\n### #suggestion\n\n def suggestion() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The content of the suggestion.\n\n### #suggestion=\n\n def suggestion=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The content of the suggestion. \n**Returns**\n\n- (::String) --- The content of the suggestion."]]