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 v1beta1 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.
Implements
IMessageNearestNeighborQueryTypesStringFilter, IEquatableNearestNeighborQueryTypesStringFilter, IDeepCloneableNearestNeighborQueryTypesStringFilter, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
StringFilter()
public StringFilter()
StringFilter(StringFilter)
public StringFilter(NearestNeighborQuery.Types.StringFilter other)
Parameter | |
---|---|
Name | Description |
other |
NearestNeighborQueryTypesStringFilter |
Properties
AllowTokens
public RepeatedField<string> AllowTokens { get; }
Optional. The allowed tokens.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
DenyTokens
public RepeatedField<string> DenyTokens { get; }
Optional. The denied tokens.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
Name
public string Name { get; set; }
Required. Column names in BigQuery that used as filters.
Property Value | |
---|---|
Type | Description |
string |