Web Risk V1 API - Class Google::Cloud::WebRisk::V1::SearchUrisResponse::ThreatUri (v0.6.0)

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

Contains threat information on a matching uri.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#expire_time

def expire_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — The cache lifetime for the returned match. Clients must not cache this response past this timestamp to avoid false positives.

#expire_time=

def expire_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
  • value (::Google::Protobuf::Timestamp) — The cache lifetime for the returned match. Clients must not cache this response past this timestamp to avoid false positives.
Returns
  • (::Google::Protobuf::Timestamp) — The cache lifetime for the returned match. Clients must not cache this response past this timestamp to avoid false positives.

#threat_types

def threat_types() -> ::Array<::Google::Cloud::WebRisk::V1::ThreatType>
Returns

#threat_types=

def threat_types=(value) -> ::Array<::Google::Cloud::WebRisk::V1::ThreatType>
Parameter
Returns