Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatchRule
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatchRule
- 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 data for a phrase match rule.
Instance Attribute Summary collapse
-
#config ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig
Configuration information of a phrase match rule.
-
#negated ⇒ Boolean
(also: #negated?)
Specifies whether the phrase must be missing from the transcript segment or present in the transcript segment.
-
#query ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1PhraseMatchRule
constructor
A new instance of GoogleCloudContactcenterinsightsV1PhraseMatchRule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1PhraseMatchRule
Returns a new instance of GoogleCloudContactcenterinsightsV1PhraseMatchRule.
2943 2944 2945 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2943 def initialize(**args) update!(**args) end |
Instance Attribute Details
#config ⇒ Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig
Configuration information of a phrase match rule.
Corresponds to the JSON property config
2929 2930 2931 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2929 def config @config end |
#negated ⇒ Boolean Also known as: negated?
Specifies whether the phrase must be missing from the transcript segment or
present in the transcript segment.
Corresponds to the JSON property negated
2935 2936 2937 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2935 def negated @negated end |
#query ⇒ String
Required. The phrase to be matched.
Corresponds to the JSON property query
2941 2942 2943 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2941 def query @query end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2948 2949 2950 2951 2952 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2948 def update!(**args) @config = args[:config] if args.key?(:config) @negated = args[:negated] if args.key?(:negated) @query = args[:query] if args.key?(:query) end |