Class: Google::Apis::LanguageV1::XpsPreprocessResponse

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

Next ID: 8

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsPreprocessResponse

Returns a new instance of XpsPreprocessResponse.



3139
3140
3141
# File 'lib/google/apis/language_v1/classes.rb', line 3139

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

Instance Attribute Details

#output_example_setGoogle::Apis::LanguageV1::XpsExampleSet

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



3122
3123
3124
# File 'lib/google/apis/language_v1/classes.rb', line 3122

def output_example_set
  @output_example_set
end

#speech_preprocess_respGoogle::Apis::LanguageV1::XpsSpeechPreprocessResponse

Corresponds to the JSON property speechPreprocessResp



3127
3128
3129
# File 'lib/google/apis/language_v1/classes.rb', line 3127

def speech_preprocess_resp
  @speech_preprocess_resp
end

#tables_preprocess_responseGoogle::Apis::LanguageV1::XpsTablesPreprocessResponse

Corresponds to the JSON property tablesPreprocessResponse



3132
3133
3134
# File 'lib/google/apis/language_v1/classes.rb', line 3132

def tables_preprocess_response
  @tables_preprocess_response
end

#translation_preprocess_respGoogle::Apis::LanguageV1::XpsTranslationPreprocessResponse

Translation preprocess response. Corresponds to the JSON property translationPreprocessResp



3137
3138
3139
# File 'lib/google/apis/language_v1/classes.rb', line 3137

def translation_preprocess_resp
  @translation_preprocess_resp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3144
3145
3146
3147
3148
3149
# File 'lib/google/apis/language_v1/classes.rb', line 3144

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