class Google::Apis::WebriskV1::GoogleCloudWebriskV1SearchUrisResponseThreatUri

Contains threat information on a matching uri.

Attributes

expire_time[RW]

The cache lifetime for the returned match. Clients must not cache this response past this timestamp to avoid false positives. Corresponds to the JSON property `expireTime` @return [String]

threat_types[RW]

The ThreatList this threat belongs to. Corresponds to the JSON property `threatTypes` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/webrisk_v1/classes.rb, line 294
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/webrisk_v1/classes.rb, line 299
def update!(**args)
  @expire_time = args[:expire_time] if args.key?(:expire_time)
  @threat_types = args[:threat_types] if args.key?(:threat_types)
end