Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseSuggestedQuery
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseSuggestedQuery
- 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
Represents a suggested query.
Instance Attribute Summary collapse
-
#query_text ⇒ String
Suggested query text.
-
#score ⇒ Float
Suggested query score.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseSuggestedQuery
constructor
A new instance of GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseSuggestedQuery.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseSuggestedQuery
Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseSuggestedQuery.
6698 6699 6700 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6698 def initialize(**args) update!(**args) end |
Instance Attribute Details
#query_text ⇒ String
Suggested query text.
Corresponds to the JSON property queryText
6691 6692 6693 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6691 def query_text @query_text end |
#score ⇒ Float
Suggested query score.
Corresponds to the JSON property score
6696 6697 6698 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6696 def score @score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6703 6704 6705 6706 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6703 def update!(**args) @query_text = args[:query_text] if args.key?(:query_text) @score = args[:score] if args.key?(:score) end |