public sealed class IndexDatapoint.Types.Restriction : IMessage<IndexDatapoint.Types.Restriction>, IEquatable<IndexDatapoint.Types.Restriction>, IDeepCloneable<IndexDatapoint.Types.Restriction>, IBufferMessage, IMessageReference documentation and code samples for the Vertex AI v1beta1 API class IndexDatapoint.Types.Restriction.
Restriction of a datapoint which describe its attributes(tokens) from each of several attribute categories(namespaces).
Implements
IMessageIndexDatapointTypesRestriction, IEquatableIndexDatapointTypesRestriction, IDeepCloneableIndexDatapointTypesRestriction, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
Restriction()
public Restriction()Restriction(Restriction)
public Restriction(IndexDatapoint.Types.Restriction other)| Parameter | |
|---|---|
| Name | Description |
other |
IndexDatapointTypesRestriction |
Properties
AllowList
public RepeatedField<string> AllowList { get; }The attributes to allow in this namespace. e.g.: 'red'
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldstring |
|
DenyList
public RepeatedField<string> DenyList { get; }The attributes to deny in this namespace. e.g.: 'blue'
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldstring |
|
Namespace
public string Namespace { get; set; }The namespace of this restriction. e.g.: color.
| Property Value | |
|---|---|
| Type | Description |
string |
|