Class: Google::Cloud::ContactCenterInsights::V1::PhraseMatchRuleGroup

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/contactcenterinsights/v1/resources.rb

Overview

A message representing a rule in the phrase matcher.

Defined Under Namespace

Modules: PhraseMatchRuleGroupType

Instance Attribute Summary collapse

Instance Attribute Details

#phrase_match_rules::Array<::Google::Cloud::ContactCenterInsights::V1::PhraseMatchRule>

Returns A list of phrase match rules that are included in this group.

Returns:



911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 911

class PhraseMatchRuleGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies how to combine each phrase match rule for whether there is a
  # match.
  module PhraseMatchRuleGroupType
    # Unspecified.
    PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED = 0

    # Must meet all phrase match rules or there is no match.
    ALL_OF = 1

    # If any of the phrase match rules are met, there is a match.
    ANY_OF = 2
  end
end

#type::Google::Cloud::ContactCenterInsights::V1::PhraseMatchRuleGroup::PhraseMatchRuleGroupType

Returns Required. The type of this phrase match rule group.

Returns:



911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 911

class PhraseMatchRuleGroup
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Specifies how to combine each phrase match rule for whether there is a
  # match.
  module PhraseMatchRuleGroupType
    # Unspecified.
    PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED = 0

    # Must meet all phrase match rules or there is no match.
    ALL_OF = 1

    # If any of the phrase match rules are met, there is a match.
    ANY_OF = 2
  end
end