Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb
Overview
Response for Knowledge Assist. Contains suggested query and optionally includes an answer for the query.
Instance Attribute Summary collapse
-
#suggested_query ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseSuggestedQuery
Represents a suggested query.
-
#suggested_query_answer ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswer
Represents an answer from Knowledge.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponse
constructor
A new instance of GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponse
Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponse.
6518 6519 6520 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6518 def initialize(**args) update!(**args) end |
Instance Attribute Details
#suggested_query ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseSuggestedQuery
Represents a suggested query.
Corresponds to the JSON property suggestedQuery
6510 6511 6512 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6510 def suggested_query @suggested_query end |
#suggested_query_answer ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswer
Represents an answer from Knowledge. Cuurently supports FAQ and Generative
answers.
Corresponds to the JSON property suggestedQueryAnswer
6516 6517 6518 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6516 def suggested_query_answer @suggested_query_answer end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6523 6524 6525 6526 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6523 def update!(**args) @suggested_query = args[:suggested_query] if args.key?(:suggested_query) @suggested_query_answer = args[:suggested_query_answer] if args.key?(:suggested_query_answer) end |