Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::IndexDatapoint::Restriction (v0.31.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::IndexDatapoint::Restriction.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allow_list

def allow_list() -> ::Array<::String>
Returns
  • (::Array<::String>) — The attributes to allow in this namespace. eg: 'red'

#allow_list=

def allow_list=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — The attributes to allow in this namespace. eg: 'red'
Returns
  • (::Array<::String>) — The attributes to allow in this namespace. eg: 'red'

#deny_list

def deny_list() -> ::Array<::String>
Returns
  • (::Array<::String>) — The attributes to deny in this namespace. eg: 'blue'

#deny_list=

def deny_list=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — The attributes to deny in this namespace. eg: 'blue'
Returns
  • (::Array<::String>) — The attributes to deny in this namespace. eg: 'blue'

#namespace

def namespace() -> ::String
Returns
  • (::String) — The namespace of this restriction. eg: color.

#namespace=

def namespace=(value) -> ::String
Parameter
  • value (::String) — The namespace of this restriction. eg: color.
Returns
  • (::String) — The namespace of this restriction. eg: color.