Cloud AI Platform v1 API - Class IndexDatapoint.Types.Restriction (2.8.0)

public sealed class Restriction : IMessage<IndexDatapoint.Types.Restriction>, IEquatable<IndexDatapoint.Types.Restriction>, IDeepCloneable<IndexDatapoint.Types.Restriction>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class IndexDatapoint.Types.Restriction.

Restriction of a datapoint which describe its attributes(tokens) from each of several attribute categories(namespaces).

Inheritance

Object > IndexDatapoint.Types.Restriction

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

Restriction()

public Restriction()

Restriction(IndexDatapoint.Types.Restriction)

public Restriction(IndexDatapoint.Types.Restriction other)
Parameter
NameDescription
otherIndexDatapoint.Types.Restriction

Properties

AllowList

public RepeatedField<string> AllowList { get; }

The attributes to allow in this namespace. eg: 'red'

Property Value
TypeDescription
RepeatedField<String>

DenyList

public RepeatedField<string> DenyList { get; }

The attributes to deny in this namespace. eg: 'blue'

Property Value
TypeDescription
RepeatedField<String>

Namespace

public string Namespace { get; set; }

The namespace of this restriction. eg: color.

Property Value
TypeDescription
String