Class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firebaseml_v2beta/classes.rb,
lib/google/apis/firebaseml_v2beta/representations.rb,
lib/google/apis/firebaseml_v2beta/representations.rb

Overview

Deprecated: Use top-level language_codes instead. Provides hints to the model about possible languages present in the audio.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints

Returns a new instance of GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints.



272
273
274
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 272

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

Instance Attribute Details

#language_codesArray<String>

Required. Deprecated: Use top-level language_codes instead. BCP-47 language codes. At least one must be specified. Corresponds to the JSON property languageCodes

Returns:

  • (Array<String>)


270
271
272
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 270

def language_codes
  @language_codes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



277
278
279
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 277

def update!(**args)
  @language_codes = args[:language_codes] if args.key?(:language_codes)
end