Class: Google::Cloud::AIPlatform::V1::IndexDatapoint::Restriction

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/index.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#allow_list::Array<::String>

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

Returns:

  • (::Array<::String>)

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



184
185
186
187
# File 'proto_docs/google/cloud/aiplatform/v1/index.rb', line 184

class Restriction
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#deny_list::Array<::String>

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

Returns:

  • (::Array<::String>)

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



184
185
186
187
# File 'proto_docs/google/cloud/aiplatform/v1/index.rb', line 184

class Restriction
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#namespace::String

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

Returns:

  • (::String)

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



184
185
186
187
# File 'proto_docs/google/cloud/aiplatform/v1/index.rb', line 184

class Restriction
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end