Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::FeatureValue (v0.6.0)

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

#bool_array_value=

def bool_array_value=(value) -> ::Google::Cloud::AIPlatform::V1::BoolArray
Parameter
Returns

#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

#double_array_value=

def double_array_value=(value) -> ::Google::Cloud::AIPlatform::V1::DoubleArray
Parameter
Returns

#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

#int64_array_value=

def int64_array_value=(value) -> ::Google::Cloud::AIPlatform::V1::Int64Array
Parameter
Returns

#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

#metadata=

def metadata=(value) -> ::Google::Cloud::AIPlatform::V1::FeatureValue::Metadata
Parameter
Returns

#string_array_value

def string_array_value() -> ::Google::Cloud::AIPlatform::V1::StringArray
Returns

#string_array_value=

def string_array_value=(value) -> ::Google::Cloud::AIPlatform::V1::StringArray
Parameter
Returns

#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.