tencentcloud-sdk-live 3.0.408 → 3.0.409

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: 22779660335344fb0230579dd1efe916136bf2fa
4
- data.tar.gz: fd0d360cee7eb2ae247a768cfea20c961a2c9b8b
3
+ metadata.gz: ff760995bc31b45e45cfcee8d8956f1fe5f2bb43
4
+ data.tar.gz: 34869afe8cd3c0109f5f3c594efd5b875e618cbc
5
5
  SHA512:
6
- metadata.gz: c7e1f311b85f2b8b1bad4fcdd1ddb8fad5ae4968fd269d0a9c87d0fe8ad79f051dd2cb37c7a9205d7f8e02a5fb2d170dad50bbda3571b21437c17937e6404af6
7
- data.tar.gz: ce6b7d52da98348c1247a0d880b7abd73377abc0f769d31ced28b5d3d342bc328778586a2ca0316e8fe64068342b5d1b32016f5d8b15c8c02db51ea50ae581c4
6
+ metadata.gz: b848402ccc3fc3c474bcc701431cc9f744be2c75c92c55681859d6e54925a66df2a830dbb93f47ab34af3d84c0e586d853cc9bc55f1862817b182d565336fb7a
7
+ data.tar.gz: 32cf81c96a4443d8be34f9b2b0397d4a14c05884aa380e5708ec4be5c59d5952ebf95db45d29e69d2c3792c39564ea266f239de8e2c98c5335fc18197e69128e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.408
1
+ 3.0.409
@@ -2380,6 +2380,30 @@ module TencentCloud
2380
2380
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2381
2381
  end
2382
2382
 
2383
+ # 查询转码任务数。
2384
+
2385
+ # @param request: Request instance for DescribeTranscodeTaskNum.
2386
+ # @type request: :class:`Tencentcloud::live::V20180801::DescribeTranscodeTaskNumRequest`
2387
+ # @rtype: :class:`Tencentcloud::live::V20180801::DescribeTranscodeTaskNumResponse`
2388
+ def DescribeTranscodeTaskNum(request)
2389
+ body = send_request('DescribeTranscodeTaskNum', request.serialize)
2390
+ response = JSON.parse(body)
2391
+ if response['Response'].key?('Error') == false
2392
+ model = DescribeTranscodeTaskNumResponse.new
2393
+ model.deserialize(response['Response'])
2394
+ model
2395
+ else
2396
+ code = response['Response']['Error']['Code']
2397
+ message = response['Response']['Error']['Message']
2398
+ reqid = response['Response']['RequestId']
2399
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2400
+ end
2401
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2402
+ raise e
2403
+ rescue StandardError => e
2404
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2405
+ end
2406
+
2383
2407
  # 直播上行路数查询
2384
2408
 
2385
2409
  # @param request: Request instance for DescribeUploadStreamNums.
@@ -6270,6 +6270,57 @@ module TencentCloud
6270
6270
  end
6271
6271
  end
6272
6272
 
6273
+ # DescribeTranscodeTaskNum请求参数结构体
6274
+ class DescribeTranscodeTaskNumRequest < TencentCloud::Common::AbstractModel
6275
+ # @param StartTime: 起始时间,格式:yyyy-mm-dd HH:MM:SS。
6276
+ # @type StartTime: String
6277
+ # @param EndTime: 结束时间,格式:yyyy-mm-dd HH:MM:SS。
6278
+ # @type EndTime: String
6279
+ # @param PushDomains: 推流域名列表,不填表示总体数据。
6280
+ # @type PushDomains: Array
6281
+
6282
+ attr_accessor :StartTime, :EndTime, :PushDomains
6283
+
6284
+ def initialize(starttime=nil, endtime=nil, pushdomains=nil)
6285
+ @StartTime = starttime
6286
+ @EndTime = endtime
6287
+ @PushDomains = pushdomains
6288
+ end
6289
+
6290
+ def deserialize(params)
6291
+ @StartTime = params['StartTime']
6292
+ @EndTime = params['EndTime']
6293
+ @PushDomains = params['PushDomains']
6294
+ end
6295
+ end
6296
+
6297
+ # DescribeTranscodeTaskNum返回参数结构体
6298
+ class DescribeTranscodeTaskNumResponse < TencentCloud::Common::AbstractModel
6299
+ # @param DataInfoList: 任务数列表。
6300
+ # @type DataInfoList: Array
6301
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6302
+ # @type RequestId: String
6303
+
6304
+ attr_accessor :DataInfoList, :RequestId
6305
+
6306
+ def initialize(datainfolist=nil, requestid=nil)
6307
+ @DataInfoList = datainfolist
6308
+ @RequestId = requestid
6309
+ end
6310
+
6311
+ def deserialize(params)
6312
+ unless params['DataInfoList'].nil?
6313
+ @DataInfoList = []
6314
+ params['DataInfoList'].each do |i|
6315
+ transcodetasknum_tmp = TranscodeTaskNum.new
6316
+ transcodetasknum_tmp.deserialize(i)
6317
+ @DataInfoList << transcodetasknum_tmp
6318
+ end
6319
+ end
6320
+ @RequestId = params['RequestId']
6321
+ end
6322
+ end
6323
+
6273
6324
  # DescribeUploadStreamNums请求参数结构体
6274
6325
  class DescribeUploadStreamNumsRequest < TencentCloud::Common::AbstractModel
6275
6326
  # @param StartTime: 起始时间点,格式为yyyy-mm-dd HH:MM:SS。
@@ -9736,6 +9787,30 @@ module TencentCloud
9736
9787
  end
9737
9788
  end
9738
9789
 
9790
+ # 转码任务数。
9791
+ class TranscodeTaskNum < TencentCloud::Common::AbstractModel
9792
+ # @param Time: 时间点。
9793
+ # @type Time: String
9794
+ # @param CodeRate: 码率。
9795
+ # @type CodeRate: Integer
9796
+ # @param Num: 任务数。
9797
+ # @type Num: Integer
9798
+
9799
+ attr_accessor :Time, :CodeRate, :Num
9800
+
9801
+ def initialize(time=nil, coderate=nil, num=nil)
9802
+ @Time = time
9803
+ @CodeRate = coderate
9804
+ @Num = num
9805
+ end
9806
+
9807
+ def deserialize(params)
9808
+ @Time = params['Time']
9809
+ @CodeRate = params['CodeRate']
9810
+ @Num = params['Num']
9811
+ end
9812
+ end
9813
+
9739
9814
  # 转码总量数据
9740
9815
  class TranscodeTotalInfo < TencentCloud::Common::AbstractModel
9741
9816
  # @param Time: 时间点,北京时间,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-live
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.408
4
+ version: 3.0.409
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-13 00:00:00.000000000 Z
11
+ date: 2022-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common