Class: Google::Apis::LanguageV1beta2::XpsTextTrainResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsTextTrainResponse

Returns a new instance of XpsTextTrainResponse.



4523
4524
4525
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4523

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

Instance Attribute Details

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

Component submodels. Corresponds to the JSON property componentModel



4521
4522
4523
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4521

def component_model
  @component_model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4528
4529
4530
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4528

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