Cloud AI Platform v1 API - Class NearestNeighborQuery.Types.StringFilter (2.27.0)

public sealed class NearestNeighborQuery.Types.StringFilter : IMessage<NearestNeighborQuery.Types.StringFilter>, IEquatable<NearestNeighborQuery.Types.StringFilter>, IDeepCloneable<NearestNeighborQuery.Types.StringFilter>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class NearestNeighborQuery.Types.StringFilter.

String filter is used to search a subset of the entities by using boolean rules on string columns. For example: if a query specifies string filter with 'name = color, allow_tokens = {red, blue}, deny_tokens = {purple}',' then that query will match entities that are red or blue, but if those points are also purple, then they will be excluded even if they are red/blue. Only string filter is supported for now, numeric filter will be supported in the near future.

Inheritance

object > NearestNeighborQuery.Types.StringFilter

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

StringFilter()

public StringFilter()

StringFilter(StringFilter)

public StringFilter(NearestNeighborQuery.Types.StringFilter other)
Parameter
NameDescription
otherNearestNeighborQueryTypesStringFilter

Properties

AllowTokens

public RepeatedField<string> AllowTokens { get; }

Optional. The allowed tokens.

Property Value
TypeDescription
RepeatedFieldstring

DenyTokens

public RepeatedField<string> DenyTokens { get; }

Optional. The denied tokens.

Property Value
TypeDescription
RepeatedFieldstring

Name

public string Name { get; set; }

Required. Column names in BigQuery that used as filters.

Property Value
TypeDescription
string