Class: Google::Cloud::WebRisk::V1beta1::SearchHashesRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/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_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.

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.



155
156
157
158
# File 'proto_docs/google/cloud/webrisk/v1beta1/webrisk.rb', line 155

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

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

Returns Required. The ThreatLists to search in.

Returns:



155
156
157
158
# File 'proto_docs/google/cloud/webrisk/v1beta1/webrisk.rb', line 155

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