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.
1810 1811 1812 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1810 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation_a ⇒ String
The first conversation resource name.
Corresponds to the JSON property conversationA
1798 1799 1800 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1798 def conversation_a @conversation_a end |
#conversation_b ⇒ String
The second conversation resource name.
Corresponds to the JSON property conversationB
1803 1804 1805 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1803 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
1808 1809 1810 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1808 def rule_constraint_results @rule_constraint_results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1815 1816 1817 1818 1819 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 1815 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 |