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.



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

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

Instance Attribute Details

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

Component submodels. Corresponds to the JSON property componentModel



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

def component_model
  @component_model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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