Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConstraintEvaluationResult
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConstraintEvaluationResult
- 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::GoogleCloudContactcenterinsightsV1ConstraintEvaluationResultRuleConstraintResult>
The results for each applicable constraint rule.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1ConstraintEvaluationResult
constructor
A new instance of GoogleCloudContactcenterinsightsV1ConstraintEvaluationResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1ConstraintEvaluationResult
Returns a new instance of GoogleCloudContactcenterinsightsV1ConstraintEvaluationResult.
2843 2844 2845 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2843 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation_a ⇒ String
The first conversation resource name.
Corresponds to the JSON property conversationA
2831 2832 2833 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2831 def conversation_a @conversation_a end |
#conversation_b ⇒ String
The second conversation resource name.
Corresponds to the JSON property conversationB
2836 2837 2838 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2836 def conversation_b @conversation_b end |
#rule_constraint_results ⇒ Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConstraintEvaluationResultRuleConstraintResult>
The results for each applicable constraint rule.
Corresponds to the JSON property ruleConstraintResults
2841 2842 2843 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2841 def rule_constraint_results @rule_constraint_results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2848 2849 2850 2851 2852 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2848 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 |