Google Cloud Web Risk v1 API - Class SearchHashesRequest (2.1.0)

public sealed class SearchHashesRequest : IMessage<SearchHashesRequest>, IEquatable<SearchHashesRequest>, IDeepCloneable<SearchHashesRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Web Risk v1 API class SearchHashesRequest.

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

Inheritance

Object > SearchHashesRequest

Namespace

Google.Cloud.WebRisk.V1

Assembly

Google.Cloud.WebRisk.V1.dll

Constructors

SearchHashesRequest()

public SearchHashesRequest()

SearchHashesRequest(SearchHashesRequest)

public SearchHashesRequest(SearchHashesRequest other)
Parameter
NameDescription
otherSearchHashesRequest

Properties

HashPrefix

public ByteString HashPrefix { get; set; }

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).

Property Value
TypeDescription
ByteString

ThreatTypes

public RepeatedField<ThreatType> ThreatTypes { get; }

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

Property Value
TypeDescription
RepeatedField<ThreatType>