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.
10410 10411 10412 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10410 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversation_a ⇒ String
The first conversation resource name.
Corresponds to the JSON property conversationA
10398 10399 10400 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10398 def conversation_a @conversation_a end |
#conversation_b ⇒ String
The second conversation resource name.
Corresponds to the JSON property conversationB
10403 10404 10405 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10403 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
10408 10409 10410 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10408 def rule_constraint_results @rule_constraint_results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10415 10416 10417 10418 10419 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 10415 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 |