Class: Google::Apis::RecommendationengineV1beta1::GoogleCloudRecommendationengineV1beta1FeatureMapStringList

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 string features.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecommendationengineV1beta1FeatureMapStringList

Returns a new instance of GoogleCloudRecommendationengineV1beta1FeatureMapStringList.



537
538
539
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 537

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#valueArray<String>

String feature value with a length limit of 128 bytes. Corresponds to the JSON property value

Returns:

  • (Array<String>)


535
536
537
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 535

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



542
543
544
# File 'lib/google/apis/recommendationengine_v1beta1/classes.rb', line 542

def update!(**args)
  @value = args[:value] if args.key?(:value)
end