Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1DialogflowInteractionData
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1DialogflowInteractionData
- 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
Dialogflow interaction data.
Instance Attribute Summary collapse
-
#confidence ⇒ Float
The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 ( completely certain).
-
#dialogflow_intent_id ⇒ String
The Dialogflow intent resource path.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1DialogflowInteractionData
constructor
A new instance of GoogleCloudContactcenterinsightsV1DialogflowInteractionData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1DialogflowInteractionData
Returns a new instance of GoogleCloudContactcenterinsightsV1DialogflowInteractionData.
1326 1327 1328 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1326 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confidence ⇒ Float
The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 (
completely certain).
Corresponds to the JSON property confidence
1318 1319 1320 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1318 def confidence @confidence end |
#dialogflow_intent_id ⇒ String
The Dialogflow intent resource path. Format: projects/project
/agent/agent
/
intents/intent
Corresponds to the JSON property dialogflowIntentId
1324 1325 1326 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1324 def dialogflow_intent_id @dialogflow_intent_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1331 1332 1333 1334 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1331 def update!(**args) @confidence = args[:confidence] if args.key?(:confidence) @dialogflow_intent_id = args[:dialogflow_intent_id] if args.key?(:dialogflow_intent_id) end |