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.



2853
2854
2855
# File 'lib/google/apis/language_v2/classes.rb', line 2853

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



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

def output_example_set
  @output_example_set
end

#speech_preprocess_respGoogle::Apis::LanguageV2::XpsSpeechPreprocessResponse

Corresponds to the JSON property speechPreprocessResp



2841
2842
2843
# File 'lib/google/apis/language_v2/classes.rb', line 2841

def speech_preprocess_resp
  @speech_preprocess_resp
end

#tables_preprocess_responseGoogle::Apis::LanguageV2::XpsTablesPreprocessResponse

Corresponds to the JSON property tablesPreprocessResponse



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

def tables_preprocess_response
  @tables_preprocess_response
end

#translation_preprocess_respGoogle::Apis::LanguageV2::XpsTranslationPreprocessResponse

Translation preprocess response. Corresponds to the JSON property translationPreprocessResp



2851
2852
2853
# File 'lib/google/apis/language_v2/classes.rb', line 2851

def translation_preprocess_resp
  @translation_preprocess_resp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2858
2859
2860
2861
2862
2863
# File 'lib/google/apis/language_v2/classes.rb', line 2858

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