Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::IndexDatapoint::Restriction (v0.52.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. e.g.: 'red'

#allow_list=

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

#deny_list

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

#deny_list=

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

#namespace

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

#namespace=

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