Class: Google::Apis::LanguageV2::XpsPreprocessResponse

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

Next ID: 8

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsPreprocessResponse

Returns a new instance of XpsPreprocessResponse.



2839
2840
2841
# File 'lib/google/apis/language_v2/classes.rb', line 2839

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

Instance Attribute Details

#output_example_setGoogle::Apis::LanguageV2::XpsExampleSet

Set of examples or input sources. Corresponds to the JSON property outputExampleSet



2822
2823
2824
# File 'lib/google/apis/language_v2/classes.rb', line 2822

def output_example_set
  @output_example_set
end

#speech_preprocess_respGoogle::Apis::LanguageV2::XpsSpeechPreprocessResponse

Corresponds to the JSON property speechPreprocessResp



2827
2828
2829
# File 'lib/google/apis/language_v2/classes.rb', line 2827

def speech_preprocess_resp
  @speech_preprocess_resp
end

#tables_preprocess_responseGoogle::Apis::LanguageV2::XpsTablesPreprocessResponse

Corresponds to the JSON property tablesPreprocessResponse



2832
2833
2834
# File 'lib/google/apis/language_v2/classes.rb', line 2832

def tables_preprocess_response
  @tables_preprocess_response
end

#translation_preprocess_respGoogle::Apis::LanguageV2::XpsTranslationPreprocessResponse

Translation preprocess response. Corresponds to the JSON property translationPreprocessResp



2837
2838
2839
# File 'lib/google/apis/language_v2/classes.rb', line 2837

def translation_preprocess_resp
  @translation_preprocess_resp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2844
2845
2846
2847
2848
2849
# File 'lib/google/apis/language_v2/classes.rb', line 2844

def update!(**args)
  @output_example_set = args[:output_example_set] if args.key?(:output_example_set)
  @speech_preprocess_resp = args[:speech_preprocess_resp] if args.key?(:speech_preprocess_resp)
  @tables_preprocess_response = args[:tables_preprocess_response] if args.key?(:tables_preprocess_response)
  @translation_preprocess_resp = args[:translation_preprocess_resp] if args.key?(:translation_preprocess_resp)
end