Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::FeatureValue.
Value for a feature.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#bool_array_value
def bool_array_value() -> ::Google::Cloud::AIPlatform::V1::BoolArray
Returns
- (::Google::Cloud::AIPlatform::V1::BoolArray) — A list of bool type feature value.
#bool_array_value=
def bool_array_value=(value) -> ::Google::Cloud::AIPlatform::V1::BoolArray
Parameter
- value (::Google::Cloud::AIPlatform::V1::BoolArray) — A list of bool type feature value.
Returns
- (::Google::Cloud::AIPlatform::V1::BoolArray) — A list of bool type feature value.
#bool_value
def bool_value() -> ::Boolean
Returns
- (::Boolean) — Bool type feature value.
#bool_value=
def bool_value=(value) -> ::Boolean
Parameter
- value (::Boolean) — Bool type feature value.
Returns
- (::Boolean) — Bool type feature value.
#bytes_value
def bytes_value() -> ::String
Returns
- (::String) — Bytes feature value.
#bytes_value=
def bytes_value=(value) -> ::String
Parameter
- value (::String) — Bytes feature value.
Returns
- (::String) — Bytes feature value.
#double_array_value
def double_array_value() -> ::Google::Cloud::AIPlatform::V1::DoubleArray
Returns
- (::Google::Cloud::AIPlatform::V1::DoubleArray) — A list of double type feature value.
#double_array_value=
def double_array_value=(value) -> ::Google::Cloud::AIPlatform::V1::DoubleArray
Parameter
- value (::Google::Cloud::AIPlatform::V1::DoubleArray) — A list of double type feature value.
Returns
- (::Google::Cloud::AIPlatform::V1::DoubleArray) — A list of double type feature value.
#double_value
def double_value() -> ::Float
Returns
- (::Float) — Double type feature value.
#double_value=
def double_value=(value) -> ::Float
Parameter
- value (::Float) — Double type feature value.
Returns
- (::Float) — Double type feature value.
#int64_array_value
def int64_array_value() -> ::Google::Cloud::AIPlatform::V1::Int64Array
Returns
- (::Google::Cloud::AIPlatform::V1::Int64Array) — A list of int64 type feature value.
#int64_array_value=
def int64_array_value=(value) -> ::Google::Cloud::AIPlatform::V1::Int64Array
Parameter
- value (::Google::Cloud::AIPlatform::V1::Int64Array) — A list of int64 type feature value.
Returns
- (::Google::Cloud::AIPlatform::V1::Int64Array) — A list of int64 type feature value.
#int64_value
def int64_value() -> ::Integer
Returns
- (::Integer) — Int64 feature value.
#int64_value=
def int64_value=(value) -> ::Integer
Parameter
- value (::Integer) — Int64 feature value.
Returns
- (::Integer) — Int64 feature value.
#metadata
def metadata() -> ::Google::Cloud::AIPlatform::V1::FeatureValue::Metadata
Returns
- (::Google::Cloud::AIPlatform::V1::FeatureValue::Metadata) — Metadata of feature value.
#metadata=
def metadata=(value) -> ::Google::Cloud::AIPlatform::V1::FeatureValue::Metadata
Parameter
- value (::Google::Cloud::AIPlatform::V1::FeatureValue::Metadata) — Metadata of feature value.
Returns
- (::Google::Cloud::AIPlatform::V1::FeatureValue::Metadata) — Metadata of feature value.
#string_array_value
def string_array_value() -> ::Google::Cloud::AIPlatform::V1::StringArray
Returns
- (::Google::Cloud::AIPlatform::V1::StringArray) — A list of string type feature value.
#string_array_value=
def string_array_value=(value) -> ::Google::Cloud::AIPlatform::V1::StringArray
Parameter
- value (::Google::Cloud::AIPlatform::V1::StringArray) — A list of string type feature value.
Returns
- (::Google::Cloud::AIPlatform::V1::StringArray) — A list of string type feature value.
#string_value
def string_value() -> ::String
Returns
- (::String) — String feature value.
#string_value=
def string_value=(value) -> ::String
Parameter
- value (::String) — String feature value.
Returns
- (::String) — String feature value.