GoogleSecuritySafebrowsingV5SearchHashesResponse class
The response returned after searching threat hashes.
If nothing is found, the server will return an OK status (HTTP status code
200) with the full_hashes
field empty, rather than returning a NOT_FOUND
status (HTTP status code 404). What's new in V5: There is a separation
between FullHash and FullHashDetail. In the case when a hash represents a
site having multiple threats (e.g. both MALWARE and SOCIAL_ENGINEERING), the
full hash does not need to be sent twice as in V4. Furthermore, the cache
duration has been simplified into a single cache_duration
field.
Constructors
-
GoogleSecuritySafebrowsingV5SearchHashesResponse({String? cacheDuration, List<
GoogleSecuritySafebrowsingV5FullHash> ? fullHashes}) - GoogleSecuritySafebrowsingV5SearchHashesResponse.fromJson(Map json_)
Properties
- cacheDuration ↔ String?
-
The client-side cache duration.
getter/setter pair
-
fullHashes
↔ List<
GoogleSecuritySafebrowsingV5FullHash> ? -
Unordered list.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited