Class: Google::Apis::LanguageV1beta2::XpsTranslationTrainResponse

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

Overview

Train response for translation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsTranslationTrainResponse

Returns a new instance of XpsTranslationTrainResponse.



4932
4933
4934
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4932

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

Instance Attribute Details

#model_typeString

Type of the model. Corresponds to the JSON property modelType

Returns:

  • (String)


4930
4931
4932
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4930

def model_type
  @model_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4937
4938
4939
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4937

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