2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.3.0 1.2.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](https://learn.microsoft.com/dotnet/api/system.object) \> SearchHashesRequest

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[SearchHashesRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.SearchHashesRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SearchHashesRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.SearchHashesRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[SearchHashesRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.SearchHashesRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.WebRisk.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.md.txt)

## Assembly

Google.Cloud.WebRisk.V1.dll

## Constructors

### SearchHashesRequest()

    public SearchHashesRequest()

### SearchHashesRequest(SearchHashesRequest)

    public SearchHashesRequest(SearchHashesRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `SearchHashesRequest` |

## 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** ||
|---|---|
| **Type** | **Description** |
| `ByteString` |   |

### ThreatTypes

    public RepeatedField<ThreatType> ThreatTypes { get; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldThreatType` |   |