Class: Google::Apis::LanguageV1::XpsTextTrainResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsTextTrainResponse

Returns a new instance of XpsTextTrainResponse.



4508
4509
4510
# File 'lib/google/apis/language_v1/classes.rb', line 4508

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

Instance Attribute Details

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

Component submodels. Corresponds to the JSON property componentModel



4506
4507
4508
# File 'lib/google/apis/language_v1/classes.rb', line 4506

def component_model
  @component_model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4513
4514
4515
# File 'lib/google/apis/language_v1/classes.rb', line 4513

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