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

public sealed class IndexDatapoint.Types.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(Restriction)

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

Properties

AllowList

public RepeatedField<string> AllowList { get; }

The attributes to allow in this namespace. e.g.: 'red'

Property Value
TypeDescription
RepeatedFieldstring

DenyList

public RepeatedField<string> DenyList { get; }

The attributes to deny in this namespace. e.g.: 'blue'

Property Value
TypeDescription
RepeatedFieldstring

Namespace

public string Namespace { get; set; }

The namespace of this restriction. e.g.: color.

Property Value
TypeDescription
string