HarmBlockThreshold
public struct HarmBlockThreshold : EncodableProtoEnum, Sendableextension SafetySetting.HarmBlockThreshold: EncodableBlock at and beyond a specified HarmProbability.
- 
                  
                  Content with .negligiblewill be allowed.DeclarationSwift public static let blockLowAndAbove: SafetySetting.HarmBlockThreshold
- 
                  
                  Content with .negligibleand.lowwill be allowed.DeclarationSwift public static let blockMediumAndAbove: SafetySetting.HarmBlockThreshold
- 
                  
                  Content with .negligible,.low, and.mediumwill be allowed.DeclarationSwift public static let blockOnlyHigh: SafetySetting.HarmBlockThreshold
- 
                  
                  All content will be allowed. DeclarationSwift public static let blockNone: SafetySetting.HarmBlockThreshold
- 
                  
                  Turn off the safety filter. DeclarationSwift public static let off: SafetySetting.HarmBlockThreshold