Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1DialogflowInteractionData

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1DialogflowInteractionData

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1DialogflowInteractionData.



4464
4465
4466
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4464

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#confidenceFloat

The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 ( completely certain). Corresponds to the JSON property confidence

Returns:

  • (Float)


4456
4457
4458
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4456

def confidence
  @confidence
end

#dialogflow_intent_idString

The Dialogflow intent resource path. Format: projects/project/agent/agent/ intents/intent Corresponds to the JSON property dialogflowIntentId

Returns:

  • (String)


4462
4463
4464
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4462

def dialogflow_intent_id
  @dialogflow_intent_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4469
4470
4471
4472
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 4469

def update!(**args)
  @confidence = args[:confidence] if args.key?(:confidence)
  @dialogflow_intent_id = args[:dialogflow_intent_id] if args.key?(:dialogflow_intent_id)
end