Class: Google::Apis::LanguageV1beta2::XpsPreprocessResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/language_v1beta2/classes.rb,
lib/google/apis/language_v1beta2/representations.rb,
lib/google/apis/language_v1beta2/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.



3159
3160
3161
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3159

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

Instance Attribute Details

#output_example_setGoogle::Apis::LanguageV1beta2::XpsExampleSet

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



3142
3143
3144
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3142

def output_example_set
  @output_example_set
end

#speech_preprocess_respGoogle::Apis::LanguageV1beta2::XpsSpeechPreprocessResponse

Corresponds to the JSON property speechPreprocessResp



3147
3148
3149
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3147

def speech_preprocess_resp
  @speech_preprocess_resp
end

#tables_preprocess_responseGoogle::Apis::LanguageV1beta2::XpsTablesPreprocessResponse

Corresponds to the JSON property tablesPreprocessResponse



3152
3153
3154
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3152

def tables_preprocess_response
  @tables_preprocess_response
end

#translation_preprocess_respGoogle::Apis::LanguageV1beta2::XpsTranslationPreprocessResponse

Translation preprocess response. Corresponds to the JSON property translationPreprocessResp



3157
3158
3159
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3157

def translation_preprocess_resp
  @translation_preprocess_resp
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3164
3165
3166
3167
3168
3169
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3164

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