Class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1FeatureMapFloatList

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#valueArray<Float>

Float feature value. Corresponds to the JSON property value

Returns:

  • (Array<Float>)


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