Struct PhishBlockThreshold
Sites with confidence level chosen & above this value will be blocked from the search results. This enum is not supported in Gemini API.
[JsonConverter(typeof(PhishBlockThresholdConverter))]
public readonly record struct PhishBlockThreshold : IEquatable<PhishBlockThreshold>
- Implements
- Inherited Members
Properties
AllValues
public static IReadOnlyList<PhishBlockThreshold> AllValues { get; }
Property Value
BlockHighAndAbove
Blocks High and above confidence URL that is risky.
public static PhishBlockThreshold BlockHighAndAbove { get; }
Property Value
BlockHigherAndAbove
Blocks Higher and above confidence URL that is risky.
public static PhishBlockThreshold BlockHigherAndAbove { get; }
Property Value
BlockLowAndAbove
Blocks Low and above confidence URL that is risky.
public static PhishBlockThreshold BlockLowAndAbove { get; }
Property Value
BlockMediumAndAbove
Blocks Medium and above confidence URL that is risky.
public static PhishBlockThreshold BlockMediumAndAbove { get; }
Property Value
BlockOnlyExtremelyHigh
Blocks Extremely high confidence URL that is risky.
public static PhishBlockThreshold BlockOnlyExtremelyHigh { get; }
Property Value
BlockVeryHighAndAbove
Blocks Very high and above confidence URL that is risky.
public static PhishBlockThreshold BlockVeryHighAndAbove { get; }
Property Value
PhishBlockThresholdUnspecified
Defaults to unspecified.
public static PhishBlockThreshold PhishBlockThresholdUnspecified { get; }
Property Value
Value
public string Value { get; }
Property Value
Methods
Equals(PhishBlockThreshold)
public bool Equals(PhishBlockThreshold other)
Parameters
otherPhishBlockThreshold
Returns
FromString(string)
public static PhishBlockThreshold FromString(string value)
Parameters
valuestring
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
implicit operator PhishBlockThreshold(string)
public static implicit operator PhishBlockThreshold(string value)
Parameters
valuestring