Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::IndexDatapoint::NumericRestriction (v0.59.0)

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

This field allows restricts to be based on numeric comparisons rather than categorical tokens.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#namespace

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

#namespace=

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

#op

def op() -> ::Google::Cloud::AIPlatform::V1::IndexDatapoint::NumericRestriction::Operator
Returns

#op=

def op=(value) -> ::Google::Cloud::AIPlatform::V1::IndexDatapoint::NumericRestriction::Operator
Parameter
Returns

#value_double

def value_double() -> ::Float
Returns
  • (::Float) — Represents 64 bit float.

#value_double=

def value_double=(value) -> ::Float
Parameter
  • value (::Float) — Represents 64 bit float.
Returns
  • (::Float) — Represents 64 bit float.

#value_float

def value_float() -> ::Float
Returns
  • (::Float) — Represents 32 bit float.

#value_float=

def value_float=(value) -> ::Float
Parameter
  • value (::Float) — Represents 32 bit float.
Returns
  • (::Float) — Represents 32 bit float.

#value_int

def value_int() -> ::Integer
Returns
  • (::Integer) — Represents 64 bit integer.

#value_int=

def value_int=(value) -> ::Integer
Parameter
  • value (::Integer) — Represents 64 bit integer.
Returns
  • (::Integer) — Represents 64 bit integer.