Class: Google::Apis::LanguageV1beta2::XpsTranslationPreprocessResponse
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1beta2::XpsTranslationPreprocessResponse
- 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
Translation preprocess response.
Instance Attribute Summary collapse
-
#parsed_example_count ⇒ Fixnum
Total example count parsed.
-
#valid_example_count ⇒ Fixnum
Total valid example count.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsTranslationPreprocessResponse
constructor
A new instance of XpsTranslationPreprocessResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsTranslationPreprocessResponse
Returns a new instance of XpsTranslationPreprocessResponse.
4912 4913 4914 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4912 def initialize(**args) update!(**args) end |
Instance Attribute Details
#parsed_example_count ⇒ Fixnum
Total example count parsed.
Corresponds to the JSON property parsedExampleCount
4905 4906 4907 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4905 def parsed_example_count @parsed_example_count end |
#valid_example_count ⇒ Fixnum
Total valid example count.
Corresponds to the JSON property validExampleCount
4910 4911 4912 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4910 def valid_example_count @valid_example_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4917 4918 4919 4920 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 4917 def update!(**args) @parsed_example_count = args[:parsed_example_count] if args.key?(:parsed_example_count) @valid_example_count = args[:valid_example_count] if args.key?(:valid_example_count) end |