tencentcloud-sdk-iotexplorer 3.0.816 → 3.0.817

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: c4441c312d609540daf90cf46915351b20c26ab6
4
- data.tar.gz: 2cb37794bc63a64f9e34275e2e756565aa5bad25
3
+ metadata.gz: eb4a136a7fe4ec5bdb37c8776c55e08b044fe6ca
4
+ data.tar.gz: 522e2792cfd67bb127a12991236119f2b666caa5
5
5
  SHA512:
6
- metadata.gz: 488de49c6412506d301bc794d38c1eadb1460a4872cb4197821d6f6b48ff870147e0351b916969206c90250dfbe5c17e5d6ba14679d488937984c56d6964c50b
7
- data.tar.gz: 3cec232902f321f42c2bb4042d22288c35b481570e726f5ac975aee9d50f982d56e0d8e56be76d538d7ee0b252aa3fb1a3925c05b3f781478b4aa36ffd8c9817
6
+ metadata.gz: f1f6881786cdb41b3510607a5ee1b403410490d22eb620e85916c5530166385060ee795bab32a227cd715fb46068fc4f490cac1e7486e23af0d3fad6d10376e1
7
+ data.tar.gz: edb76b78bf51423902fedb07eac84b5739bf2152ba2b4058b7abc1c9438139721a589a80bb9ecd9dfc4353b0667d83422492071071a514c50405a554d389a8f9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.816
1
+ 3.0.817
@@ -413,6 +413,30 @@ module TencentCloud
413
413
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
414
  end
415
415
 
416
+ # 创建TRTC通话参数
417
+
418
+ # @param request: Request instance for CreateTRTCSignaturesWithRoomId.
419
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::CreateTRTCSignaturesWithRoomIdRequest`
420
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::CreateTRTCSignaturesWithRoomIdResponse`
421
+ def CreateTRTCSignaturesWithRoomId(request)
422
+ body = send_request('CreateTRTCSignaturesWithRoomId', request.serialize)
423
+ response = JSON.parse(body)
424
+ if response['Response'].key?('Error') == false
425
+ model = CreateTRTCSignaturesWithRoomIdResponse.new
426
+ model.deserialize(response['Response'])
427
+ model
428
+ else
429
+ code = response['Response']['Error']['Code']
430
+ message = response['Response']['Error']['Message']
431
+ reqid = response['Response']['RequestId']
432
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
433
+ end
434
+ rescue TencentCloud::Common::TencentCloudSDKException => e
435
+ raise e
436
+ rescue StandardError => e
437
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
438
+ end
439
+
416
440
  # 本接口(CreateTopicPolicy)用于创建一个Topic
417
441
 
418
442
  # @param request: Request instance for CreateTopicPolicy.
@@ -869,6 +893,30 @@ module TencentCloud
869
893
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
870
894
  end
871
895
 
896
+ # 查询指定的云存 AI 分析任务
897
+
898
+ # @param request: Request instance for DescribeCloudStorageAIServiceTask.
899
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageAIServiceTaskRequest`
900
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageAIServiceTaskResponse`
901
+ def DescribeCloudStorageAIServiceTask(request)
902
+ body = send_request('DescribeCloudStorageAIServiceTask', request.serialize)
903
+ response = JSON.parse(body)
904
+ if response['Response'].key?('Error') == false
905
+ model = DescribeCloudStorageAIServiceTaskResponse.new
906
+ model.deserialize(response['Response'])
907
+ model
908
+ else
909
+ code = response['Response']['Error']['Code']
910
+ message = response['Response']['Error']['Message']
911
+ reqid = response['Response']['RequestId']
912
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
913
+ end
914
+ rescue TencentCloud::Common::TencentCloudSDKException => e
915
+ raise e
916
+ rescue StandardError => e
917
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
918
+ end
919
+
872
920
  # 查询指定设备的云存 AI 分析任务列表
873
921
 
874
922
  # @param request: Request instance for DescribeCloudStorageAIServiceTasks.
@@ -1853,6 +1901,30 @@ module TencentCloud
1853
1901
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1854
1902
  end
1855
1903
 
1904
+ # 解散TRTC房间
1905
+
1906
+ # @param request: Request instance for DismissRoomByStrRoomIdFromTRTC.
1907
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::DismissRoomByStrRoomIdFromTRTCRequest`
1908
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DismissRoomByStrRoomIdFromTRTCResponse`
1909
+ def DismissRoomByStrRoomIdFromTRTC(request)
1910
+ body = send_request('DismissRoomByStrRoomIdFromTRTC', request.serialize)
1911
+ response = JSON.parse(body)
1912
+ if response['Response'].key?('Error') == false
1913
+ model = DismissRoomByStrRoomIdFromTRTCResponse.new
1914
+ model.deserialize(response['Response'])
1915
+ model
1916
+ else
1917
+ code = response['Response']['Error']['Code']
1918
+ message = response['Response']['Error']['Message']
1919
+ reqid = response['Response']['RequestId']
1920
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1921
+ end
1922
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1923
+ raise e
1924
+ rescue StandardError => e
1925
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1926
+ end
1927
+
1856
1928
  # 启用规则
1857
1929
 
1858
1930
  # @param request: Request instance for EnableTopicRule.
@@ -1901,6 +1973,30 @@ module TencentCloud
1901
1973
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1902
1974
  end
1903
1975
 
1976
+ # 获取云存 AI 分析任务输出文件的下载地址
1977
+
1978
+ # @param request: Request instance for GenerateCloudStorageAIServiceTaskFileURL.
1979
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::GenerateCloudStorageAIServiceTaskFileURLRequest`
1980
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::GenerateCloudStorageAIServiceTaskFileURLResponse`
1981
+ def GenerateCloudStorageAIServiceTaskFileURL(request)
1982
+ body = send_request('GenerateCloudStorageAIServiceTaskFileURL', request.serialize)
1983
+ response = JSON.parse(body)
1984
+ if response['Response'].key?('Error') == false
1985
+ model = GenerateCloudStorageAIServiceTaskFileURLResponse.new
1986
+ model.deserialize(response['Response'])
1987
+ model
1988
+ else
1989
+ code = response['Response']['Error']['Code']
1990
+ message = response['Response']['Error']['Message']
1991
+ reqid = response['Response']['RequestId']
1992
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1993
+ end
1994
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1995
+ raise e
1996
+ rescue StandardError => e
1997
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1998
+ end
1999
+
1904
2000
  # 获取视频防盗链播放URL
1905
2001
 
1906
2002
  # @param request: Request instance for GenerateSignedVideoURL.
@@ -2741,6 +2837,30 @@ module TencentCloud
2741
2837
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2742
2838
  end
2743
2839
 
2840
+ # TRTC操作,将用户从房间移出
2841
+
2842
+ # @param request: Request instance for RemoveUserByRoomIdFromTRTC.
2843
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::RemoveUserByRoomIdFromTRTCRequest`
2844
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::RemoveUserByRoomIdFromTRTCResponse`
2845
+ def RemoveUserByRoomIdFromTRTC(request)
2846
+ body = send_request('RemoveUserByRoomIdFromTRTC', request.serialize)
2847
+ response = JSON.parse(body)
2848
+ if response['Response'].key?('Error') == false
2849
+ model = RemoveUserByRoomIdFromTRTCResponse.new
2850
+ model.deserialize(response['Response'])
2851
+ model
2852
+ else
2853
+ code = response['Response']['Error']['Code']
2854
+ message = response['Response']['Error']['Message']
2855
+ reqid = response['Response']['RequestId']
2856
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2857
+ end
2858
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2859
+ raise e
2860
+ rescue StandardError => e
2861
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2862
+ end
2863
+
2744
2864
  # 重置云存服务
2745
2865
 
2746
2866
  # @param request: Request instance for ResetCloudStorage.
@@ -415,36 +415,39 @@ module TencentCloud
415
415
  # @type DeviceName: String
416
416
  # @param ChannelId: 通道 ID
417
417
  # @type ChannelId: Integer
418
+ # @param ServiceType: 云存 AI 服务类型。可能取值:
419
+
420
+ # - `PackageDetect`:包裹检测
421
+ # - `Highlight`:视频浓缩
422
+ # @type ServiceType: String
418
423
  # @param StartTime: 对应云存视频的起始时间
419
424
  # @type StartTime: Integer
420
425
  # @param EndTime: 对应云存视频的结束时间
421
426
  # @type EndTime: Integer
422
- # @param Status: 任务状态(1:失败;2:成功但结果为空;3:成功且结果非空)
427
+ # @param Status: 任务状态(1:失败;2:成功但结果为空;3:成功且结果非空;4:执行中)
423
428
  # @type Status: Integer
424
429
  # @param Result: 任务结果
425
430
  # @type Result: String
426
- # @param ServiceType: 云存 AI 服务类型
427
- # 注意:此字段可能返回 null,表示取不到有效值。
428
- # @type ServiceType: String
431
+ # @param Files: 任务输出文件列表
432
+ # @type Files: Array
429
433
  # @param CreateTime: 创建时间
430
- # 注意:此字段可能返回 null,表示取不到有效值。
431
434
  # @type CreateTime: Integer
432
435
  # @param UpdateTime: 最后更新时间
433
- # 注意:此字段可能返回 null,表示取不到有效值。
434
436
  # @type UpdateTime: Integer
435
437
 
436
- attr_accessor :TaskId, :ProductId, :DeviceName, :ChannelId, :StartTime, :EndTime, :Status, :Result, :ServiceType, :CreateTime, :UpdateTime
438
+ attr_accessor :TaskId, :ProductId, :DeviceName, :ChannelId, :ServiceType, :StartTime, :EndTime, :Status, :Result, :Files, :CreateTime, :UpdateTime
437
439
 
438
- def initialize(taskid=nil, productid=nil, devicename=nil, channelid=nil, starttime=nil, endtime=nil, status=nil, result=nil, servicetype=nil, createtime=nil, updatetime=nil)
440
+ def initialize(taskid=nil, productid=nil, devicename=nil, channelid=nil, servicetype=nil, starttime=nil, endtime=nil, status=nil, result=nil, files=nil, createtime=nil, updatetime=nil)
439
441
  @TaskId = taskid
440
442
  @ProductId = productid
441
443
  @DeviceName = devicename
442
444
  @ChannelId = channelid
445
+ @ServiceType = servicetype
443
446
  @StartTime = starttime
444
447
  @EndTime = endtime
445
448
  @Status = status
446
449
  @Result = result
447
- @ServiceType = servicetype
450
+ @Files = files
448
451
  @CreateTime = createtime
449
452
  @UpdateTime = updatetime
450
453
  end
@@ -454,11 +457,12 @@ module TencentCloud
454
457
  @ProductId = params['ProductId']
455
458
  @DeviceName = params['DeviceName']
456
459
  @ChannelId = params['ChannelId']
460
+ @ServiceType = params['ServiceType']
457
461
  @StartTime = params['StartTime']
458
462
  @EndTime = params['EndTime']
459
463
  @Status = params['Status']
460
464
  @Result = params['Result']
461
- @ServiceType = params['ServiceType']
465
+ @Files = params['Files']
462
466
  @CreateTime = params['CreateTime']
463
467
  @UpdateTime = params['UpdateTime']
464
468
  end
@@ -1229,6 +1233,54 @@ module TencentCloud
1229
1233
  end
1230
1234
  end
1231
1235
 
1236
+ # CreateTRTCSignaturesWithRoomId请求参数结构体
1237
+ class CreateTRTCSignaturesWithRoomIdRequest < TencentCloud::Common::AbstractModel
1238
+ # @param TRTCUserIds: TRTC进房间的用户名称数组,数组元素不可重复,最长不超过 10 个。
1239
+ # @type TRTCUserIds: Array
1240
+ # @param RoomId: 房间id
1241
+ # @type RoomId: String
1242
+
1243
+ attr_accessor :TRTCUserIds, :RoomId
1244
+
1245
+ def initialize(trtcuserids=nil, roomid=nil)
1246
+ @TRTCUserIds = trtcuserids
1247
+ @RoomId = roomid
1248
+ end
1249
+
1250
+ def deserialize(params)
1251
+ @TRTCUserIds = params['TRTCUserIds']
1252
+ @RoomId = params['RoomId']
1253
+ end
1254
+ end
1255
+
1256
+ # CreateTRTCSignaturesWithRoomId返回参数结构体
1257
+ class CreateTRTCSignaturesWithRoomIdResponse < TencentCloud::Common::AbstractModel
1258
+ # @param TRTCParamList: 返回参数数组
1259
+ # 注意:此字段可能返回 null,表示取不到有效值。
1260
+ # @type TRTCParamList: Array
1261
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1262
+ # @type RequestId: String
1263
+
1264
+ attr_accessor :TRTCParamList, :RequestId
1265
+
1266
+ def initialize(trtcparamlist=nil, requestid=nil)
1267
+ @TRTCParamList = trtcparamlist
1268
+ @RequestId = requestid
1269
+ end
1270
+
1271
+ def deserialize(params)
1272
+ unless params['TRTCParamList'].nil?
1273
+ @TRTCParamList = []
1274
+ params['TRTCParamList'].each do |i|
1275
+ trtcparams_tmp = TRTCParams.new
1276
+ trtcparams_tmp.deserialize(i)
1277
+ @TRTCParamList << trtcparams_tmp
1278
+ end
1279
+ end
1280
+ @RequestId = params['RequestId']
1281
+ end
1282
+ end
1283
+
1232
1284
  # CreateTopicPolicy请求参数结构体
1233
1285
  class CreateTopicPolicyRequest < TencentCloud::Common::AbstractModel
1234
1286
  # @param ProductId: 产品ID
@@ -1941,7 +1993,10 @@ module TencentCloud
1941
1993
  # @type ProductId: String
1942
1994
  # @param DeviceName: 设备名称
1943
1995
  # @type DeviceName: String
1944
- # @param ServiceType: 云存 AI 服务类型。可选值:PackageDetect
1996
+ # @param ServiceType: 云存 AI 服务类型。可选值:
1997
+
1998
+ # - `PackageDetect`:包裹检测
1999
+ # - `Highlight`:视频浓缩
1945
2000
  # @type ServiceType: String
1946
2001
 
1947
2002
  attr_accessor :ProductId, :DeviceName, :ServiceType
@@ -1987,30 +2042,82 @@ module TencentCloud
1987
2042
  end
1988
2043
  end
1989
2044
 
2045
+ # DescribeCloudStorageAIServiceTask请求参数结构体
2046
+ class DescribeCloudStorageAIServiceTaskRequest < TencentCloud::Common::AbstractModel
2047
+ # @param TaskId: 任务 ID
2048
+ # @type TaskId: String
2049
+
2050
+ attr_accessor :TaskId
2051
+
2052
+ def initialize(taskid=nil)
2053
+ @TaskId = taskid
2054
+ end
2055
+
2056
+ def deserialize(params)
2057
+ @TaskId = params['TaskId']
2058
+ end
2059
+ end
2060
+
2061
+ # DescribeCloudStorageAIServiceTask返回参数结构体
2062
+ class DescribeCloudStorageAIServiceTaskResponse < TencentCloud::Common::AbstractModel
2063
+ # @param TaskInfo: 任务信息
2064
+ # @type TaskInfo: :class:`Tencentcloud::Iotexplorer.v20190423.models.CloudStorageAIServiceTask`
2065
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2066
+ # @type RequestId: String
2067
+
2068
+ attr_accessor :TaskInfo, :RequestId
2069
+
2070
+ def initialize(taskinfo=nil, requestid=nil)
2071
+ @TaskInfo = taskinfo
2072
+ @RequestId = requestid
2073
+ end
2074
+
2075
+ def deserialize(params)
2076
+ unless params['TaskInfo'].nil?
2077
+ @TaskInfo = CloudStorageAIServiceTask.new
2078
+ @TaskInfo.deserialize(params['TaskInfo'])
2079
+ end
2080
+ @RequestId = params['RequestId']
2081
+ end
2082
+ end
2083
+
1990
2084
  # DescribeCloudStorageAIServiceTasks请求参数结构体
1991
2085
  class DescribeCloudStorageAIServiceTasksRequest < TencentCloud::Common::AbstractModel
1992
2086
  # @param ProductId: 产品 ID
1993
2087
  # @type ProductId: String
1994
2088
  # @param DeviceName: 设备名称
1995
2089
  # @type DeviceName: String
1996
- # @param ServiceType: 云存 AI 服务类型。可选值:PackageDetect
2090
+ # @param ServiceType: 云存 AI 服务类型。可选值:
2091
+ # - `PackageDetect`:包裹检测
2092
+ # - `Highlight`:视频浓缩
1997
2093
  # @type ServiceType: String
1998
2094
  # @param Limit: 分页拉取数量
1999
2095
  # @type Limit: Integer
2000
2096
  # @param Offset: 分页拉取偏移
2001
2097
  # @type Offset: Integer
2002
- # @param Status: 任务状态(1:失败;2:成功但结果为空;3:成功且结果非空;不传则查询全部状态的任务)
2098
+ # @param Status: 任务状态。可选值:
2099
+ # - (不传):查询全部状态的任务
2100
+ # - `1`:失败
2101
+ # - `2`:成功但结果为空
2102
+ # - `3`:成功且结果非空
2103
+ # - `4`:执行中
2003
2104
  # @type Status: Integer
2105
+ # @param UserId: 用户ID
2106
+ # @type UserId: String
2107
+ # @param ChannelId: 通道ID 非NVR设备则不填 NVR设备则必填 默认为无
2108
+ # @type ChannelId: Integer
2004
2109
 
2005
- attr_accessor :ProductId, :DeviceName, :ServiceType, :Limit, :Offset, :Status
2110
+ attr_accessor :ProductId, :DeviceName, :ServiceType, :Limit, :Offset, :Status, :UserId, :ChannelId
2006
2111
 
2007
- def initialize(productid=nil, devicename=nil, servicetype=nil, limit=nil, offset=nil, status=nil)
2112
+ def initialize(productid=nil, devicename=nil, servicetype=nil, limit=nil, offset=nil, status=nil, userid=nil, channelid=nil)
2008
2113
  @ProductId = productid
2009
2114
  @DeviceName = devicename
2010
2115
  @ServiceType = servicetype
2011
2116
  @Limit = limit
2012
2117
  @Offset = offset
2013
2118
  @Status = status
2119
+ @UserId = userid
2120
+ @ChannelId = channelid
2014
2121
  end
2015
2122
 
2016
2123
  def deserialize(params)
@@ -2020,6 +2127,8 @@ module TencentCloud
2020
2127
  @Limit = params['Limit']
2021
2128
  @Offset = params['Offset']
2022
2129
  @Status = params['Status']
2130
+ @UserId = params['UserId']
2131
+ @ChannelId = params['ChannelId']
2023
2132
  end
2024
2133
  end
2025
2134
 
@@ -4573,6 +4682,38 @@ module TencentCloud
4573
4682
  end
4574
4683
  end
4575
4684
 
4685
+ # DismissRoomByStrRoomIdFromTRTC请求参数结构体
4686
+ class DismissRoomByStrRoomIdFromTRTCRequest < TencentCloud::Common::AbstractModel
4687
+ # @param RoomId: 房间id
4688
+ # @type RoomId: String
4689
+
4690
+ attr_accessor :RoomId
4691
+
4692
+ def initialize(roomid=nil)
4693
+ @RoomId = roomid
4694
+ end
4695
+
4696
+ def deserialize(params)
4697
+ @RoomId = params['RoomId']
4698
+ end
4699
+ end
4700
+
4701
+ # DismissRoomByStrRoomIdFromTRTC返回参数结构体
4702
+ class DismissRoomByStrRoomIdFromTRTCResponse < TencentCloud::Common::AbstractModel
4703
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4704
+ # @type RequestId: String
4705
+
4706
+ attr_accessor :RequestId
4707
+
4708
+ def initialize(requestid=nil)
4709
+ @RequestId = requestid
4710
+ end
4711
+
4712
+ def deserialize(params)
4713
+ @RequestId = params['RequestId']
4714
+ end
4715
+ end
4716
+
4576
4717
  # EnableTopicRule请求参数结构体
4577
4718
  class EnableTopicRuleRequest < TencentCloud::Common::AbstractModel
4578
4719
  # @param RuleName: 规则名称
@@ -4923,6 +5064,54 @@ module TencentCloud
4923
5064
  end
4924
5065
  end
4925
5066
 
5067
+ # GenerateCloudStorageAIServiceTaskFileURL请求参数结构体
5068
+ class GenerateCloudStorageAIServiceTaskFileURLRequest < TencentCloud::Common::AbstractModel
5069
+ # @param TaskId: 产品 ID
5070
+ # @type TaskId: String
5071
+ # @param FileName: 文件名
5072
+ # @type FileName: String
5073
+ # @param ExpireTime: 过期时间 UNIX 时间戳(默认值为当前时间 1 小时后)
5074
+ # @type ExpireTime: Integer
5075
+
5076
+ attr_accessor :TaskId, :FileName, :ExpireTime
5077
+
5078
+ def initialize(taskid=nil, filename=nil, expiretime=nil)
5079
+ @TaskId = taskid
5080
+ @FileName = filename
5081
+ @ExpireTime = expiretime
5082
+ end
5083
+
5084
+ def deserialize(params)
5085
+ @TaskId = params['TaskId']
5086
+ @FileName = params['FileName']
5087
+ @ExpireTime = params['ExpireTime']
5088
+ end
5089
+ end
5090
+
5091
+ # GenerateCloudStorageAIServiceTaskFileURL返回参数结构体
5092
+ class GenerateCloudStorageAIServiceTaskFileURLResponse < TencentCloud::Common::AbstractModel
5093
+ # @param FileURL: 文件下载 URL
5094
+ # @type FileURL: String
5095
+ # @param ExpireTime: 过期时间 UNIX 时间戳
5096
+ # @type ExpireTime: Integer
5097
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5098
+ # @type RequestId: String
5099
+
5100
+ attr_accessor :FileURL, :ExpireTime, :RequestId
5101
+
5102
+ def initialize(fileurl=nil, expiretime=nil, requestid=nil)
5103
+ @FileURL = fileurl
5104
+ @ExpireTime = expiretime
5105
+ @RequestId = requestid
5106
+ end
5107
+
5108
+ def deserialize(params)
5109
+ @FileURL = params['FileURL']
5110
+ @ExpireTime = params['ExpireTime']
5111
+ @RequestId = params['RequestId']
5112
+ end
5113
+ end
5114
+
4926
5115
  # GenerateSignedVideoURL请求参数结构体
4927
5116
  class GenerateSignedVideoURLRequest < TencentCloud::Common::AbstractModel
4928
5117
  # @param VideoURL: 视频播放原始URL地址
@@ -6164,7 +6353,8 @@ module TencentCloud
6164
6353
  class ModifyCloudStorageAIServiceCallbackRequest < TencentCloud::Common::AbstractModel
6165
6354
  # @param ProductId: 产品ID
6166
6355
  # @type ProductId: String
6167
- # @param Type: 推送类型。http:HTTP 回调
6356
+ # @param Type: 推送类型。可选值:
6357
+ # - `http`:HTTP 回调
6168
6358
  # @type Type: String
6169
6359
  # @param CallbackUrl: HTTP 回调 URL
6170
6360
  # @type CallbackUrl: String
@@ -6210,21 +6400,26 @@ module TencentCloud
6210
6400
  # @type ProductId: String
6211
6401
  # @param DeviceName: 设备名称
6212
6402
  # @type DeviceName: String
6213
- # @param ServiceType: 云存 AI 服务类型。可选值:PackageDetect
6403
+ # @param ServiceType: 云存 AI 服务类型。可选值:
6404
+ # - `PackageDetect`:包裹检测
6405
+ # - `Highlight`:视频浓缩
6214
6406
  # @type ServiceType: String
6215
6407
  # @param Enabled: 启用状态
6216
6408
  # @type Enabled: Boolean
6217
6409
  # @param ROI: 视频分析区域
6218
6410
  # @type ROI: String
6411
+ # @param Config: 云存 AI 服务的配置参数
6412
+ # @type Config: String
6219
6413
 
6220
- attr_accessor :ProductId, :DeviceName, :ServiceType, :Enabled, :ROI
6414
+ attr_accessor :ProductId, :DeviceName, :ServiceType, :Enabled, :ROI, :Config
6221
6415
 
6222
- def initialize(productid=nil, devicename=nil, servicetype=nil, enabled=nil, roi=nil)
6416
+ def initialize(productid=nil, devicename=nil, servicetype=nil, enabled=nil, roi=nil, config=nil)
6223
6417
  @ProductId = productid
6224
6418
  @DeviceName = devicename
6225
6419
  @ServiceType = servicetype
6226
6420
  @Enabled = enabled
6227
6421
  @ROI = roi
6422
+ @Config = config
6228
6423
  end
6229
6424
 
6230
6425
  def deserialize(params)
@@ -6233,6 +6428,7 @@ module TencentCloud
6233
6428
  @ServiceType = params['ServiceType']
6234
6429
  @Enabled = params['Enabled']
6235
6430
  @ROI = params['ROI']
6431
+ @Config = params['Config']
6236
6432
  end
6237
6433
  end
6238
6434
 
@@ -7521,6 +7717,42 @@ module TencentCloud
7521
7717
  end
7522
7718
  end
7523
7719
 
7720
+ # RemoveUserByRoomIdFromTRTC请求参数结构体
7721
+ class RemoveUserByRoomIdFromTRTCRequest < TencentCloud::Common::AbstractModel
7722
+ # @param RoomId: 房间id
7723
+ # @type RoomId: String
7724
+ # @param TRTCUserIds: 用户名称数组,数组元素不可重复,最长不超过 10 个。
7725
+ # @type TRTCUserIds: Array
7726
+
7727
+ attr_accessor :RoomId, :TRTCUserIds
7728
+
7729
+ def initialize(roomid=nil, trtcuserids=nil)
7730
+ @RoomId = roomid
7731
+ @TRTCUserIds = trtcuserids
7732
+ end
7733
+
7734
+ def deserialize(params)
7735
+ @RoomId = params['RoomId']
7736
+ @TRTCUserIds = params['TRTCUserIds']
7737
+ end
7738
+ end
7739
+
7740
+ # RemoveUserByRoomIdFromTRTC返回参数结构体
7741
+ class RemoveUserByRoomIdFromTRTCResponse < TencentCloud::Common::AbstractModel
7742
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7743
+ # @type RequestId: String
7744
+
7745
+ attr_accessor :RequestId
7746
+
7747
+ def initialize(requestid=nil)
7748
+ @RequestId = requestid
7749
+ end
7750
+
7751
+ def deserialize(params)
7752
+ @RequestId = params['RequestId']
7753
+ end
7754
+ end
7755
+
7524
7756
  # ResetCloudStorageEvent请求参数结构体
7525
7757
  class ResetCloudStorageEventRequest < TencentCloud::Common::AbstractModel
7526
7758
  # @param ProductId: 产品ID
@@ -7804,6 +8036,38 @@ module TencentCloud
7804
8036
  end
7805
8037
  end
7806
8038
 
8039
+ # TRTC 的参数 可以用来加入房间
8040
+ class TRTCParams < TencentCloud::Common::AbstractModel
8041
+ # @param SdkAppId: TRTC入参: TRTC的实例ID
8042
+ # @type SdkAppId: Integer
8043
+ # @param UserId: TRTC入参: 用户加入房间的ID
8044
+ # @type UserId: String
8045
+ # @param UserSig: TRTC入参: 用户的签名用来鉴权
8046
+ # @type UserSig: String
8047
+ # @param StrRoomId: TRTC入参: 加入的TRTC房间名称
8048
+ # @type StrRoomId: String
8049
+ # @param PrivateKey: TRTC入参: 校验TRTC的KEY
8050
+ # @type PrivateKey: String
8051
+
8052
+ attr_accessor :SdkAppId, :UserId, :UserSig, :StrRoomId, :PrivateKey
8053
+
8054
+ def initialize(sdkappid=nil, userid=nil, usersig=nil, strroomid=nil, privatekey=nil)
8055
+ @SdkAppId = sdkappid
8056
+ @UserId = userid
8057
+ @UserSig = usersig
8058
+ @StrRoomId = strroomid
8059
+ @PrivateKey = privatekey
8060
+ end
8061
+
8062
+ def deserialize(params)
8063
+ @SdkAppId = params['SdkAppId']
8064
+ @UserId = params['UserId']
8065
+ @UserSig = params['UserSig']
8066
+ @StrRoomId = params['StrRoomId']
8067
+ @PrivateKey = params['PrivateKey']
8068
+ end
8069
+ end
8070
+
7807
8071
  # 缩略图信息
7808
8072
  class ThumbnailURLInfoList < TencentCloud::Common::AbstractModel
7809
8073
  # @param ThumbnailURL: 缩略图访问地址
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-iotexplorer
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.816
4
+ version: 3.0.817
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-05-07 00:00:00.000000000 Z
11
+ date: 2024-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,8 +33,8 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20190423/client.rb
37
36
  - lib/v20190423/models.rb
37
+ - lib/v20190423/client.rb
38
38
  - lib/tencentcloud-sdk-iotexplorer.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby