Model Armor v1 API - Enum MatchingScope (1.2.0)

public enum MatchingScope

Reference documentation and code samples for the Model Armor v1 API enum MatchingScope.

Defines the scope of the match for a rule.

Additional values may be added to this enum in the future.

Namespace

Google.Cloud.ModelArmor.V1

Assembly

Google.Cloud.ModelArmor.V1.dll

Fields

Name Description
FullMatch

Full match.

  • Dictionary: the dictionary match covers the entire input content
  • Regular expression: the regular expression pattern matches the entire input content
PartialMatch

Partial match.

  • Dictionary: at least one of the tokens in the input content matches
  • Regular expression: substring of the input content matches the regular expression pattern
Unspecified

Unspecified matching scope.