tencentcloud-sdk-iss 3.0.853 → 3.0.854

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: 5b6fa11c2de01ede2b2278b7235f898bab2ab5b3
4
- data.tar.gz: f7146ed1bcc96c362875b3db30af733fd98d97cc
3
+ metadata.gz: 0433f93fa7b1ea673d13d3fe6bc2c18e1d2975ab
4
+ data.tar.gz: faa53a474af776390303f59d1fd5278ff3ccc509
5
5
  SHA512:
6
- metadata.gz: f71d93b5348112671528f6a28bce8f705e5030f5fef58b8358459c65392559a0f86d94ce59b964e545c2b65f26362c67aa128551cb2e0a61d820e48a35d9ee7c
7
- data.tar.gz: 74e0f29f715e0c44557ddb003e3a844e35a8235cd8b729feb9d30b89ced77ffd165d0e6459e27815cea6d270eebca54d11bdf7e56120afdaf1507aed99bcf4e6
6
+ metadata.gz: c013145a21b4e98ba7d4fbb2c5e7e73dcbe94f73b912ae80c14b2baa8e1e704e1418b4368625669432e4f5b4f6846bfafb9188c2f29979767fc56f1ebb4859d1
7
+ data.tar.gz: 54280e20cfcad1c0061f9bf6e674b4fe31ceeaa2595b25f8a3fea04ecc3ef5c3f310cd896b9f0ba9755f9021718ebf202b79d4f68809de59c55cc07d3857bd49
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.853
1
+ 3.0.854
@@ -1689,6 +1689,30 @@ module TencentCloud
1689
1689
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1690
1690
  end
1691
1691
 
1692
+ # 查询禁播通道列表
1693
+
1694
+ # @param request: Request instance for QueryForbidPlayChannelList.
1695
+ # @type request: :class:`Tencentcloud::iss::V20230517::QueryForbidPlayChannelListRequest`
1696
+ # @rtype: :class:`Tencentcloud::iss::V20230517::QueryForbidPlayChannelListResponse`
1697
+ def QueryForbidPlayChannelList(request)
1698
+ body = send_request('QueryForbidPlayChannelList', request.serialize)
1699
+ response = JSON.parse(body)
1700
+ if response['Response'].key?('Error') == false
1701
+ model = QueryForbidPlayChannelListResponse.new
1702
+ model.deserialize(response['Response'])
1703
+ model
1704
+ else
1705
+ code = response['Response']['Error']['Code']
1706
+ message = response['Response']['Error']['Message']
1707
+ reqid = response['Response']['RequestId']
1708
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1709
+ end
1710
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1711
+ raise e
1712
+ rescue StandardError => e
1713
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1714
+ end
1715
+
1692
1716
  # 用于刷新国标设备的通道(接口调用后,触发向设备请求通道列表,新增的通道入库,设备上已删除的通道需自行删除、后台不自动删除)。
1693
1717
 
1694
1718
  # @param request: Request instance for RefreshDeviceChannel.
@@ -1713,6 +1737,30 @@ module TencentCloud
1713
1737
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1714
1738
  end
1715
1739
 
1740
+ # 禁止主、子账号对视频通道的实况预览
1741
+
1742
+ # @param request: Request instance for SetForbidPlayChannels.
1743
+ # @type request: :class:`Tencentcloud::iss::V20230517::SetForbidPlayChannelsRequest`
1744
+ # @rtype: :class:`Tencentcloud::iss::V20230517::SetForbidPlayChannelsResponse`
1745
+ def SetForbidPlayChannels(request)
1746
+ body = send_request('SetForbidPlayChannels', request.serialize)
1747
+ response = JSON.parse(body)
1748
+ if response['Response'].key?('Error') == false
1749
+ model = SetForbidPlayChannelsResponse.new
1750
+ model.deserialize(response['Response'])
1751
+ model
1752
+ else
1753
+ code = response['Response']['Error']['Code']
1754
+ message = response['Response']['Error']['Message']
1755
+ reqid = response['Response']['RequestId']
1756
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1757
+ end
1758
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1759
+ raise e
1760
+ rescue StandardError => e
1761
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1762
+ end
1763
+
1716
1764
  # 更新AI任务
1717
1765
 
1718
1766
  # @param request: Request instance for UpdateAITask.
@@ -1418,6 +1418,36 @@ module TencentCloud
1418
1418
  end
1419
1419
  end
1420
1420
 
1421
+ # 通道属性信息
1422
+ class ChannelAttrInfo < TencentCloud::Common::AbstractModel
1423
+ # @param DeviceId: 设备通道所属的设备ID
1424
+ # @type DeviceId: String
1425
+ # @param DeviceName: 设备通道所属的设备名称
1426
+ # 注意:此字段可能返回 null,表示取不到有效值。
1427
+ # @type DeviceName: String
1428
+ # @param ChannelId: 设备通道ID
1429
+ # @type ChannelId: String
1430
+ # @param ChannelName: 设备通道名称
1431
+ # 注意:此字段可能返回 null,表示取不到有效值。
1432
+ # @type ChannelName: String
1433
+
1434
+ attr_accessor :DeviceId, :DeviceName, :ChannelId, :ChannelName
1435
+
1436
+ def initialize(deviceid=nil, devicename=nil, channelid=nil, channelname=nil)
1437
+ @DeviceId = deviceid
1438
+ @DeviceName = devicename
1439
+ @ChannelId = channelid
1440
+ @ChannelName = channelname
1441
+ end
1442
+
1443
+ def deserialize(params)
1444
+ @DeviceId = params['DeviceId']
1445
+ @DeviceName = params['DeviceName']
1446
+ @ChannelId = params['ChannelId']
1447
+ @ChannelName = params['ChannelName']
1448
+ end
1449
+ end
1450
+
1421
1451
  # 通道及通道所属设备信息
1422
1452
  class ChannelInfo < TencentCloud::Common::AbstractModel
1423
1453
  # @param DeviceId: 通道所属的设备ID
@@ -4581,6 +4611,42 @@ module TencentCloud
4581
4611
  end
4582
4612
  end
4583
4613
 
4614
+ # 用户禁止播流的通道列表返回数据
4615
+ class ListForbidplayChannelsData < TencentCloud::Common::AbstractModel
4616
+ # @param PageNumber: 第几页
4617
+ # @type PageNumber: Integer
4618
+ # @param PageSize: 当前页的设备数量
4619
+ # @type PageSize: Integer
4620
+ # @param TotalCount: 本次查询的设备通道总数
4621
+ # @type TotalCount: Integer
4622
+ # @param List: 设备通道信息列表
4623
+ # 注意:此字段可能返回 null,表示取不到有效值。
4624
+ # @type List: Array
4625
+
4626
+ attr_accessor :PageNumber, :PageSize, :TotalCount, :List
4627
+
4628
+ def initialize(pagenumber=nil, pagesize=nil, totalcount=nil, list=nil)
4629
+ @PageNumber = pagenumber
4630
+ @PageSize = pagesize
4631
+ @TotalCount = totalcount
4632
+ @List = list
4633
+ end
4634
+
4635
+ def deserialize(params)
4636
+ @PageNumber = params['PageNumber']
4637
+ @PageSize = params['PageSize']
4638
+ @TotalCount = params['TotalCount']
4639
+ unless params['List'].nil?
4640
+ @List = []
4641
+ params['List'].each do |i|
4642
+ channelattrinfo_tmp = ChannelAttrInfo.new
4643
+ channelattrinfo_tmp.deserialize(i)
4644
+ @List << channelattrinfo_tmp
4645
+ end
4646
+ end
4647
+ end
4648
+ end
4649
+
4584
4650
  # 查询网关设备列表返回数据
4585
4651
  class ListGatewayDevicesData < TencentCloud::Common::AbstractModel
4586
4652
  # @param List: 网关下设备列表
@@ -5865,6 +5931,54 @@ module TencentCloud
5865
5931
  end
5866
5932
  end
5867
5933
 
5934
+ # QueryForbidPlayChannelList请求参数结构体
5935
+ class QueryForbidPlayChannelListRequest < TencentCloud::Common::AbstractModel
5936
+ # @param UserId: 子用户uin,也可以是主用户的uin
5937
+ # @type UserId: String
5938
+ # @param PageSize: 每页最大数量,最大为200,超过按照200返回
5939
+ # @type PageSize: Integer
5940
+ # @param PageNumber: 第几页
5941
+ # @type PageNumber: Integer
5942
+
5943
+ attr_accessor :UserId, :PageSize, :PageNumber
5944
+
5945
+ def initialize(userid=nil, pagesize=nil, pagenumber=nil)
5946
+ @UserId = userid
5947
+ @PageSize = pagesize
5948
+ @PageNumber = pagenumber
5949
+ end
5950
+
5951
+ def deserialize(params)
5952
+ @UserId = params['UserId']
5953
+ @PageSize = params['PageSize']
5954
+ @PageNumber = params['PageNumber']
5955
+ end
5956
+ end
5957
+
5958
+ # QueryForbidPlayChannelList返回参数结构体
5959
+ class QueryForbidPlayChannelListResponse < TencentCloud::Common::AbstractModel
5960
+ # @param Data: 返回结果
5961
+ # 注意:此字段可能返回 null,表示取不到有效值。
5962
+ # @type Data: :class:`Tencentcloud::Iss.v20230517.models.ListForbidplayChannelsData`
5963
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5964
+ # @type RequestId: String
5965
+
5966
+ attr_accessor :Data, :RequestId
5967
+
5968
+ def initialize(data=nil, requestid=nil)
5969
+ @Data = data
5970
+ @RequestId = requestid
5971
+ end
5972
+
5973
+ def deserialize(params)
5974
+ unless params['Data'].nil?
5975
+ @Data = ListForbidplayChannelsData.new
5976
+ @Data.deserialize(params['Data'])
5977
+ end
5978
+ @RequestId = params['RequestId']
5979
+ end
5980
+ end
5981
+
5868
5982
  # 实时上云计划基础信息
5869
5983
  class RecordPlanBaseInfo < TencentCloud::Common::AbstractModel
5870
5984
  # @param PlanId: 上云计划ID
@@ -6225,6 +6339,69 @@ module TencentCloud
6225
6339
  end
6226
6340
  end
6227
6341
 
6342
+ # SetForbidPlayChannels请求参数结构体
6343
+ class SetForbidPlayChannelsRequest < TencentCloud::Common::AbstractModel
6344
+ # @param Channels: 要禁播的通道参数,一次最多可以设置200个通道
6345
+ # @type Channels: Array
6346
+ # @param UserId: 用户uin,可以是子用户的也可以是主用户的uin
6347
+ # @type UserId: String
6348
+
6349
+ attr_accessor :Channels, :UserId
6350
+
6351
+ def initialize(channels=nil, userid=nil)
6352
+ @Channels = channels
6353
+ @UserId = userid
6354
+ end
6355
+
6356
+ def deserialize(params)
6357
+ unless params['Channels'].nil?
6358
+ @Channels = []
6359
+ params['Channels'].each do |i|
6360
+ setforbidplaychannelparam_tmp = SetForbidplayChannelParam.new
6361
+ setforbidplaychannelparam_tmp.deserialize(i)
6362
+ @Channels << setforbidplaychannelparam_tmp
6363
+ end
6364
+ end
6365
+ @UserId = params['UserId']
6366
+ end
6367
+ end
6368
+
6369
+ # SetForbidPlayChannels返回参数结构体
6370
+ class SetForbidPlayChannelsResponse < TencentCloud::Common::AbstractModel
6371
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6372
+ # @type RequestId: String
6373
+
6374
+ attr_accessor :RequestId
6375
+
6376
+ def initialize(requestid=nil)
6377
+ @RequestId = requestid
6378
+ end
6379
+
6380
+ def deserialize(params)
6381
+ @RequestId = params['RequestId']
6382
+ end
6383
+ end
6384
+
6385
+ # 设置通道禁止播流,有通道Id和使能enable字段
6386
+ class SetForbidplayChannelParam < TencentCloud::Common::AbstractModel
6387
+ # @param ChannelId: 通道Id
6388
+ # @type ChannelId: String
6389
+ # @param Enable: 是否禁止通道播流
6390
+ # @type Enable: Boolean
6391
+
6392
+ attr_accessor :ChannelId, :Enable
6393
+
6394
+ def initialize(channelid=nil, enable=nil)
6395
+ @ChannelId = channelid
6396
+ @Enable = enable
6397
+ end
6398
+
6399
+ def deserialize(params)
6400
+ @ChannelId = params['ChannelId']
6401
+ @Enable = params['Enable']
6402
+ end
6403
+ end
6404
+
6228
6405
  # 抽烟识别结果详情
6229
6406
  class SmokingAIResultInfo < TencentCloud::Common::AbstractModel
6230
6407
  # @param Time: 时间字符串
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-iss
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.853
4
+ version: 3.0.854
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-27 00:00:00.000000000 Z
11
+ date: 2024-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common