Class: Google::Cloud::Webrisk::V1beta1::SearchHashesRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/webrisk/v1beta1/doc/google/cloud/webrisk/v1beta1/webrisk.rb

Overview

Request to return full hashes matched by the provided hash prefixes.

Instance Attribute Summary collapse

Instance Attribute Details

#hash_prefixString

Returns A hash prefix, consisting of the most significant 4-32 bytes of a SHA256 hash. For JSON requests, this field is base64-encoded.

Returns:

  • (String)

    A hash prefix, consisting of the most significant 4-32 bytes of a SHA256 hash. For JSON requests, this field is base64-encoded.



130
# File 'lib/google/cloud/webrisk/v1beta1/doc/google/cloud/webrisk/v1beta1/webrisk.rb', line 130

class SearchHashesRequest; end

#threat_typesArray<Google::Cloud::Webrisk::V1beta1::ThreatType>

Returns Required. The ThreatLists to search in.

Returns:



130
# File 'lib/google/cloud/webrisk/v1beta1/doc/google/cloud/webrisk/v1beta1/webrisk.rb', line 130

class SearchHashesRequest; end