Class: Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FindFullHashesResponse
- Inherits:
-
Object
- Object
- Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4FindFullHashesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/safebrowsing_v4/classes.rb,
generated/google/apis/safebrowsing_v4/representations.rb,
generated/google/apis/safebrowsing_v4/representations.rb
Instance Attribute Summary collapse
-
#matches ⇒ Array<Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatMatch>
The full hashes that matched the requested prefixes.
-
#minimum_wait_duration ⇒ String
The minimum duration the client must wait before issuing any find hashes request.
-
#negative_cache_duration ⇒ String
For requested entities that did not match the threat list, how long to cache the response.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleSecuritySafebrowsingV4FindFullHashesResponse
constructor
A new instance of GoogleSecuritySafebrowsingV4FindFullHashesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleSecuritySafebrowsingV4FindFullHashesResponse
Returns a new instance of GoogleSecuritySafebrowsingV4FindFullHashesResponse.
366 367 368 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 366 def initialize(**args) update!(**args) end |
Instance Attribute Details
#matches ⇒ Array<Google::Apis::SafebrowsingV4::GoogleSecuritySafebrowsingV4ThreatMatch>
The full hashes that matched the requested prefixes.
Corresponds to the JSON property matches
351 352 353 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 351 def matches @matches end |
#minimum_wait_duration ⇒ String
The minimum duration the client must wait before issuing any find hashes
request. If this field is not set, clients can issue a request as soon as they
want.
Corresponds to the JSON property minimumWaitDuration
358 359 360 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 358 def minimum_wait_duration @minimum_wait_duration end |
#negative_cache_duration ⇒ String
For requested entities that did not match the threat list, how long to cache
the response.
Corresponds to the JSON property negativeCacheDuration
364 365 366 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 364 def negative_cache_duration @negative_cache_duration end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
371 372 373 374 375 |
# File 'generated/google/apis/safebrowsing_v4/classes.rb', line 371 def update!(**args) @matches = args[:matches] if args.key?(:matches) @minimum_wait_duration = args[:minimum_wait_duration] if args.key?(:minimum_wait_duration) @negative_cache_duration = args[:negative_cache_duration] if args.key?(:negative_cache_duration) end |