Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::ModelEvaluationSlice::Slice::SliceSpec::Value (v0.27.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::ModelEvaluationSlice::Slice::SliceSpec::Value.

Single value that supports strings and floats.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#float_value

def float_value() -> ::Float
Returns
  • (::Float) — Float type.

#float_value=

def float_value=(value) -> ::Float
Parameter
  • value (::Float) — Float type.
Returns
  • (::Float) — Float type.

#string_value

def string_value() -> ::String
Returns
  • (::String) — String type.

#string_value=

def string_value=(value) -> ::String
Parameter
  • value (::String) — String type.
Returns
  • (::String) — String type.