tencentcloud-sdk-iss 3.0.1049 → 3.0.1050

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: 46cdc3fa4e74d14abff8fc57457fe0dcdd2234a9
4
- data.tar.gz: 4ff59c44d0465f2edd9c3f3e78e72e72f459bf62
3
+ metadata.gz: 3ef85901199dcafe45b19d901c5c931702b7e211
4
+ data.tar.gz: bbff57a064bb7818e857c03605633da13e42eca3
5
5
  SHA512:
6
- metadata.gz: 07ef97973b6bcff0bfe7b472acac8011a0f96c7466dc5c8181eb08408a19cddbb6d188d0e5f190eb0592e2bec7c30d9e8940d0ccbd19c4f4fd294b4dfecb16f1
7
- data.tar.gz: 46cee1ad40edb5f651f9a4d035694b1fbe3f46547da3d3861257db6d03d34a09e053b09cfba942318166384a820b79c8be8b1a4c8b784ba0a9acbe7e3d4bd94a
6
+ metadata.gz: 1a7ac6876d09a02db28ed5ea53ddffddd10e557d2c33992e1da36d87751580a7a098d3f547212ec5a4f93c9d63d13432ec5ba81049ca7d1c0e9d879ae864b493
7
+ data.tar.gz: b204c3ce71057a728879de34a9f44708deb02948cae33d224d884317ec8c62bb659573e4acd95ef19be2f7b09c0b14b584cfd7adb7af52341ce55f0f5eadb8ce
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1049
1
+ 3.0.1050
@@ -248,6 +248,30 @@ module TencentCloud
248
248
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
249
249
  end
250
250
 
251
+ # 用于批量删除本地录像下载失败的任务
252
+
253
+ # @param request: Request instance for BatchDeleteVideoDownloadTask.
254
+ # @type request: :class:`Tencentcloud::iss::V20230517::BatchDeleteVideoDownloadTaskRequest`
255
+ # @rtype: :class:`Tencentcloud::iss::V20230517::BatchDeleteVideoDownloadTaskResponse`
256
+ def BatchDeleteVideoDownloadTask(request)
257
+ body = send_request('BatchDeleteVideoDownloadTask', request.serialize)
258
+ response = JSON.parse(body)
259
+ if response['Response'].key?('Error') == false
260
+ model = BatchDeleteVideoDownloadTaskResponse.new
261
+ model.deserialize(response['Response'])
262
+ model
263
+ else
264
+ code = response['Response']['Error']['Code']
265
+ message = response['Response']['Error']['Message']
266
+ reqid = response['Response']['RequestId']
267
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
268
+ end
269
+ rescue TencentCloud::Common::TencentCloudSDKException => e
270
+ raise e
271
+ rescue StandardError => e
272
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
273
+ end
274
+
251
275
  # 用于批量操作(启用,禁用,删除)设备
252
276
 
253
277
  # @param request: Request instance for BatchOperateDevice.
@@ -440,6 +464,30 @@ module TencentCloud
440
464
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
441
465
  end
442
466
 
467
+ # 创建本地录像下载任务
468
+
469
+ # @param request: Request instance for CreateVideoDownloadTask.
470
+ # @type request: :class:`Tencentcloud::iss::V20230517::CreateVideoDownloadTaskRequest`
471
+ # @rtype: :class:`Tencentcloud::iss::V20230517::CreateVideoDownloadTaskResponse`
472
+ def CreateVideoDownloadTask(request)
473
+ body = send_request('CreateVideoDownloadTask', request.serialize)
474
+ response = JSON.parse(body)
475
+ if response['Response'].key?('Error') == false
476
+ model = CreateVideoDownloadTaskResponse.new
477
+ model.deserialize(response['Response'])
478
+ model
479
+ else
480
+ code = response['Response']['Error']['Code']
481
+ message = response['Response']['Error']['Message']
482
+ reqid = response['Response']['RequestId']
483
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
484
+ end
485
+ rescue TencentCloud::Common::TencentCloudSDKException => e
486
+ raise e
487
+ rescue StandardError => e
488
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
489
+ end
490
+
443
491
  # 删除AI任务
444
492
 
445
493
  # @param request: Request instance for DeleteAITask.
@@ -656,6 +704,30 @@ module TencentCloud
656
704
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
657
705
  end
658
706
 
707
+ # 用于删除执行完成的任务
708
+
709
+ # @param request: Request instance for DeleteTask.
710
+ # @type request: :class:`Tencentcloud::iss::V20230517::DeleteTaskRequest`
711
+ # @rtype: :class:`Tencentcloud::iss::V20230517::DeleteTaskResponse`
712
+ def DeleteTask(request)
713
+ body = send_request('DeleteTask', request.serialize)
714
+ response = JSON.parse(body)
715
+ if response['Response'].key?('Error') == false
716
+ model = DeleteTaskResponse.new
717
+ model.deserialize(response['Response'])
718
+ model
719
+ else
720
+ code = response['Response']['Error']['Code']
721
+ message = response['Response']['Error']['Message']
722
+ reqid = response['Response']['RequestId']
723
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
724
+ end
725
+ rescue TencentCloud::Common::TencentCloudSDKException => e
726
+ raise e
727
+ rescue StandardError => e
728
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
729
+ end
730
+
659
731
  # 用于删除已添加的设备。
660
732
 
661
733
  # @param request: Request instance for DeleteUserDevice.
@@ -872,6 +944,30 @@ module TencentCloud
872
944
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
873
945
  end
874
946
 
947
+ # 用于获取国标设备的公网地址
948
+
949
+ # @param request: Request instance for DescribeGBDeviceAddr.
950
+ # @type request: :class:`Tencentcloud::iss::V20230517::DescribeGBDeviceAddrRequest`
951
+ # @rtype: :class:`Tencentcloud::iss::V20230517::DescribeGBDeviceAddrResponse`
952
+ def DescribeGBDeviceAddr(request)
953
+ body = send_request('DescribeGBDeviceAddr', request.serialize)
954
+ response = JSON.parse(body)
955
+ if response['Response'].key?('Error') == false
956
+ model = DescribeGBDeviceAddrResponse.new
957
+ model.deserialize(response['Response'])
958
+ model
959
+ else
960
+ code = response['Response']['Error']['Code']
961
+ message = response['Response']['Error']['Message']
962
+ reqid = response['Response']['RequestId']
963
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
964
+ end
965
+ rescue TencentCloud::Common::TencentCloudSDKException => e
966
+ raise e
967
+ rescue StandardError => e
968
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
969
+ end
970
+
875
971
  # 用于获取网关详情。
876
972
 
877
973
  # @param request: Request instance for DescribeGateway.
@@ -1713,6 +1809,30 @@ module TencentCloud
1713
1809
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1714
1810
  end
1715
1811
 
1812
+ # 查询本店里录像下载任务列表
1813
+
1814
+ # @param request: Request instance for ListVideoDownloadTask.
1815
+ # @type request: :class:`Tencentcloud::iss::V20230517::ListVideoDownloadTaskRequest`
1816
+ # @rtype: :class:`Tencentcloud::iss::V20230517::ListVideoDownloadTaskResponse`
1817
+ def ListVideoDownloadTask(request)
1818
+ body = send_request('ListVideoDownloadTask', request.serialize)
1819
+ response = JSON.parse(body)
1820
+ if response['Response'].key?('Error') == false
1821
+ model = ListVideoDownloadTaskResponse.new
1822
+ model.deserialize(response['Response'])
1823
+ model
1824
+ else
1825
+ code = response['Response']['Error']['Code']
1826
+ message = response['Response']['Error']['Message']
1827
+ reqid = response['Response']['RequestId']
1828
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1829
+ end
1830
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1831
+ raise e
1832
+ rescue StandardError => e
1833
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1834
+ end
1835
+
1716
1836
  # 用于获取设备本地录像 URL 地址。
1717
1837
 
1718
1838
  # @param request: Request instance for PlayRecord.
@@ -1224,6 +1224,38 @@ module TencentCloud
1224
1224
  end
1225
1225
  end
1226
1226
 
1227
+ # BatchDeleteVideoDownloadTask请求参数结构体
1228
+ class BatchDeleteVideoDownloadTaskRequest < TencentCloud::Common::AbstractModel
1229
+ # @param DownloadTaskIds: 本地录像下载任务 ID 列表
1230
+ # @type DownloadTaskIds: Array
1231
+
1232
+ attr_accessor :DownloadTaskIds
1233
+
1234
+ def initialize(downloadtaskids=nil)
1235
+ @DownloadTaskIds = downloadtaskids
1236
+ end
1237
+
1238
+ def deserialize(params)
1239
+ @DownloadTaskIds = params['DownloadTaskIds']
1240
+ end
1241
+ end
1242
+
1243
+ # BatchDeleteVideoDownloadTask返回参数结构体
1244
+ class BatchDeleteVideoDownloadTaskResponse < TencentCloud::Common::AbstractModel
1245
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1246
+ # @type RequestId: String
1247
+
1248
+ attr_accessor :RequestId
1249
+
1250
+ def initialize(requestid=nil)
1251
+ @RequestId = requestid
1252
+ end
1253
+
1254
+ def deserialize(params)
1255
+ @RequestId = params['RequestId']
1256
+ end
1257
+ end
1258
+
1227
1259
  # 批量操作设备返回结果
1228
1260
  class BatchOperateDeviceData < TencentCloud::Common::AbstractModel
1229
1261
  # @param TaskId: 任务 ID(用于在查询任务的子任务列表接口ListSubTasks中查询任务进度)
@@ -1853,6 +1885,69 @@ module TencentCloud
1853
1885
  end
1854
1886
  end
1855
1887
 
1888
+ # CreateVideoDownloadTask请求参数结构体
1889
+ class CreateVideoDownloadTaskRequest < TencentCloud::Common::AbstractModel
1890
+ # @param ChannelId: 通道ID
1891
+ # @type ChannelId: String
1892
+ # @param BeginTime: 开始时间
1893
+ # @type BeginTime: Integer
1894
+ # @param EndTime: 结束时间
1895
+ # @type EndTime: Integer
1896
+ # @param Scale: 默认1倍速,支持(1,2,4,8)倍速
1897
+ # @type Scale: Integer
1898
+ # @param Expire: 转码后的mp4文件过期时间(支持7,15,30,60,90,180,365)
1899
+ # @type Expire: Integer
1900
+ # @param FileType: 下载文件格式,当前仅支持(1:mp4)
1901
+ # @type FileType: Integer
1902
+ # @param CompletionPolicy: 完成策略(0:拉流失败但是录像不完整则认为任务失败,不生成 MP4;1:拉流失败但是录像不完整则认为任务成功,生成 mp4)
1903
+ # @type CompletionPolicy: Integer
1904
+
1905
+ attr_accessor :ChannelId, :BeginTime, :EndTime, :Scale, :Expire, :FileType, :CompletionPolicy
1906
+
1907
+ def initialize(channelid=nil, begintime=nil, endtime=nil, scale=nil, expire=nil, filetype=nil, completionpolicy=nil)
1908
+ @ChannelId = channelid
1909
+ @BeginTime = begintime
1910
+ @EndTime = endtime
1911
+ @Scale = scale
1912
+ @Expire = expire
1913
+ @FileType = filetype
1914
+ @CompletionPolicy = completionpolicy
1915
+ end
1916
+
1917
+ def deserialize(params)
1918
+ @ChannelId = params['ChannelId']
1919
+ @BeginTime = params['BeginTime']
1920
+ @EndTime = params['EndTime']
1921
+ @Scale = params['Scale']
1922
+ @Expire = params['Expire']
1923
+ @FileType = params['FileType']
1924
+ @CompletionPolicy = params['CompletionPolicy']
1925
+ end
1926
+ end
1927
+
1928
+ # CreateVideoDownloadTask返回参数结构体
1929
+ class CreateVideoDownloadTaskResponse < TencentCloud::Common::AbstractModel
1930
+ # @param Data: 下载任务返回结果
1931
+ # @type Data: :class:`Tencentcloud::Iss.v20230517.models.VideoDownloadTaskData`
1932
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1933
+ # @type RequestId: String
1934
+
1935
+ attr_accessor :Data, :RequestId
1936
+
1937
+ def initialize(data=nil, requestid=nil)
1938
+ @Data = data
1939
+ @RequestId = requestid
1940
+ end
1941
+
1942
+ def deserialize(params)
1943
+ unless params['Data'].nil?
1944
+ @Data = VideoDownloadTaskData.new
1945
+ @Data.deserialize(params['Data'])
1946
+ end
1947
+ @RequestId = params['RequestId']
1948
+ end
1949
+ end
1950
+
1856
1951
  # DeleteAITask请求参数结构体
1857
1952
  class DeleteAITaskRequest < TencentCloud::Common::AbstractModel
1858
1953
  # @param TaskId: AI任务ID
@@ -2141,6 +2236,38 @@ module TencentCloud
2141
2236
  end
2142
2237
  end
2143
2238
 
2239
+ # DeleteTask请求参数结构体
2240
+ class DeleteTaskRequest < TencentCloud::Common::AbstractModel
2241
+ # @param TaskId: 任务ID
2242
+ # @type TaskId: String
2243
+
2244
+ attr_accessor :TaskId
2245
+
2246
+ def initialize(taskid=nil)
2247
+ @TaskId = taskid
2248
+ end
2249
+
2250
+ def deserialize(params)
2251
+ @TaskId = params['TaskId']
2252
+ end
2253
+ end
2254
+
2255
+ # DeleteTask返回参数结构体
2256
+ class DeleteTaskResponse < TencentCloud::Common::AbstractModel
2257
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2258
+ # @type RequestId: String
2259
+
2260
+ attr_accessor :RequestId
2261
+
2262
+ def initialize(requestid=nil)
2263
+ @RequestId = requestid
2264
+ end
2265
+
2266
+ def deserialize(params)
2267
+ @RequestId = params['RequestId']
2268
+ end
2269
+ end
2270
+
2144
2271
  # DeleteUserDevice请求参数结构体
2145
2272
  class DeleteUserDeviceRequest < TencentCloud::Common::AbstractModel
2146
2273
  # @param DeviceId: 设备ID(从获取设备列表ListDevices接口中获取)
@@ -2325,6 +2452,29 @@ module TencentCloud
2325
2452
  end
2326
2453
  end
2327
2454
 
2455
+ # 查询国标设备地址列表
2456
+ class DescribeDeviceAddrList < TencentCloud::Common::AbstractModel
2457
+ # @param RemoteAddrs: 设备地址列表
2458
+ # @type RemoteAddrs: Array
2459
+
2460
+ attr_accessor :RemoteAddrs
2461
+
2462
+ def initialize(remoteaddrs=nil)
2463
+ @RemoteAddrs = remoteaddrs
2464
+ end
2465
+
2466
+ def deserialize(params)
2467
+ unless params['RemoteAddrs'].nil?
2468
+ @RemoteAddrs = []
2469
+ params['RemoteAddrs'].each do |i|
2470
+ remoteaddrinfo_tmp = RemoteAddrInfo.new
2471
+ remoteaddrinfo_tmp.deserialize(i)
2472
+ @RemoteAddrs << remoteaddrinfo_tmp
2473
+ end
2474
+ end
2475
+ end
2476
+ end
2477
+
2328
2478
  # 查询设备通道信息返回结果
2329
2479
  class DescribeDeviceChannelData < TencentCloud::Common::AbstractModel
2330
2480
  # @param DeviceId: 设备 ID
@@ -2829,6 +2979,45 @@ module TencentCloud
2829
2979
  end
2830
2980
  end
2831
2981
 
2982
+ # DescribeGBDeviceAddr请求参数结构体
2983
+ class DescribeGBDeviceAddrRequest < TencentCloud::Common::AbstractModel
2984
+ # @param DeviceIds: 设备ID列表
2985
+ # @type DeviceIds: Array
2986
+
2987
+ attr_accessor :DeviceIds
2988
+
2989
+ def initialize(deviceids=nil)
2990
+ @DeviceIds = deviceids
2991
+ end
2992
+
2993
+ def deserialize(params)
2994
+ @DeviceIds = params['DeviceIds']
2995
+ end
2996
+ end
2997
+
2998
+ # DescribeGBDeviceAddr返回参数结构体
2999
+ class DescribeGBDeviceAddrResponse < TencentCloud::Common::AbstractModel
3000
+ # @param Data: 无
3001
+ # @type Data: :class:`Tencentcloud::Iss.v20230517.models.DescribeDeviceAddrList`
3002
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3003
+ # @type RequestId: String
3004
+
3005
+ attr_accessor :Data, :RequestId
3006
+
3007
+ def initialize(data=nil, requestid=nil)
3008
+ @Data = data
3009
+ @RequestId = requestid
3010
+ end
3011
+
3012
+ def deserialize(params)
3013
+ unless params['Data'].nil?
3014
+ @Data = DescribeDeviceAddrList.new
3015
+ @Data.deserialize(params['Data'])
3016
+ end
3017
+ @RequestId = params['RequestId']
3018
+ end
3019
+ end
3020
+
2832
3021
  # 查询网关信息返回结果
2833
3022
  class DescribeGatewayData < TencentCloud::Common::AbstractModel
2834
3023
  # @param GatewayId: 网关索引ID,用于网关查询,更新,删除操作
@@ -5715,6 +5904,106 @@ module TencentCloud
5715
5904
  end
5716
5905
  end
5717
5906
 
5907
+ # 本地录像下载任务列表
5908
+ class ListVideoDownloadTaskData < TencentCloud::Common::AbstractModel
5909
+ # @param List: 任务列表
5910
+ # 注意:此字段可能返回 null,表示取不到有效值。
5911
+ # @type List: Array
5912
+ # @param TotalCount: 任务总数
5913
+ # 注意:此字段可能返回 null,表示取不到有效值。
5914
+ # @type TotalCount: Integer
5915
+
5916
+ attr_accessor :List, :TotalCount
5917
+
5918
+ def initialize(list=nil, totalcount=nil)
5919
+ @List = list
5920
+ @TotalCount = totalcount
5921
+ end
5922
+
5923
+ def deserialize(params)
5924
+ unless params['List'].nil?
5925
+ @List = []
5926
+ params['List'].each do |i|
5927
+ videodownloadtask_tmp = VideoDownloadTask.new
5928
+ videodownloadtask_tmp.deserialize(i)
5929
+ @List << videodownloadtask_tmp
5930
+ end
5931
+ end
5932
+ @TotalCount = params['TotalCount']
5933
+ end
5934
+ end
5935
+
5936
+ # ListVideoDownloadTask请求参数结构体
5937
+ class ListVideoDownloadTaskRequest < TencentCloud::Common::AbstractModel
5938
+ # @param DeviceName: 设备名称,用于模糊搜索
5939
+ # @type DeviceName: String
5940
+ # @param ChannelName: 通道名称,用于模糊搜索
5941
+ # @type ChannelName: String
5942
+ # @param Status: 任务状态(0:准备中,1:执行中,2:已完成,3:失败)
5943
+ # @type Status: Integer
5944
+ # @param SortRule: 排序规则(仅支持 StartTime,EndTime,倒序为-StartTime,-EndTime)
5945
+ # @type SortRule: String
5946
+ # @param WithPreviewUrl: 响应是否携带预览地址(0:不携带;1:携带)
5947
+ # @type WithPreviewUrl: Integer
5948
+ # @param PageNumber: 分页页数
5949
+ # @type PageNumber: Integer
5950
+ # @param PageSize: 分页大小
5951
+ # @type PageSize: Integer
5952
+ # @param DownloadTaskId: 下载任务 ID
5953
+ # @type DownloadTaskId: String
5954
+ # @param UrlExpires: 下载地址过期时间,单位秒,最大为 1 天, 86400秒
5955
+ # @type UrlExpires: Integer
5956
+
5957
+ attr_accessor :DeviceName, :ChannelName, :Status, :SortRule, :WithPreviewUrl, :PageNumber, :PageSize, :DownloadTaskId, :UrlExpires
5958
+
5959
+ def initialize(devicename=nil, channelname=nil, status=nil, sortrule=nil, withpreviewurl=nil, pagenumber=nil, pagesize=nil, downloadtaskid=nil, urlexpires=nil)
5960
+ @DeviceName = devicename
5961
+ @ChannelName = channelname
5962
+ @Status = status
5963
+ @SortRule = sortrule
5964
+ @WithPreviewUrl = withpreviewurl
5965
+ @PageNumber = pagenumber
5966
+ @PageSize = pagesize
5967
+ @DownloadTaskId = downloadtaskid
5968
+ @UrlExpires = urlexpires
5969
+ end
5970
+
5971
+ def deserialize(params)
5972
+ @DeviceName = params['DeviceName']
5973
+ @ChannelName = params['ChannelName']
5974
+ @Status = params['Status']
5975
+ @SortRule = params['SortRule']
5976
+ @WithPreviewUrl = params['WithPreviewUrl']
5977
+ @PageNumber = params['PageNumber']
5978
+ @PageSize = params['PageSize']
5979
+ @DownloadTaskId = params['DownloadTaskId']
5980
+ @UrlExpires = params['UrlExpires']
5981
+ end
5982
+ end
5983
+
5984
+ # ListVideoDownloadTask返回参数结构体
5985
+ class ListVideoDownloadTaskResponse < TencentCloud::Common::AbstractModel
5986
+ # @param Data: 本地录像下载任务列表
5987
+ # @type Data: :class:`Tencentcloud::Iss.v20230517.models.ListVideoDownloadTaskData`
5988
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5989
+ # @type RequestId: String
5990
+
5991
+ attr_accessor :Data, :RequestId
5992
+
5993
+ def initialize(data=nil, requestid=nil)
5994
+ @Data = data
5995
+ @RequestId = requestid
5996
+ end
5997
+
5998
+ def deserialize(params)
5999
+ unless params['Data'].nil?
6000
+ @Data = ListVideoDownloadTaskData.new
6001
+ @Data.deserialize(params['Data'])
6002
+ end
6003
+ @RequestId = params['RequestId']
6004
+ end
6005
+ end
6006
+
5718
6007
  # AI识别结果在画面中坐标
5719
6008
  class Location < TencentCloud::Common::AbstractModel
5720
6009
  # @param X: 左上角 X 坐标轴
@@ -6378,6 +6667,26 @@ module TencentCloud
6378
6667
  end
6379
6668
  end
6380
6669
 
6670
+ # 设备地址返回结果
6671
+ class RemoteAddrInfo < TencentCloud::Common::AbstractModel
6672
+ # @param DeviceId: 设备Id
6673
+ # @type DeviceId: String
6674
+ # @param Addr: IP地址
6675
+ # @type Addr: String
6676
+
6677
+ attr_accessor :DeviceId, :Addr
6678
+
6679
+ def initialize(deviceid=nil, addr=nil)
6680
+ @DeviceId = deviceid
6681
+ @Addr = addr
6682
+ end
6683
+
6684
+ def deserialize(params)
6685
+ @DeviceId = params['DeviceId']
6686
+ @Addr = params['Addr']
6687
+ end
6688
+ end
6689
+
6381
6690
  # SetForbidPlayChannels请求参数结构体
6382
6691
  class SetForbidPlayChannelsRequest < TencentCloud::Common::AbstractModel
6383
6692
  # @param Channels: 要禁播的通道参数,一次最多可以设置200个通道
@@ -7713,6 +8022,121 @@ module TencentCloud
7713
8022
  end
7714
8023
  end
7715
8024
 
8025
+ # 本地录像下载任务
8026
+ class VideoDownloadTask < TencentCloud::Common::AbstractModel
8027
+ # @param DownloadTaskId: 下载任务 ID
8028
+ # 注意:此字段可能返回 null,表示取不到有效值。
8029
+ # @type DownloadTaskId: String
8030
+ # @param ChannelId: 通道 ID
8031
+ # 注意:此字段可能返回 null,表示取不到有效值。
8032
+ # @type ChannelId: String
8033
+ # @param ChannelName: 通道名称
8034
+ # 注意:此字段可能返回 null,表示取不到有效值。
8035
+ # @type ChannelName: String
8036
+ # @param ChannelCode: 通道编码
8037
+ # 注意:此字段可能返回 null,表示取不到有效值。
8038
+ # @type ChannelCode: String
8039
+ # @param DeviceName: 设备名称
8040
+ # 注意:此字段可能返回 null,表示取不到有效值。
8041
+ # @type DeviceName: String
8042
+ # @param DeviceCode: 设备编码
8043
+ # 注意:此字段可能返回 null,表示取不到有效值。
8044
+ # @type DeviceCode: String
8045
+ # @param Status: 任务状态(0:未执行;1:执行中;2 任务完成;
8046
+ # 3:任务失败)
8047
+ # 注意:此字段可能返回 null,表示取不到有效值。
8048
+ # @type Status: Integer
8049
+ # @param VideoTimeSection: 下载录像时间段
8050
+ # 注意:此字段可能返回 null,表示取不到有效值。
8051
+ # @type VideoTimeSection: String
8052
+ # @param Scale: 倍速
8053
+ # 注意:此字段可能返回 null,表示取不到有效值。
8054
+ # @type Scale: Integer
8055
+ # @param DownloadTime: 下载时长
8056
+ # 注意:此字段可能返回 null,表示取不到有效值。
8057
+ # @type DownloadTime: Integer
8058
+ # @param VideoSize: 录像大小
8059
+ # 注意:此字段可能返回 null,表示取不到有效值。
8060
+ # @type VideoSize: Integer
8061
+ # @param StartTime: 任务开始时间
8062
+ # 注意:此字段可能返回 null,表示取不到有效值。
8063
+ # @type StartTime: String
8064
+ # @param EndTime: 任务结束时间
8065
+ # 注意:此字段可能返回 null,表示取不到有效值。
8066
+ # @type EndTime: String
8067
+ # @param FileDownloadUrl: 文件下载地址
8068
+ # 注意:此字段可能返回 null,表示取不到有效值。
8069
+ # @type FileDownloadUrl: String
8070
+ # @param FailedReason: 失败原因
8071
+ # 注意:此字段可能返回 null,表示取不到有效值。
8072
+ # @type FailedReason: String
8073
+ # @param Expire: 生命周期规则,热存天数
8074
+ # 注意:此字段可能返回 null,表示取不到有效值。
8075
+ # @type Expire: Integer
8076
+ # @param PreviewUrl: mp4预览地址
8077
+ # 注意:此字段可能返回 null,表示取不到有效值。
8078
+ # @type PreviewUrl: String
8079
+
8080
+ attr_accessor :DownloadTaskId, :ChannelId, :ChannelName, :ChannelCode, :DeviceName, :DeviceCode, :Status, :VideoTimeSection, :Scale, :DownloadTime, :VideoSize, :StartTime, :EndTime, :FileDownloadUrl, :FailedReason, :Expire, :PreviewUrl
8081
+
8082
+ def initialize(downloadtaskid=nil, channelid=nil, channelname=nil, channelcode=nil, devicename=nil, devicecode=nil, status=nil, videotimesection=nil, scale=nil, downloadtime=nil, videosize=nil, starttime=nil, endtime=nil, filedownloadurl=nil, failedreason=nil, expire=nil, previewurl=nil)
8083
+ @DownloadTaskId = downloadtaskid
8084
+ @ChannelId = channelid
8085
+ @ChannelName = channelname
8086
+ @ChannelCode = channelcode
8087
+ @DeviceName = devicename
8088
+ @DeviceCode = devicecode
8089
+ @Status = status
8090
+ @VideoTimeSection = videotimesection
8091
+ @Scale = scale
8092
+ @DownloadTime = downloadtime
8093
+ @VideoSize = videosize
8094
+ @StartTime = starttime
8095
+ @EndTime = endtime
8096
+ @FileDownloadUrl = filedownloadurl
8097
+ @FailedReason = failedreason
8098
+ @Expire = expire
8099
+ @PreviewUrl = previewurl
8100
+ end
8101
+
8102
+ def deserialize(params)
8103
+ @DownloadTaskId = params['DownloadTaskId']
8104
+ @ChannelId = params['ChannelId']
8105
+ @ChannelName = params['ChannelName']
8106
+ @ChannelCode = params['ChannelCode']
8107
+ @DeviceName = params['DeviceName']
8108
+ @DeviceCode = params['DeviceCode']
8109
+ @Status = params['Status']
8110
+ @VideoTimeSection = params['VideoTimeSection']
8111
+ @Scale = params['Scale']
8112
+ @DownloadTime = params['DownloadTime']
8113
+ @VideoSize = params['VideoSize']
8114
+ @StartTime = params['StartTime']
8115
+ @EndTime = params['EndTime']
8116
+ @FileDownloadUrl = params['FileDownloadUrl']
8117
+ @FailedReason = params['FailedReason']
8118
+ @Expire = params['Expire']
8119
+ @PreviewUrl = params['PreviewUrl']
8120
+ end
8121
+ end
8122
+
8123
+ # 录像下载任务数据结构
8124
+ class VideoDownloadTaskData < TencentCloud::Common::AbstractModel
8125
+ # @param DownloadTaskId: 下载任务ID
8126
+ # 注意:此字段可能返回 null,表示取不到有效值。
8127
+ # @type DownloadTaskId: String
8128
+
8129
+ attr_accessor :DownloadTaskId
8130
+
8131
+ def initialize(downloadtaskid=nil)
8132
+ @DownloadTaskId = downloadtaskid
8133
+ end
8134
+
8135
+ def deserialize(params)
8136
+ @DownloadTaskId = params['DownloadTaskId']
8137
+ end
8138
+ end
8139
+
7716
8140
  end
7717
8141
  end
7718
8142
  end
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.1049
4
+ version: 3.0.1050
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-27 00:00:00.000000000 Z
11
+ date: 2025-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common