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
- (::String) — The namespace of this restriction. e.g.: cost.
#namespace=
def namespace=(value) -> ::String
- value (::String) — The namespace of this restriction. e.g.: cost.
- (::String) — The namespace of this restriction. e.g.: cost.
#op
def op() -> ::Google::Cloud::AIPlatform::V1::IndexDatapoint::NumericRestriction::Operator
- (::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
- value (::Google::Cloud::AIPlatform::V1::IndexDatapoint::NumericRestriction::Operator) — This MUST be specified for queries and must NOT be specified for datapoints.
- (::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
-
(::Float) — Represents 64 bit float.
Note: The following fields are mutually exclusive:
value_double
,value_int
,value_float
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#value_double=
def value_double=(value) -> ::Float
-
value (::Float) — Represents 64 bit float.
Note: The following fields are mutually exclusive:
value_double
,value_int
,value_float
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Float) — Represents 64 bit float.
Note: The following fields are mutually exclusive:
value_double
,value_int
,value_float
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#value_float
def value_float() -> ::Float
-
(::Float) — Represents 32 bit float.
Note: The following fields are mutually exclusive:
value_float
,value_int
,value_double
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#value_float=
def value_float=(value) -> ::Float
-
value (::Float) — Represents 32 bit float.
Note: The following fields are mutually exclusive:
value_float
,value_int
,value_double
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Float) — Represents 32 bit float.
Note: The following fields are mutually exclusive:
value_float
,value_int
,value_double
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#value_int
def value_int() -> ::Integer
-
(::Integer) — Represents 64 bit integer.
Note: The following fields are mutually exclusive:
value_int
,value_float
,value_double
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#value_int=
def value_int=(value) -> ::Integer
-
value (::Integer) — Represents 64 bit integer.
Note: The following fields are mutually exclusive:
value_int
,value_float
,value_double
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Integer) — Represents 64 bit integer.
Note: The following fields are mutually exclusive:
value_int
,value_float
,value_double
. If a field in that set is populated, all other fields in the set will automatically be cleared.