Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery
- 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) ⇒ GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery
constructor
A new instance of GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery
Returns a new instance of GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery.
2535 2536 2537 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2535 def initialize(**args) update!(**args) end |
Instance Attribute Details
#query_text ⇒ String
Suggested query text.
Corresponds to the JSON property queryText
2528 2529 2530 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2528 def query_text @query_text end |
#score ⇒ Float
Suggested query score.
Corresponds to the JSON property score
2533 2534 2535 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2533 def score @score end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2540 2541 2542 2543 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2540 def update!(**args) @query_text = args[:query_text] if args.key?(:query_text) @score = args[:score] if args.key?(:score) end |