public sealed class Restriction : IMessage<IndexDatapoint.Types.Restriction>, IEquatable<IndexDatapoint.Types.Restriction>, IDeepCloneable<IndexDatapoint.Types.Restriction>, IBufferMessage, IMessageRestriction of a datapoint which describe its attributes(tokens) from each of several attribute categories(namespaces).
Implements
IMessage<IndexDatapoint.Types.Restriction>, IEquatable<IndexDatapoint.Types.Restriction>, IDeepCloneable<IndexDatapoint.Types.Restriction>, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Assembly
Google.Cloud.AIPlatform.V1.dll
Constructors
Restriction()
public Restriction()Restriction(IndexDatapoint.Types.Restriction)
public Restriction(IndexDatapoint.Types.Restriction other)| Parameter | |
|---|---|
| Name | Description |
other |
IndexDatapoint.Types.Restriction |
Properties
AllowList
public RepeatedField<string> AllowList { get; }The attributes to allow in this namespace. eg: 'red'
| Property Value | |
|---|---|
| Type | Description |
RepeatedField<String> |
|
DenyList
public RepeatedField<string> DenyList { get; }The attributes to deny in this namespace. eg: 'blue'
| Property Value | |
|---|---|
| Type | Description |
RepeatedField<String> |
|
Namespace
public string Namespace { get; set; }The namespace of this restriction. eg: color.
| Property Value | |
|---|---|
| Type | Description |
String |
|