Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelEvaluationSliceSliceSliceSpecValue
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelEvaluationSliceSliceSliceSpecValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Single value that supports strings and floats.
Instance Attribute Summary collapse
-
#float_value ⇒ Float
Float type.
-
#string_value ⇒ String
String type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelEvaluationSliceSliceSliceSpecValue
constructor
A new instance of GoogleCloudAiplatformV1beta1ModelEvaluationSliceSliceSliceSpecValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelEvaluationSliceSliceSliceSpecValue
Returns a new instance of GoogleCloudAiplatformV1beta1ModelEvaluationSliceSliceSliceSpecValue.
16392 16393 16394 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16392 def initialize(**args) update!(**args) end |
Instance Attribute Details
#float_value ⇒ Float
Float type.
Corresponds to the JSON property floatValue
16385 16386 16387 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16385 def float_value @float_value end |
#string_value ⇒ String
String type.
Corresponds to the JSON property stringValue
16390 16391 16392 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16390 def string_value @string_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16397 16398 16399 16400 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16397 def update!(**args) @float_value = args[:float_value] if args.key?(:float_value) @string_value = args[:string_value] if args.key?(:string_value) end |