Reference documentation and code samples for the Web Risk V1 API class Google::Cloud::WebRisk::V1::SearchHashesRequest.
Request to return full hashes matched by the provided hash prefixes.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#hash_prefix
def hash_prefix() -> ::String
    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).
#hash_prefix=
def hash_prefix=(value) -> ::String
    Parameter
    
  - value (::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).
    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).
#threat_types
def threat_types() -> ::Array<::Google::Cloud::WebRisk::V1::ThreatType>
    Returns
    
  - (::Array<::Google::Cloud::WebRisk::V1::ThreatType>) — Required. The ThreatLists to search in. Multiple ThreatLists may be specified.
#threat_types=
def threat_types=(value) -> ::Array<::Google::Cloud::WebRisk::V1::ThreatType>
    Parameter
    
  - value (::Array<::Google::Cloud::WebRisk::V1::ThreatType>) — Required. The ThreatLists to search in. Multiple ThreatLists may be specified.
    Returns
    
- (::Array<::Google::Cloud::WebRisk::V1::ThreatType>) — Required. The ThreatLists to search in. Multiple ThreatLists may be specified.