public sealed class ThreatInfo.Types.Confidence : IMessage<ThreatInfo.Types.Confidence>, IEquatable<ThreatInfo.Types.Confidence>, IDeepCloneable<ThreatInfo.Types.Confidence>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Web Risk v1 API class ThreatInfo.Types.Confidence.
Confidence that a URI is unsafe.
Implements
IMessageThreatInfoTypesConfidence, IEquatableThreatInfoTypesConfidence, IDeepCloneableThreatInfoTypesConfidence, IBufferMessage, IMessageNamespace
Google.Cloud.WebRisk.V1Assembly
Google.Cloud.WebRisk.V1.dll
Constructors
Confidence()
public Confidence()Confidence(Confidence)
public Confidence(ThreatInfo.Types.Confidence other)| Parameter | |
|---|---|
| Name | Description |
other |
ThreatInfoTypesConfidence |
Properties
HasLevel
public bool HasLevel { get; }Gets whether the "level" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasScore
public bool HasScore { get; }Gets whether the "score" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Level
public ThreatInfo.Types.Confidence.Types.ConfidenceLevel Level { get; set; }Enum representation of confidence.
| Property Value | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
float |
|
ValueCase
public ThreatInfo.Types.Confidence.ValueOneofCase ValueCase { get; }| Property Value | |
|---|---|
| Type | Description |
ThreatInfoTypesConfidenceValueOneofCase |
|