Class: Google::Apis::LanguageV1::XpsTranslationPreprocessResponse

Inherits:
Object
  • Object
show all
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

Translation preprocess response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsTranslationPreprocessResponse

Returns a new instance of XpsTranslationPreprocessResponse.



4892
4893
4894
# File 'lib/google/apis/language_v1/classes.rb', line 4892

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

Instance Attribute Details

#parsed_example_countFixnum

Total example count parsed. Corresponds to the JSON property parsedExampleCount

Returns:

  • (Fixnum)


4885
4886
4887
# File 'lib/google/apis/language_v1/classes.rb', line 4885

def parsed_example_count
  @parsed_example_count
end

#valid_example_countFixnum

Total valid example count. Corresponds to the JSON property validExampleCount

Returns:

  • (Fixnum)


4890
4891
4892
# File 'lib/google/apis/language_v1/classes.rb', line 4890

def valid_example_count
  @valid_example_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4897
4898
4899
4900
# File 'lib/google/apis/language_v1/classes.rb', line 4897

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