Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResult
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResult
- 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 a constraint expression on a pair of conversations.
Instance Attribute Summary collapse
-
#conversation_a ⇒ String
The first conversation resource name.
-
#conversation_b ⇒ String
The second conversation resource name.
-
#rule_constraint_results ⇒ Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResultRuleConstraintResult>
The results for each applicable constraint rule.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResult
constructor
A new instance of GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResult
Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResult.
12437 12438 12439 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 12437 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation_a ⇒ String
The first conversation resource name.
Corresponds to the JSON property conversationA
12425 12426 12427 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 12425 def conversation_a @conversation_a end |
#conversation_b ⇒ String
The second conversation resource name.
Corresponds to the JSON property conversationB
12430 12431 12432 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 12430 def conversation_b @conversation_b end |
#rule_constraint_results ⇒ Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1ConstraintEvaluationResultRuleConstraintResult>
The results for each applicable constraint rule.
Corresponds to the JSON property ruleConstraintResults
12435 12436 12437 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 12435 def rule_constraint_results @rule_constraint_results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12442 12443 12444 12445 12446 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 12442 def update!(**args) @conversation_a = args[:conversation_a] if args.key?(:conversation_a) @conversation_b = args[:conversation_b] if args.key?(:conversation_b) @rule_constraint_results = args[:rule_constraint_results] if args.key?(:rule_constraint_results) end |