Class: Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AudioAnalyzerPreset
- Inherits:
-
Preset
- Object
- Preset
- Azure::MediaServices::Mgmt::V2018_06_01_preview::Models::AudioAnalyzerPreset
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/audio_analyzer_preset.rb
Overview
The Audio Analyzer preset applies a pre-defined set of AI-based analysis operations, including speech transcription. Currently, the preset supports processing of content with a single audio track.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#audio_language ⇒ String
the BCP-47 format of ‘language tag-region’ (e.g: ‘en-US’).
-
#odatatype ⇒ Object
Returns the value of attribute odatatype.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AudioAnalyzerPreset class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ AudioAnalyzerPreset
constructor
A new instance of AudioAnalyzerPreset.
Constructor Details
#initialize ⇒ AudioAnalyzerPreset
Returns a new instance of AudioAnalyzerPreset.
18 19 20 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/audio_analyzer_preset.rb', line 18 def initialize @odatatype = "#Microsoft.Media.AudioAnalyzerPreset" end |
Instance Attribute Details
#audio_language ⇒ String
the BCP-47 format of ‘language tag-region’ (e.g: ‘en-US’). The list of supported languages are, ‘en-US’, ‘en-GB’, ‘es-ES’, ‘es-MX’, ‘fr-FR’, ‘it-IT’, ‘ja-JP’, ‘pt-BR’, ‘zh-CN’.
28 29 30 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/audio_analyzer_preset.rb', line 28 def audio_language @audio_language end |
#odatatype ⇒ Object
Returns the value of attribute odatatype.
22 23 24 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/audio_analyzer_preset.rb', line 22 def odatatype @odatatype end |
Class Method Details
.mapper ⇒ Object
Mapper for AudioAnalyzerPreset class as Ruby Hash. This will be used for serialization/deserialization.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
# File 'lib/2018-06-01-preview/generated/azure_mgmt_media_services/models/audio_analyzer_preset.rb', line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: '#Microsoft.Media.AudioAnalyzerPreset', type: { name: 'Composite', class_name: 'AudioAnalyzerPreset', model_properties: { odatatype: { client_side_validation: true, required: true, serialized_name: '@odata\\.type', type: { name: 'String' } }, audio_language: { client_side_validation: true, required: false, serialized_name: 'audioLanguage', type: { name: 'String' } } } } } end |