Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1mainConstraintEvaluationResult

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) ⇒ GoogleCloudContactcenterinsightsV1mainConstraintEvaluationResult

Returns a new instance of GoogleCloudContactcenterinsightsV1mainConstraintEvaluationResult.



18699
18700
18701
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 18699

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

Instance Attribute Details

#conversation_aString

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

Returns:

  • (String)


18687
18688
18689
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 18687

def conversation_a
  @conversation_a
end

#conversation_bString

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

Returns:

  • (String)


18692
18693
18694
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 18692

def conversation_b
  @conversation_b
end

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

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



18697
18698
18699
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 18697

def rule_constraint_results
  @rule_constraint_results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18704
18705
18706
18707
18708
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 18704

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