tencentcloud-sdk-live 3.0.499 → 3.0.501

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7940126220274ebabe514ce27e1ca86f87810a26
4
- data.tar.gz: a8805b234a5cdda232d25659fafb5f409759a073
3
+ metadata.gz: 4db8901512f0ad5ecd7352b8de578820c251fef7
4
+ data.tar.gz: 31afa567f358072510727cecdbde02b16dad31db
5
5
  SHA512:
6
- metadata.gz: 3ce751bcee3eaddb41249fbd2283ee47f45a17132c01718e85c7ff8474a2f86254c60c0d19290404b1d52982f4ccffc1b8c700c96f7aa863a5118514b49b261d
7
- data.tar.gz: dbe548f7cd5c848c747ffbc87d18b98fefa7c73a385cfa884c47c33b764b6777a3a195dcf70c98cbb096cad909607373d7114d9485a9f50f295ed0e93ec949ba
6
+ metadata.gz: 1ce6688bd4914244e927b3772a7d7dd9c8da89bf37305096dd2a5f14b4a91d4b54e1c50ff563a4454bbd7b20ceaac2b935bff372d929cc0a4cb10b7733a35511
7
+ data.tar.gz: 48d519b64a0fa208e1a9ecf57f40ef76f036e23a79949559424d294c2af7a7d84959b6da69dc0d19e7337e2a130004f6bb04c68e590489cfa2f0eb848e023787
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.499
1
+ 3.0.501
@@ -2381,6 +2381,54 @@ module TencentCloud
2381
2381
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2382
2382
  end
2383
2383
 
2384
+ # 前提调用 DescribeTimeShiftStreamList 获得请求必要参数。查询指定范围内的时移流录制详情,最大支持24小时范围查询。
2385
+
2386
+ # @param request: Request instance for DescribeTimeShiftRecordDetail.
2387
+ # @type request: :class:`Tencentcloud::live::V20180801::DescribeTimeShiftRecordDetailRequest`
2388
+ # @rtype: :class:`Tencentcloud::live::V20180801::DescribeTimeShiftRecordDetailResponse`
2389
+ def DescribeTimeShiftRecordDetail(request)
2390
+ body = send_request('DescribeTimeShiftRecordDetail', request.serialize)
2391
+ response = JSON.parse(body)
2392
+ if response['Response'].key?('Error') == false
2393
+ model = DescribeTimeShiftRecordDetailResponse.new
2394
+ model.deserialize(response['Response'])
2395
+ model
2396
+ else
2397
+ code = response['Response']['Error']['Code']
2398
+ message = response['Response']['Error']['Message']
2399
+ reqid = response['Response']['RequestId']
2400
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2401
+ end
2402
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2403
+ raise e
2404
+ rescue StandardError => e
2405
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2406
+ end
2407
+
2408
+ # 查询某个时间范围内所有时移流列表。最大支持查询24小时内的数据。
2409
+
2410
+ # @param request: Request instance for DescribeTimeShiftStreamList.
2411
+ # @type request: :class:`Tencentcloud::live::V20180801::DescribeTimeShiftStreamListRequest`
2412
+ # @rtype: :class:`Tencentcloud::live::V20180801::DescribeTimeShiftStreamListResponse`
2413
+ def DescribeTimeShiftStreamList(request)
2414
+ body = send_request('DescribeTimeShiftStreamList', request.serialize)
2415
+ response = JSON.parse(body)
2416
+ if response['Response'].key?('Error') == false
2417
+ model = DescribeTimeShiftStreamListResponse.new
2418
+ model.deserialize(response['Response'])
2419
+ model
2420
+ else
2421
+ code = response['Response']['Error']['Code']
2422
+ message = response['Response']['Error']['Message']
2423
+ reqid = response['Response']['RequestId']
2424
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2425
+ end
2426
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2427
+ raise e
2428
+ rescue StandardError => e
2429
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2430
+ end
2431
+
2384
2432
  # 查询某段时间top n客户端ip汇总信息(暂支持top 1000)
2385
2433
 
2386
2434
  # @param request: Request instance for DescribeTopClientIpSumInfoList.
@@ -6265,6 +6265,147 @@ module TencentCloud
6265
6265
  end
6266
6266
  end
6267
6267
 
6268
+ # DescribeTimeShiftRecordDetail请求参数结构体
6269
+ class DescribeTimeShiftRecordDetailRequest < TencentCloud::Common::AbstractModel
6270
+ # @param Domain: 推流域名。
6271
+ # @type Domain: String
6272
+ # @param AppName: 推流路径。
6273
+ # @type AppName: String
6274
+ # @param StreamName: 流名称。
6275
+ # @type StreamName: String
6276
+ # @param StartTime: 查询范围起始时间,Unix 时间戳。
6277
+ # @type StartTime: Integer
6278
+ # @param EndTime: 查询范围终止时间,Unix 时间戳。
6279
+ # @type EndTime: Integer
6280
+ # @param DomainGroup: 推流域名所属组,没有域名组或者域名组为空字符串可不填。
6281
+ # @type DomainGroup: String
6282
+ # @param TransCodeId: 转码模板ID,转码模板ID为0可不填。
6283
+ # @type TransCodeId: Integer
6284
+
6285
+ attr_accessor :Domain, :AppName, :StreamName, :StartTime, :EndTime, :DomainGroup, :TransCodeId
6286
+
6287
+ def initialize(domain=nil, appname=nil, streamname=nil, starttime=nil, endtime=nil, domaingroup=nil, transcodeid=nil)
6288
+ @Domain = domain
6289
+ @AppName = appname
6290
+ @StreamName = streamname
6291
+ @StartTime = starttime
6292
+ @EndTime = endtime
6293
+ @DomainGroup = domaingroup
6294
+ @TransCodeId = transcodeid
6295
+ end
6296
+
6297
+ def deserialize(params)
6298
+ @Domain = params['Domain']
6299
+ @AppName = params['AppName']
6300
+ @StreamName = params['StreamName']
6301
+ @StartTime = params['StartTime']
6302
+ @EndTime = params['EndTime']
6303
+ @DomainGroup = params['DomainGroup']
6304
+ @TransCodeId = params['TransCodeId']
6305
+ end
6306
+ end
6307
+
6308
+ # DescribeTimeShiftRecordDetail返回参数结构体
6309
+ class DescribeTimeShiftRecordDetailResponse < TencentCloud::Common::AbstractModel
6310
+ # @param RecordList: 时移录制会话数组。
6311
+ # 注意:此字段可能返回 null,表示取不到有效值。
6312
+ # @type RecordList: Array
6313
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6314
+ # @type RequestId: String
6315
+
6316
+ attr_accessor :RecordList, :RequestId
6317
+
6318
+ def initialize(recordlist=nil, requestid=nil)
6319
+ @RecordList = recordlist
6320
+ @RequestId = requestid
6321
+ end
6322
+
6323
+ def deserialize(params)
6324
+ unless params['RecordList'].nil?
6325
+ @RecordList = []
6326
+ params['RecordList'].each do |i|
6327
+ timeshiftrecord_tmp = TimeShiftRecord.new
6328
+ timeshiftrecord_tmp.deserialize(i)
6329
+ @RecordList << timeshiftrecord_tmp
6330
+ end
6331
+ end
6332
+ @RequestId = params['RequestId']
6333
+ end
6334
+ end
6335
+
6336
+ # DescribeTimeShiftStreamList请求参数结构体
6337
+ class DescribeTimeShiftStreamListRequest < TencentCloud::Common::AbstractModel
6338
+ # @param StartTime: 查询范围起始时间,Unix 时间戳。
6339
+ # @type StartTime: Integer
6340
+ # @param EndTime: 查询范围结束时间,Unix 时间戳。
6341
+ # @type EndTime: Integer
6342
+ # @param StreamName: 流名称。
6343
+ # @type StreamName: String
6344
+ # @param Domain: 推流域名。
6345
+ # @type Domain: String
6346
+ # @param DomainGroup: 推流域名所属域名组。
6347
+ # @type DomainGroup: String
6348
+ # @param PageSize: 用户指定要返回的最大结果数,取值范围[0,100],不指定或者指定为0时,API
6349
+ # 默认值为100。指定超过100时,API 强制使用100。指定值为负数时,接口返回错误。
6350
+ # @type PageSize: Integer
6351
+ # @param PageNum: 指定拉取的页码,不传时默认为1。
6352
+ # @type PageNum: Integer
6353
+
6354
+ attr_accessor :StartTime, :EndTime, :StreamName, :Domain, :DomainGroup, :PageSize, :PageNum
6355
+
6356
+ def initialize(starttime=nil, endtime=nil, streamname=nil, domain=nil, domaingroup=nil, pagesize=nil, pagenum=nil)
6357
+ @StartTime = starttime
6358
+ @EndTime = endtime
6359
+ @StreamName = streamname
6360
+ @Domain = domain
6361
+ @DomainGroup = domaingroup
6362
+ @PageSize = pagesize
6363
+ @PageNum = pagenum
6364
+ end
6365
+
6366
+ def deserialize(params)
6367
+ @StartTime = params['StartTime']
6368
+ @EndTime = params['EndTime']
6369
+ @StreamName = params['StreamName']
6370
+ @Domain = params['Domain']
6371
+ @DomainGroup = params['DomainGroup']
6372
+ @PageSize = params['PageSize']
6373
+ @PageNum = params['PageNum']
6374
+ end
6375
+ end
6376
+
6377
+ # DescribeTimeShiftStreamList返回参数结构体
6378
+ class DescribeTimeShiftStreamListResponse < TencentCloud::Common::AbstractModel
6379
+ # @param TotalSize: 时间段内所有的数据量。
6380
+ # @type TotalSize: Integer
6381
+ # @param StreamList: 流列表。
6382
+ # 注意:此字段可能返回 null,表示取不到有效值。
6383
+ # @type StreamList: Array
6384
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6385
+ # @type RequestId: String
6386
+
6387
+ attr_accessor :TotalSize, :StreamList, :RequestId
6388
+
6389
+ def initialize(totalsize=nil, streamlist=nil, requestid=nil)
6390
+ @TotalSize = totalsize
6391
+ @StreamList = streamlist
6392
+ @RequestId = requestid
6393
+ end
6394
+
6395
+ def deserialize(params)
6396
+ @TotalSize = params['TotalSize']
6397
+ unless params['StreamList'].nil?
6398
+ @StreamList = []
6399
+ params['StreamList'].each do |i|
6400
+ timeshiftstreaminfo_tmp = TimeShiftStreamInfo.new
6401
+ timeshiftstreaminfo_tmp.deserialize(i)
6402
+ @StreamList << timeshiftstreaminfo_tmp
6403
+ end
6404
+ end
6405
+ @RequestId = params['RequestId']
6406
+ end
6407
+ end
6408
+
6268
6409
  # DescribeTopClientIpSumInfoList请求参数结构体
6269
6410
  class DescribeTopClientIpSumInfoListRequest < TencentCloud::Common::AbstractModel
6270
6411
  # @param StartTime: 起始时间点,格式为yyyy-mm-dd HH:MM:SS。
@@ -9849,6 +9990,81 @@ module TencentCloud
9849
9990
  end
9850
9991
  end
9851
9992
 
9993
+ # 时移录制段。
9994
+ class TimeShiftRecord < TencentCloud::Common::AbstractModel
9995
+ # @param Sid: 时移录制会话标识。
9996
+ # @type Sid: String
9997
+ # @param StartTime: 录制会话开始时间,Unix 时间戳。
9998
+ # @type StartTime: Integer
9999
+ # @param EndTime: 录制会话结束时间,Unix 时间戳。
10000
+ # @type EndTime: Integer
10001
+
10002
+ attr_accessor :Sid, :StartTime, :EndTime
10003
+
10004
+ def initialize(sid=nil, starttime=nil, endtime=nil)
10005
+ @Sid = sid
10006
+ @StartTime = starttime
10007
+ @EndTime = endtime
10008
+ end
10009
+
10010
+ def deserialize(params)
10011
+ @Sid = params['Sid']
10012
+ @StartTime = params['StartTime']
10013
+ @EndTime = params['EndTime']
10014
+ end
10015
+ end
10016
+
10017
+ # 时移流。
10018
+ class TimeShiftStreamInfo < TencentCloud::Common::AbstractModel
10019
+ # @param DomainGroup: 推流域名所属组。
10020
+ # 注意:此字段可能返回 null,表示取不到有效值。
10021
+ # @type DomainGroup: String
10022
+ # @param Domain: 推流域名。
10023
+ # @type Domain: String
10024
+ # @param AppName: 推流路径。
10025
+ # @type AppName: String
10026
+ # @param StreamName: 流名称。
10027
+ # @type StreamName: String
10028
+ # @param StartTime: 流起始时间,Unix 时间戳。
10029
+ # @type StartTime: Integer
10030
+ # @param EndTime: 截止查询时流结束时间,Unix 时间戳。
10031
+ # @type EndTime: Integer
10032
+ # @param TransCodeId: 转码模板ID。
10033
+ # 注意:此字段可能返回 null,表示取不到有效值。
10034
+ # @type TransCodeId: Integer
10035
+ # @param StreamType: 流类型,取值0为原始流,1为水印流,2为转码流。
10036
+ # @type StreamType: Integer
10037
+ # @param Duration: 时移数据存储时长,单位秒。
10038
+ # 注意:此字段可能返回 null,表示取不到有效值。
10039
+ # @type Duration: Integer
10040
+
10041
+ attr_accessor :DomainGroup, :Domain, :AppName, :StreamName, :StartTime, :EndTime, :TransCodeId, :StreamType, :Duration
10042
+
10043
+ def initialize(domaingroup=nil, domain=nil, appname=nil, streamname=nil, starttime=nil, endtime=nil, transcodeid=nil, streamtype=nil, duration=nil)
10044
+ @DomainGroup = domaingroup
10045
+ @Domain = domain
10046
+ @AppName = appname
10047
+ @StreamName = streamname
10048
+ @StartTime = starttime
10049
+ @EndTime = endtime
10050
+ @TransCodeId = transcodeid
10051
+ @StreamType = streamtype
10052
+ @Duration = duration
10053
+ end
10054
+
10055
+ def deserialize(params)
10056
+ @DomainGroup = params['DomainGroup']
10057
+ @Domain = params['Domain']
10058
+ @AppName = params['AppName']
10059
+ @StreamName = params['StreamName']
10060
+ @StartTime = params['StartTime']
10061
+ @EndTime = params['EndTime']
10062
+ @TransCodeId = params['TransCodeId']
10063
+ @StreamType = params['StreamType']
10064
+ @Duration = params['Duration']
10065
+ end
10066
+ end
10067
+
9852
10068
  # 某个时间点的指标的数值是多少。
9853
10069
  class TimeValue < TencentCloud::Common::AbstractModel
9854
10070
  # @param Time: UTC 时间,时间格式:yyyy-mm-ddTHH:MM:SSZ。
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.499
4
+ version: 3.0.501
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-02-01 00:00:00.000000000 Z
11
+ date: 2023-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common