Class: Google::Cloud::ContactCenterInsights::V1::PhraseMatcher
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Cloud::ContactCenterInsights::V1::PhraseMatcher
 
 
- Extended by:
 - Protobuf::MessageExts::ClassMethods
 
- Includes:
 - Protobuf::MessageExts
 
- Defined in:
 - proto_docs/google/cloud/contactcenterinsights/v1/resources.rb
 
Overview
The phrase matcher resource.
Defined Under Namespace
Modules: PhraseMatcherType
Instance Attribute Summary collapse
- 
  
    
      #activation_update_time  ⇒ ::Google::Protobuf::Timestamp 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #active  ⇒ ::Boolean 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Applies the phrase matcher only when it is active.
 - 
  
    
      #display_name  ⇒ ::String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The human-readable name of the phrase matcher.
 - 
  
    
      #name  ⇒ ::String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The resource name of the phrase matcher.
 - 
  
    
      #phrase_match_rule_groups  ⇒ ::Array<::Google::Cloud::ContactCenterInsights::V1::PhraseMatchRuleGroup> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A list of phase match rule groups that are included in this matcher.
 - 
  
    
      #revision_create_time  ⇒ ::Google::Protobuf::Timestamp 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #revision_id  ⇒ ::String 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #role_match  ⇒ ::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant::Role 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The role whose utterances the phrase matcher should be matched against.
 - 
  
    
      #type  ⇒ ::Google::Cloud::ContactCenterInsights::V1::PhraseMatcher::PhraseMatcherType 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 - 
  
    
      #update_time  ⇒ ::Google::Protobuf::Timestamp 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #version_tag  ⇒ ::String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The customized version tag to use for the phrase matcher.
 
Instance Attribute Details
#activation_update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The most recent time at which the activation status was updated.
      927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943  | 
    
      # File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 927 class PhraseMatcher include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies how to combine each phrase match rule group to determine whether # there is a match. module PhraseMatcherType # Unspecified. PHRASE_MATCHER_TYPE_UNSPECIFIED = 0 # Must meet all phrase match rule groups or there is no match. ALL_OF = 1 # If any of the phrase match rule groups are met, there is a match. ANY_OF = 2 end end  | 
  
#active ⇒ ::Boolean
Returns Applies the phrase matcher only when it is active.
      927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943  | 
    
      # File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 927 class PhraseMatcher include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies how to combine each phrase match rule group to determine whether # there is a match. module PhraseMatcherType # Unspecified. PHRASE_MATCHER_TYPE_UNSPECIFIED = 0 # Must meet all phrase match rule groups or there is no match. ALL_OF = 1 # If any of the phrase match rule groups are met, there is a match. ANY_OF = 2 end end  | 
  
#display_name ⇒ ::String
Returns The human-readable name of the phrase matcher.
      927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943  | 
    
      # File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 927 class PhraseMatcher include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies how to combine each phrase match rule group to determine whether # there is a match. module PhraseMatcherType # Unspecified. PHRASE_MATCHER_TYPE_UNSPECIFIED = 0 # Must meet all phrase match rule groups or there is no match. ALL_OF = 1 # If any of the phrase match rule groups are met, there is a match. ANY_OF = 2 end end  | 
  
#name ⇒ ::String
Returns The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}.
      927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943  | 
    
      # File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 927 class PhraseMatcher include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies how to combine each phrase match rule group to determine whether # there is a match. module PhraseMatcherType # Unspecified. PHRASE_MATCHER_TYPE_UNSPECIFIED = 0 # Must meet all phrase match rule groups or there is no match. ALL_OF = 1 # If any of the phrase match rule groups are met, there is a match. ANY_OF = 2 end end  | 
  
#phrase_match_rule_groups ⇒ ::Array<::Google::Cloud::ContactCenterInsights::V1::PhraseMatchRuleGroup>
Returns A list of phase match rule groups that are included in this matcher.
      927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943  | 
    
      # File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 927 class PhraseMatcher include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies how to combine each phrase match rule group to determine whether # there is a match. module PhraseMatcherType # Unspecified. PHRASE_MATCHER_TYPE_UNSPECIFIED = 0 # Must meet all phrase match rule groups or there is no match. ALL_OF = 1 # If any of the phrase match rule groups are met, there is a match. ANY_OF = 2 end end  | 
  
#revision_create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The timestamp of when the revision was created. It is also the create time when a new matcher is added.
      927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943  | 
    
      # File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 927 class PhraseMatcher include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies how to combine each phrase match rule group to determine whether # there is a match. module PhraseMatcherType # Unspecified. PHRASE_MATCHER_TYPE_UNSPECIFIED = 0 # Must meet all phrase match rule groups or there is no match. ALL_OF = 1 # If any of the phrase match rule groups are met, there is a match. ANY_OF = 2 end end  | 
  
#revision_id ⇒ ::String (readonly)
Returns 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.
      927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943  | 
    
      # File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 927 class PhraseMatcher include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies how to combine each phrase match rule group to determine whether # there is a match. module PhraseMatcherType # Unspecified. PHRASE_MATCHER_TYPE_UNSPECIFIED = 0 # Must meet all phrase match rule groups or there is no match. ALL_OF = 1 # If any of the phrase match rule groups are met, there is a match. ANY_OF = 2 end end  | 
  
#role_match ⇒ ::Google::Cloud::ContactCenterInsights::V1::ConversationParticipant::Role
Returns 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.
      927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943  | 
    
      # File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 927 class PhraseMatcher include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies how to combine each phrase match rule group to determine whether # there is a match. module PhraseMatcherType # Unspecified. PHRASE_MATCHER_TYPE_UNSPECIFIED = 0 # Must meet all phrase match rule groups or there is no match. ALL_OF = 1 # If any of the phrase match rule groups are met, there is a match. ANY_OF = 2 end end  | 
  
#type ⇒ ::Google::Cloud::ContactCenterInsights::V1::PhraseMatcher::PhraseMatcherType
Returns Required. The type of this phrase matcher.
      927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943  | 
    
      # File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 927 class PhraseMatcher include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies how to combine each phrase match rule group to determine whether # there is a match. module PhraseMatcherType # Unspecified. PHRASE_MATCHER_TYPE_UNSPECIFIED = 0 # Must meet all phrase match rule groups or there is no match. ALL_OF = 1 # If any of the phrase match rule groups are met, there is a match. ANY_OF = 2 end end  | 
  
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The most recent time at which the phrase matcher was updated.
      927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943  | 
    
      # File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 927 class PhraseMatcher include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies how to combine each phrase match rule group to determine whether # there is a match. module PhraseMatcherType # Unspecified. PHRASE_MATCHER_TYPE_UNSPECIFIED = 0 # Must meet all phrase match rule groups or there is no match. ALL_OF = 1 # If any of the phrase match rule groups are met, there is a match. ANY_OF = 2 end end  | 
  
#version_tag ⇒ ::String
Returns The customized version tag to use for the phrase matcher. If not specified,
it will default to revision_id.
      927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943  | 
    
      # File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 927 class PhraseMatcher include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies how to combine each phrase match rule group to determine whether # there is a match. module PhraseMatcherType # Unspecified. PHRASE_MATCHER_TYPE_UNSPECIFIED = 0 # Must meet all phrase match rule groups or there is no match. ALL_OF = 1 # If any of the phrase match rule groups are met, there is a match. ANY_OF = 2 end end  |