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 v1beta1 API class IndexDatapoint.Types.Restriction.
Restriction of a datapoint which describe its attributes(tokens) from each
of several attribute categories(namespaces).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-09 UTC."],[[["This documentation is for the `IndexDatapoint.Types.Restriction` class within the Google Cloud AI Platform v1beta1 API."],["`IndexDatapoint.Types.Restriction` defines attribute-based restrictions for datapoints, allowing specification of allowed and denied attributes within certain namespaces."],["The class inherits from the `object` class and implements interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities such as message handling and deep cloning."],["The `Restriction` class includes properties such as `AllowList`, `DenyList`, and `Namespace`, which allow for the management of allowed attributes, denied attributes, and the namespaces of these restrictions."],["The two constructors `Restriction()` and `Restriction(IndexDatapoint.Types.Restriction other)` allow for creating either a default Restriction or one based on another Restriction object, respectively."]]],[]]