Class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1FeatureMapFloatList
- Inherits:
-
Object
- Object
- Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1FeatureMapFloatList
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/recommendationengine_v1beta1/classes.rb,
lib/google/apis/recommendationengine_v1beta1/representations.rb,
lib/google/apis/recommendationengine_v1beta1/representations.rb
Overview
A list of float features.
Instance Attribute Summary collapse
-
#value ⇒ Array<Float>
Float feature value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRecommendationengineV1beta1FeatureMapFloatList
constructor
A new instance of GoogleCloudRecommendationengineV1beta1FeatureMapFloatList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRecommendationengineV1beta1FeatureMapFloatList
Returns a new instance of GoogleCloudRecommendationengineV1beta1FeatureMapFloatList.
518 519 520 |
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 518 def initialize(**args) update!(**args) end |
Instance Attribute Details
#value ⇒ Array<Float>
Float feature value.
Corresponds to the JSON property value
516 517 518 |
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 516 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
523 524 525 |
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 523 def update!(**args) @value = args[:value] if args.key?(:value) end |