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.



4208
4209
4210
# File 'lib/google/apis/language_v2/classes.rb', line 4208

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

Instance Attribute Details

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

Component submodels. Corresponds to the JSON property componentModel



4206
4207
4208
# File 'lib/google/apis/language_v2/classes.rb', line 4206

def component_model
  @component_model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4213
4214
4215
# File 'lib/google/apis/language_v2/classes.rb', line 4213

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