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
Deprecated: Use top-level language_codes instead. 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.
2471 2472 2473 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2471 def initialize(**args) update!(**args) end |
Instance Attribute Details
#language_codes ⇒ Array<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
2469 2470 2471 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2469 def language_codes @language_codes end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2476 2477 2478 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2476 def update!(**args) @language_codes = args[:language_codes] if args.key?(:language_codes) end |