Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig

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

Configuration information of a phrase match rule.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig

Returns a new instance of GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig.



7066
7067
7068
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7066

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

Instance Attribute Details

#exact_match_configGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ExactMatchConfig

Exact match configuration. Corresponds to the JSON property exactMatchConfig



7059
7060
7061
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7059

def exact_match_config
  @exact_match_config
end

#regex_match_configGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RegexMatchConfig

Regex match configuration. Corresponds to the JSON property regexMatchConfig



7064
7065
7066
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7064

def regex_match_config
  @regex_match_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7071
7072
7073
7074
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7071

def update!(**args)
  @exact_match_config = args[:exact_match_config] if args.key?(:exact_match_config)
  @regex_match_config = args[:regex_match_config] if args.key?(:regex_match_config)
end