Class: Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature::Text
- Inherits:
-
Object
- Object
- Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature::Text
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/prediction_v1_6/classes.rb,
generated/google/apis/prediction_v1_6/representations.rb,
generated/google/apis/prediction_v1_6/representations.rb
Overview
Description of multiple-word text values of this feature.
Instance Attribute Summary collapse
-
#count ⇒ Fixnum
Number of multiple-word text values for this feature.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Text
constructor
A new instance of Text.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Text
Returns a new instance of Text
223 224 225 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 223 def initialize(**args) update!(**args) end |
Instance Attribute Details
#count ⇒ Fixnum
Number of multiple-word text values for this feature.
Corresponds to the JSON property count
221 222 223 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 221 def count @count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
228 229 230 |
# File 'generated/google/apis/prediction_v1_6/classes.rb', line 228 def update!(**args) @count = args[:count] if args.key?(:count) end |