tencentcloud-sdk-mps 3.0.588 → 3.0.590

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e1b133a647f81f151fd420908cc225396080c020
4
- data.tar.gz: 46de50cb1f6ea8ddf8f27a9bded94a555302ed18
3
+ metadata.gz: 6dc68dcf2082298bbf6bbd86c72c8143c8d0c03c
4
+ data.tar.gz: e63542d0ad46758126b707cb45a28f5c27901040
5
5
  SHA512:
6
- metadata.gz: a1d9954faf12e896ab185e79ed3deda43a22ec82d71245283dfd596b97f00dd8bd16569b3e265657a6d31ae71bfd329d45a3858a5f6cb78fc0770cdc02e9df2c
7
- data.tar.gz: 7c8b362659474367773de40372b1a813f47feb4b6bf6574a87e1010931d19298f37c118e8f8552de04034095afba827e7efc0e4700b7e06c8ae18ddab169cfaf
6
+ metadata.gz: 8333f9871318ee894bf6a96a30a22e2c162e8a0308cb54870d87f05da71e53ff32326b40ce298250cc9e1c111389327d337a007ef0839e1cc6d4a12fd76950c3
7
+ data.tar.gz: c9239f523a8c52650fab652e4968efe04593056a0fe024f29796e65af2ecb148e92be3b6e6ee02653af1ca62d1078103f435b7fa23b396846af0464ba12185cb
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.588
1
+ 3.0.590
@@ -29,6 +29,78 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 批量删除媒体传输流。
33
+
34
+ # @param request: Request instance for BatchDeleteStreamLinkFlow.
35
+ # @type request: :class:`Tencentcloud::mps::V20190612::BatchDeleteStreamLinkFlowRequest`
36
+ # @rtype: :class:`Tencentcloud::mps::V20190612::BatchDeleteStreamLinkFlowResponse`
37
+ def BatchDeleteStreamLinkFlow(request)
38
+ body = send_request('BatchDeleteStreamLinkFlow', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = BatchDeleteStreamLinkFlowResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
56
+ # 批量启动媒体传输流。
57
+
58
+ # @param request: Request instance for BatchStartStreamLinkFlow.
59
+ # @type request: :class:`Tencentcloud::mps::V20190612::BatchStartStreamLinkFlowRequest`
60
+ # @rtype: :class:`Tencentcloud::mps::V20190612::BatchStartStreamLinkFlowResponse`
61
+ def BatchStartStreamLinkFlow(request)
62
+ body = send_request('BatchStartStreamLinkFlow', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = BatchStartStreamLinkFlowResponse.new
66
+ model.deserialize(response['Response'])
67
+ model
68
+ else
69
+ code = response['Response']['Error']['Code']
70
+ message = response['Response']['Error']['Message']
71
+ reqid = response['Response']['RequestId']
72
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
+ end
74
+ rescue TencentCloud::Common::TencentCloudSDKException => e
75
+ raise e
76
+ rescue StandardError => e
77
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
+ end
79
+
80
+ # 批量停止媒体传输流。
81
+
82
+ # @param request: Request instance for BatchStopStreamLinkFlow.
83
+ # @type request: :class:`Tencentcloud::mps::V20190612::BatchStopStreamLinkFlowRequest`
84
+ # @rtype: :class:`Tencentcloud::mps::V20190612::BatchStopStreamLinkFlowResponse`
85
+ def BatchStopStreamLinkFlow(request)
86
+ body = send_request('BatchStopStreamLinkFlow', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = BatchStopStreamLinkFlowResponse.new
90
+ model.deserialize(response['Response'])
91
+ model
92
+ else
93
+ code = response['Response']['Error']['Code']
94
+ message = response['Response']['Error']['Message']
95
+ reqid = response['Response']['RequestId']
96
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
97
+ end
98
+ rescue TencentCloud::Common::TencentCloudSDKException => e
99
+ raise e
100
+ rescue StandardError => e
101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
+ end
103
+
32
104
  # 创建用户自定义内容分析模板,数量上限:50。
33
105
 
34
106
  # @param request: Request instance for CreateAIAnalysisTemplate.
@@ -280,6 +352,30 @@ module TencentCloud
280
352
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
281
353
  end
282
354
 
355
+ # 创建媒体传输的事件Event。
356
+
357
+ # @param request: Request instance for CreateStreamLinkEvent.
358
+ # @type request: :class:`Tencentcloud::mps::V20190612::CreateStreamLinkEventRequest`
359
+ # @rtype: :class:`Tencentcloud::mps::V20190612::CreateStreamLinkEventResponse`
360
+ def CreateStreamLinkEvent(request)
361
+ body = send_request('CreateStreamLinkEvent', request.serialize)
362
+ response = JSON.parse(body)
363
+ if response['Response'].key?('Error') == false
364
+ model = CreateStreamLinkEventResponse.new
365
+ model.deserialize(response['Response'])
366
+ model
367
+ else
368
+ code = response['Response']['Error']['Code']
369
+ message = response['Response']['Error']['Message']
370
+ reqid = response['Response']['RequestId']
371
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
372
+ end
373
+ rescue TencentCloud::Common::TencentCloudSDKException => e
374
+ raise e
375
+ rescue StandardError => e
376
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
377
+ end
378
+
283
379
  # 创建媒体传输的传输流配置。
284
380
 
285
381
  # @param request: Request instance for CreateStreamLinkFlow.
@@ -701,6 +797,30 @@ module TencentCloud
701
797
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
702
798
  end
703
799
 
800
+ # 删除媒体传输的事件配置。
801
+
802
+ # @param request: Request instance for DeleteStreamLinkEvent.
803
+ # @type request: :class:`Tencentcloud::mps::V20190612::DeleteStreamLinkEventRequest`
804
+ # @rtype: :class:`Tencentcloud::mps::V20190612::DeleteStreamLinkEventResponse`
805
+ def DeleteStreamLinkEvent(request)
806
+ body = send_request('DeleteStreamLinkEvent', request.serialize)
807
+ response = JSON.parse(body)
808
+ if response['Response'].key?('Error') == false
809
+ model = DeleteStreamLinkEventResponse.new
810
+ model.deserialize(response['Response'])
811
+ model
812
+ else
813
+ code = response['Response']['Error']['Code']
814
+ message = response['Response']['Error']['Message']
815
+ reqid = response['Response']['RequestId']
816
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
817
+ end
818
+ rescue TencentCloud::Common::TencentCloudSDKException => e
819
+ raise e
820
+ rescue StandardError => e
821
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
822
+ end
823
+
704
824
  # 删除媒体传输的传输流配置。
705
825
 
706
826
  # @param request: Request instance for DeleteStreamLinkFlow.
@@ -1133,6 +1253,78 @@ module TencentCloud
1133
1253
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1134
1254
  end
1135
1255
 
1256
+ # 查询媒体传输事件的配置信息。
1257
+
1258
+ # @param request: Request instance for DescribeStreamLinkEvent.
1259
+ # @type request: :class:`Tencentcloud::mps::V20190612::DescribeStreamLinkEventRequest`
1260
+ # @rtype: :class:`Tencentcloud::mps::V20190612::DescribeStreamLinkEventResponse`
1261
+ def DescribeStreamLinkEvent(request)
1262
+ body = send_request('DescribeStreamLinkEvent', request.serialize)
1263
+ response = JSON.parse(body)
1264
+ if response['Response'].key?('Error') == false
1265
+ model = DescribeStreamLinkEventResponse.new
1266
+ model.deserialize(response['Response'])
1267
+ model
1268
+ else
1269
+ code = response['Response']['Error']['Code']
1270
+ message = response['Response']['Error']['Message']
1271
+ reqid = response['Response']['RequestId']
1272
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1273
+ end
1274
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1275
+ raise e
1276
+ rescue StandardError => e
1277
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1278
+ end
1279
+
1280
+ # 查询媒体传输事件关联的所有媒体输入流的配置信息。
1281
+
1282
+ # @param request: Request instance for DescribeStreamLinkEventAttachedFlows.
1283
+ # @type request: :class:`Tencentcloud::mps::V20190612::DescribeStreamLinkEventAttachedFlowsRequest`
1284
+ # @rtype: :class:`Tencentcloud::mps::V20190612::DescribeStreamLinkEventAttachedFlowsResponse`
1285
+ def DescribeStreamLinkEventAttachedFlows(request)
1286
+ body = send_request('DescribeStreamLinkEventAttachedFlows', request.serialize)
1287
+ response = JSON.parse(body)
1288
+ if response['Response'].key?('Error') == false
1289
+ model = DescribeStreamLinkEventAttachedFlowsResponse.new
1290
+ model.deserialize(response['Response'])
1291
+ model
1292
+ else
1293
+ code = response['Response']['Error']['Code']
1294
+ message = response['Response']['Error']['Message']
1295
+ reqid = response['Response']['RequestId']
1296
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1297
+ end
1298
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1299
+ raise e
1300
+ rescue StandardError => e
1301
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1302
+ end
1303
+
1304
+ # 批量查询媒体传输事件的配置信息。
1305
+
1306
+ # @param request: Request instance for DescribeStreamLinkEvents.
1307
+ # @type request: :class:`Tencentcloud::mps::V20190612::DescribeStreamLinkEventsRequest`
1308
+ # @rtype: :class:`Tencentcloud::mps::V20190612::DescribeStreamLinkEventsResponse`
1309
+ def DescribeStreamLinkEvents(request)
1310
+ body = send_request('DescribeStreamLinkEvents', request.serialize)
1311
+ response = JSON.parse(body)
1312
+ if response['Response'].key?('Error') == false
1313
+ model = DescribeStreamLinkEventsResponse.new
1314
+ model.deserialize(response['Response'])
1315
+ model
1316
+ else
1317
+ code = response['Response']['Error']['Code']
1318
+ message = response['Response']['Error']['Message']
1319
+ reqid = response['Response']['RequestId']
1320
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1321
+ end
1322
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1323
+ raise e
1324
+ rescue StandardError => e
1325
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1326
+ end
1327
+
1136
1328
  # 查询媒体输入流的配置信息。
1137
1329
 
1138
1330
  # @param request: Request instance for DescribeStreamLinkFlow.
@@ -1885,6 +2077,30 @@ module TencentCloud
1885
2077
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1886
2078
  end
1887
2079
 
2080
+ # 修改媒体传输的事件配置信息。
2081
+
2082
+ # @param request: Request instance for ModifyStreamLinkEvent.
2083
+ # @type request: :class:`Tencentcloud::mps::V20190612::ModifyStreamLinkEventRequest`
2084
+ # @rtype: :class:`Tencentcloud::mps::V20190612::ModifyStreamLinkEventResponse`
2085
+ def ModifyStreamLinkEvent(request)
2086
+ body = send_request('ModifyStreamLinkEvent', request.serialize)
2087
+ response = JSON.parse(body)
2088
+ if response['Response'].key?('Error') == false
2089
+ model = ModifyStreamLinkEventResponse.new
2090
+ model.deserialize(response['Response'])
2091
+ model
2092
+ else
2093
+ code = response['Response']['Error']['Code']
2094
+ message = response['Response']['Error']['Message']
2095
+ reqid = response['Response']['RequestId']
2096
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2097
+ end
2098
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2099
+ raise e
2100
+ rescue StandardError => e
2101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2102
+ end
2103
+
1888
2104
  # 修改媒体传输的传输流配置信息。
1889
2105
 
1890
2106
  # @param request: Request instance for ModifyStreamLinkFlow.
@@ -3507,17 +3507,21 @@ module TencentCloud
3507
3507
  # @param SubtitleFormat: 生成的字幕文件格式,不填或者填空字符串表示不生成字幕文件,可选值:
3508
3508
  # <li>vtt:生成 WebVTT 字幕文件。</li>
3509
3509
  # @type SubtitleFormat: String
3510
+ # @param SourceLanguage: 视频源语言。
3511
+ # @type SourceLanguage: String
3510
3512
 
3511
- attr_accessor :Switch, :SubtitleFormat
3513
+ attr_accessor :Switch, :SubtitleFormat, :SourceLanguage
3512
3514
 
3513
- def initialize(switch=nil, subtitleformat=nil)
3515
+ def initialize(switch=nil, subtitleformat=nil, sourcelanguage=nil)
3514
3516
  @Switch = switch
3515
3517
  @SubtitleFormat = subtitleformat
3518
+ @SourceLanguage = sourcelanguage
3516
3519
  end
3517
3520
 
3518
3521
  def deserialize(params)
3519
3522
  @Switch = params['Switch']
3520
3523
  @SubtitleFormat = params['SubtitleFormat']
3524
+ @SourceLanguage = params['SourceLanguage']
3521
3525
  end
3522
3526
  end
3523
3527
 
@@ -3530,17 +3534,21 @@ module TencentCloud
3530
3534
  # @param SubtitleFormat: 生成的字幕文件格式,填空字符串表示不生成字幕文件,可选值:
3531
3535
  # <li>vtt:生成 WebVTT 字幕文件。</li>
3532
3536
  # @type SubtitleFormat: String
3537
+ # @param SourceLanguage: 视频源语言。
3538
+ # @type SourceLanguage: String
3533
3539
 
3534
- attr_accessor :Switch, :SubtitleFormat
3540
+ attr_accessor :Switch, :SubtitleFormat, :SourceLanguage
3535
3541
 
3536
- def initialize(switch=nil, subtitleformat=nil)
3542
+ def initialize(switch=nil, subtitleformat=nil, sourcelanguage=nil)
3537
3543
  @Switch = switch
3538
3544
  @SubtitleFormat = subtitleformat
3545
+ @SourceLanguage = sourcelanguage
3539
3546
  end
3540
3547
 
3541
3548
  def deserialize(params)
3542
3549
  @Switch = params['Switch']
3543
3550
  @SubtitleFormat = params['SubtitleFormat']
3551
+ @SourceLanguage = params['SourceLanguage']
3544
3552
  end
3545
3553
  end
3546
3554
 
@@ -3774,6 +3782,114 @@ module TencentCloud
3774
3782
  end
3775
3783
  end
3776
3784
 
3785
+ # BatchDeleteStreamLinkFlow请求参数结构体
3786
+ class BatchDeleteStreamLinkFlowRequest < TencentCloud::Common::AbstractModel
3787
+ # @param EventId: EventId。
3788
+ # @type EventId: String
3789
+ # @param FlowIds: Event关联的流Id数组,如果不传默认删除Event下面的所有媒体传输流。
3790
+ # @type FlowIds: Array
3791
+
3792
+ attr_accessor :EventId, :FlowIds
3793
+
3794
+ def initialize(eventid=nil, flowids=nil)
3795
+ @EventId = eventid
3796
+ @FlowIds = flowids
3797
+ end
3798
+
3799
+ def deserialize(params)
3800
+ @EventId = params['EventId']
3801
+ @FlowIds = params['FlowIds']
3802
+ end
3803
+ end
3804
+
3805
+ # BatchDeleteStreamLinkFlow返回参数结构体
3806
+ class BatchDeleteStreamLinkFlowResponse < TencentCloud::Common::AbstractModel
3807
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3808
+ # @type RequestId: String
3809
+
3810
+ attr_accessor :RequestId
3811
+
3812
+ def initialize(requestid=nil)
3813
+ @RequestId = requestid
3814
+ end
3815
+
3816
+ def deserialize(params)
3817
+ @RequestId = params['RequestId']
3818
+ end
3819
+ end
3820
+
3821
+ # BatchStartStreamLinkFlow请求参数结构体
3822
+ class BatchStartStreamLinkFlowRequest < TencentCloud::Common::AbstractModel
3823
+ # @param EventId: EventId。
3824
+ # @type EventId: String
3825
+ # @param FlowIds: Event关联的流Id数组,如果不传默认启动Event下面的所有媒体传输流。
3826
+ # @type FlowIds: Array
3827
+
3828
+ attr_accessor :EventId, :FlowIds
3829
+
3830
+ def initialize(eventid=nil, flowids=nil)
3831
+ @EventId = eventid
3832
+ @FlowIds = flowids
3833
+ end
3834
+
3835
+ def deserialize(params)
3836
+ @EventId = params['EventId']
3837
+ @FlowIds = params['FlowIds']
3838
+ end
3839
+ end
3840
+
3841
+ # BatchStartStreamLinkFlow返回参数结构体
3842
+ class BatchStartStreamLinkFlowResponse < TencentCloud::Common::AbstractModel
3843
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3844
+ # @type RequestId: String
3845
+
3846
+ attr_accessor :RequestId
3847
+
3848
+ def initialize(requestid=nil)
3849
+ @RequestId = requestid
3850
+ end
3851
+
3852
+ def deserialize(params)
3853
+ @RequestId = params['RequestId']
3854
+ end
3855
+ end
3856
+
3857
+ # BatchStopStreamLinkFlow请求参数结构体
3858
+ class BatchStopStreamLinkFlowRequest < TencentCloud::Common::AbstractModel
3859
+ # @param EventId: EventId。
3860
+ # @type EventId: String
3861
+ # @param FlowIds: 流Id,如果不传默认停止Event下所有的媒体传输流。
3862
+ # @type FlowIds: Array
3863
+
3864
+ attr_accessor :EventId, :FlowIds
3865
+
3866
+ def initialize(eventid=nil, flowids=nil)
3867
+ @EventId = eventid
3868
+ @FlowIds = flowids
3869
+ end
3870
+
3871
+ def deserialize(params)
3872
+ @EventId = params['EventId']
3873
+ @FlowIds = params['FlowIds']
3874
+ end
3875
+ end
3876
+
3877
+ # BatchStopStreamLinkFlow返回参数结构体
3878
+ class BatchStopStreamLinkFlowResponse < TencentCloud::Common::AbstractModel
3879
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3880
+ # @type RequestId: String
3881
+
3882
+ attr_accessor :RequestId
3883
+
3884
+ def initialize(requestid=nil)
3885
+ @RequestId = requestid
3886
+ end
3887
+
3888
+ def deserialize(params)
3889
+ @RequestId = params['RequestId']
3890
+ end
3891
+ end
3892
+
3777
3893
  # 智能分类任务控制参数
3778
3894
  class ClassificationConfigureInfo < TencentCloud::Common::AbstractModel
3779
3895
  # @param Switch: 智能分类任务开关,可选值:
@@ -4111,10 +4227,12 @@ module TencentCloud
4111
4227
  # @type AsrFullTextConfigure: :class:`Tencentcloud::Mps.v20190612.models.AsrFullTextConfigureInfo`
4112
4228
  # @param AsrWordsConfigure: 语音关键词识别控制参数。
4113
4229
  # @type AsrWordsConfigure: :class:`Tencentcloud::Mps.v20190612.models.AsrWordsConfigureInfo`
4230
+ # @param TranslateConfigure: 语音翻译控制参数。
4231
+ # @type TranslateConfigure: :class:`Tencentcloud::Mps.v20190612.models.TranslateConfigureInfo`
4114
4232
 
4115
- attr_accessor :Name, :Comment, :FaceConfigure, :OcrFullTextConfigure, :OcrWordsConfigure, :AsrFullTextConfigure, :AsrWordsConfigure
4233
+ attr_accessor :Name, :Comment, :FaceConfigure, :OcrFullTextConfigure, :OcrWordsConfigure, :AsrFullTextConfigure, :AsrWordsConfigure, :TranslateConfigure
4116
4234
 
4117
- def initialize(name=nil, comment=nil, faceconfigure=nil, ocrfulltextconfigure=nil, ocrwordsconfigure=nil, asrfulltextconfigure=nil, asrwordsconfigure=nil)
4235
+ def initialize(name=nil, comment=nil, faceconfigure=nil, ocrfulltextconfigure=nil, ocrwordsconfigure=nil, asrfulltextconfigure=nil, asrwordsconfigure=nil, translateconfigure=nil)
4118
4236
  @Name = name
4119
4237
  @Comment = comment
4120
4238
  @FaceConfigure = faceconfigure
@@ -4122,6 +4240,7 @@ module TencentCloud
4122
4240
  @OcrWordsConfigure = ocrwordsconfigure
4123
4241
  @AsrFullTextConfigure = asrfulltextconfigure
4124
4242
  @AsrWordsConfigure = asrwordsconfigure
4243
+ @TranslateConfigure = translateconfigure
4125
4244
  end
4126
4245
 
4127
4246
  def deserialize(params)
@@ -4147,6 +4266,10 @@ module TencentCloud
4147
4266
  @AsrWordsConfigure = AsrWordsConfigureInfo.new
4148
4267
  @AsrWordsConfigure.deserialize(params['AsrWordsConfigure'])
4149
4268
  end
4269
+ unless params['TranslateConfigure'].nil?
4270
+ @TranslateConfigure = TranslateConfigureInfo.new
4271
+ @TranslateConfigure.deserialize(params['TranslateConfigure'])
4272
+ end
4150
4273
  end
4151
4274
  end
4152
4275
 
@@ -5255,6 +5378,49 @@ module TencentCloud
5255
5378
  end
5256
5379
  end
5257
5380
 
5381
+ # CreateStreamLinkEvent请求参数结构体
5382
+ class CreateStreamLinkEventRequest < TencentCloud::Common::AbstractModel
5383
+ # @param EventName: 事件名称。
5384
+ # @type EventName: String
5385
+ # @param Description: 事件描述。
5386
+ # @type Description: String
5387
+
5388
+ attr_accessor :EventName, :Description
5389
+
5390
+ def initialize(eventname=nil, description=nil)
5391
+ @EventName = eventname
5392
+ @Description = description
5393
+ end
5394
+
5395
+ def deserialize(params)
5396
+ @EventName = params['EventName']
5397
+ @Description = params['Description']
5398
+ end
5399
+ end
5400
+
5401
+ # CreateStreamLinkEvent返回参数结构体
5402
+ class CreateStreamLinkEventResponse < TencentCloud::Common::AbstractModel
5403
+ # @param Info: 创建的Event信息。
5404
+ # @type Info: :class:`Tencentcloud::Mps.v20190612.models.DescribeEvent`
5405
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5406
+ # @type RequestId: String
5407
+
5408
+ attr_accessor :Info, :RequestId
5409
+
5410
+ def initialize(info=nil, requestid=nil)
5411
+ @Info = info
5412
+ @RequestId = requestid
5413
+ end
5414
+
5415
+ def deserialize(params)
5416
+ unless params['Info'].nil?
5417
+ @Info = DescribeEvent.new
5418
+ @Info.deserialize(params['Info'])
5419
+ end
5420
+ @RequestId = params['RequestId']
5421
+ end
5422
+ end
5423
+
5258
5424
  # CreateStreamLinkFlow请求参数结构体
5259
5425
  class CreateStreamLinkFlowRequest < TencentCloud::Common::AbstractModel
5260
5426
  # @param FlowName: 流名称。
@@ -6055,6 +6221,38 @@ module TencentCloud
6055
6221
  end
6056
6222
  end
6057
6223
 
6224
+ # DeleteStreamLinkEvent请求参数结构体
6225
+ class DeleteStreamLinkEventRequest < TencentCloud::Common::AbstractModel
6226
+ # @param EventId: 媒体传输事件Id,删除前需要保证该Event关联的所有Flow都已经删除。
6227
+ # @type EventId: String
6228
+
6229
+ attr_accessor :EventId
6230
+
6231
+ def initialize(eventid=nil)
6232
+ @EventId = eventid
6233
+ end
6234
+
6235
+ def deserialize(params)
6236
+ @EventId = params['EventId']
6237
+ end
6238
+ end
6239
+
6240
+ # DeleteStreamLinkEvent返回参数结构体
6241
+ class DeleteStreamLinkEventResponse < TencentCloud::Common::AbstractModel
6242
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6243
+ # @type RequestId: String
6244
+
6245
+ attr_accessor :RequestId
6246
+
6247
+ def initialize(requestid=nil)
6248
+ @RequestId = requestid
6249
+ end
6250
+
6251
+ def deserialize(params)
6252
+ @RequestId = params['RequestId']
6253
+ end
6254
+ end
6255
+
6058
6256
  # DeleteStreamLinkFlow请求参数结构体
6059
6257
  class DeleteStreamLinkFlowRequest < TencentCloud::Common::AbstractModel
6060
6258
  # @param FlowId: 传输流Id。
@@ -6556,6 +6754,52 @@ module TencentCloud
6556
6754
  end
6557
6755
  end
6558
6756
 
6757
+ # 查询Event的配置信息。
6758
+ class DescribeEvent < TencentCloud::Common::AbstractModel
6759
+ # @param EventName: Event的名称。
6760
+ # @type EventName: String
6761
+ # @param EventId: Event的Id,唯一标识一个event。
6762
+ # @type EventId: String
6763
+ # @param CreateTime: Event创建时间,格式为yyyy-MM-ddTHH:mm:ssZ。
6764
+ # @type CreateTime: String
6765
+ # @param Description: Event的描述。
6766
+ # @type Description: String
6767
+ # @param Status: Event的状态信息
6768
+ # 0:未运行
6769
+ # 1:运行中
6770
+ # @type Status: Integer
6771
+ # @param AttachedFlowGroup: Event关联的Flow列表。
6772
+ # 注意:此字段可能返回 null,表示取不到有效值。
6773
+ # @type AttachedFlowGroup: Array
6774
+
6775
+ attr_accessor :EventName, :EventId, :CreateTime, :Description, :Status, :AttachedFlowGroup
6776
+
6777
+ def initialize(eventname=nil, eventid=nil, createtime=nil, description=nil, status=nil, attachedflowgroup=nil)
6778
+ @EventName = eventname
6779
+ @EventId = eventid
6780
+ @CreateTime = createtime
6781
+ @Description = description
6782
+ @Status = status
6783
+ @AttachedFlowGroup = attachedflowgroup
6784
+ end
6785
+
6786
+ def deserialize(params)
6787
+ @EventName = params['EventName']
6788
+ @EventId = params['EventId']
6789
+ @CreateTime = params['CreateTime']
6790
+ @Description = params['Description']
6791
+ @Status = params['Status']
6792
+ unless params['AttachedFlowGroup'].nil?
6793
+ @AttachedFlowGroup = []
6794
+ params['AttachedFlowGroup'].each do |i|
6795
+ describeflowid_tmp = DescribeFlowId.new
6796
+ describeflowid_tmp.deserialize(i)
6797
+ @AttachedFlowGroup << describeflowid_tmp
6798
+ end
6799
+ end
6800
+ end
6801
+ end
6802
+
6559
6803
  # 查询Flow的配置信息。
6560
6804
  class DescribeFlow < TencentCloud::Common::AbstractModel
6561
6805
  # @param FlowId: 流Id。
@@ -6615,6 +6859,26 @@ module TencentCloud
6615
6859
  end
6616
6860
  end
6617
6861
 
6862
+ # Event管理的Flow列表
6863
+ class DescribeFlowId < TencentCloud::Common::AbstractModel
6864
+ # @param FlowId: FlowId,唯一标识一个flow。
6865
+ # @type FlowId: String
6866
+ # @param Region: flow所在的区域名称。
6867
+ # @type Region: String
6868
+
6869
+ attr_accessor :FlowId, :Region
6870
+
6871
+ def initialize(flowid=nil, region=nil)
6872
+ @FlowId = flowid
6873
+ @Region = region
6874
+ end
6875
+
6876
+ def deserialize(params)
6877
+ @FlowId = params['FlowId']
6878
+ @Region = params['Region']
6879
+ end
6880
+ end
6881
+
6618
6882
  # 查询输入的HLS配置信息。
6619
6883
  class DescribeHLSPullSourceAddress < TencentCloud::Common::AbstractModel
6620
6884
  # @param Url: HLS源站的Url地址。
@@ -7719,6 +7983,163 @@ module TencentCloud
7719
7983
  end
7720
7984
  end
7721
7985
 
7986
+ # DescribeStreamLinkEventAttachedFlows请求参数结构体
7987
+ class DescribeStreamLinkEventAttachedFlowsRequest < TencentCloud::Common::AbstractModel
7988
+ # @param EventId: EventId。
7989
+ # @type EventId: String
7990
+ # @param PageNum: 当前页数,默认1。
7991
+ # @type PageNum: Integer
7992
+ # @param PageSize: 每页大小,默认10。
7993
+ # @type PageSize: Integer
7994
+
7995
+ attr_accessor :EventId, :PageNum, :PageSize
7996
+
7997
+ def initialize(eventid=nil, pagenum=nil, pagesize=nil)
7998
+ @EventId = eventid
7999
+ @PageNum = pagenum
8000
+ @PageSize = pagesize
8001
+ end
8002
+
8003
+ def deserialize(params)
8004
+ @EventId = params['EventId']
8005
+ @PageNum = params['PageNum']
8006
+ @PageSize = params['PageSize']
8007
+ end
8008
+ end
8009
+
8010
+ # DescribeStreamLinkEventAttachedFlows返回参数结构体
8011
+ class DescribeStreamLinkEventAttachedFlowsResponse < TencentCloud::Common::AbstractModel
8012
+ # @param Infos: 流的配置信息列表。
8013
+ # @type Infos: Array
8014
+ # @param TotalNum: 总数量。
8015
+ # @type TotalNum: Integer
8016
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8017
+ # @type RequestId: String
8018
+
8019
+ attr_accessor :Infos, :TotalNum, :RequestId
8020
+
8021
+ def initialize(infos=nil, totalnum=nil, requestid=nil)
8022
+ @Infos = infos
8023
+ @TotalNum = totalnum
8024
+ @RequestId = requestid
8025
+ end
8026
+
8027
+ def deserialize(params)
8028
+ unless params['Infos'].nil?
8029
+ @Infos = []
8030
+ params['Infos'].each do |i|
8031
+ describeflow_tmp = DescribeFlow.new
8032
+ describeflow_tmp.deserialize(i)
8033
+ @Infos << describeflow_tmp
8034
+ end
8035
+ end
8036
+ @TotalNum = params['TotalNum']
8037
+ @RequestId = params['RequestId']
8038
+ end
8039
+ end
8040
+
8041
+ # DescribeStreamLinkEvent请求参数结构体
8042
+ class DescribeStreamLinkEventRequest < TencentCloud::Common::AbstractModel
8043
+ # @param EventId: 媒体传输事件ID。
8044
+ # @type EventId: String
8045
+
8046
+ attr_accessor :EventId
8047
+
8048
+ def initialize(eventid=nil)
8049
+ @EventId = eventid
8050
+ end
8051
+
8052
+ def deserialize(params)
8053
+ @EventId = params['EventId']
8054
+ end
8055
+ end
8056
+
8057
+ # DescribeStreamLinkEvent返回参数结构体
8058
+ class DescribeStreamLinkEventResponse < TencentCloud::Common::AbstractModel
8059
+ # @param Info: 媒体传输事件的配置信息。
8060
+ # @type Info: :class:`Tencentcloud::Mps.v20190612.models.DescribeEvent`
8061
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8062
+ # @type RequestId: String
8063
+
8064
+ attr_accessor :Info, :RequestId
8065
+
8066
+ def initialize(info=nil, requestid=nil)
8067
+ @Info = info
8068
+ @RequestId = requestid
8069
+ end
8070
+
8071
+ def deserialize(params)
8072
+ unless params['Info'].nil?
8073
+ @Info = DescribeEvent.new
8074
+ @Info.deserialize(params['Info'])
8075
+ end
8076
+ @RequestId = params['RequestId']
8077
+ end
8078
+ end
8079
+
8080
+ # DescribeStreamLinkEvents请求参数结构体
8081
+ class DescribeStreamLinkEventsRequest < TencentCloud::Common::AbstractModel
8082
+ # @param PageNum: 当前页数,默认1。
8083
+ # @type PageNum: Integer
8084
+ # @param PageSize: 每页大小,默认10。
8085
+ # @type PageSize: Integer
8086
+
8087
+ attr_accessor :PageNum, :PageSize
8088
+
8089
+ def initialize(pagenum=nil, pagesize=nil)
8090
+ @PageNum = pagenum
8091
+ @PageSize = pagesize
8092
+ end
8093
+
8094
+ def deserialize(params)
8095
+ @PageNum = params['PageNum']
8096
+ @PageSize = params['PageSize']
8097
+ end
8098
+ end
8099
+
8100
+ # DescribeStreamLinkEvents返回参数结构体
8101
+ class DescribeStreamLinkEventsResponse < TencentCloud::Common::AbstractModel
8102
+ # @param Infos: 媒体传输事件的配置信息列表。
8103
+ # @type Infos: Array
8104
+ # @param PageNum: 当前页数。
8105
+ # @type PageNum: Integer
8106
+ # @param PageSize: 每页大小。
8107
+ # @type PageSize: Integer
8108
+ # @param TotalNum: 总数量。
8109
+ # @type TotalNum: Integer
8110
+ # @param TotalPage: 总页数。
8111
+ # @type TotalPage: Integer
8112
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8113
+ # @type RequestId: String
8114
+
8115
+ attr_accessor :Infos, :PageNum, :PageSize, :TotalNum, :TotalPage, :RequestId
8116
+
8117
+ def initialize(infos=nil, pagenum=nil, pagesize=nil, totalnum=nil, totalpage=nil, requestid=nil)
8118
+ @Infos = infos
8119
+ @PageNum = pagenum
8120
+ @PageSize = pagesize
8121
+ @TotalNum = totalnum
8122
+ @TotalPage = totalpage
8123
+ @RequestId = requestid
8124
+ end
8125
+
8126
+ def deserialize(params)
8127
+ unless params['Infos'].nil?
8128
+ @Infos = []
8129
+ params['Infos'].each do |i|
8130
+ describeevent_tmp = DescribeEvent.new
8131
+ describeevent_tmp.deserialize(i)
8132
+ @Infos << describeevent_tmp
8133
+ end
8134
+ end
8135
+ @PageNum = params['PageNum']
8136
+ @PageSize = params['PageSize']
8137
+ @TotalNum = params['TotalNum']
8138
+ @TotalPage = params['TotalPage']
8139
+ @RequestId = params['RequestId']
8140
+ end
8141
+ end
8142
+
7722
8143
  # DescribeStreamLinkFlowLogs请求参数结构体
7723
8144
  class DescribeStreamLinkFlowLogsRequest < TencentCloud::Common::AbstractModel
7724
8145
  # @param FlowId: 传输流Id。
@@ -8392,7 +8813,7 @@ module TencentCloud
8392
8813
  # <li>Video:视频格式,可以同时包含视频流和音频流的封装格式板;</li>
8393
8814
  # <li>PureAudio:纯音频格式,只能包含音频流的封装格式。</li>
8394
8815
  # @type ContainerType: String
8395
- # @param TEHDType: 极速高清过滤条件,用于过滤普通转码或极速高清转码模板,可选值:
8816
+ # @param TEHDType: (建议使用TranscodeType代替)极速高清过滤条件,用于过滤普通转码或极速高清转码模板,可选值:
8396
8817
  # <li>Common:普通转码模板;</li>
8397
8818
  # <li>TEHD:极速高清模板。</li>
8398
8819
  # @type TEHDType: String
@@ -8402,7 +8823,9 @@ module TencentCloud
8402
8823
  # @type Limit: Integer
8403
8824
  # @param TranscodeType: 模板类型(替换旧版本 TEHDType),可选值:
8404
8825
  # <li>Common:普通转码模板;</li>
8405
- # <li>TEHD:极速高清模板。</li>
8826
+ # <li>TEHD:视频极速高清,老的类型(建议使用 TEHD-100) 。</li>
8827
+ # <li>TEHD-100:视频极速高清</li>
8828
+ # <li>TEHD-200:音频极速高清</li>
8406
8829
  # <li>Enhance:音视频增强模板。</li>
8407
8830
  # 默认空,不限制类型。
8408
8831
  # @type TranscodeType: String
@@ -12457,10 +12880,12 @@ module TencentCloud
12457
12880
  # @type AsrFullTextConfigure: :class:`Tencentcloud::Mps.v20190612.models.AsrFullTextConfigureInfoForUpdate`
12458
12881
  # @param AsrWordsConfigure: 语音关键词识别控制参数。
12459
12882
  # @type AsrWordsConfigure: :class:`Tencentcloud::Mps.v20190612.models.AsrWordsConfigureInfoForUpdate`
12883
+ # @param TranslateConfigure: 语音翻译控制参数。
12884
+ # @type TranslateConfigure: :class:`Tencentcloud::Mps.v20190612.models.TranslateConfigureInfoForUpdate`
12460
12885
 
12461
- attr_accessor :Definition, :Name, :Comment, :FaceConfigure, :OcrFullTextConfigure, :OcrWordsConfigure, :AsrFullTextConfigure, :AsrWordsConfigure
12886
+ attr_accessor :Definition, :Name, :Comment, :FaceConfigure, :OcrFullTextConfigure, :OcrWordsConfigure, :AsrFullTextConfigure, :AsrWordsConfigure, :TranslateConfigure
12462
12887
 
12463
- def initialize(definition=nil, name=nil, comment=nil, faceconfigure=nil, ocrfulltextconfigure=nil, ocrwordsconfigure=nil, asrfulltextconfigure=nil, asrwordsconfigure=nil)
12888
+ def initialize(definition=nil, name=nil, comment=nil, faceconfigure=nil, ocrfulltextconfigure=nil, ocrwordsconfigure=nil, asrfulltextconfigure=nil, asrwordsconfigure=nil, translateconfigure=nil)
12464
12889
  @Definition = definition
12465
12890
  @Name = name
12466
12891
  @Comment = comment
@@ -12469,6 +12894,7 @@ module TencentCloud
12469
12894
  @OcrWordsConfigure = ocrwordsconfigure
12470
12895
  @AsrFullTextConfigure = asrfulltextconfigure
12471
12896
  @AsrWordsConfigure = asrwordsconfigure
12897
+ @TranslateConfigure = translateconfigure
12472
12898
  end
12473
12899
 
12474
12900
  def deserialize(params)
@@ -12495,6 +12921,10 @@ module TencentCloud
12495
12921
  @AsrWordsConfigure = AsrWordsConfigureInfoForUpdate.new
12496
12922
  @AsrWordsConfigure.deserialize(params['AsrWordsConfigure'])
12497
12923
  end
12924
+ unless params['TranslateConfigure'].nil?
12925
+ @TranslateConfigure = TranslateConfigureInfoForUpdate.new
12926
+ @TranslateConfigure.deserialize(params['TranslateConfigure'])
12927
+ end
12498
12928
  end
12499
12929
  end
12500
12930
 
@@ -13296,6 +13726,46 @@ module TencentCloud
13296
13726
  end
13297
13727
  end
13298
13728
 
13729
+ # ModifyStreamLinkEvent请求参数结构体
13730
+ class ModifyStreamLinkEventRequest < TencentCloud::Common::AbstractModel
13731
+ # @param EventId: 媒体传输事件Event Id。
13732
+ # @type EventId: String
13733
+ # @param EventName: 需要修改的事件名称。
13734
+ # @type EventName: String
13735
+ # @param Description: Event的描述信息。
13736
+ # @type Description: String
13737
+
13738
+ attr_accessor :EventId, :EventName, :Description
13739
+
13740
+ def initialize(eventid=nil, eventname=nil, description=nil)
13741
+ @EventId = eventid
13742
+ @EventName = eventname
13743
+ @Description = description
13744
+ end
13745
+
13746
+ def deserialize(params)
13747
+ @EventId = params['EventId']
13748
+ @EventName = params['EventName']
13749
+ @Description = params['Description']
13750
+ end
13751
+ end
13752
+
13753
+ # ModifyStreamLinkEvent返回参数结构体
13754
+ class ModifyStreamLinkEventResponse < TencentCloud::Common::AbstractModel
13755
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
13756
+ # @type RequestId: String
13757
+
13758
+ attr_accessor :RequestId
13759
+
13760
+ def initialize(requestid=nil)
13761
+ @RequestId = requestid
13762
+ end
13763
+
13764
+ def deserialize(params)
13765
+ @RequestId = params['RequestId']
13766
+ end
13767
+ end
13768
+
13299
13769
  # ModifyStreamLinkFlow请求参数结构体
13300
13770
  class ModifyStreamLinkFlowRequest < TencentCloud::Common::AbstractModel
13301
13771
  # @param FlowId: 流Id。
@@ -17145,6 +17615,58 @@ module TencentCloud
17145
17615
  end
17146
17616
  end
17147
17617
 
17618
+ # 语音翻译任务控制参数
17619
+ class TranslateConfigureInfo < TencentCloud::Common::AbstractModel
17620
+ # @param Switch: 语音翻译任务开关,可选值:
17621
+ # <li>ON:开启智能语音翻译任务;</li>
17622
+ # <li>OFF:关闭智能语音翻译任务。</li>
17623
+ # @type Switch: String
17624
+ # @param SourceLanguage: 视频源语言。
17625
+ # @type SourceLanguage: String
17626
+ # @param DestinationLanguage: 翻译目标语言。
17627
+ # @type DestinationLanguage: String
17628
+
17629
+ attr_accessor :Switch, :SourceLanguage, :DestinationLanguage
17630
+
17631
+ def initialize(switch=nil, sourcelanguage=nil, destinationlanguage=nil)
17632
+ @Switch = switch
17633
+ @SourceLanguage = sourcelanguage
17634
+ @DestinationLanguage = destinationlanguage
17635
+ end
17636
+
17637
+ def deserialize(params)
17638
+ @Switch = params['Switch']
17639
+ @SourceLanguage = params['SourceLanguage']
17640
+ @DestinationLanguage = params['DestinationLanguage']
17641
+ end
17642
+ end
17643
+
17644
+ # 语音翻译任务控制参数
17645
+ class TranslateConfigureInfoForUpdate < TencentCloud::Common::AbstractModel
17646
+ # @param Switch: 语音翻译任务开关,可选值:
17647
+ # <li>ON:开启智能语音翻译任务;</li>
17648
+ # <li>OFF:关闭智能语音翻译任务。</li>
17649
+ # @type Switch: String
17650
+ # @param SourceLanguage: 视频源语言。
17651
+ # @type SourceLanguage: String
17652
+ # @param DestinationLanguage: 翻译目标语言。
17653
+ # @type DestinationLanguage: String
17654
+
17655
+ attr_accessor :Switch, :SourceLanguage, :DestinationLanguage
17656
+
17657
+ def initialize(switch=nil, sourcelanguage=nil, destinationlanguage=nil)
17658
+ @Switch = switch
17659
+ @SourceLanguage = sourcelanguage
17660
+ @DestinationLanguage = destinationlanguage
17661
+ end
17662
+
17663
+ def deserialize(params)
17664
+ @Switch = params['Switch']
17665
+ @SourceLanguage = params['SourceLanguage']
17666
+ @DestinationLanguage = params['DestinationLanguage']
17667
+ end
17668
+ end
17669
+
17148
17670
  # 媒体处理 URL 对象信息。
17149
17671
  class UrlInputInfo < TencentCloud::Common::AbstractModel
17150
17672
  # @param Url: 视频的 URL。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mps
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.588
4
+ version: 3.0.590
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-08 00:00:00.000000000 Z
11
+ date: 2023-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common