Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/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) ⇒ GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints
constructor
A new instance of GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints
Returns a new instance of GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints.
2243 2244 2245 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2243 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
2241 2242 2243 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2241 def language_codes @language_codes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2248 2249 2250 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2248 def update!(**args) @language_codes = args[:language_codes] if args.key?(:language_codes) end |