class Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatcher

The phrase matcher resource.

Attributes

activation_update_time[RW]

Output only. The most recent time at which the activation status was updated. Corresponds to the JSON property `activationUpdateTime` @return [String]

active[RW]

Applies the phrase matcher only when it is active. Corresponds to the JSON property `active` @return [Boolean]

active?[RW]

Applies the phrase matcher only when it is active. Corresponds to the JSON property `active` @return [Boolean]

display_name[RW]

The human-readable name of the phrase matcher. Corresponds to the JSON property `displayName` @return [String]

name[RW]

The resource name of the phrase matcher. Format: projects/`project`/locations/` location`/phraseMatchers/`phrase_matcher` Corresponds to the JSON property `name` @return [String]

phrase_match_rule_groups[RW]

A list of phase match rule groups that are included in this matcher. Corresponds to the JSON property `phraseMatchRuleGroups` @return [Array<Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup>]

revision_create_time[RW]

Output only. The timestamp of when the revision was created. It is also the create time when a new matcher is added. Corresponds to the JSON property `revisionCreateTime` @return [String]

revision_id[RW]

Output only. Immutable. The revision ID of the phrase matcher. A new revision is committed whenever the matcher is changed, except when it is activated or deactivated. A server generated random ID will be used. Example: locations/ 1234567 at global/phraseMatchers/my-first-matcher Corresponds to the JSON property `revisionId` @return [String]

role_match[RW]

The role whose utterances the phrase matcher should be matched against. If the role is ROLE_UNSPECIFIED it will be matched against any utterances in the transcript. Corresponds to the JSON property `roleMatch` @return [String]

type[RW]

Required. The type of this phrase matcher. Corresponds to the JSON property `type` @return [String]

version_tag[RW]

The customized version tag to use for the phrase matcher. If not specified, it will default to `revision_id`. Corresponds to the JSON property `versionTag` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/contactcenterinsights_v1/classes.rb, line 1994
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 1999
def update!(**args)
  @activation_update_time = args[:activation_update_time] if args.key?(:activation_update_time)
  @active = args[:active] if args.key?(:active)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @phrase_match_rule_groups = args[:phrase_match_rule_groups] if args.key?(:phrase_match_rule_groups)
  @revision_create_time = args[:revision_create_time] if args.key?(:revision_create_time)
  @revision_id = args[:revision_id] if args.key?(:revision_id)
  @role_match = args[:role_match] if args.key?(:role_match)
  @type = args[:type] if args.key?(:type)
  @version_tag = args[:version_tag] if args.key?(:version_tag)
end