Class: Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature::Text

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#countString

Number of multiple-word text values for this feature. Corresponds to the JSON property count

Returns:

  • (String)


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