Cloud AI Platform v1 API - Class IndexDatapoint.Types.Restriction (2.11.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

GoogleCloudGoogle.Cloud.AIPlatformV1

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. eg: 'red'

Property Value
TypeDescription
RepeatedFieldstring

DenyList

public RepeatedField<string> DenyList { get; }

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

Property Value
TypeDescription
RepeatedFieldstring

Namespace

public string Namespace { get; set; }

The namespace of this restriction. eg: color.

Property Value
TypeDescription
string