Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig
- 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
-
#exact_match_config ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ExactMatchConfig
Exact match configuration.
-
#regex_match_config ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RegexMatchConfig
Regex match configuration.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig
constructor
A new instance of GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig
Returns a new instance of GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig.
7633 7634 7635 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7633 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exact_match_config ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1ExactMatchConfig
Exact match configuration.
Corresponds to the JSON property exactMatchConfig
7626 7627 7628 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7626 def exact_match_config @exact_match_config end |
#regex_match_config ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RegexMatchConfig
Regex match configuration.
Corresponds to the JSON property regexMatchConfig
7631 7632 7633 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7631 def regex_match_config @regex_match_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7638 7639 7640 7641 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7638 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 |