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.



6538
6539
6540
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6538

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

Instance Attribute Details

#exact_match_configGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ExactMatchConfig

Exact match configuration. Corresponds to the JSON property exactMatchConfig



6531
6532
6533
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6531

def exact_match_config
  @exact_match_config
end

#regex_match_configGoogle::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RegexMatchConfig

Regex match configuration. Corresponds to the JSON property regexMatchConfig



6536
6537
6538
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6536

def regex_match_config
  @regex_match_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6543
6544
6545
6546
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6543

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