Class: Google::Apis::LanguageV2::XpsTranslationPreprocessResponse

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

Overview

Translation preprocess response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsTranslationPreprocessResponse

Returns a new instance of XpsTranslationPreprocessResponse.



4592
4593
4594
# File 'lib/google/apis/language_v2/classes.rb', line 4592

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

Instance Attribute Details

#parsed_example_countFixnum

Total example count parsed. Corresponds to the JSON property parsedExampleCount

Returns:

  • (Fixnum)


4585
4586
4587
# File 'lib/google/apis/language_v2/classes.rb', line 4585

def parsed_example_count
  @parsed_example_count
end

#valid_example_countFixnum

Total valid example count. Corresponds to the JSON property validExampleCount

Returns:

  • (Fixnum)


4590
4591
4592
# File 'lib/google/apis/language_v2/classes.rb', line 4590

def valid_example_count
  @valid_example_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4597
4598
4599
4600
# File 'lib/google/apis/language_v2/classes.rb', line 4597

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