Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainConversationCorrelationResult

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

Returns a new instance of GoogleCloudContactcenterinsightsV1mainConversationCorrelationResult.



18051
18052
18053
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 18051

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

Instance Attribute Details

#conversationString

The conversation resource name. Corresponds to the JSON property conversation

Returns:

  • (String)


18044
18045
18046
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 18044

def conversation
  @conversation
end

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

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



18049
18050
18051
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 18049

def rule_results
  @rule_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18056
18057
18058
18059
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 18056

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