class Google::Apis::WebriskV1::GoogleCloudWebriskV1SearchHashesResponse

Attributes

negative_expire_time[RW]

For requested entities that did not match the threat list, how long to cache the response until. Corresponds to the JSON property `negativeExpireTime` @return [String]

threats[RW]

The full hashes that matched the requested prefixes. The hash will be populated in the key. Corresponds to the JSON property `threats` @return [Array<Google::Apis::WebriskV1::GoogleCloudWebriskV1SearchHashesResponseThreatHash>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/webrisk_v1/classes.rb, line 215
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 220
def update!(**args)
  @negative_expire_time = args[:negative_expire_time] if args.key?(:negative_expire_time)
  @threats = args[:threats] if args.key?(:threats)
end