Vision AI v1 API - Class DataSchemaDetails.Types.SearchStrategy (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 > DataSchemaDetails.Types.SearchStrategy

Namespace

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 DataSchemaDetailsTypesSearchStrategy

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
DataSchemaDetailsTypesSearchStrategyTypesConfidenceScoreIndexConfig

HasSearchStrategyType

public bool HasSearchStrategyType { get; }

Gets whether the "search_strategy_type" field is set

Property Value
Type Description
bool

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
DataSchemaDetailsTypesSearchStrategyTypesSearchStrategyType