class Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatchRule
The data for a phrase match rule.
Attributes
config[RW]
Configuration information of a phrase match rule. Corresponds to the JSON property `config` @return [Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig]
negated[RW]
Specifies whether the phrase must be missing from the transcript segment or present in the transcript segment. Corresponds to the JSON property `negated` @return [Boolean]
negated?[RW]
Specifies whether the phrase must be missing from the transcript segment or present in the transcript segment. Corresponds to the JSON property `negated` @return [Boolean]
query[RW]
Required. The phrase to be matched. Corresponds to the JSON property `query` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/contactcenterinsights_v1/classes.rb, line 1875 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/contactcenterinsights_v1/classes.rb, line 1880 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