Web Risk V1 API - Class Google::Cloud::WebRisk::V1::Submission (v0.11.0)

Reference documentation and code samples for the Web Risk V1 API class Google::Cloud::WebRisk::V1::Submission.

Wraps a URI that might be displaying malicious content.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#threat_types

def threat_types() -> ::Array<::Google::Cloud::WebRisk::V1::ThreatType>
Returns
  • (::Array<::Google::Cloud::WebRisk::V1::ThreatType>) — Output only. ThreatTypes found to be associated with the submitted URI after reviewing it. This might be empty if the URI was not added to any list.

#uri

def uri() -> ::String
Returns
  • (::String) — Required. The URI that is being reported for malicious content to be analyzed.

#uri=

def uri=(value) -> ::String
Parameter
  • value (::String) — Required. The URI that is being reported for malicious content to be analyzed.
Returns
  • (::String) — Required. The URI that is being reported for malicious content to be analyzed.