Class: Google::Apis::LanguageV2::XpsTextTrainResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/language_v2/classes.rb,
lib/google/apis/language_v2/representations.rb,
lib/google/apis/language_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsTextTrainResponse

Returns a new instance of XpsTextTrainResponse.



4222
4223
4224
# File 'lib/google/apis/language_v2/classes.rb', line 4222

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

Instance Attribute Details

#component_modelArray<Google::Apis::LanguageV2::XpsTextComponentModel>

Component submodels. Corresponds to the JSON property componentModel



4220
4221
4222
# File 'lib/google/apis/language_v2/classes.rb', line 4220

def component_model
  @component_model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4227
4228
4229
# File 'lib/google/apis/language_v2/classes.rb', line 4227

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