Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConstraintEvaluationResult

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1ConstraintEvaluationResult

Returns a new instance of GoogleCloudContactcenterinsightsV1ConstraintEvaluationResult.



2398
2399
2400
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2398

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#conversation_aString

The first conversation resource name. Corresponds to the JSON property conversationA

Returns:

  • (String)


2386
2387
2388
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2386

def conversation_a
  @conversation_a
end

#conversation_bString

The second conversation resource name. Corresponds to the JSON property conversationB

Returns:

  • (String)


2391
2392
2393
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2391

def conversation_b
  @conversation_b
end

#rule_constraint_resultsArray<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ConstraintEvaluationResultRuleConstraintResult>

The results for each applicable constraint rule. Corresponds to the JSON property ruleConstraintResults



2396
2397
2398
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2396

def rule_constraint_results
  @rule_constraint_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2403
2404
2405
2406
2407
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2403

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