1.0.0 (latest) 1.0.0-beta01

    public sealed class DataSchemaDetails.Types.SearchStrategy : IMessage<DataSchemaDetails.Types.SearchStrategy>, IEquatable<DataSchemaDetails.Types.SearchStrategy>, IDeepCloneable<DataSchemaDetails.Types.SearchStrategy>, IBufferMessage, IMessage

Reference documentation and code samples for the Vision AI v1 API class DataSchemaDetails.Types.SearchStrategy.

The search strategy for annotations value of the `key`.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> DataSchemaDetails.Types.SearchStrategy

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DataSchemaDetails](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.DataSchemaDetails)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.DataSchemaDetails.Types)[SearchStrategy](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.DataSchemaDetails.Types.SearchStrategy), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DataSchemaDetails](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.DataSchemaDetails)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.DataSchemaDetails.Types)[SearchStrategy](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.DataSchemaDetails.Types.SearchStrategy), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DataSchemaDetails](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.DataSchemaDetails)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.DataSchemaDetails.Types)[SearchStrategy](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.DataSchemaDetails.Types.SearchStrategy), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## 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.VisionAI.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1)

## Assembly

Google.Cloud.VisionAI.V1.dll

## Constructors

### SearchStrategy()

    public SearchStrategy()

### SearchStrategy(SearchStrategy)

    public SearchStrategy(DataSchemaDetails.Types.SearchStrategy other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.DataSchemaDetailshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.DataSchemaDetails.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.DataSchemaDetails.Types.SearchStrategy` |

## Properties

### ConfidenceScoreIndexConfig

    public DataSchemaDetails.Types.SearchStrategy.Types.ConfidenceScoreIndexConfig ConfidenceScoreIndexConfig { get; set; }

Optional. Configs the path to the confidence score, and the threshold. Only if the score is greater than the threshold, current field will be built into the index. Only applies to leaf nodes using EXACT_SEARCH or SMART_SEARCH.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.DataSchemaDetailshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.DataSchemaDetails.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.DataSchemaDetails.Types.SearchStrategyhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.DataSchemaDetails.Types.SearchStrategy.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.DataSchemaDetails.Types.SearchStrategy.Types.ConfidenceScoreIndexConfig` |   |

### HasSearchStrategyType

    public bool HasSearchStrategyType { get; }

Gets whether the "search_strategy_type" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### SearchStrategyType

    public DataSchemaDetails.Types.SearchStrategy.Types.SearchStrategyType SearchStrategyType { get; set; }

The type of search strategy to be applied on the `key` above. The allowed `search_strategy_type` is different for different data types, which is documented in the DataSchemaDetails.DataType. Specifying unsupported `search_strategy_type` for data types will result in INVALID_ARGUMENT error.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.DataSchemaDetailshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.DataSchemaDetails.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.DataSchemaDetails.Types.SearchStrategyhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.DataSchemaDetails.Types.SearchStrategy.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.DataSchemaDetails.Types.SearchStrategy.Types.SearchStrategyType` |   |