Reference documentation and code samples for the Web Risk V1 API class Google::Cloud::WebRisk::V1::ThreatInfo.
Context about the submission including the type of abuse found on the URI and supporting details.
Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#abuse_type
def abuse_type() -> ::Google::Cloud::WebRisk::V1::ThreatInfo::AbuseType
    Returns
    
  - (::Google::Cloud::WebRisk::V1::ThreatInfo::AbuseType) — The type of abuse.
 
#abuse_type=
def abuse_type=(value) -> ::Google::Cloud::WebRisk::V1::ThreatInfo::AbuseType
    Parameter
    
  - value (::Google::Cloud::WebRisk::V1::ThreatInfo::AbuseType) — The type of abuse.
 
    Returns
    
  - (::Google::Cloud::WebRisk::V1::ThreatInfo::AbuseType) — The type of abuse.
 
#threat_confidence
def threat_confidence() -> ::Google::Cloud::WebRisk::V1::ThreatInfo::Confidence
    Returns
    
  - (::Google::Cloud::WebRisk::V1::ThreatInfo::Confidence) — Confidence that the URI is unsafe.
 
#threat_confidence=
def threat_confidence=(value) -> ::Google::Cloud::WebRisk::V1::ThreatInfo::Confidence
    Parameter
    
  - value (::Google::Cloud::WebRisk::V1::ThreatInfo::Confidence) — Confidence that the URI is unsafe.
 
    Returns
    
  - (::Google::Cloud::WebRisk::V1::ThreatInfo::Confidence) — Confidence that the URI is unsafe.
 
#threat_justification
def threat_justification() -> ::Google::Cloud::WebRisk::V1::ThreatInfo::ThreatJustification
    Returns
    
  - (::Google::Cloud::WebRisk::V1::ThreatInfo::ThreatJustification) — Context about why the URI is unsafe.
 
#threat_justification=
def threat_justification=(value) -> ::Google::Cloud::WebRisk::V1::ThreatInfo::ThreatJustification
    Parameter
    
  - value (::Google::Cloud::WebRisk::V1::ThreatInfo::ThreatJustification) — Context about why the URI is unsafe.
 
    Returns
    
- (::Google::Cloud::WebRisk::V1::ThreatInfo::ThreatJustification) — Context about why the URI is unsafe.