Model Armor v1 API - Class CsamFilterSettings (1.3.0)

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

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

Child sexual abuse material (CSAM) filter settings.

Inheritance

object > CsamFilterSettings

Namespace

Google.Cloud.ModelArmor.V1

Assembly

Google.Cloud.ModelArmor.V1.dll

Constructors

CsamFilterSettings()

public CsamFilterSettings()

CsamFilterSettings(CsamFilterSettings)

public CsamFilterSettings(CsamFilterSettings other)
Parameter
Name Description
other CsamFilterSettings

Properties

ConfidenceLevel

public DetectionConfidenceLevel ConfidenceLevel { get; set; }

Optional. Confidence level for this CSAM filter. This field is used to determine the threshold for the filter. If detection confidence is greater than or equal to the specified level, a positive match is reported. Confidence level will only be used if the filter is enabled.

Property Value
Type Description
DetectionConfidenceLevel

FilterEnforcement

public CsamFilterSettings.Types.CsamFilterEnforcement FilterEnforcement { get; set; }

Optional. Specifies whether the CSAM filter is enabled or disabled.

Property Value
Type Description
CsamFilterSettingsTypesCsamFilterEnforcement