Google Cloud Web Risk v1 API - Class ThreatInfo.Types.Confidence (2.3.0)

public sealed class ThreatInfo.Types.Confidence : IMessage<ThreatInfo.Types.Confidence>, IEquatable<ThreatInfo.Types.Confidence>, IDeepCloneable<ThreatInfo.Types.Confidence>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Web Risk v1 API class ThreatInfo.Types.Confidence.

Confidence that a URI is unsafe.

Inheritance

object > ThreatInfo.Types.Confidence

Namespace

Google.Cloud.WebRisk.V1

Assembly

Google.Cloud.WebRisk.V1.dll

Constructors

Confidence()

public Confidence()

Confidence(Confidence)

public Confidence(ThreatInfo.Types.Confidence other)
Parameter
NameDescription
otherThreatInfoTypesConfidence

Properties

HasLevel

public bool HasLevel { get; }

Gets whether the "level" field is set

Property Value
TypeDescription
bool

HasScore

public bool HasScore { get; }

Gets whether the "score" field is set

Property Value
TypeDescription
bool

Level

public ThreatInfo.Types.Confidence.Types.ConfidenceLevel Level { get; set; }

Enum representation of confidence.

Property Value
TypeDescription
ThreatInfoTypesConfidenceTypesConfidenceLevel

Score

public float Score { get; set; }

A decimal representation of confidence in the range of 0 to 1 where 0 indicates no confidence and 1 indicates complete confidence.

Property Value
TypeDescription
float

ValueCase

public ThreatInfo.Types.Confidence.ValueOneofCase ValueCase { get; }
Property Value
TypeDescription
ThreatInfoTypesConfidenceValueOneofCase