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
- (::Google::Cloud::AIPlatform::V1::IndexDatapoint::NumericRestriction::Operator) — This MUST be specified for queries and must NOT be specified for datapoints.
#op=
def op=(value) -> ::Google::Cloud::AIPlatform::V1::IndexDatapoint::NumericRestriction::Operator
Parameter
- value (::Google::Cloud::AIPlatform::V1::IndexDatapoint::NumericRestriction::Operator) — This MUST be specified for queries and must NOT be specified for datapoints.
Returns
- (::Google::Cloud::AIPlatform::V1::IndexDatapoint::NumericRestriction::Operator) — This MUST be specified for queries and must NOT be specified for datapoints.
#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.