tencentcloud-sdk-mps 3.0.1022 → 3.0.1023

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -203,6 +203,7 @@ module TencentCloud
203
203
  # <li>action-snapshotByTimeOffset: 时间点截图</li>
204
204
  # <li>action-adaptive-substream:自适应码流</li>
205
205
  # <li>action-AIQualityControl:媒体质检</li>
206
+ # <li>action-SmartSubtitles:智能字幕</li>
206
207
 
207
208
 
208
209
 
@@ -265,10 +266,13 @@ module TencentCloud
265
266
  # @param QualityControlTask: 媒体质检任务
266
267
  # 注意:此字段可能返回 null,表示取不到有效值。
267
268
  # @type QualityControlTask: :class:`Tencentcloud::Mps.v20190612.models.AiQualityControlTaskInput`
269
+ # @param SmartSubtitlesTask: 智能字幕任务
270
+ # 注意:此字段可能返回 null,表示取不到有效值。
271
+ # @type SmartSubtitlesTask: :class:`Tencentcloud::Mps.v20190612.models.SmartSubtitlesTaskInput`
268
272
 
269
- attr_accessor :TranscodeTask, :AnimatedGraphicTask, :SnapshotByTimeOffsetTask, :SampleSnapshotTask, :ImageSpriteTask, :AdaptiveDynamicStreamingTask, :AiContentReviewTask, :AiAnalysisTask, :AiRecognitionTask, :QualityControlTask
273
+ attr_accessor :TranscodeTask, :AnimatedGraphicTask, :SnapshotByTimeOffsetTask, :SampleSnapshotTask, :ImageSpriteTask, :AdaptiveDynamicStreamingTask, :AiContentReviewTask, :AiAnalysisTask, :AiRecognitionTask, :QualityControlTask, :SmartSubtitlesTask
270
274
 
271
- def initialize(transcodetask=nil, animatedgraphictask=nil, snapshotbytimeoffsettask=nil, samplesnapshottask=nil, imagespritetask=nil, adaptivedynamicstreamingtask=nil, aicontentreviewtask=nil, aianalysistask=nil, airecognitiontask=nil, qualitycontroltask=nil)
275
+ def initialize(transcodetask=nil, animatedgraphictask=nil, snapshotbytimeoffsettask=nil, samplesnapshottask=nil, imagespritetask=nil, adaptivedynamicstreamingtask=nil, aicontentreviewtask=nil, aianalysistask=nil, airecognitiontask=nil, qualitycontroltask=nil, smartsubtitlestask=nil)
272
276
  @TranscodeTask = transcodetask
273
277
  @AnimatedGraphicTask = animatedgraphictask
274
278
  @SnapshotByTimeOffsetTask = snapshotbytimeoffsettask
@@ -279,6 +283,7 @@ module TencentCloud
279
283
  @AiAnalysisTask = aianalysistask
280
284
  @AiRecognitionTask = airecognitiontask
281
285
  @QualityControlTask = qualitycontroltask
286
+ @SmartSubtitlesTask = smartsubtitlestask
282
287
  end
283
288
 
284
289
  def deserialize(params)
@@ -322,6 +327,10 @@ module TencentCloud
322
327
  @QualityControlTask = AiQualityControlTaskInput.new
323
328
  @QualityControlTask.deserialize(params['QualityControlTask'])
324
329
  end
330
+ unless params['SmartSubtitlesTask'].nil?
331
+ @SmartSubtitlesTask = SmartSubtitlesTaskInput.new
332
+ @SmartSubtitlesTask.deserialize(params['SmartSubtitlesTask'])
333
+ end
325
334
  end
326
335
  end
327
336
 
@@ -357,10 +366,13 @@ module TencentCloud
357
366
  # @param QualityControlTask: 媒体质检任务输出
358
367
  # 注意:此字段可能返回 null,表示取不到有效值。
359
368
  # @type QualityControlTask: :class:`Tencentcloud::Mps.v20190612.models.ScheduleQualityControlTaskResult`
369
+ # @param SmartSubtitlesTask: 智能字幕任务输出
370
+ # 注意:此字段可能返回 null,表示取不到有效值。
371
+ # @type SmartSubtitlesTask: :class:`Tencentcloud::Mps.v20190612.models.ScheduleSmartSubtitleTaskResult`
360
372
 
361
- attr_accessor :TranscodeTask, :AnimatedGraphicTask, :SnapshotByTimeOffsetTask, :SampleSnapshotTask, :ImageSpriteTask, :AdaptiveDynamicStreamingTask, :RecognitionTask, :ReviewTask, :AnalysisTask, :QualityControlTask
373
+ attr_accessor :TranscodeTask, :AnimatedGraphicTask, :SnapshotByTimeOffsetTask, :SampleSnapshotTask, :ImageSpriteTask, :AdaptiveDynamicStreamingTask, :RecognitionTask, :ReviewTask, :AnalysisTask, :QualityControlTask, :SmartSubtitlesTask
362
374
 
363
- def initialize(transcodetask=nil, animatedgraphictask=nil, snapshotbytimeoffsettask=nil, samplesnapshottask=nil, imagespritetask=nil, adaptivedynamicstreamingtask=nil, recognitiontask=nil, reviewtask=nil, analysistask=nil, qualitycontroltask=nil)
375
+ def initialize(transcodetask=nil, animatedgraphictask=nil, snapshotbytimeoffsettask=nil, samplesnapshottask=nil, imagespritetask=nil, adaptivedynamicstreamingtask=nil, recognitiontask=nil, reviewtask=nil, analysistask=nil, qualitycontroltask=nil, smartsubtitlestask=nil)
364
376
  @TranscodeTask = transcodetask
365
377
  @AnimatedGraphicTask = animatedgraphictask
366
378
  @SnapshotByTimeOffsetTask = snapshotbytimeoffsettask
@@ -371,6 +383,7 @@ module TencentCloud
371
383
  @ReviewTask = reviewtask
372
384
  @AnalysisTask = analysistask
373
385
  @QualityControlTask = qualitycontroltask
386
+ @SmartSubtitlesTask = smartsubtitlestask
374
387
  end
375
388
 
376
389
  def deserialize(params)
@@ -414,6 +427,10 @@ module TencentCloud
414
427
  @QualityControlTask = ScheduleQualityControlTaskResult.new
415
428
  @QualityControlTask.deserialize(params['QualityControlTask'])
416
429
  end
430
+ unless params['SmartSubtitlesTask'].nil?
431
+ @SmartSubtitlesTask = ScheduleSmartSubtitleTaskResult.new
432
+ @SmartSubtitlesTask.deserialize(params['SmartSubtitlesTask'])
433
+ end
417
434
  end
418
435
  end
419
436
 
@@ -430,6 +447,7 @@ module TencentCloud
430
447
  # <li>AIRecognition:智能识别。</li>
431
448
  # <li>AIAnalysis:智能分析。</li>
432
449
  # <li>AiQualityControl:媒体质检。</li>
450
+ # <li>SmartSubtitles:智能字幕。</li>
433
451
  # @type ActivityType: String
434
452
  # @param ActivityResItem: 原子任务输出。
435
453
  # @type ActivityResItem: :class:`Tencentcloud::Mps.v20190612.models.ActivityResItem`
@@ -4354,6 +4372,110 @@ module TencentCloud
4354
4372
  end
4355
4373
  end
4356
4374
 
4375
+ # 智能字幕热词参数
4376
+ class AsrHotWordsConfigure < TencentCloud::Common::AbstractModel
4377
+ # @param Switch: 热词开关
4378
+ # 注意:此字段可能返回 null,表示取不到有效值。
4379
+ # @type Switch: String
4380
+ # @param LibraryId: 热词库ID
4381
+ # 注意:此字段可能返回 null,表示取不到有效值。
4382
+ # @type LibraryId: String
4383
+
4384
+ attr_accessor :Switch, :LibraryId
4385
+
4386
+ def initialize(switch=nil, libraryid=nil)
4387
+ @Switch = switch
4388
+ @LibraryId = libraryid
4389
+ end
4390
+
4391
+ def deserialize(params)
4392
+ @Switch = params['Switch']
4393
+ @LibraryId = params['LibraryId']
4394
+ end
4395
+ end
4396
+
4397
+ # 热词库查询返回结果集
4398
+ class AsrHotwordsSet < TencentCloud::Common::AbstractModel
4399
+ # @param HotwordsId: 热词库 Id
4400
+ # 注意:此字段可能返回 null,表示取不到有效值。
4401
+ # @type HotwordsId: String
4402
+ # @param Status: 当前热词库状态,数值表示绑定该热词库的智能字幕模板数量。
4403
+ # Status 为 0 ,表示该热词库没有被智能字幕模版引用可以删除;
4404
+ # Status 不为 0,表示该热词库不能被删除。
4405
+ # 注意:此字段可能返回 null,表示取不到有效值。
4406
+ # @type Status: Integer
4407
+ # @param Name: 热词库名称
4408
+ # 注意:此字段可能返回 null,表示取不到有效值。
4409
+ # @type Name: String
4410
+ # @param WordCount: 热词库中的热词数量
4411
+ # 注意:此字段可能返回 null,表示取不到有效值。
4412
+ # @type WordCount: Integer
4413
+ # @param FileName: 热词文件上传时的文件名
4414
+ # 注意:此字段可能返回 null,表示取不到有效值。
4415
+ # @type FileName: String
4416
+ # @param CreateTime: 热词库创建时间 ISOUTC 时间格式 2006-01-02T15:04:05Z
4417
+ # 注意:此字段可能返回 null,表示取不到有效值。
4418
+ # @type CreateTime: String
4419
+ # @param UpdateTime: 热词库创建时间 ISOUTC 时间格式 2006-01-02T15:04:05Z
4420
+ # 注意:此字段可能返回 null,表示取不到有效值。
4421
+ # @type UpdateTime: String
4422
+ # @param Type: 0:临时热词库
4423
+ # 1:文件热词库
4424
+ # 注意:此字段可能返回 null,表示取不到有效值。
4425
+ # @type Type: Integer
4426
+
4427
+ attr_accessor :HotwordsId, :Status, :Name, :WordCount, :FileName, :CreateTime, :UpdateTime, :Type
4428
+
4429
+ def initialize(hotwordsid=nil, status=nil, name=nil, wordcount=nil, filename=nil, createtime=nil, updatetime=nil, type=nil)
4430
+ @HotwordsId = hotwordsid
4431
+ @Status = status
4432
+ @Name = name
4433
+ @WordCount = wordcount
4434
+ @FileName = filename
4435
+ @CreateTime = createtime
4436
+ @UpdateTime = updatetime
4437
+ @Type = type
4438
+ end
4439
+
4440
+ def deserialize(params)
4441
+ @HotwordsId = params['HotwordsId']
4442
+ @Status = params['Status']
4443
+ @Name = params['Name']
4444
+ @WordCount = params['WordCount']
4445
+ @FileName = params['FileName']
4446
+ @CreateTime = params['CreateTime']
4447
+ @UpdateTime = params['UpdateTime']
4448
+ @Type = params['Type']
4449
+ end
4450
+ end
4451
+
4452
+ # 单个热词信息
4453
+ class AsrHotwordsSetItem < TencentCloud::Common::AbstractModel
4454
+ # @param Id: 热词的序号
4455
+ # 注意:此字段可能返回 null,表示取不到有效值。
4456
+ # @type Id: Integer
4457
+ # @param Text: 热词文本
4458
+ # 注意:此字段可能返回 null,表示取不到有效值。
4459
+ # @type Text: String
4460
+ # @param Weight: 词语权重,取值范围 1-10,11,100
4461
+ # 注意:此字段可能返回 null,表示取不到有效值。
4462
+ # @type Weight: Integer
4463
+
4464
+ attr_accessor :Id, :Text, :Weight
4465
+
4466
+ def initialize(id=nil, text=nil, weight=nil)
4467
+ @Id = id
4468
+ @Text = text
4469
+ @Weight = weight
4470
+ end
4471
+
4472
+ def deserialize(params)
4473
+ @Id = params['Id']
4474
+ @Text = params['Text']
4475
+ @Weight = params['Weight']
4476
+ end
4477
+ end
4478
+
4357
4479
  # 语音关键词识别控制参数。
4358
4480
  class AsrWordsConfigureInfo < TencentCloud::Common::AbstractModel
4359
4481
  # @param Switch: 语音关键词识别任务开关,可选值:
@@ -6327,17 +6449,70 @@ module TencentCloud
6327
6449
  end
6328
6450
  end
6329
6451
 
6452
+ # CreateAsrHotwords请求参数结构体
6453
+ class CreateAsrHotwordsRequest < TencentCloud::Common::AbstractModel
6454
+ # @param Type: 0 临时热词 1 文件热词
6455
+ # @type Type: Integer
6456
+ # @param Name: 热词库名称
6457
+ # @type Name: String
6458
+ # @param Content: 热词库文本,Type为 0 必选
6459
+ # @type Content: String
6460
+ # @param FileContent: 热词库文件的 base64 的内容,Type 为 1 必选
6461
+
6462
+ # @type FileContent: String
6463
+ # @param FileName: 上传的文件名
6464
+ # @type FileName: String
6465
+
6466
+ attr_accessor :Type, :Name, :Content, :FileContent, :FileName
6467
+
6468
+ def initialize(type=nil, name=nil, content=nil, filecontent=nil, filename=nil)
6469
+ @Type = type
6470
+ @Name = name
6471
+ @Content = content
6472
+ @FileContent = filecontent
6473
+ @FileName = filename
6474
+ end
6475
+
6476
+ def deserialize(params)
6477
+ @Type = params['Type']
6478
+ @Name = params['Name']
6479
+ @Content = params['Content']
6480
+ @FileContent = params['FileContent']
6481
+ @FileName = params['FileName']
6482
+ end
6483
+ end
6484
+
6485
+ # CreateAsrHotwords返回参数结构体
6486
+ class CreateAsrHotwordsResponse < TencentCloud::Common::AbstractModel
6487
+ # @param HotwordsId: 热词库 id
6488
+ # @type HotwordsId: String
6489
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6490
+ # @type RequestId: String
6491
+
6492
+ attr_accessor :HotwordsId, :RequestId
6493
+
6494
+ def initialize(hotwordsid=nil, requestid=nil)
6495
+ @HotwordsId = hotwordsid
6496
+ @RequestId = requestid
6497
+ end
6498
+
6499
+ def deserialize(params)
6500
+ @HotwordsId = params['HotwordsId']
6501
+ @RequestId = params['RequestId']
6502
+ end
6503
+ end
6504
+
6330
6505
  # CreateContentReviewTemplate请求参数结构体
6331
6506
  class CreateContentReviewTemplateRequest < TencentCloud::Common::AbstractModel
6332
6507
  # @param Name: 内容审核模板名称,长度限制:64 个字符。
6333
6508
  # @type Name: String
6334
6509
  # @param Comment: 内容审核模板描述信息,长度限制:256 个字符。
6335
6510
  # @type Comment: String
6336
- # @param PornConfigure: 令人反感的信息的控制参数。
6511
+ # @param PornConfigure: 鉴黄任务控制参数。
6337
6512
  # @type PornConfigure: :class:`Tencentcloud::Mps.v20190612.models.PornConfigureInfo`
6338
- # @param TerrorismConfigure: 令人不安全的信息的控制参数。
6513
+ # @param TerrorismConfigure: 涉暴任务控制参数。
6339
6514
  # @type TerrorismConfigure: :class:`Tencentcloud::Mps.v20190612.models.TerrorismConfigureInfo`
6340
- # @param PoliticalConfigure: 令人不适宜的信息的控制参数。
6515
+ # @param PoliticalConfigure: 涉敏任务控制参数。
6341
6516
  # @type PoliticalConfigure: :class:`Tencentcloud::Mps.v20190612.models.PoliticalConfigureInfo`
6342
6517
  # @param ProhibitedConfigure: 违禁控制参数。违禁内容包括:
6343
6518
  # <li>谩骂;</li>
@@ -7380,6 +7555,124 @@ module TencentCloud
7380
7555
  end
7381
7556
  end
7382
7557
 
7558
+ # CreateSmartSubtitleTemplate请求参数结构体
7559
+ class CreateSmartSubtitleTemplateRequest < TencentCloud::Common::AbstractModel
7560
+ # @param Name: 智能字幕模板名称
7561
+ # 长度限制:64 个字符。
7562
+ # @type Name: String
7563
+ # @param VideoSrcLanguage: 智能字幕视频源语言
7564
+ # 当前支持以下语言:
7565
+ # zh:简体中文
7566
+ # en:英语
7567
+ # ja:日语
7568
+ # ko:韩语
7569
+ # zh-PY:中英粤
7570
+ # zh-medical:中文医疗
7571
+ # yue:中文粤语
7572
+ # vi:越南语
7573
+ # ms:马来语
7574
+ # id:印度尼西亚语
7575
+ # fil:菲律宾语
7576
+ # th:泰语
7577
+ # pt:葡萄牙语
7578
+ # tr:土耳其语
7579
+ # ar:阿拉伯语
7580
+ # es:西班牙语
7581
+ # hi:印地语
7582
+ # fr:法语
7583
+ # de:德语
7584
+ # zh_dialect:中文方言
7585
+ # @type VideoSrcLanguage: String
7586
+ # @param SubtitleType: 智能字幕字幕语言类型
7587
+ # 0: 源语言
7588
+ # 1: 翻译语言
7589
+ # 2: 源语言+翻译语言
7590
+ # 当TranslateSwitch为OFF时仅支持取0
7591
+ # 当TranslateSwitch为ON时仅支持取1或2
7592
+ # @type SubtitleType: Integer
7593
+ # @param Comment: 智能字幕模板描述信息
7594
+ # 长度限制:256 个字符。
7595
+ # @type Comment: String
7596
+ # @param SubtitleFormat: 智能字幕文件格式
7597
+ # vtt: WebVTT 格式
7598
+ # 不填或填空:不生成字幕文件
7599
+ # @type SubtitleFormat: String
7600
+ # @param AsrHotWordsConfigure: ASR热词库参数
7601
+ # @type AsrHotWordsConfigure: :class:`Tencentcloud::Mps.v20190612.models.AsrHotWordsConfigure`
7602
+ # @param TranslateSwitch: 字幕翻译开关
7603
+ # ON: 开启翻译
7604
+ # OFF: 关闭翻译
7605
+ # @type TranslateSwitch: String
7606
+ # @param TranslateDstLanguage: 字幕翻译目标语言
7607
+ # 当TranslateSwitch为ON的时候生效
7608
+ # 当前支持以下语言:
7609
+ # zh:简体中文
7610
+ # en:英语
7611
+ # ja:日语
7612
+ # ko:韩语
7613
+ # fr:法语
7614
+ # es:西班牙语
7615
+ # it:意大利语
7616
+ # de:德语
7617
+ # tr:土耳其语
7618
+ # ru:俄语
7619
+ # pt:葡萄牙语
7620
+ # vi:越南语
7621
+ # id:印度尼西亚语
7622
+ # ms:马来语
7623
+ # th:泰语
7624
+ # ar:阿拉伯语
7625
+ # hi:印地语
7626
+ # @type TranslateDstLanguage: String
7627
+
7628
+ attr_accessor :Name, :VideoSrcLanguage, :SubtitleType, :Comment, :SubtitleFormat, :AsrHotWordsConfigure, :TranslateSwitch, :TranslateDstLanguage
7629
+
7630
+ def initialize(name=nil, videosrclanguage=nil, subtitletype=nil, comment=nil, subtitleformat=nil, asrhotwordsconfigure=nil, translateswitch=nil, translatedstlanguage=nil)
7631
+ @Name = name
7632
+ @VideoSrcLanguage = videosrclanguage
7633
+ @SubtitleType = subtitletype
7634
+ @Comment = comment
7635
+ @SubtitleFormat = subtitleformat
7636
+ @AsrHotWordsConfigure = asrhotwordsconfigure
7637
+ @TranslateSwitch = translateswitch
7638
+ @TranslateDstLanguage = translatedstlanguage
7639
+ end
7640
+
7641
+ def deserialize(params)
7642
+ @Name = params['Name']
7643
+ @VideoSrcLanguage = params['VideoSrcLanguage']
7644
+ @SubtitleType = params['SubtitleType']
7645
+ @Comment = params['Comment']
7646
+ @SubtitleFormat = params['SubtitleFormat']
7647
+ unless params['AsrHotWordsConfigure'].nil?
7648
+ @AsrHotWordsConfigure = AsrHotWordsConfigure.new
7649
+ @AsrHotWordsConfigure.deserialize(params['AsrHotWordsConfigure'])
7650
+ end
7651
+ @TranslateSwitch = params['TranslateSwitch']
7652
+ @TranslateDstLanguage = params['TranslateDstLanguage']
7653
+ end
7654
+ end
7655
+
7656
+ # CreateSmartSubtitleTemplate返回参数结构体
7657
+ class CreateSmartSubtitleTemplateResponse < TencentCloud::Common::AbstractModel
7658
+ # @param Definition: 智能字幕模板唯一标识。
7659
+ # @type Definition: Integer
7660
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7661
+ # @type RequestId: String
7662
+
7663
+ attr_accessor :Definition, :RequestId
7664
+
7665
+ def initialize(definition=nil, requestid=nil)
7666
+ @Definition = definition
7667
+ @RequestId = requestid
7668
+ end
7669
+
7670
+ def deserialize(params)
7671
+ @Definition = params['Definition']
7672
+ @RequestId = params['RequestId']
7673
+ end
7674
+ end
7675
+
7383
7676
  # CreateSnapshotByTimeOffsetTemplate请求参数结构体
7384
7677
  class CreateSnapshotByTimeOffsetTemplateRequest < TencentCloud::Common::AbstractModel
7385
7678
  # @param Name: 指定时间点截图模板名称,长度限制:64 个字符。
@@ -8247,6 +8540,38 @@ module TencentCloud
8247
8540
  end
8248
8541
  end
8249
8542
 
8543
+ # DeleteAsrHotwords请求参数结构体
8544
+ class DeleteAsrHotwordsRequest < TencentCloud::Common::AbstractModel
8545
+ # @param HotwordsId: 删除的热词库 id
8546
+ # @type HotwordsId: String
8547
+
8548
+ attr_accessor :HotwordsId
8549
+
8550
+ def initialize(hotwordsid=nil)
8551
+ @HotwordsId = hotwordsid
8552
+ end
8553
+
8554
+ def deserialize(params)
8555
+ @HotwordsId = params['HotwordsId']
8556
+ end
8557
+ end
8558
+
8559
+ # DeleteAsrHotwords返回参数结构体
8560
+ class DeleteAsrHotwordsResponse < TencentCloud::Common::AbstractModel
8561
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8562
+ # @type RequestId: String
8563
+
8564
+ attr_accessor :RequestId
8565
+
8566
+ def initialize(requestid=nil)
8567
+ @RequestId = requestid
8568
+ end
8569
+
8570
+ def deserialize(params)
8571
+ @RequestId = params['RequestId']
8572
+ end
8573
+ end
8574
+
8250
8575
  # DeleteContentReviewTemplate请求参数结构体
8251
8576
  class DeleteContentReviewTemplateRequest < TencentCloud::Common::AbstractModel
8252
8577
  # @param Definition: 内容审核模板唯一标识。
@@ -8471,6 +8796,38 @@ module TencentCloud
8471
8796
  end
8472
8797
  end
8473
8798
 
8799
+ # DeleteSmartSubtitleTemplate请求参数结构体
8800
+ class DeleteSmartSubtitleTemplateRequest < TencentCloud::Common::AbstractModel
8801
+ # @param Definition: 智能字幕模板唯一标识。
8802
+ # @type Definition: Integer
8803
+
8804
+ attr_accessor :Definition
8805
+
8806
+ def initialize(definition=nil)
8807
+ @Definition = definition
8808
+ end
8809
+
8810
+ def deserialize(params)
8811
+ @Definition = params['Definition']
8812
+ end
8813
+ end
8814
+
8815
+ # DeleteSmartSubtitleTemplate返回参数结构体
8816
+ class DeleteSmartSubtitleTemplateResponse < TencentCloud::Common::AbstractModel
8817
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8818
+ # @type RequestId: String
8819
+
8820
+ attr_accessor :RequestId
8821
+
8822
+ def initialize(requestid=nil)
8823
+ @RequestId = requestid
8824
+ end
8825
+
8826
+ def deserialize(params)
8827
+ @RequestId = params['RequestId']
8828
+ end
8829
+ end
8830
+
8474
8831
  # DeleteSnapshotByTimeOffsetTemplate请求参数结构体
8475
8832
  class DeleteSnapshotByTimeOffsetTemplateRequest < TencentCloud::Common::AbstractModel
8476
8833
  # @param Definition: 指定时间点截图模板唯一标识。
@@ -9028,98 +9385,314 @@ module TencentCloud
9028
9385
  end
9029
9386
  end
9030
9387
 
9031
- # DescribeContentReviewTemplates请求参数结构体
9032
- class DescribeContentReviewTemplatesRequest < TencentCloud::Common::AbstractModel
9033
- # @param Definitions: 智能审核模板唯一标识过滤条件,数组长度限制:50。
9034
- # @type Definitions: Array
9388
+ # DescribeAsrHotwordsList请求参数结构体
9389
+ class DescribeAsrHotwordsListRequest < TencentCloud::Common::AbstractModel
9390
+ # @param HotwordsId: 检索参数,根据热词库 id 查询
9391
+ # @type HotwordsId: String
9392
+ # @param Name: 检索参数,根据热词库名称查询
9393
+ # @type Name: String
9035
9394
  # @param Offset: 分页偏移量,默认值:0。
9036
9395
  # @type Offset: Integer
9037
- # @param Limit: 返回记录条数,默认值:10,最大值:50。
9396
+ # @param Limit: 返回记录条数,默认返回所有热词库
9038
9397
  # @type Limit: Integer
9039
- # @param Type: 模板类型过滤条件,不填则返回所有,可选值:
9040
- # * Preset:系统预置模板;
9041
- # * Custom:用户自定义模板。
9042
- # @type Type: String
9043
- # @param Name: 智能审核模板标识过滤条件,长度限制:64 个字符。
9044
- # @type Name: String
9398
+ # @param OrderType: 热词排序顺序
9399
+
9400
+ # 0:升序(默认)
9401
+ # 1:降序
9402
+ # @type OrderType: Integer
9403
+ # @param OrderBy: 根据某个字段排序,默认使用创建时间,使用非法字段视为默认情况
9404
+
9405
+ # - CreateTime:创建时间排序
9406
+ # - UpdateTime:更新时间排序
9407
+ # - Name:热词库名称排序
9408
+ # - WordCount:热词数量排序
9409
+ # - HotwordsId:热词库 id 排序
9410
+ # @type OrderBy: String
9411
+ # @param Types: 0 临时热词 1 文件热词
9412
+ # @type Types: Array
9045
9413
 
9046
- attr_accessor :Definitions, :Offset, :Limit, :Type, :Name
9414
+ attr_accessor :HotwordsId, :Name, :Offset, :Limit, :OrderType, :OrderBy, :Types
9047
9415
 
9048
- def initialize(definitions=nil, offset=nil, limit=nil, type=nil, name=nil)
9049
- @Definitions = definitions
9416
+ def initialize(hotwordsid=nil, name=nil, offset=nil, limit=nil, ordertype=nil, orderby=nil, types=nil)
9417
+ @HotwordsId = hotwordsid
9418
+ @Name = name
9050
9419
  @Offset = offset
9051
9420
  @Limit = limit
9052
- @Type = type
9053
- @Name = name
9421
+ @OrderType = ordertype
9422
+ @OrderBy = orderby
9423
+ @Types = types
9054
9424
  end
9055
9425
 
9056
9426
  def deserialize(params)
9057
- @Definitions = params['Definitions']
9427
+ @HotwordsId = params['HotwordsId']
9428
+ @Name = params['Name']
9058
9429
  @Offset = params['Offset']
9059
9430
  @Limit = params['Limit']
9060
- @Type = params['Type']
9061
- @Name = params['Name']
9431
+ @OrderType = params['OrderType']
9432
+ @OrderBy = params['OrderBy']
9433
+ @Types = params['Types']
9062
9434
  end
9063
9435
  end
9064
9436
 
9065
- # DescribeContentReviewTemplates返回参数结构体
9066
- class DescribeContentReviewTemplatesResponse < TencentCloud::Common::AbstractModel
9067
- # @param TotalCount: 符合过滤条件的记录总数。
9437
+ # DescribeAsrHotwordsList返回参数结构体
9438
+ class DescribeAsrHotwordsListResponse < TencentCloud::Common::AbstractModel
9439
+ # @param TotalCount: 总热词库数量
9068
9440
  # @type TotalCount: Integer
9069
- # @param ContentReviewTemplateSet: 内容审核模板详情列表。
9070
- # @type ContentReviewTemplateSet: Array
9441
+ # @param Offset: 分页偏移量,默认值:0。
9442
+ # @type Offset: Integer
9443
+ # @param Limit: 返回记录条数,默认返回所有热词库
9444
+ # @type Limit: Integer
9445
+ # @param AsrHotwordsSet: 热词库列表
9446
+ # @type AsrHotwordsSet: Array
9071
9447
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9072
9448
  # @type RequestId: String
9073
9449
 
9074
- attr_accessor :TotalCount, :ContentReviewTemplateSet, :RequestId
9450
+ attr_accessor :TotalCount, :Offset, :Limit, :AsrHotwordsSet, :RequestId
9075
9451
 
9076
- def initialize(totalcount=nil, contentreviewtemplateset=nil, requestid=nil)
9452
+ def initialize(totalcount=nil, offset=nil, limit=nil, asrhotwordsset=nil, requestid=nil)
9077
9453
  @TotalCount = totalcount
9078
- @ContentReviewTemplateSet = contentreviewtemplateset
9454
+ @Offset = offset
9455
+ @Limit = limit
9456
+ @AsrHotwordsSet = asrhotwordsset
9079
9457
  @RequestId = requestid
9080
9458
  end
9081
9459
 
9082
9460
  def deserialize(params)
9083
9461
  @TotalCount = params['TotalCount']
9084
- unless params['ContentReviewTemplateSet'].nil?
9085
- @ContentReviewTemplateSet = []
9086
- params['ContentReviewTemplateSet'].each do |i|
9087
- contentreviewtemplateitem_tmp = ContentReviewTemplateItem.new
9088
- contentreviewtemplateitem_tmp.deserialize(i)
9089
- @ContentReviewTemplateSet << contentreviewtemplateitem_tmp
9462
+ @Offset = params['Offset']
9463
+ @Limit = params['Limit']
9464
+ unless params['AsrHotwordsSet'].nil?
9465
+ @AsrHotwordsSet = []
9466
+ params['AsrHotwordsSet'].each do |i|
9467
+ asrhotwordsset_tmp = AsrHotwordsSet.new
9468
+ asrhotwordsset_tmp.deserialize(i)
9469
+ @AsrHotwordsSet << asrhotwordsset_tmp
9090
9470
  end
9091
9471
  end
9092
9472
  @RequestId = params['RequestId']
9093
9473
  end
9094
9474
  end
9095
9475
 
9096
- # 查询Event的配置信息。
9097
- class DescribeEvent < TencentCloud::Common::AbstractModel
9098
- # @param EventName: Event的名称。
9099
- # @type EventName: String
9100
- # @param EventId: Event的Id,唯一标识一个event。
9101
- # @type EventId: String
9102
- # @param CreateTime: Event创建时间,格式为yyyy-MM-ddTHH:mm:ssZ。
9103
- # @type CreateTime: String
9104
- # @param Description: Event的描述。
9105
- # @type Description: String
9106
- # @param Status: Event的状态信息
9107
- # 0:未运行
9108
- # 1:运行中
9109
- # @type Status: Integer
9110
- # @param AttachedFlowGroup: Event关联的Flow列表。
9111
- # 注意:此字段可能返回 null,表示取不到有效值。
9112
- # @type AttachedFlowGroup: Array
9476
+ # DescribeAsrHotwords请求参数结构体
9477
+ class DescribeAsrHotwordsRequest < TencentCloud::Common::AbstractModel
9478
+ # @param HotwordsId: 需要查询的热词库 id
9479
+ # **注意:HotwordsId Name 必须选择填写一个,如果同时填写,HotwordsId 优先级高于 Name**
9480
+ # @type HotwordsId: String
9481
+ # @param Name: 热词库名称,
9482
+ # **注意:HotwordsId Name 必须选择填写一个,如果同时填写,HotwordsId 优先级高于 Name**
9483
+ # @type Name: String
9484
+ # @param Offset: 分页偏移量,默认值:0。
9485
+ # @type Offset: Integer
9486
+ # @param Limit: 返回记录条数,默认值:10,最大值:100。
9487
+ # @type Limit: Integer
9488
+ # @param OrderBy: 热词排序字段,目前可选值为
9113
9489
 
9114
- attr_accessor :EventName, :EventId, :CreateTime, :Description, :Status, :AttachedFlowGroup
9490
+ # - Default:默认文件中的顺序
9491
+ # - Weight:权重排序
9492
+ # - Lexical:热词文本排序
9493
+ # @type OrderBy: String
9494
+ # @param OrderType: 热词排序顺序 0:升序(默认) 1:降序
9495
+ # @type OrderType: Integer
9115
9496
 
9116
- def initialize(eventname=nil, eventid=nil, createtime=nil, description=nil, status=nil, attachedflowgroup=nil)
9117
- @EventName = eventname
9118
- @EventId = eventid
9119
- @CreateTime = createtime
9120
- @Description = description
9121
- @Status = status
9122
- @AttachedFlowGroup = attachedflowgroup
9497
+ attr_accessor :HotwordsId, :Name, :Offset, :Limit, :OrderBy, :OrderType
9498
+
9499
+ def initialize(hotwordsid=nil, name=nil, offset=nil, limit=nil, orderby=nil, ordertype=nil)
9500
+ @HotwordsId = hotwordsid
9501
+ @Name = name
9502
+ @Offset = offset
9503
+ @Limit = limit
9504
+ @OrderBy = orderby
9505
+ @OrderType = ordertype
9506
+ end
9507
+
9508
+ def deserialize(params)
9509
+ @HotwordsId = params['HotwordsId']
9510
+ @Name = params['Name']
9511
+ @Offset = params['Offset']
9512
+ @Limit = params['Limit']
9513
+ @OrderBy = params['OrderBy']
9514
+ @OrderType = params['OrderType']
9515
+ end
9516
+ end
9517
+
9518
+ # DescribeAsrHotwords返回参数结构体
9519
+ class DescribeAsrHotwordsResponse < TencentCloud::Common::AbstractModel
9520
+ # @param HotwordsId: 需要查询的热词库 id
9521
+ # @type HotwordsId: String
9522
+ # @param Status: 当前热词库 id 状态,为 0 表示查询的时刻,没有模板绑定这个热词库,可以删除
9523
+ # 注意:此字段可能返回 null,表示取不到有效值。
9524
+ # @type Status: Integer
9525
+ # @param Name: 热词库的名称
9526
+ # 注意:此字段可能返回 null,表示取不到有效值。
9527
+ # @type Name: String
9528
+ # @param Type: 临时热词库为 0,返回创建时候的字符串
9529
+ # 文件热词库为 1,返回创建是上传的文件内容
9530
+
9531
+
9532
+ # 注意:此字段可能返回 null,表示取不到有效值。
9533
+ # @type Type: Integer
9534
+ # @param FileName: 热词文件上传时的文件名
9535
+ # 注意:此字段可能返回 null,表示取不到有效值。
9536
+ # @type FileName: String
9537
+ # @param HotWords: 查询返回的热词库列表
9538
+ # @type HotWords: Array
9539
+ # @param Content: 热词库文本,根据 Type 区分
9540
+ # 如果 Type 为 0,是热词库字符串
9541
+ # 如果 Type 是 1,是热词库文本文件的文件内容 base64 编码
9542
+ # 注意:此字段可能返回 null,表示取不到有效值。
9543
+ # @type Content: String
9544
+ # @param WordCount: 当前热词库包含的词语数量
9545
+ # 注意:此字段可能返回 null,表示取不到有效值。
9546
+ # @type WordCount: Integer
9547
+ # @param Offset: 分页偏移量,默认值:0。
9548
+ # 注意:此字段可能返回 null,表示取不到有效值。
9549
+ # @type Offset: Integer
9550
+ # @param Limit: 返回记录条数,默认值:10,最大值:100。
9551
+ # 注意:此字段可能返回 null,表示取不到有效值。
9552
+ # @type Limit: Integer
9553
+ # @param CreateTime: 热词库创建时间 ISOUTC 格式 "2006-01-02T15:04:05Z"
9554
+ # 注意:此字段可能返回 null,表示取不到有效值。
9555
+ # @type CreateTime: String
9556
+ # @param UpdateTime: 热词库修改时间 ISOUTC 格式 "2006-01-02T15:04:05Z"
9557
+ # 注意:此字段可能返回 null,表示取不到有效值。
9558
+ # @type UpdateTime: String
9559
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9560
+ # @type RequestId: String
9561
+
9562
+ attr_accessor :HotwordsId, :Status, :Name, :Type, :FileName, :HotWords, :Content, :WordCount, :Offset, :Limit, :CreateTime, :UpdateTime, :RequestId
9563
+
9564
+ def initialize(hotwordsid=nil, status=nil, name=nil, type=nil, filename=nil, hotwords=nil, content=nil, wordcount=nil, offset=nil, limit=nil, createtime=nil, updatetime=nil, requestid=nil)
9565
+ @HotwordsId = hotwordsid
9566
+ @Status = status
9567
+ @Name = name
9568
+ @Type = type
9569
+ @FileName = filename
9570
+ @HotWords = hotwords
9571
+ @Content = content
9572
+ @WordCount = wordcount
9573
+ @Offset = offset
9574
+ @Limit = limit
9575
+ @CreateTime = createtime
9576
+ @UpdateTime = updatetime
9577
+ @RequestId = requestid
9578
+ end
9579
+
9580
+ def deserialize(params)
9581
+ @HotwordsId = params['HotwordsId']
9582
+ @Status = params['Status']
9583
+ @Name = params['Name']
9584
+ @Type = params['Type']
9585
+ @FileName = params['FileName']
9586
+ unless params['HotWords'].nil?
9587
+ @HotWords = []
9588
+ params['HotWords'].each do |i|
9589
+ asrhotwordssetitem_tmp = AsrHotwordsSetItem.new
9590
+ asrhotwordssetitem_tmp.deserialize(i)
9591
+ @HotWords << asrhotwordssetitem_tmp
9592
+ end
9593
+ end
9594
+ @Content = params['Content']
9595
+ @WordCount = params['WordCount']
9596
+ @Offset = params['Offset']
9597
+ @Limit = params['Limit']
9598
+ @CreateTime = params['CreateTime']
9599
+ @UpdateTime = params['UpdateTime']
9600
+ @RequestId = params['RequestId']
9601
+ end
9602
+ end
9603
+
9604
+ # DescribeContentReviewTemplates请求参数结构体
9605
+ class DescribeContentReviewTemplatesRequest < TencentCloud::Common::AbstractModel
9606
+ # @param Definitions: 智能审核模板唯一标识过滤条件,数组长度限制:50。
9607
+ # @type Definitions: Array
9608
+ # @param Offset: 分页偏移量,默认值:0。
9609
+ # @type Offset: Integer
9610
+ # @param Limit: 返回记录条数,默认值:10,最大值:50。
9611
+ # @type Limit: Integer
9612
+ # @param Type: 模板类型过滤条件,不填则返回所有,可选值:
9613
+ # * Preset:系统预置模板;
9614
+ # * Custom:用户自定义模板。
9615
+ # @type Type: String
9616
+ # @param Name: 智能审核模板标识过滤条件,长度限制:64 个字符。
9617
+ # @type Name: String
9618
+
9619
+ attr_accessor :Definitions, :Offset, :Limit, :Type, :Name
9620
+
9621
+ def initialize(definitions=nil, offset=nil, limit=nil, type=nil, name=nil)
9622
+ @Definitions = definitions
9623
+ @Offset = offset
9624
+ @Limit = limit
9625
+ @Type = type
9626
+ @Name = name
9627
+ end
9628
+
9629
+ def deserialize(params)
9630
+ @Definitions = params['Definitions']
9631
+ @Offset = params['Offset']
9632
+ @Limit = params['Limit']
9633
+ @Type = params['Type']
9634
+ @Name = params['Name']
9635
+ end
9636
+ end
9637
+
9638
+ # DescribeContentReviewTemplates返回参数结构体
9639
+ class DescribeContentReviewTemplatesResponse < TencentCloud::Common::AbstractModel
9640
+ # @param TotalCount: 符合过滤条件的记录总数。
9641
+ # @type TotalCount: Integer
9642
+ # @param ContentReviewTemplateSet: 内容审核模板详情列表。
9643
+ # @type ContentReviewTemplateSet: Array
9644
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9645
+ # @type RequestId: String
9646
+
9647
+ attr_accessor :TotalCount, :ContentReviewTemplateSet, :RequestId
9648
+
9649
+ def initialize(totalcount=nil, contentreviewtemplateset=nil, requestid=nil)
9650
+ @TotalCount = totalcount
9651
+ @ContentReviewTemplateSet = contentreviewtemplateset
9652
+ @RequestId = requestid
9653
+ end
9654
+
9655
+ def deserialize(params)
9656
+ @TotalCount = params['TotalCount']
9657
+ unless params['ContentReviewTemplateSet'].nil?
9658
+ @ContentReviewTemplateSet = []
9659
+ params['ContentReviewTemplateSet'].each do |i|
9660
+ contentreviewtemplateitem_tmp = ContentReviewTemplateItem.new
9661
+ contentreviewtemplateitem_tmp.deserialize(i)
9662
+ @ContentReviewTemplateSet << contentreviewtemplateitem_tmp
9663
+ end
9664
+ end
9665
+ @RequestId = params['RequestId']
9666
+ end
9667
+ end
9668
+
9669
+ # 查询Event的配置信息。
9670
+ class DescribeEvent < TencentCloud::Common::AbstractModel
9671
+ # @param EventName: Event的名称。
9672
+ # @type EventName: String
9673
+ # @param EventId: Event的Id,唯一标识一个event。
9674
+ # @type EventId: String
9675
+ # @param CreateTime: Event创建时间,格式为yyyy-MM-ddTHH:mm:ssZ。
9676
+ # @type CreateTime: String
9677
+ # @param Description: Event的描述。
9678
+ # @type Description: String
9679
+ # @param Status: Event的状态信息
9680
+ # 0:未运行
9681
+ # 1:运行中
9682
+ # @type Status: Integer
9683
+ # @param AttachedFlowGroup: Event关联的Flow列表。
9684
+ # 注意:此字段可能返回 null,表示取不到有效值。
9685
+ # @type AttachedFlowGroup: Array
9686
+
9687
+ attr_accessor :EventName, :EventId, :CreateTime, :Description, :Status, :AttachedFlowGroup
9688
+
9689
+ def initialize(eventname=nil, eventid=nil, createtime=nil, description=nil, status=nil, attachedflowgroup=nil)
9690
+ @EventName = eventname
9691
+ @EventId = eventid
9692
+ @CreateTime = createtime
9693
+ @Description = description
9694
+ @Status = status
9695
+ @AttachedFlowGroup = attachedflowgroup
9123
9696
  end
9124
9697
 
9125
9698
  def deserialize(params)
@@ -10521,6 +11094,71 @@ module TencentCloud
10521
11094
  end
10522
11095
  end
10523
11096
 
11097
+ # DescribeSmartSubtitleTemplates请求参数结构体
11098
+ class DescribeSmartSubtitleTemplatesRequest < TencentCloud::Common::AbstractModel
11099
+ # @param Definitions: 智能字幕模板唯一标识过滤条件,数组长度限制:10。
11100
+ # @type Definitions: Array
11101
+ # @param Offset: 分页偏移量,默认值:0。
11102
+ # @type Offset: Integer
11103
+ # @param Limit: 返回记录条数,默认值:10,最大值:100。
11104
+ # @type Limit: Integer
11105
+ # @param Type: 模板类型过滤条件,不填则返回所有,可选值:
11106
+ # * Preset:系统预置模板;
11107
+ # * Custom:用户自定义模板。
11108
+ # @type Type: String
11109
+ # @param Name: 智能字幕模板标识过滤条件,长度限制:64 个字符。
11110
+ # @type Name: String
11111
+
11112
+ attr_accessor :Definitions, :Offset, :Limit, :Type, :Name
11113
+
11114
+ def initialize(definitions=nil, offset=nil, limit=nil, type=nil, name=nil)
11115
+ @Definitions = definitions
11116
+ @Offset = offset
11117
+ @Limit = limit
11118
+ @Type = type
11119
+ @Name = name
11120
+ end
11121
+
11122
+ def deserialize(params)
11123
+ @Definitions = params['Definitions']
11124
+ @Offset = params['Offset']
11125
+ @Limit = params['Limit']
11126
+ @Type = params['Type']
11127
+ @Name = params['Name']
11128
+ end
11129
+ end
11130
+
11131
+ # DescribeSmartSubtitleTemplates返回参数结构体
11132
+ class DescribeSmartSubtitleTemplatesResponse < TencentCloud::Common::AbstractModel
11133
+ # @param TotalCount: 符合过滤条件的记录总数。
11134
+ # @type TotalCount: Integer
11135
+ # @param SmartSubtitleTemplateSet: 智能字幕模板详情列表。
11136
+ # @type SmartSubtitleTemplateSet: Array
11137
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11138
+ # @type RequestId: String
11139
+
11140
+ attr_accessor :TotalCount, :SmartSubtitleTemplateSet, :RequestId
11141
+
11142
+ def initialize(totalcount=nil, smartsubtitletemplateset=nil, requestid=nil)
11143
+ @TotalCount = totalcount
11144
+ @SmartSubtitleTemplateSet = smartsubtitletemplateset
11145
+ @RequestId = requestid
11146
+ end
11147
+
11148
+ def deserialize(params)
11149
+ @TotalCount = params['TotalCount']
11150
+ unless params['SmartSubtitleTemplateSet'].nil?
11151
+ @SmartSubtitleTemplateSet = []
11152
+ params['SmartSubtitleTemplateSet'].each do |i|
11153
+ smartsubtitletemplateitem_tmp = SmartSubtitleTemplateItem.new
11154
+ smartsubtitletemplateitem_tmp.deserialize(i)
11155
+ @SmartSubtitleTemplateSet << smartsubtitletemplateitem_tmp
11156
+ end
11157
+ end
11158
+ @RequestId = params['RequestId']
11159
+ end
11160
+ end
11161
+
10524
11162
  # DescribeSnapshotByTimeOffsetTemplates请求参数结构体
10525
11163
  class DescribeSnapshotByTimeOffsetTemplatesRequest < TencentCloud::Common::AbstractModel
10526
11164
  # @param Definitions: 指定时间点截图模板唯一标识过滤条件,数组长度限制:100。
@@ -16815,6 +17453,56 @@ module TencentCloud
16815
17453
  end
16816
17454
  end
16817
17455
 
17456
+ # ModifyAsrHotwords请求参数结构体
17457
+ class ModifyAsrHotwordsRequest < TencentCloud::Common::AbstractModel
17458
+ # @param HotwordsId: 热词库 id
17459
+ # @type HotwordsId: String
17460
+ # @param Name: 热词库名称
17461
+ # @type Name: String
17462
+ # @param Content: 热词库文本
17463
+ # @type Content: String
17464
+ # @param FileContent: 热词库文件的 base64 的内容,Type 为 1 必选
17465
+
17466
+
17467
+ # @type FileContent: String
17468
+ # @param FileName: 热词文件上传时的文件名
17469
+ # @type FileName: String
17470
+
17471
+ attr_accessor :HotwordsId, :Name, :Content, :FileContent, :FileName
17472
+
17473
+ def initialize(hotwordsid=nil, name=nil, content=nil, filecontent=nil, filename=nil)
17474
+ @HotwordsId = hotwordsid
17475
+ @Name = name
17476
+ @Content = content
17477
+ @FileContent = filecontent
17478
+ @FileName = filename
17479
+ end
17480
+
17481
+ def deserialize(params)
17482
+ @HotwordsId = params['HotwordsId']
17483
+ @Name = params['Name']
17484
+ @Content = params['Content']
17485
+ @FileContent = params['FileContent']
17486
+ @FileName = params['FileName']
17487
+ end
17488
+ end
17489
+
17490
+ # ModifyAsrHotwords返回参数结构体
17491
+ class ModifyAsrHotwordsResponse < TencentCloud::Common::AbstractModel
17492
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
17493
+ # @type RequestId: String
17494
+
17495
+ attr_accessor :RequestId
17496
+
17497
+ def initialize(requestid=nil)
17498
+ @RequestId = requestid
17499
+ end
17500
+
17501
+ def deserialize(params)
17502
+ @RequestId = params['RequestId']
17503
+ end
17504
+ end
17505
+
16818
17506
  # ModifyContentReviewTemplate请求参数结构体
16819
17507
  class ModifyContentReviewTemplateRequest < TencentCloud::Common::AbstractModel
16820
17508
  # @param Definition: 内容审核模板唯一标识。
@@ -17516,34 +18204,152 @@ module TencentCloud
17516
18204
  end
17517
18205
  end
17518
18206
 
17519
- # ModifySnapshotByTimeOffsetTemplate请求参数结构体
17520
- class ModifySnapshotByTimeOffsetTemplateRequest < TencentCloud::Common::AbstractModel
17521
- # @param Definition: 指定时间点截图模板唯一标识。
18207
+ # ModifySmartSubtitleTemplate请求参数结构体
18208
+ class ModifySmartSubtitleTemplateRequest < TencentCloud::Common::AbstractModel
18209
+ # @param Definition: 智能字幕模板唯一标识
17522
18210
  # @type Definition: Integer
17523
- # @param Name: 指定时间点截图模板名称,长度限制:64 个字符。
18211
+ # @param TranslateSwitch: 字幕翻译开关
18212
+ # ON: 开启翻译
18213
+ # OFF: 关闭翻译
18214
+ # @type TranslateSwitch: String
18215
+ # @param Name: 智能字幕模板名称
18216
+ # 长度限制:64 个字符。
17524
18217
  # @type Name: String
17525
- # @param Width: 截图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
17526
- # <li>当 Width、Height 均为 0,则分辨率同源;</li>
17527
- # <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
17528
- # <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
17529
- # <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
17530
- # 默认值:0。
17531
- # @type Width: Integer
17532
- # @param Height: 截图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
17533
- # <li>当 Width、Height 均为 0,则分辨率同源;</li>
17534
- # <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
17535
- # <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
17536
- # <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
17537
- # 默认值:0。
17538
- # @type Height: Integer
17539
- # @param ResolutionAdaptive: 分辨率自适应,可选值:
17540
- # <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
17541
- # <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
17542
- # 默认值:open。
17543
- # @type ResolutionAdaptive: String
17544
- # @param Format: 图片格式,取值可以为 jpg、png、webp。
17545
- # @type Format: String
17546
- # @param Comment: 模板描述信息,长度限制:256 个字符。
18218
+ # @param Comment: 智能字幕模板描述信息
18219
+ # 长度限制:256 个字符。
18220
+ # @type Comment: String
18221
+ # @param VideoSrcLanguage: 智能字幕视频源语言
18222
+ # 当前支持以下语言:
18223
+ # zh:简体中文
18224
+ # en:英语
18225
+ # ja:日语
18226
+ # ko:韩语
18227
+ # zh-PY:中英粤
18228
+ # zh-medical:中文医疗
18229
+ # yue:中文粤语
18230
+ # vi:越南语
18231
+ # ms:马来语
18232
+ # id:印度尼西亚语
18233
+ # fil:菲律宾语
18234
+ # th:泰语
18235
+ # pt:葡萄牙语
18236
+ # tr:土耳其语
18237
+ # ar:阿拉伯语
18238
+ # es:西班牙语
18239
+ # hi:印地语
18240
+ # fr:法语
18241
+ # de:德语
18242
+ # zh_dialect:中文方言
18243
+ # @type VideoSrcLanguage: String
18244
+ # @param SubtitleFormat: 智能字幕文件格式
18245
+ # vtt: WebVTT 格式
18246
+ # 不填或填空:不生成字幕文件
18247
+ # @type SubtitleFormat: String
18248
+ # @param SubtitleType: 智能字幕字幕语言类型
18249
+ # 0: 源语言
18250
+ # 1: 翻译语言
18251
+ # 2: 源语言+翻译语言
18252
+ # 当TranslateSwitch为OFF时仅支持取0
18253
+ # 当TranslateSwitch为ON时仅支持取1或2
18254
+ # @type SubtitleType: Integer
18255
+ # @param AsrHotWordsConfigure: ASR热词库参数
18256
+ # @type AsrHotWordsConfigure: :class:`Tencentcloud::Mps.v20190612.models.AsrHotWordsConfigure`
18257
+ # @param TranslateDstLanguage: 字幕翻译目标语言
18258
+ # 当TranslateSwitch为ON的时候生效
18259
+ # 当前支持以下语言:
18260
+ # zh:简体中文
18261
+ # en:英语
18262
+ # ja:日语
18263
+ # ko:韩语
18264
+ # fr:法语
18265
+ # es:西班牙语
18266
+ # it:意大利语
18267
+ # de:德语
18268
+ # tr:土耳其语
18269
+ # ru:俄语
18270
+ # pt:葡萄牙语
18271
+ # vi:越南语
18272
+ # id:印度尼西亚语
18273
+ # ms:马来语
18274
+ # th:泰语
18275
+ # ar:阿拉伯语
18276
+ # hi:印地语
18277
+ # @type TranslateDstLanguage: String
18278
+
18279
+ attr_accessor :Definition, :TranslateSwitch, :Name, :Comment, :VideoSrcLanguage, :SubtitleFormat, :SubtitleType, :AsrHotWordsConfigure, :TranslateDstLanguage
18280
+
18281
+ def initialize(definition=nil, translateswitch=nil, name=nil, comment=nil, videosrclanguage=nil, subtitleformat=nil, subtitletype=nil, asrhotwordsconfigure=nil, translatedstlanguage=nil)
18282
+ @Definition = definition
18283
+ @TranslateSwitch = translateswitch
18284
+ @Name = name
18285
+ @Comment = comment
18286
+ @VideoSrcLanguage = videosrclanguage
18287
+ @SubtitleFormat = subtitleformat
18288
+ @SubtitleType = subtitletype
18289
+ @AsrHotWordsConfigure = asrhotwordsconfigure
18290
+ @TranslateDstLanguage = translatedstlanguage
18291
+ end
18292
+
18293
+ def deserialize(params)
18294
+ @Definition = params['Definition']
18295
+ @TranslateSwitch = params['TranslateSwitch']
18296
+ @Name = params['Name']
18297
+ @Comment = params['Comment']
18298
+ @VideoSrcLanguage = params['VideoSrcLanguage']
18299
+ @SubtitleFormat = params['SubtitleFormat']
18300
+ @SubtitleType = params['SubtitleType']
18301
+ unless params['AsrHotWordsConfigure'].nil?
18302
+ @AsrHotWordsConfigure = AsrHotWordsConfigure.new
18303
+ @AsrHotWordsConfigure.deserialize(params['AsrHotWordsConfigure'])
18304
+ end
18305
+ @TranslateDstLanguage = params['TranslateDstLanguage']
18306
+ end
18307
+ end
18308
+
18309
+ # ModifySmartSubtitleTemplate返回参数结构体
18310
+ class ModifySmartSubtitleTemplateResponse < TencentCloud::Common::AbstractModel
18311
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
18312
+ # @type RequestId: String
18313
+
18314
+ attr_accessor :RequestId
18315
+
18316
+ def initialize(requestid=nil)
18317
+ @RequestId = requestid
18318
+ end
18319
+
18320
+ def deserialize(params)
18321
+ @RequestId = params['RequestId']
18322
+ end
18323
+ end
18324
+
18325
+ # ModifySnapshotByTimeOffsetTemplate请求参数结构体
18326
+ class ModifySnapshotByTimeOffsetTemplateRequest < TencentCloud::Common::AbstractModel
18327
+ # @param Definition: 指定时间点截图模板唯一标识。
18328
+ # @type Definition: Integer
18329
+ # @param Name: 指定时间点截图模板名称,长度限制:64 个字符。
18330
+ # @type Name: String
18331
+ # @param Width: 截图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
18332
+ # <li>当 Width、Height 均为 0,则分辨率同源;</li>
18333
+ # <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
18334
+ # <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
18335
+ # <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
18336
+ # 默认值:0。
18337
+ # @type Width: Integer
18338
+ # @param Height: 截图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
18339
+ # <li>当 Width、Height 均为 0,则分辨率同源;</li>
18340
+ # <li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li>
18341
+ # <li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li>
18342
+ # <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
18343
+ # 默认值:0。
18344
+ # @type Height: Integer
18345
+ # @param ResolutionAdaptive: 分辨率自适应,可选值:
18346
+ # <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
18347
+ # <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
18348
+ # 默认值:open。
18349
+ # @type ResolutionAdaptive: String
18350
+ # @param Format: 图片格式,取值可以为 jpg、png、webp。
18351
+ # @type Format: String
18352
+ # @param Comment: 模板描述信息,长度限制:256 个字符。
17547
18353
  # @type Comment: String
17548
18354
  # @param FillType: 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:
17549
18355
  # <li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
@@ -19235,10 +20041,17 @@ module TencentCloud
19235
20041
  # @type TaskType: String
19236
20042
  # @param ResourceId: 资源ID,需要保证对应资源是开启状态。默认为帐号主资源ID。
19237
20043
  # @type ResourceId: String
20044
+ # @param SmartSubtitlesTask: 智能字幕
20045
+ # @type SmartSubtitlesTask: :class:`Tencentcloud::Mps.v20190612.models.SmartSubtitlesTaskInput`
20046
+ # @param SkipMateData: 是否跳过元信息获取,可选值:
20047
+ # 0:表示不跳过
20048
+ # 1:表示跳过
20049
+ # 默认值:0
20050
+ # @type SkipMateData: Integer
19238
20051
 
19239
- attr_accessor :InputInfo, :OutputStorage, :OutputDir, :ScheduleId, :MediaProcessTask, :AiContentReviewTask, :AiAnalysisTask, :AiRecognitionTask, :AiQualityControlTask, :TaskNotifyConfig, :TasksPriority, :SessionId, :SessionContext, :TaskType, :ResourceId
20052
+ attr_accessor :InputInfo, :OutputStorage, :OutputDir, :ScheduleId, :MediaProcessTask, :AiContentReviewTask, :AiAnalysisTask, :AiRecognitionTask, :AiQualityControlTask, :TaskNotifyConfig, :TasksPriority, :SessionId, :SessionContext, :TaskType, :ResourceId, :SmartSubtitlesTask, :SkipMateData
19240
20053
 
19241
- def initialize(inputinfo=nil, outputstorage=nil, outputdir=nil, scheduleid=nil, mediaprocesstask=nil, aicontentreviewtask=nil, aianalysistask=nil, airecognitiontask=nil, aiqualitycontroltask=nil, tasknotifyconfig=nil, taskspriority=nil, sessionid=nil, sessioncontext=nil, tasktype=nil, resourceid=nil)
20054
+ def initialize(inputinfo=nil, outputstorage=nil, outputdir=nil, scheduleid=nil, mediaprocesstask=nil, aicontentreviewtask=nil, aianalysistask=nil, airecognitiontask=nil, aiqualitycontroltask=nil, tasknotifyconfig=nil, taskspriority=nil, sessionid=nil, sessioncontext=nil, tasktype=nil, resourceid=nil, smartsubtitlestask=nil, skipmatedata=nil)
19242
20055
  @InputInfo = inputinfo
19243
20056
  @OutputStorage = outputstorage
19244
20057
  @OutputDir = outputdir
@@ -19254,6 +20067,8 @@ module TencentCloud
19254
20067
  @SessionContext = sessioncontext
19255
20068
  @TaskType = tasktype
19256
20069
  @ResourceId = resourceid
20070
+ @SmartSubtitlesTask = smartsubtitlestask
20071
+ @SkipMateData = skipmatedata
19257
20072
  end
19258
20073
 
19259
20074
  def deserialize(params)
@@ -19296,6 +20111,11 @@ module TencentCloud
19296
20111
  @SessionContext = params['SessionContext']
19297
20112
  @TaskType = params['TaskType']
19298
20113
  @ResourceId = params['ResourceId']
20114
+ unless params['SmartSubtitlesTask'].nil?
20115
+ @SmartSubtitlesTask = SmartSubtitlesTaskInput.new
20116
+ @SmartSubtitlesTask.deserialize(params['SmartSubtitlesTask'])
20117
+ end
20118
+ @SkipMateData = params['SkipMateData']
19299
20119
  end
19300
20120
  end
19301
20121
 
@@ -19879,6 +20699,102 @@ module TencentCloud
19879
20699
  end
19880
20700
  end
19881
20701
 
20702
+ # 自定义智能字幕参数
20703
+ class RawSmartSubtitleParameter < TencentCloud::Common::AbstractModel
20704
+ # @param SubtitleType: 智能字幕字幕语言类型
20705
+ # 0: 源语言
20706
+ # 1: 翻译语言
20707
+ # 2: 源语言+翻译语言
20708
+ # 当TranslateSwitch为OFF时仅支持取0
20709
+ # 当TranslateSwitch为ON时仅支持取1或2
20710
+ # @type SubtitleType: Integer
20711
+ # @param VideoSrcLanguage: 智能字幕视频源语言
20712
+ # 当前支持以下语言:
20713
+ # zh:简体中文
20714
+ # en:英语
20715
+ # ja:日语
20716
+ # ko:韩语
20717
+ # zh-PY:中英粤
20718
+ # zh-medical:中文医疗
20719
+ # yue:中文粤语
20720
+ # vi:越南语
20721
+ # ms:马来语
20722
+ # id:印度尼西亚语
20723
+ # fil:菲律宾语
20724
+ # th:泰语
20725
+ # pt:葡萄牙语
20726
+ # tr:土耳其语
20727
+ # ar:阿拉伯语
20728
+ # es:西班牙语
20729
+ # hi:印地语
20730
+ # fr:法语
20731
+ # de:德语
20732
+ # zh_dialect:中文方言
20733
+ # @type VideoSrcLanguage: String
20734
+ # @param SubtitleFormat: 智能字幕文件格式
20735
+ # vtt: WebVTT 格式
20736
+ # 不填或填空:不生成字幕文件
20737
+ # 注意:此字段可能返回 null,表示取不到有效值。
20738
+ # @type SubtitleFormat: String
20739
+ # @param TranslateSwitch: 字幕翻译开关
20740
+ # ON: 开启翻译
20741
+ # OFF: 关闭翻译
20742
+ # 注意:此字段可能返回 null,表示取不到有效值。
20743
+ # @type TranslateSwitch: String
20744
+ # @param TranslateDstLanguage: 字幕翻译目标语言
20745
+ # 当TranslateSwitch为ON的时候生效
20746
+ # 当前支持以下语言:
20747
+ # zh:简体中文
20748
+ # en:英语
20749
+ # ja:日语
20750
+ # ko:韩语
20751
+ # fr:法语
20752
+ # es:西班牙语
20753
+ # it:意大利语
20754
+ # de:德语
20755
+ # tr:土耳其语
20756
+ # ru:俄语
20757
+ # pt:葡萄牙语
20758
+ # vi:越南语
20759
+ # id:印度尼西亚语
20760
+ # ms:马来语
20761
+ # th:泰语
20762
+ # ar:阿拉伯语
20763
+ # hi:印地语
20764
+ # 注意:此字段可能返回 null,表示取不到有效值。
20765
+ # @type TranslateDstLanguage: String
20766
+ # @param AsrHotWordsConfigure: ASR热词库参数
20767
+ # 注意:此字段可能返回 null,表示取不到有效值。
20768
+ # @type AsrHotWordsConfigure: :class:`Tencentcloud::Mps.v20190612.models.AsrHotWordsConfigure`
20769
+ # @param ExtInfo: 自定义参数
20770
+ # @type ExtInfo: String
20771
+
20772
+ attr_accessor :SubtitleType, :VideoSrcLanguage, :SubtitleFormat, :TranslateSwitch, :TranslateDstLanguage, :AsrHotWordsConfigure, :ExtInfo
20773
+
20774
+ def initialize(subtitletype=nil, videosrclanguage=nil, subtitleformat=nil, translateswitch=nil, translatedstlanguage=nil, asrhotwordsconfigure=nil, extinfo=nil)
20775
+ @SubtitleType = subtitletype
20776
+ @VideoSrcLanguage = videosrclanguage
20777
+ @SubtitleFormat = subtitleformat
20778
+ @TranslateSwitch = translateswitch
20779
+ @TranslateDstLanguage = translatedstlanguage
20780
+ @AsrHotWordsConfigure = asrhotwordsconfigure
20781
+ @ExtInfo = extinfo
20782
+ end
20783
+
20784
+ def deserialize(params)
20785
+ @SubtitleType = params['SubtitleType']
20786
+ @VideoSrcLanguage = params['VideoSrcLanguage']
20787
+ @SubtitleFormat = params['SubtitleFormat']
20788
+ @TranslateSwitch = params['TranslateSwitch']
20789
+ @TranslateDstLanguage = params['TranslateDstLanguage']
20790
+ unless params['AsrHotWordsConfigure'].nil?
20791
+ @AsrHotWordsConfigure = AsrHotWordsConfigure.new
20792
+ @AsrHotWordsConfigure.deserialize(params['AsrHotWordsConfigure'])
20793
+ end
20794
+ @ExtInfo = params['ExtInfo']
20795
+ end
20796
+ end
20797
+
19882
20798
  # 自定义转码的规格参数。
19883
20799
  class RawTranscodeParameter < TencentCloud::Common::AbstractModel
19884
20800
  # @param Container: 封装格式,可选值:mp4、flv、hls、mp3、flac、ogg、m4a。其中,mp3、flac、ogg、m4a 为纯音频文件。
@@ -20645,6 +21561,64 @@ module TencentCloud
20645
21561
  end
20646
21562
  end
20647
21563
 
21564
+ # 编排智能字幕任务结果类型
21565
+ class ScheduleSmartSubtitleTaskResult < TencentCloud::Common::AbstractModel
21566
+ # @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
21567
+ # @type Status: String
21568
+ # @param ErrCodeExt: 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
21569
+ # @type ErrCodeExt: String
21570
+ # @param ErrCode: 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
21571
+ # @type ErrCode: Integer
21572
+ # @param Message: 错误信息。
21573
+ # @type Message: String
21574
+ # @param Input: 识别任务的输入。
21575
+ # 注意:此字段可能返回 null,表示取不到有效值。
21576
+ # @type Input: :class:`Tencentcloud::Mps.v20190612.models.SmartSubtitlesTaskInput`
21577
+ # @param Output: 识别任务的输出。
21578
+ # 注意:此字段可能返回 null,表示取不到有效值。
21579
+ # @type Output: Array
21580
+ # @param BeginProcessTime: 任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
21581
+ # 注意:此字段可能返回 null,表示取不到有效值。
21582
+ # @type BeginProcessTime: String
21583
+ # @param FinishTime: 任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
21584
+ # 注意:此字段可能返回 null,表示取不到有效值。
21585
+ # @type FinishTime: String
21586
+
21587
+ attr_accessor :Status, :ErrCodeExt, :ErrCode, :Message, :Input, :Output, :BeginProcessTime, :FinishTime
21588
+
21589
+ def initialize(status=nil, errcodeext=nil, errcode=nil, message=nil, input=nil, output=nil, beginprocesstime=nil, finishtime=nil)
21590
+ @Status = status
21591
+ @ErrCodeExt = errcodeext
21592
+ @ErrCode = errcode
21593
+ @Message = message
21594
+ @Input = input
21595
+ @Output = output
21596
+ @BeginProcessTime = beginprocesstime
21597
+ @FinishTime = finishtime
21598
+ end
21599
+
21600
+ def deserialize(params)
21601
+ @Status = params['Status']
21602
+ @ErrCodeExt = params['ErrCodeExt']
21603
+ @ErrCode = params['ErrCode']
21604
+ @Message = params['Message']
21605
+ unless params['Input'].nil?
21606
+ @Input = SmartSubtitlesTaskInput.new
21607
+ @Input.deserialize(params['Input'])
21608
+ end
21609
+ unless params['Output'].nil?
21610
+ @Output = []
21611
+ params['Output'].each do |i|
21612
+ smartsubtitlesresult_tmp = SmartSubtitlesResult.new
21613
+ smartsubtitlesresult_tmp.deserialize(i)
21614
+ @Output << smartsubtitlesresult_tmp
21615
+ end
21616
+ end
21617
+ @BeginProcessTime = params['BeginProcessTime']
21618
+ @FinishTime = params['FinishTime']
21619
+ end
21620
+ end
21621
+
20648
21622
  # 编排任务信息
20649
21623
  class ScheduleTask < TencentCloud::Common::AbstractModel
20650
21624
  # @param TaskId: 编排任务 ID。
@@ -21057,6 +22031,465 @@ module TencentCloud
21057
22031
  end
21058
22032
  end
21059
22033
 
22034
+ # 语音全文识别结果。
22035
+ class SmartSubtitleTaskAsrFullTextResult < TencentCloud::Common::AbstractModel
22036
+ # @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
22037
+ # @type Status: String
22038
+ # @param ErrCodeExt: 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
22039
+ # @type ErrCodeExt: String
22040
+ # @param ErrCode: 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
22041
+ # @type ErrCode: Integer
22042
+ # @param Message: 错误信息。
22043
+ # @type Message: String
22044
+ # @param Input: 语音全文识别任务输入信息。
22045
+ # 注意:此字段可能返回 null,表示取不到有效值。
22046
+ # @type Input: :class:`Tencentcloud::Mps.v20190612.models.SmartSubtitleTaskResultInput`
22047
+ # @param Output: 语音全文识别任务输出信息。
22048
+ # 注意:此字段可能返回 null,表示取不到有效值。
22049
+ # @type Output: :class:`Tencentcloud::Mps.v20190612.models.SmartSubtitleTaskAsrFullTextResultOutput`
22050
+ # @param Progress: 任务进度。
22051
+ # 注意:此字段可能返回 null,表示取不到有效值。
22052
+ # @type Progress: Integer
22053
+
22054
+ attr_accessor :Status, :ErrCodeExt, :ErrCode, :Message, :Input, :Output, :Progress
22055
+
22056
+ def initialize(status=nil, errcodeext=nil, errcode=nil, message=nil, input=nil, output=nil, progress=nil)
22057
+ @Status = status
22058
+ @ErrCodeExt = errcodeext
22059
+ @ErrCode = errcode
22060
+ @Message = message
22061
+ @Input = input
22062
+ @Output = output
22063
+ @Progress = progress
22064
+ end
22065
+
22066
+ def deserialize(params)
22067
+ @Status = params['Status']
22068
+ @ErrCodeExt = params['ErrCodeExt']
22069
+ @ErrCode = params['ErrCode']
22070
+ @Message = params['Message']
22071
+ unless params['Input'].nil?
22072
+ @Input = SmartSubtitleTaskResultInput.new
22073
+ @Input.deserialize(params['Input'])
22074
+ end
22075
+ unless params['Output'].nil?
22076
+ @Output = SmartSubtitleTaskAsrFullTextResultOutput.new
22077
+ @Output.deserialize(params['Output'])
22078
+ end
22079
+ @Progress = params['Progress']
22080
+ end
22081
+ end
22082
+
22083
+ # 语音全文识别结果。
22084
+ class SmartSubtitleTaskAsrFullTextResultOutput < TencentCloud::Common::AbstractModel
22085
+ # @param SegmentSet: 语音全文识别片段列表。
22086
+ # 注意:此字段可能返回 null,表示取不到有效值。
22087
+ # @type SegmentSet: Array
22088
+ # @param SubtitlePath: 字幕文件地址。
22089
+ # @type SubtitlePath: String
22090
+
22091
+ attr_accessor :SegmentSet, :SubtitlePath
22092
+
22093
+ def initialize(segmentset=nil, subtitlepath=nil)
22094
+ @SegmentSet = segmentset
22095
+ @SubtitlePath = subtitlepath
22096
+ end
22097
+
22098
+ def deserialize(params)
22099
+ unless params['SegmentSet'].nil?
22100
+ @SegmentSet = []
22101
+ params['SegmentSet'].each do |i|
22102
+ smartsubtitletaskasrfulltextsegmentitem_tmp = SmartSubtitleTaskAsrFullTextSegmentItem.new
22103
+ smartsubtitletaskasrfulltextsegmentitem_tmp.deserialize(i)
22104
+ @SegmentSet << smartsubtitletaskasrfulltextsegmentitem_tmp
22105
+ end
22106
+ end
22107
+ @SubtitlePath = params['SubtitlePath']
22108
+ end
22109
+ end
22110
+
22111
+ # 语音全文识别片段。
22112
+ class SmartSubtitleTaskAsrFullTextSegmentItem < TencentCloud::Common::AbstractModel
22113
+ # @param Confidence: 识别片段置信度。取值:0~100。
22114
+ # @type Confidence: Float
22115
+ # @param StartTimeOffset: 识别片段起始的偏移时间,单位:秒。
22116
+ # @type StartTimeOffset: Float
22117
+ # @param EndTimeOffset: 识别片段终止的偏移时间,单位:秒。
22118
+ # @type EndTimeOffset: Float
22119
+ # @param Text: 识别文本。
22120
+ # @type Text: String
22121
+ # @param Wordlist: 字词时间戳信息。
22122
+ # 注意:此字段可能返回 null,表示取不到有效值。
22123
+ # @type Wordlist: Array
22124
+
22125
+ attr_accessor :Confidence, :StartTimeOffset, :EndTimeOffset, :Text, :Wordlist
22126
+
22127
+ def initialize(confidence=nil, starttimeoffset=nil, endtimeoffset=nil, text=nil, wordlist=nil)
22128
+ @Confidence = confidence
22129
+ @StartTimeOffset = starttimeoffset
22130
+ @EndTimeOffset = endtimeoffset
22131
+ @Text = text
22132
+ @Wordlist = wordlist
22133
+ end
22134
+
22135
+ def deserialize(params)
22136
+ @Confidence = params['Confidence']
22137
+ @StartTimeOffset = params['StartTimeOffset']
22138
+ @EndTimeOffset = params['EndTimeOffset']
22139
+ @Text = params['Text']
22140
+ unless params['Wordlist'].nil?
22141
+ @Wordlist = []
22142
+ params['Wordlist'].each do |i|
22143
+ wordresult_tmp = WordResult.new
22144
+ wordresult_tmp.deserialize(i)
22145
+ @Wordlist << wordresult_tmp
22146
+ end
22147
+ end
22148
+ end
22149
+ end
22150
+
22151
+ # 智能字幕翻译的输入。
22152
+ class SmartSubtitleTaskResultInput < TencentCloud::Common::AbstractModel
22153
+ # @param Definition: 智能字幕模板 ID。
22154
+ # @type Definition: Integer
22155
+ # @param RawParameter: 智能字幕自定义参数,当 Definition 填 0 时有效。
22156
+ # 该参数用于高度定制场景,建议您优先使用 Definition 指定智能字幕参数。
22157
+ # 注意:此字段可能返回 null,表示取不到有效值。
22158
+ # @type RawParameter: :class:`Tencentcloud::Mps.v20190612.models.RawSmartSubtitleParameter`
22159
+
22160
+ attr_accessor :Definition, :RawParameter
22161
+
22162
+ def initialize(definition=nil, rawparameter=nil)
22163
+ @Definition = definition
22164
+ @RawParameter = rawparameter
22165
+ end
22166
+
22167
+ def deserialize(params)
22168
+ @Definition = params['Definition']
22169
+ unless params['RawParameter'].nil?
22170
+ @RawParameter = RawSmartSubtitleParameter.new
22171
+ @RawParameter.deserialize(params['RawParameter'])
22172
+ end
22173
+ end
22174
+ end
22175
+
22176
+ # 翻译结果。
22177
+ class SmartSubtitleTaskTransTextResult < TencentCloud::Common::AbstractModel
22178
+ # @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
22179
+ # @type Status: String
22180
+ # @param ErrCodeExt: 错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
22181
+ # @type ErrCodeExt: String
22182
+ # @param ErrCode: 错误码,0 表示成功,其他值表示失败(该字段已不推荐使用,建议使用新的错误码字段 ErrCodeExt)。
22183
+ # @type ErrCode: Integer
22184
+ # @param Message: 错误信息。
22185
+ # @type Message: String
22186
+ # @param Input: 翻译任务输入信息。
22187
+ # 注意:此字段可能返回 null,表示取不到有效值。
22188
+ # @type Input: :class:`Tencentcloud::Mps.v20190612.models.SmartSubtitleTaskResultInput`
22189
+ # @param Output: 翻译任务输出信息。
22190
+ # 注意:此字段可能返回 null,表示取不到有效值。
22191
+ # @type Output: :class:`Tencentcloud::Mps.v20190612.models.SmartSubtitleTaskTransTextResultOutput`
22192
+ # @param Progress: 任务进度。
22193
+ # 注意:此字段可能返回 null,表示取不到有效值。
22194
+ # @type Progress: Integer
22195
+
22196
+ attr_accessor :Status, :ErrCodeExt, :ErrCode, :Message, :Input, :Output, :Progress
22197
+
22198
+ def initialize(status=nil, errcodeext=nil, errcode=nil, message=nil, input=nil, output=nil, progress=nil)
22199
+ @Status = status
22200
+ @ErrCodeExt = errcodeext
22201
+ @ErrCode = errcode
22202
+ @Message = message
22203
+ @Input = input
22204
+ @Output = output
22205
+ @Progress = progress
22206
+ end
22207
+
22208
+ def deserialize(params)
22209
+ @Status = params['Status']
22210
+ @ErrCodeExt = params['ErrCodeExt']
22211
+ @ErrCode = params['ErrCode']
22212
+ @Message = params['Message']
22213
+ unless params['Input'].nil?
22214
+ @Input = SmartSubtitleTaskResultInput.new
22215
+ @Input.deserialize(params['Input'])
22216
+ end
22217
+ unless params['Output'].nil?
22218
+ @Output = SmartSubtitleTaskTransTextResultOutput.new
22219
+ @Output.deserialize(params['Output'])
22220
+ end
22221
+ @Progress = params['Progress']
22222
+ end
22223
+ end
22224
+
22225
+ # 翻译结果。
22226
+ class SmartSubtitleTaskTransTextResultOutput < TencentCloud::Common::AbstractModel
22227
+ # @param SegmentSet: 翻译片段列表。
22228
+ # 注意:此字段可能返回 null,表示取不到有效值。
22229
+ # @type SegmentSet: Array
22230
+ # @param SubtitlePath: 字幕文件地址。
22231
+ # @type SubtitlePath: String
22232
+
22233
+ attr_accessor :SegmentSet, :SubtitlePath
22234
+
22235
+ def initialize(segmentset=nil, subtitlepath=nil)
22236
+ @SegmentSet = segmentset
22237
+ @SubtitlePath = subtitlepath
22238
+ end
22239
+
22240
+ def deserialize(params)
22241
+ unless params['SegmentSet'].nil?
22242
+ @SegmentSet = []
22243
+ params['SegmentSet'].each do |i|
22244
+ smartsubtitletasktranstextsegmentitem_tmp = SmartSubtitleTaskTransTextSegmentItem.new
22245
+ smartsubtitletasktranstextsegmentitem_tmp.deserialize(i)
22246
+ @SegmentSet << smartsubtitletasktranstextsegmentitem_tmp
22247
+ end
22248
+ end
22249
+ @SubtitlePath = params['SubtitlePath']
22250
+ end
22251
+ end
22252
+
22253
+ # 翻译片段。
22254
+ class SmartSubtitleTaskTransTextSegmentItem < TencentCloud::Common::AbstractModel
22255
+ # @param Confidence: 识别片段置信度。取值:0~100。
22256
+ # @type Confidence: Float
22257
+ # @param StartTimeOffset: 识别片段起始的偏移时间,单位:秒。
22258
+ # @type StartTimeOffset: Float
22259
+ # @param EndTimeOffset: 识别片段终止的偏移时间,单位:秒。
22260
+ # @type EndTimeOffset: Float
22261
+ # @param Text: 识别文本。
22262
+ # @type Text: String
22263
+ # @param Trans: 翻译文本。
22264
+ # @type Trans: String
22265
+ # @param Wordlist: 字词时间戳信息。
22266
+ # 注意:此字段可能返回 null,表示取不到有效值。
22267
+ # @type Wordlist: Array
22268
+
22269
+ attr_accessor :Confidence, :StartTimeOffset, :EndTimeOffset, :Text, :Trans, :Wordlist
22270
+
22271
+ def initialize(confidence=nil, starttimeoffset=nil, endtimeoffset=nil, text=nil, trans=nil, wordlist=nil)
22272
+ @Confidence = confidence
22273
+ @StartTimeOffset = starttimeoffset
22274
+ @EndTimeOffset = endtimeoffset
22275
+ @Text = text
22276
+ @Trans = trans
22277
+ @Wordlist = wordlist
22278
+ end
22279
+
22280
+ def deserialize(params)
22281
+ @Confidence = params['Confidence']
22282
+ @StartTimeOffset = params['StartTimeOffset']
22283
+ @EndTimeOffset = params['EndTimeOffset']
22284
+ @Text = params['Text']
22285
+ @Trans = params['Trans']
22286
+ unless params['Wordlist'].nil?
22287
+ @Wordlist = []
22288
+ params['Wordlist'].each do |i|
22289
+ wordresult_tmp = WordResult.new
22290
+ wordresult_tmp.deserialize(i)
22291
+ @Wordlist << wordresult_tmp
22292
+ end
22293
+ end
22294
+ end
22295
+ end
22296
+
22297
+ # 智能字幕模板详情
22298
+ class SmartSubtitleTemplateItem < TencentCloud::Common::AbstractModel
22299
+ # @param Definition: 智能字幕模板唯一标识
22300
+ # @type Definition: Integer
22301
+ # @param Name: 智能字幕模板名称
22302
+ # 注意:此字段可能返回 null,表示取不到有效值。
22303
+ # @type Name: String
22304
+ # @param Comment: 智能字幕模板描述信息
22305
+ # 注意:此字段可能返回 null,表示取不到有效值。
22306
+ # @type Comment: String
22307
+ # @param Type: 模板类型,取值范围:
22308
+ # * Preset:系统预置模板;
22309
+ # * Custom:用户自定义模板。
22310
+ # 注意:此字段可能返回 null,表示取不到有效值。
22311
+ # @type Type: String
22312
+ # @param AsrHotWordsConfigure: ASR热词库参数
22313
+ # 注意:此字段可能返回 null,表示取不到有效值。
22314
+ # @type AsrHotWordsConfigure: :class:`Tencentcloud::Mps.v20190612.models.AsrHotWordsConfigure`
22315
+ # @param AsrHotWordsLibraryName: 模板关联热词库名称
22316
+ # 注意:此字段可能返回 null,表示取不到有效值。
22317
+ # @type AsrHotWordsLibraryName: String
22318
+ # @param VideoSrcLanguage: 智能字幕视频源语言
22319
+ # 当前支持以下语言:
22320
+ # zh:简体中文
22321
+ # en:英语
22322
+ # ja:日语
22323
+ # ko:韩语
22324
+ # zh-PY:中英粤
22325
+ # zh-medical:中文医疗
22326
+ # yue:中文粤语
22327
+ # vi:越南语
22328
+ # ms:马来语
22329
+ # id:印度尼西亚语
22330
+ # fil:菲律宾语
22331
+ # th:泰语
22332
+ # pt:葡萄牙语
22333
+ # tr:土耳其语
22334
+ # ar:阿拉伯语
22335
+ # es:西班牙语
22336
+ # hi:印地语
22337
+ # fr:法语
22338
+ # de:德语
22339
+ # zh_dialect:中文方言
22340
+ # @type VideoSrcLanguage: String
22341
+ # @param SubtitleFormat: 智能字幕文件格式
22342
+ # vtt: WebVTT 格式
22343
+ # 不填或填空:不生成字幕文件
22344
+ # 注意:此字段可能返回 null,表示取不到有效值。
22345
+ # @type SubtitleFormat: String
22346
+ # @param SubtitleType: 智能字幕字幕语言类型
22347
+ # 0: 源语言
22348
+ # 1: 翻译语言
22349
+ # 2: 源语言+翻译语言
22350
+ # 当TranslateSwitch为OFF时仅支持取0
22351
+ # 当TranslateSwitch为ON时仅支持取1或2
22352
+ # @type SubtitleType: Integer
22353
+ # @param TranslateSwitch: 字幕翻译开关
22354
+ # ON: 开启翻译
22355
+ # OFF: 关闭翻译
22356
+ # 注意:此字段可能返回 null,表示取不到有效值。
22357
+ # @type TranslateSwitch: String
22358
+ # @param TranslateDstLanguage: 字幕翻译目标语言
22359
+ # 当TranslateSwitch为ON的时候生效
22360
+ # 当前支持以下语言:
22361
+ # zh:简体中文
22362
+ # en:英语
22363
+ # ja:日语
22364
+ # ko:韩语
22365
+ # fr:法语
22366
+ # es:西班牙语
22367
+ # it:意大利语
22368
+ # de:德语
22369
+ # tr:土耳其语
22370
+ # ru:俄语
22371
+ # pt:葡萄牙语
22372
+ # vi:越南语
22373
+ # id:印度尼西亚语
22374
+ # ms:马来语
22375
+ # th:泰语
22376
+ # ar:阿拉伯语
22377
+ # hi:印地语
22378
+ # 注意:此字段可能返回 null,表示取不到有效值。
22379
+ # @type TranslateDstLanguage: String
22380
+ # @param CreateTime: 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
22381
+ # @type CreateTime: String
22382
+ # @param UpdateTime: 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
22383
+ # @type UpdateTime: String
22384
+ # @param AliasName: 智能字幕预设模板别名
22385
+ # 注意:此字段可能返回 null,表示取不到有效值。
22386
+ # @type AliasName: String
22387
+
22388
+ attr_accessor :Definition, :Name, :Comment, :Type, :AsrHotWordsConfigure, :AsrHotWordsLibraryName, :VideoSrcLanguage, :SubtitleFormat, :SubtitleType, :TranslateSwitch, :TranslateDstLanguage, :CreateTime, :UpdateTime, :AliasName
22389
+
22390
+ def initialize(definition=nil, name=nil, comment=nil, type=nil, asrhotwordsconfigure=nil, asrhotwordslibraryname=nil, videosrclanguage=nil, subtitleformat=nil, subtitletype=nil, translateswitch=nil, translatedstlanguage=nil, createtime=nil, updatetime=nil, aliasname=nil)
22391
+ @Definition = definition
22392
+ @Name = name
22393
+ @Comment = comment
22394
+ @Type = type
22395
+ @AsrHotWordsConfigure = asrhotwordsconfigure
22396
+ @AsrHotWordsLibraryName = asrhotwordslibraryname
22397
+ @VideoSrcLanguage = videosrclanguage
22398
+ @SubtitleFormat = subtitleformat
22399
+ @SubtitleType = subtitletype
22400
+ @TranslateSwitch = translateswitch
22401
+ @TranslateDstLanguage = translatedstlanguage
22402
+ @CreateTime = createtime
22403
+ @UpdateTime = updatetime
22404
+ @AliasName = aliasname
22405
+ end
22406
+
22407
+ def deserialize(params)
22408
+ @Definition = params['Definition']
22409
+ @Name = params['Name']
22410
+ @Comment = params['Comment']
22411
+ @Type = params['Type']
22412
+ unless params['AsrHotWordsConfigure'].nil?
22413
+ @AsrHotWordsConfigure = AsrHotWordsConfigure.new
22414
+ @AsrHotWordsConfigure.deserialize(params['AsrHotWordsConfigure'])
22415
+ end
22416
+ @AsrHotWordsLibraryName = params['AsrHotWordsLibraryName']
22417
+ @VideoSrcLanguage = params['VideoSrcLanguage']
22418
+ @SubtitleFormat = params['SubtitleFormat']
22419
+ @SubtitleType = params['SubtitleType']
22420
+ @TranslateSwitch = params['TranslateSwitch']
22421
+ @TranslateDstLanguage = params['TranslateDstLanguage']
22422
+ @CreateTime = params['CreateTime']
22423
+ @UpdateTime = params['UpdateTime']
22424
+ @AliasName = params['AliasName']
22425
+ end
22426
+ end
22427
+
22428
+ # 智能字幕结果。
22429
+ class SmartSubtitlesResult < TencentCloud::Common::AbstractModel
22430
+ # @param Type: 任务的类型,取值范围:
22431
+ # <li>AsrFullTextRecognition:语音全文识别,</li>
22432
+ # <li>TransTextRecognition:语音翻译。</li>
22433
+ # @type Type: String
22434
+ # @param AsrFullTextTask: 语音全文识别结果,当 Type 为
22435
+ # AsrFullTextRecognition 时有效。
22436
+ # 注意:此字段可能返回 null,表示取不到有效值。
22437
+ # @type AsrFullTextTask: :class:`Tencentcloud::Mps.v20190612.models.SmartSubtitleTaskAsrFullTextResult`
22438
+ # @param TransTextTask: 翻译结果,当 Type 为
22439
+
22440
+ # TransTextRecognition 时有效。
22441
+ # 注意:此字段可能返回 null,表示取不到有效值。
22442
+ # @type TransTextTask: :class:`Tencentcloud::Mps.v20190612.models.SmartSubtitleTaskTransTextResult`
22443
+
22444
+ attr_accessor :Type, :AsrFullTextTask, :TransTextTask
22445
+
22446
+ def initialize(type=nil, asrfulltexttask=nil, transtexttask=nil)
22447
+ @Type = type
22448
+ @AsrFullTextTask = asrfulltexttask
22449
+ @TransTextTask = transtexttask
22450
+ end
22451
+
22452
+ def deserialize(params)
22453
+ @Type = params['Type']
22454
+ unless params['AsrFullTextTask'].nil?
22455
+ @AsrFullTextTask = SmartSubtitleTaskAsrFullTextResult.new
22456
+ @AsrFullTextTask.deserialize(params['AsrFullTextTask'])
22457
+ end
22458
+ unless params['TransTextTask'].nil?
22459
+ @TransTextTask = SmartSubtitleTaskTransTextResult.new
22460
+ @TransTextTask.deserialize(params['TransTextTask'])
22461
+ end
22462
+ end
22463
+ end
22464
+
22465
+ # 智能字幕输入结构体
22466
+ class SmartSubtitlesTaskInput < TencentCloud::Common::AbstractModel
22467
+ # @param Definition: 智能字幕模板 ID 。
22468
+ # @type Definition: Integer
22469
+ # @param UserExtPara: 用户扩展字段,一般场景不用填。
22470
+ # @type UserExtPara: String
22471
+ # @param RawParameter: 智能字幕自定义参数,当 Definition 填 0 时有效。 该参数用于高度定制场景,建议您优先使用 Definition 指定智能字幕参数。
22472
+ # 注意:此字段可能返回 null,表示取不到有效值。
22473
+ # @type RawParameter: :class:`Tencentcloud::Mps.v20190612.models.RawSmartSubtitleParameter`
22474
+
22475
+ attr_accessor :Definition, :UserExtPara, :RawParameter
22476
+
22477
+ def initialize(definition=nil, userextpara=nil, rawparameter=nil)
22478
+ @Definition = definition
22479
+ @UserExtPara = userextpara
22480
+ @RawParameter = rawparameter
22481
+ end
22482
+
22483
+ def deserialize(params)
22484
+ @Definition = params['Definition']
22485
+ @UserExtPara = params['UserExtPara']
22486
+ unless params['RawParameter'].nil?
22487
+ @RawParameter = RawSmartSubtitleParameter.new
22488
+ @RawParameter.deserialize(params['RawParameter'])
22489
+ end
22490
+ end
22491
+ end
22492
+
21060
22493
  # 对视频按指定时间点截图任务输入参数类型
21061
22494
  class SnapshotByTimeOffsetTaskInput < TencentCloud::Common::AbstractModel
21062
22495
  # @param Definition: 指定时间点截图模板 ID。
@@ -23520,10 +24953,13 @@ module TencentCloud
23520
24953
  # @param AiQualityControlTaskResult: 媒体质检任务的执行状态与结果。
23521
24954
  # 注意:此字段可能返回 null,表示取不到有效值。
23522
24955
  # @type AiQualityControlTaskResult: :class:`Tencentcloud::Mps.v20190612.models.ScheduleQualityControlTaskResult`
24956
+ # @param SmartSubtitlesTaskResult: 智能字幕任务的执行结果
24957
+ # 注意:此字段可能返回 null,表示取不到有效值。
24958
+ # @type SmartSubtitlesTaskResult: Array
23523
24959
 
23524
- attr_accessor :TaskId, :Status, :ErrCode, :Message, :InputInfo, :MetaData, :MediaProcessResultSet, :AiContentReviewResultSet, :AiAnalysisResultSet, :AiRecognitionResultSet, :AiQualityControlTaskResult
24960
+ attr_accessor :TaskId, :Status, :ErrCode, :Message, :InputInfo, :MetaData, :MediaProcessResultSet, :AiContentReviewResultSet, :AiAnalysisResultSet, :AiRecognitionResultSet, :AiQualityControlTaskResult, :SmartSubtitlesTaskResult
23525
24961
 
23526
- def initialize(taskid=nil, status=nil, errcode=nil, message=nil, inputinfo=nil, metadata=nil, mediaprocessresultset=nil, aicontentreviewresultset=nil, aianalysisresultset=nil, airecognitionresultset=nil, aiqualitycontroltaskresult=nil)
24962
+ def initialize(taskid=nil, status=nil, errcode=nil, message=nil, inputinfo=nil, metadata=nil, mediaprocessresultset=nil, aicontentreviewresultset=nil, aianalysisresultset=nil, airecognitionresultset=nil, aiqualitycontroltaskresult=nil, smartsubtitlestaskresult=nil)
23527
24963
  @TaskId = taskid
23528
24964
  @Status = status
23529
24965
  @ErrCode = errcode
@@ -23535,6 +24971,7 @@ module TencentCloud
23535
24971
  @AiAnalysisResultSet = aianalysisresultset
23536
24972
  @AiRecognitionResultSet = airecognitionresultset
23537
24973
  @AiQualityControlTaskResult = aiqualitycontroltaskresult
24974
+ @SmartSubtitlesTaskResult = smartsubtitlestaskresult
23538
24975
  end
23539
24976
 
23540
24977
  def deserialize(params)
@@ -23586,6 +25023,14 @@ module TencentCloud
23586
25023
  @AiQualityControlTaskResult = ScheduleQualityControlTaskResult.new
23587
25024
  @AiQualityControlTaskResult.deserialize(params['AiQualityControlTaskResult'])
23588
25025
  end
25026
+ unless params['SmartSubtitlesTaskResult'].nil?
25027
+ @SmartSubtitlesTaskResult = []
25028
+ params['SmartSubtitlesTaskResult'].each do |i|
25029
+ smartsubtitlesresult_tmp = SmartSubtitlesResult.new
25030
+ smartsubtitlesresult_tmp.deserialize(i)
25031
+ @SmartSubtitlesTaskResult << smartsubtitlesresult_tmp
25032
+ end
25033
+ end
23589
25034
  end
23590
25035
  end
23591
25036