tencentcloud-sdk-mps 3.0.585 → 3.0.587

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: 2c91e25c552210c6702c707f8012f46d15a8b866
4
- data.tar.gz: 5c21da1b9bf6cffe94407bebbb26471579384070
3
+ metadata.gz: f322f0a042b36cbcd07cdd275141857c9f701e95
4
+ data.tar.gz: 36bfa46be7236870e17c57e9be541565fb59dae7
5
5
  SHA512:
6
- metadata.gz: 5fa65ff1c7fb1df3bdfd3f6f10ce3ccaed252448b7af6a78fe9c3dc1e5e288f278a64480b95b7a802b118cf9102dada25494fe55d649cdb2d94f50bd91063ade
7
- data.tar.gz: 6039f2e7c7e3d1a51b87c7afb5d39cf62a5e12e7e81883ed044eb9f49cbd5727adbcdb998338885912b25e347ddd3d12a62123cec52c5bab8f0f2ec58f4b59c2
6
+ metadata.gz: e3e032776d7c13cea448d3a6051ff06ea9e3f980b640f72e13c125d20bf10eb1f2736f8e29bf6d63a729d6d9a6211b00ec9849229629eb6f1980605a1e699503
7
+ data.tar.gz: 6473de53ee21b092a85038a4fdacf31e00bf79505bbfd885892f70a03104304a0f493cffc72020095ccc11e8b0f680760e5d46acead44d6b0df2e463b5638a87
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.585
1
+ 3.0.587
@@ -304,6 +304,30 @@ module TencentCloud
304
304
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
305
305
  end
306
306
 
307
+ # 创建媒体传输的输入配置。
308
+
309
+ # @param request: Request instance for CreateStreamLinkInput.
310
+ # @type request: :class:`Tencentcloud::mps::V20190612::CreateStreamLinkInputRequest`
311
+ # @rtype: :class:`Tencentcloud::mps::V20190612::CreateStreamLinkInputResponse`
312
+ def CreateStreamLinkInput(request)
313
+ body = send_request('CreateStreamLinkInput', request.serialize)
314
+ response = JSON.parse(body)
315
+ if response['Response'].key?('Error') == false
316
+ model = CreateStreamLinkInputResponse.new
317
+ model.deserialize(response['Response'])
318
+ model
319
+ else
320
+ code = response['Response']['Error']['Code']
321
+ message = response['Response']['Error']['Message']
322
+ reqid = response['Response']['RequestId']
323
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
324
+ end
325
+ rescue TencentCloud::Common::TencentCloudSDKException => e
326
+ raise e
327
+ rescue StandardError => e
328
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
329
+ end
330
+
307
331
  # 创建媒体传输流的输出信息。
308
332
 
309
333
  # @param request: Request instance for CreateStreamLinkOutputInfo.
@@ -5313,6 +5313,56 @@ module TencentCloud
5313
5313
  end
5314
5314
  end
5315
5315
 
5316
+ # CreateStreamLinkInput请求参数结构体
5317
+ class CreateStreamLinkInputRequest < TencentCloud::Common::AbstractModel
5318
+ # @param FlowId: 媒体传输流ID。
5319
+ # @type FlowId: String
5320
+ # @param InputGroup: 流的输入组。
5321
+ # @type InputGroup: Array
5322
+
5323
+ attr_accessor :FlowId, :InputGroup
5324
+
5325
+ def initialize(flowid=nil, inputgroup=nil)
5326
+ @FlowId = flowid
5327
+ @InputGroup = inputgroup
5328
+ end
5329
+
5330
+ def deserialize(params)
5331
+ @FlowId = params['FlowId']
5332
+ unless params['InputGroup'].nil?
5333
+ @InputGroup = []
5334
+ params['InputGroup'].each do |i|
5335
+ createinput_tmp = CreateInput.new
5336
+ createinput_tmp.deserialize(i)
5337
+ @InputGroup << createinput_tmp
5338
+ end
5339
+ end
5340
+ end
5341
+ end
5342
+
5343
+ # CreateStreamLinkInput返回参数结构体
5344
+ class CreateStreamLinkInputResponse < TencentCloud::Common::AbstractModel
5345
+ # @param Info: 创建的Flow信息。
5346
+ # @type Info: :class:`Tencentcloud::Mps.v20190612.models.DescribeFlow`
5347
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5348
+ # @type RequestId: String
5349
+
5350
+ attr_accessor :Info, :RequestId
5351
+
5352
+ def initialize(info=nil, requestid=nil)
5353
+ @Info = info
5354
+ @RequestId = requestid
5355
+ end
5356
+
5357
+ def deserialize(params)
5358
+ unless params['Info'].nil?
5359
+ @Info = DescribeFlow.new
5360
+ @Info.deserialize(params['Info'])
5361
+ end
5362
+ @RequestId = params['RequestId']
5363
+ end
5364
+ end
5365
+
5316
5366
  # CreateStreamLinkOutputInfo请求参数结构体
5317
5367
  class CreateStreamLinkOutputInfoRequest < TencentCloud::Common::AbstractModel
5318
5368
  # @param FlowId: 传输流Id。
@@ -14530,14 +14580,16 @@ module TencentCloud
14530
14580
  # @type AiRecognitionTask: :class:`Tencentcloud::Mps.v20190612.models.AiRecognitionTaskInput`
14531
14581
  # @param AiAnalysisTask: 视频内容分析类型任务参数。
14532
14582
  # @type AiAnalysisTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskInput`
14583
+ # @param AiQualityControlTask: 视频内容质检类型任务参数。
14584
+ # @type AiQualityControlTask: :class:`Tencentcloud::Mps.v20190612.models.AiQualityControlTaskInput`
14533
14585
  # @param SessionId: 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
14534
14586
  # @type SessionId: String
14535
14587
  # @param SessionContext: 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
14536
14588
  # @type SessionContext: String
14537
14589
 
14538
- attr_accessor :Url, :TaskNotifyConfig, :OutputStorage, :OutputDir, :AiContentReviewTask, :AiRecognitionTask, :AiAnalysisTask, :SessionId, :SessionContext
14590
+ attr_accessor :Url, :TaskNotifyConfig, :OutputStorage, :OutputDir, :AiContentReviewTask, :AiRecognitionTask, :AiAnalysisTask, :AiQualityControlTask, :SessionId, :SessionContext
14539
14591
 
14540
- def initialize(url=nil, tasknotifyconfig=nil, outputstorage=nil, outputdir=nil, aicontentreviewtask=nil, airecognitiontask=nil, aianalysistask=nil, sessionid=nil, sessioncontext=nil)
14592
+ def initialize(url=nil, tasknotifyconfig=nil, outputstorage=nil, outputdir=nil, aicontentreviewtask=nil, airecognitiontask=nil, aianalysistask=nil, aiqualitycontroltask=nil, sessionid=nil, sessioncontext=nil)
14541
14593
  @Url = url
14542
14594
  @TaskNotifyConfig = tasknotifyconfig
14543
14595
  @OutputStorage = outputstorage
@@ -14545,6 +14597,7 @@ module TencentCloud
14545
14597
  @AiContentReviewTask = aicontentreviewtask
14546
14598
  @AiRecognitionTask = airecognitiontask
14547
14599
  @AiAnalysisTask = aianalysistask
14600
+ @AiQualityControlTask = aiqualitycontroltask
14548
14601
  @SessionId = sessionid
14549
14602
  @SessionContext = sessioncontext
14550
14603
  end
@@ -14572,6 +14625,10 @@ module TencentCloud
14572
14625
  @AiAnalysisTask = AiAnalysisTaskInput.new
14573
14626
  @AiAnalysisTask.deserialize(params['AiAnalysisTask'])
14574
14627
  end
14628
+ unless params['AiQualityControlTask'].nil?
14629
+ @AiQualityControlTask = AiQualityControlTaskInput.new
14630
+ @AiQualityControlTask.deserialize(params['AiQualityControlTask'])
14631
+ end
14575
14632
  @SessionId = params['SessionId']
14576
14633
  @SessionContext = params['SessionContext']
14577
14634
  end
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.585
4
+ version: 3.0.587
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-06 00:00:00.000000000 Z
11
+ date: 2023-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common