Class: Google::Cloud::WebRisk::V1::SearchHashesRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/webrisk/v1/webrisk.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#hash_prefix::String

Returns A hash prefix, consisting of the most significant 4-32 bytes of a SHA256 hash. For JSON requests, this field is base64-encoded. Note that if this parameter is provided by a URI, it must be encoded using the web safe base64 variant (RFC 4648).

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. Note that if this parameter is provided by a URI, it must be encoded using the web safe base64 variant (RFC 4648).



166
167
168
169
# File 'proto_docs/google/cloud/webrisk/v1/webrisk.rb', line 166

class SearchHashesRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#threat_types::Array<::Google::Cloud::WebRisk::V1::ThreatType>

Returns Required. The ThreatLists to search in. Multiple ThreatLists may be specified.

Returns:



166
167
168
169
# File 'proto_docs/google/cloud/webrisk/v1/webrisk.rb', line 166

class SearchHashesRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end