Reference documentation and code samples for the Web Risk V1 API class Google::Cloud::WebRisk::V1::ThreatInfo::Confidence.
Confidence that a URI is unsafe.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#level
def level() -> ::Google::Cloud::WebRisk::V1::ThreatInfo::Confidence::ConfidenceLevel
-
(::Google::Cloud::WebRisk::V1::ThreatInfo::Confidence::ConfidenceLevel) — Enum representation of confidence.
Note: The following fields are mutually exclusive:
level
,score
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#level=
def level=(value) -> ::Google::Cloud::WebRisk::V1::ThreatInfo::Confidence::ConfidenceLevel
-
value (::Google::Cloud::WebRisk::V1::ThreatInfo::Confidence::ConfidenceLevel) — Enum representation of confidence.
Note: The following fields are mutually exclusive:
level
,score
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::WebRisk::V1::ThreatInfo::Confidence::ConfidenceLevel) — Enum representation of confidence.
Note: The following fields are mutually exclusive:
level
,score
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#score
def score() -> ::Float
-
(::Float) — A decimal representation of confidence in the range of 0
to 1 where 0 indicates no confidence and 1 indicates
complete confidence.
Note: The following fields are mutually exclusive:
score
,level
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#score=
def score=(value) -> ::Float
-
value (::Float) — A decimal representation of confidence in the range of 0
to 1 where 0 indicates no confidence and 1 indicates
complete confidence.
Note: The following fields are mutually exclusive:
score
,level
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Float) — A decimal representation of confidence in the range of 0
to 1 where 0 indicates no confidence and 1 indicates
complete confidence.
Note: The following fields are mutually exclusive:
score
,level
. If a field in that set is populated, all other fields in the set will automatically be cleared.