Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConversationCorrelationResult

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) ⇒ GoogleCloudContactcenterinsightsV1ConversationCorrelationResult

Returns a new instance of GoogleCloudContactcenterinsightsV1ConversationCorrelationResult.



2631
2632
2633
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2631

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

Instance Attribute Details

#conversationString

The conversation resource name. Corresponds to the JSON property conversation

Returns:

  • (String)


2624
2625
2626
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2624

def conversation
  @conversation
end

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

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



2629
2630
2631
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2629

def rule_results
  @rule_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2636
2637
2638
2639
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2636

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