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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsPreprocessResponse

Returns a new instance of XpsPreprocessResponse.



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

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



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

def output_example_set
  @output_example_set
end

#speech_preprocess_respGoogle::Apis::LanguageV1::XpsSpeechPreprocessResponse

Corresponds to the JSON property speechPreprocessResp



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

def speech_preprocess_resp
  @speech_preprocess_resp
end

#tables_preprocess_responseGoogle::Apis::LanguageV1::XpsTablesPreprocessResponse

Corresponds to the JSON property tablesPreprocessResponse



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

def tables_preprocess_response
  @tables_preprocess_response
end

#translation_preprocess_respGoogle::Apis::LanguageV1::XpsTranslationPreprocessResponse

Translation preprocess response. Corresponds to the JSON property translationPreprocessResp



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

def translation_preprocess_resp
  @translation_preprocess_resp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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