tencentcloud-sdk-mps 3.0.584 → 3.0.586

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: 0d6ba085eec24e2e4180b0037ecab2a3f2edaec6
4
- data.tar.gz: 840b991409e8b79c2e9ad30329a9e3bb9c7dc6f1
3
+ metadata.gz: 2211c004fbea67621eccff8ecdbbd7dfb8c0080a
4
+ data.tar.gz: 35817f4720b07ca63d3723fbad348ab3532d8c28
5
5
  SHA512:
6
- metadata.gz: fa17ccb5604c69d8e82921a3b6ff44aadff0b61cb472479804bcb0a699a51ca221f36a60298eb6797064980aa0c1e1aba6e7ee88fe5e5488df825e2cb1cbf4b5
7
- data.tar.gz: aa1b2d8b81b5ddf5a2650a59e4efb603f9e0e5ef314e97e0710fa6d0c9842301d255cd130c6ca04b2a892c011289d936e1d35994f73400a42d37d88b2f798e1c
6
+ metadata.gz: 8f5d707ed6671d6f103eb14fbf9a568fee968dd0896a6881b3ee60ee92052a2f3403ae7f357324a28fc9ca2698869b500c5082265549585c23e4b9610a95a6ab
7
+ data.tar.gz: dca71b9c01958418e017d2abe3a9377fd7f4ff6570ecd919015c41aa94087d559e575370f0f66f37bf09e184628ef1edceb57be4307af9e40bcb554ab1b4f7de
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.584
1
+ 3.0.586
@@ -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.584
4
+ version: 3.0.586
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-05 00:00:00.000000000 Z
11
+ date: 2023-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common