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.



5163
5164
5165
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5163

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

Instance Attribute Details

#exact_match_configGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ExactMatchConfig

Exact match configuration. Corresponds to the JSON property exactMatchConfig



5156
5157
5158
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5156

def exact_match_config
  @exact_match_config
end

#regex_match_configGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RegexMatchConfig

Regex match configuration. Corresponds to the JSON property regexMatchConfig



5161
5162
5163
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5161

def regex_match_config
  @regex_match_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5168
5169
5170
5171
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 5168

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