Model Armor v1 API - Class FilterRuleSet (1.2.0)

public sealed class FilterRuleSet : IMessage<FilterRuleSet>, IEquatable<FilterRuleSet>, IDeepCloneable<FilterRuleSet>, IBufferMessage, IMessage

Reference documentation and code samples for the Model Armor v1 API class FilterRuleSet.

A set of rules that modifies the behavior of specific filters based on the rules defined within the set.

Inheritance

object > FilterRuleSet

Namespace

Google.Cloud.ModelArmor.V1

Assembly

Google.Cloud.ModelArmor.V1.dll

Constructors

FilterRuleSet()

public FilterRuleSet()

FilterRuleSet(FilterRuleSet)

public FilterRuleSet(FilterRuleSet other)
Parameter
Name Description
other FilterRuleSet

Properties

FilterTypes

public RepeatedField<RuleFilterType> FilterTypes { get; }

Required. List of filters this rule set is applied to.

Property Value
Type Description
RepeatedFieldRuleFilterType

Rules

public RepeatedField<FilterRule> Rules { get; }

Required. Set of rules to be applied to filterTypes.

Property Value
Type Description
RepeatedFieldFilterRule