Discovery Engine v1 API - Enum AnswerQueryRequest.Types.SafetySpec.Types.SafetySetting.Types.HarmBlockThreshold (1.7.0)

public enum AnswerQueryRequest.Types.SafetySpec.Types.SafetySetting.Types.HarmBlockThreshold

Reference documentation and code samples for the Discovery Engine v1 API enum AnswerQueryRequest.Types.SafetySpec.Types.SafetySetting.Types.HarmBlockThreshold.

Probability based thresholds levels for blocking.

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Fields

Name Description
BlockLowAndAbove

Block low threshold and above (i.e. block more).

BlockMediumAndAbove

Block medium threshold and above.

BlockNone

Block none.

BlockOnlyHigh

Block only high threshold (i.e. block less).

Off

Turn off the safety filter.

Unspecified

Unspecified harm block threshold.