Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationResult

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

The result of testing correlation config on a single conversation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationResult

Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationResult.



12721
12722
12723
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 12721

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

Instance Attribute Details

#conversationString

The conversation resource name. Corresponds to the JSON property conversation

Returns:

  • (String)


12714
12715
12716
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 12714

def conversation
  @conversation
end

#rule_resultsArray<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ConversationCorrelationResultRuleCorrelationResult>

The results for each correlation rule. Corresponds to the JSON property ruleResults



12719
12720
12721
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 12719

def rule_results
  @rule_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12726
12727
12728
12729
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 12726

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