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.
2430 2431 2432 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2430 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation_a ⇒ String
The first conversation resource name.
Corresponds to the JSON property conversationA
2418 2419 2420 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2418 def conversation_a @conversation_a end |
#conversation_b ⇒ String
The second conversation resource name.
Corresponds to the JSON property conversationB
2423 2424 2425 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2423 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
2428 2429 2430 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2428 def rule_constraint_results @rule_constraint_results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2435 2436 2437 2438 2439 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2435 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 |