Class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints
- Inherits:
-
Object
- Object
- Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints
- 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
Provides hints to the model about possible languages present in the audio.
Instance Attribute Summary collapse
-
#language_codes ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints
constructor
A new instance of GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints
Returns a new instance of GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints.
259 260 261 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 259 def initialize(**args) update!(**args) end |
Instance Attribute Details
#language_codes ⇒ Array<String>
Required. BCP-47 language codes. At least one must be specified.
Corresponds to the JSON property languageCodes
257 258 259 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 257 def language_codes @language_codes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
264 265 266 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 264 def update!(**args) @language_codes = args[:language_codes] if args.key?(:language_codes) end |