Contact Center AI Insights V1 API - Class Google::Cloud::ContactCenterInsights::V1::PhraseMatcher (v1.2.0)

Reference documentation and code samples for the Contact Center AI Insights V1 API class Google::Cloud::ContactCenterInsights::V1::PhraseMatcher.

The phrase matcher resource.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#activation_update_time

def activation_update_time() -> ::Google::Protobuf::Timestamp
Returns

#active

def active() -> ::Boolean
Returns
  • (::Boolean) — Applies the phrase matcher only when it is active.

#active=

def active=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Applies the phrase matcher only when it is active.
Returns
  • (::Boolean) — Applies the phrase matcher only when it is active.

#display_name

def display_name() -> ::String
Returns
  • (::String) — The human-readable name of the phrase matcher.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — The human-readable name of the phrase matcher.
Returns
  • (::String) — The human-readable name of the phrase matcher.

#name

def name() -> ::String
Returns
  • (::String) — The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
Returns
  • (::String) — The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}

#phrase_match_rule_groups

def phrase_match_rule_groups() -> ::Array<::Google::Cloud::ContactCenterInsights::V1::PhraseMatchRuleGroup>
Returns

#phrase_match_rule_groups=

def phrase_match_rule_groups=(value) -> ::Array<::Google::Cloud::ContactCenterInsights::V1::PhraseMatchRuleGroup>
Parameter
Returns

#revision_create_time

def revision_create_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — Output only. The timestamp of when the revision was created. It is also the create time when a new matcher is added.

#revision_id

def revision_id() -> ::String
Returns
  • (::String) — 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/global/phraseMatchers/my-first-matcher@1234567

#role_match

def role_match() -> ::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant::Role
Returns

#role_match=

def role_match=(value) -> ::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant::Role
Parameter
Returns

#type

def type() -> ::Google::Cloud::ContactCenterInsights::V1::PhraseMatcher::PhraseMatcherType
Returns

#type=

def type=(value) -> ::Google::Cloud::ContactCenterInsights::V1::PhraseMatcher::PhraseMatcherType
Parameter
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#version_tag

def version_tag() -> ::String
Returns
  • (::String) — The customized version tag to use for the phrase matcher. If not specified, it will default to revision_id.

#version_tag=

def version_tag=(value) -> ::String
Parameter
  • value (::String) — The customized version tag to use for the phrase matcher. If not specified, it will default to revision_id.
Returns
  • (::String) — The customized version tag to use for the phrase matcher. If not specified, it will default to revision_id.