Class: Google::Apis::LanguageV1::XpsTranslationTrainResponse
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1::XpsTranslationTrainResponse
- 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
Overview
Train response for translation.
Instance Attribute Summary collapse
-
#model_type ⇒ String
Type of the model.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsTranslationTrainResponse
constructor
A new instance of XpsTranslationTrainResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsTranslationTrainResponse
Returns a new instance of XpsTranslationTrainResponse.
4912 4913 4914 |
# File 'lib/google/apis/language_v1/classes.rb', line 4912 def initialize(**args) update!(**args) end |
Instance Attribute Details
#model_type ⇒ String
Type of the model.
Corresponds to the JSON property modelType
4910 4911 4912 |
# File 'lib/google/apis/language_v1/classes.rb', line 4910 def model_type @model_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4917 4918 4919 |
# File 'lib/google/apis/language_v1/classes.rb', line 4917 def update!(**args) @model_type = args[:model_type] if args.key?(:model_type) end |