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.



2286
2287
2288
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2286

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

Instance Attribute Details

#conversation_aString

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

Returns:

  • (String)


2274
2275
2276
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2274

def conversation_a
  @conversation_a
end

#conversation_bString

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

Returns:

  • (String)


2279
2280
2281
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2279

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



2284
2285
2286
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2284

def rule_constraint_results
  @rule_constraint_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2291
2292
2293
2294
2295
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2291

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