tencentcloud-sdk-iotexplorer 3.0.1154 → 3.0.1170
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190423/client.rb +168 -26
- data/lib/v20190423/models.rb +773 -130
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a9abdf3b4b9e79f6ec2f5272e5f6771889e1476b
|
|
4
|
+
data.tar.gz: 75de6c36f036500c19c9bf5808c12b9f98ac7391
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eac2a44d3cfe88cce51212840bc06fe568148d4d52205342a1f1035f44a802c15482b71c784b61c5516f180e89b1bbb7a3bde5b1aadf47973417813c464d3d35
|
|
7
|
+
data.tar.gz: a2ab38f2c3d827e49396e9e3bad72a6c89a6847ab09beb3a681004d8282d7ae17a34d25d568bf3a0ed9887c9195417e09a98d3a132b30d318020dbb21715cae6
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1170
|
data/lib/v20190423/client.rb
CHANGED
|
@@ -53,6 +53,54 @@ module TencentCloud
|
|
|
53
53
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
54
54
|
end
|
|
55
55
|
|
|
56
|
+
# 批量同步执行 TWeSee 语义理解任务
|
|
57
|
+
|
|
58
|
+
# @param request: Request instance for BatchCreateTWeSeeRecognitionTask.
|
|
59
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::BatchCreateTWeSeeRecognitionTaskRequest`
|
|
60
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::BatchCreateTWeSeeRecognitionTaskResponse`
|
|
61
|
+
def BatchCreateTWeSeeRecognitionTask(request)
|
|
62
|
+
body = send_request('BatchCreateTWeSeeRecognitionTask', request.serialize)
|
|
63
|
+
response = JSON.parse(body)
|
|
64
|
+
if response['Response'].key?('Error') == false
|
|
65
|
+
model = BatchCreateTWeSeeRecognitionTaskResponse.new
|
|
66
|
+
model.deserialize(response['Response'])
|
|
67
|
+
model
|
|
68
|
+
else
|
|
69
|
+
code = response['Response']['Error']['Code']
|
|
70
|
+
message = response['Response']['Error']['Message']
|
|
71
|
+
reqid = response['Response']['RequestId']
|
|
72
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
73
|
+
end
|
|
74
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
75
|
+
raise e
|
|
76
|
+
rescue StandardError => e
|
|
77
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
# 批量同步执行 TWeSee 语义理解任务
|
|
81
|
+
|
|
82
|
+
# @param request: Request instance for BatchInvokeTWeSeeRecognitionTask.
|
|
83
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::BatchInvokeTWeSeeRecognitionTaskRequest`
|
|
84
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::BatchInvokeTWeSeeRecognitionTaskResponse`
|
|
85
|
+
def BatchInvokeTWeSeeRecognitionTask(request)
|
|
86
|
+
body = send_request('BatchInvokeTWeSeeRecognitionTask', request.serialize)
|
|
87
|
+
response = JSON.parse(body)
|
|
88
|
+
if response['Response'].key?('Error') == false
|
|
89
|
+
model = BatchInvokeTWeSeeRecognitionTaskResponse.new
|
|
90
|
+
model.deserialize(response['Response'])
|
|
91
|
+
model
|
|
92
|
+
else
|
|
93
|
+
code = response['Response']['Error']['Code']
|
|
94
|
+
message = response['Response']['Error']['Message']
|
|
95
|
+
reqid = response['Response']['RequestId']
|
|
96
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
97
|
+
end
|
|
98
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
99
|
+
raise e
|
|
100
|
+
rescue StandardError => e
|
|
101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
102
|
+
end
|
|
103
|
+
|
|
56
104
|
# 本接口(BatchUpdateFirmware)用于批量更新设备固件
|
|
57
105
|
|
|
58
106
|
# @param request: Request instance for BatchUpdateFirmware.
|
|
@@ -751,6 +799,54 @@ module TencentCloud
|
|
|
751
799
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
752
800
|
end
|
|
753
801
|
|
|
802
|
+
# 同步执行 TWeSee 语义理解任务
|
|
803
|
+
|
|
804
|
+
# @param request: Request instance for CreateTWeSeeRecognitionTaskWithFile.
|
|
805
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::CreateTWeSeeRecognitionTaskWithFileRequest`
|
|
806
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::CreateTWeSeeRecognitionTaskWithFileResponse`
|
|
807
|
+
def CreateTWeSeeRecognitionTaskWithFile(request)
|
|
808
|
+
body = send_request('CreateTWeSeeRecognitionTaskWithFile', request.serialize)
|
|
809
|
+
response = JSON.parse(body)
|
|
810
|
+
if response['Response'].key?('Error') == false
|
|
811
|
+
model = CreateTWeSeeRecognitionTaskWithFileResponse.new
|
|
812
|
+
model.deserialize(response['Response'])
|
|
813
|
+
model
|
|
814
|
+
else
|
|
815
|
+
code = response['Response']['Error']['Code']
|
|
816
|
+
message = response['Response']['Error']['Message']
|
|
817
|
+
reqid = response['Response']['RequestId']
|
|
818
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
819
|
+
end
|
|
820
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
821
|
+
raise e
|
|
822
|
+
rescue StandardError => e
|
|
823
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
824
|
+
end
|
|
825
|
+
|
|
826
|
+
# 开通 TWeSee 后付费服务
|
|
827
|
+
|
|
828
|
+
# @param request: Request instance for CreateTWeSeeService.
|
|
829
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::CreateTWeSeeServiceRequest`
|
|
830
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::CreateTWeSeeServiceResponse`
|
|
831
|
+
def CreateTWeSeeService(request)
|
|
832
|
+
body = send_request('CreateTWeSeeService', request.serialize)
|
|
833
|
+
response = JSON.parse(body)
|
|
834
|
+
if response['Response'].key?('Error') == false
|
|
835
|
+
model = CreateTWeSeeServiceResponse.new
|
|
836
|
+
model.deserialize(response['Response'])
|
|
837
|
+
model
|
|
838
|
+
else
|
|
839
|
+
code = response['Response']['Error']['Code']
|
|
840
|
+
message = response['Response']['Error']['Message']
|
|
841
|
+
reqid = response['Response']['RequestId']
|
|
842
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
843
|
+
end
|
|
844
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
845
|
+
raise e
|
|
846
|
+
rescue StandardError => e
|
|
847
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
848
|
+
end
|
|
849
|
+
|
|
754
850
|
# 用于配置TWeTalk服务连接产品配置信息。
|
|
755
851
|
|
|
756
852
|
# @param request: Request instance for CreateTWeTalkProductConfig.
|
|
@@ -1111,6 +1207,30 @@ module TencentCloud
|
|
|
1111
1207
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1112
1208
|
end
|
|
1113
1209
|
|
|
1210
|
+
# 用于删除配置TWeTalk服务连接产品配置信息。
|
|
1211
|
+
|
|
1212
|
+
# @param request: Request instance for DeleteTWeTalkProductConfigV2.
|
|
1213
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DeleteTWeTalkProductConfigV2Request`
|
|
1214
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DeleteTWeTalkProductConfigV2Response`
|
|
1215
|
+
def DeleteTWeTalkProductConfigV2(request)
|
|
1216
|
+
body = send_request('DeleteTWeTalkProductConfigV2', request.serialize)
|
|
1217
|
+
response = JSON.parse(body)
|
|
1218
|
+
if response['Response'].key?('Error') == false
|
|
1219
|
+
model = DeleteTWeTalkProductConfigV2Response.new
|
|
1220
|
+
model.deserialize(response['Response'])
|
|
1221
|
+
model
|
|
1222
|
+
else
|
|
1223
|
+
code = response['Response']['Error']['Code']
|
|
1224
|
+
message = response['Response']['Error']['Message']
|
|
1225
|
+
reqid = response['Response']['RequestId']
|
|
1226
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1227
|
+
end
|
|
1228
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1229
|
+
raise e
|
|
1230
|
+
rescue StandardError => e
|
|
1231
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1232
|
+
end
|
|
1233
|
+
|
|
1114
1234
|
# 本接口(DeleteTopicPolicy)用于删除Topic
|
|
1115
1235
|
|
|
1116
1236
|
# @param request: Request instance for DeleteTopicPolicy.
|
|
@@ -1855,32 +1975,6 @@ module TencentCloud
|
|
|
1855
1975
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1856
1976
|
end
|
|
1857
1977
|
|
|
1858
|
-
# 获取实时位置解析依赖于teg位置服务,近30天调用只有2个个人账号调用,产品推下线
|
|
1859
|
-
|
|
1860
|
-
# 获取实时位置解析
|
|
1861
|
-
|
|
1862
|
-
# @param request: Request instance for DescribeDeviceLocationSolve.
|
|
1863
|
-
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeDeviceLocationSolveRequest`
|
|
1864
|
-
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeDeviceLocationSolveResponse`
|
|
1865
|
-
def DescribeDeviceLocationSolve(request)
|
|
1866
|
-
body = send_request('DescribeDeviceLocationSolve', request.serialize)
|
|
1867
|
-
response = JSON.parse(body)
|
|
1868
|
-
if response['Response'].key?('Error') == false
|
|
1869
|
-
model = DescribeDeviceLocationSolveResponse.new
|
|
1870
|
-
model.deserialize(response['Response'])
|
|
1871
|
-
model
|
|
1872
|
-
else
|
|
1873
|
-
code = response['Response']['Error']['Code']
|
|
1874
|
-
message = response['Response']['Error']['Message']
|
|
1875
|
-
reqid = response['Response']['RequestId']
|
|
1876
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1877
|
-
end
|
|
1878
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1879
|
-
raise e
|
|
1880
|
-
rescue StandardError => e
|
|
1881
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1882
|
-
end
|
|
1883
|
-
|
|
1884
1978
|
# 根据设备信息拉取有效套餐列表
|
|
1885
1979
|
|
|
1886
1980
|
# @param request: Request instance for DescribeDevicePackages.
|
|
@@ -3369,6 +3463,30 @@ module TencentCloud
|
|
|
3369
3463
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3370
3464
|
end
|
|
3371
3465
|
|
|
3466
|
+
# 同步执行 TWeSee 语义理解任务
|
|
3467
|
+
|
|
3468
|
+
# @param request: Request instance for InvokeTWeSeeRecognitionTaskWithFile.
|
|
3469
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::InvokeTWeSeeRecognitionTaskWithFileRequest`
|
|
3470
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::InvokeTWeSeeRecognitionTaskWithFileResponse`
|
|
3471
|
+
def InvokeTWeSeeRecognitionTaskWithFile(request)
|
|
3472
|
+
body = send_request('InvokeTWeSeeRecognitionTaskWithFile', request.serialize)
|
|
3473
|
+
response = JSON.parse(body)
|
|
3474
|
+
if response['Response'].key?('Error') == false
|
|
3475
|
+
model = InvokeTWeSeeRecognitionTaskWithFileResponse.new
|
|
3476
|
+
model.deserialize(response['Response'])
|
|
3477
|
+
model
|
|
3478
|
+
else
|
|
3479
|
+
code = response['Response']['Error']['Code']
|
|
3480
|
+
message = response['Response']['Error']['Message']
|
|
3481
|
+
reqid = response['Response']['RequestId']
|
|
3482
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
3483
|
+
end
|
|
3484
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
3485
|
+
raise e
|
|
3486
|
+
rescue StandardError => e
|
|
3487
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3488
|
+
end
|
|
3489
|
+
|
|
3372
3490
|
# 获取某个时间段的视频内容关键字
|
|
3373
3491
|
|
|
3374
3492
|
# @param request: Request instance for InvokeVideosKeywordsAnalyzer.
|
|
@@ -4501,6 +4619,30 @@ module TencentCloud
|
|
|
4501
4619
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
4502
4620
|
end
|
|
4503
4621
|
|
|
4622
|
+
# 本接口(UpdateOtaTask)当固件升级大任务处于没有在全部成功的状态时,可修改为取消状态,取消部分或全部设备的升级;或其它允许的可修改的状态。
|
|
4623
|
+
|
|
4624
|
+
# @param request: Request instance for UpdateOtaTaskStatus.
|
|
4625
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::UpdateOtaTaskStatusRequest`
|
|
4626
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::UpdateOtaTaskStatusResponse`
|
|
4627
|
+
def UpdateOtaTaskStatus(request)
|
|
4628
|
+
body = send_request('UpdateOtaTaskStatus', request.serialize)
|
|
4629
|
+
response = JSON.parse(body)
|
|
4630
|
+
if response['Response'].key?('Error') == false
|
|
4631
|
+
model = UpdateOtaTaskStatusResponse.new
|
|
4632
|
+
model.deserialize(response['Response'])
|
|
4633
|
+
model
|
|
4634
|
+
else
|
|
4635
|
+
code = response['Response']['Error']['Code']
|
|
4636
|
+
message = response['Response']['Error']['Message']
|
|
4637
|
+
reqid = response['Response']['RequestId']
|
|
4638
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
4639
|
+
end
|
|
4640
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
4641
|
+
raise e
|
|
4642
|
+
rescue StandardError => e
|
|
4643
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
4644
|
+
end
|
|
4645
|
+
|
|
4504
4646
|
# 本接口(UploadFirmware)用于创建设备固件版本信息,在平台用于固件版本升级、固件资源下发等。
|
|
4505
4647
|
|
|
4506
4648
|
# @param request: Request instance for UploadFirmware.
|
data/lib/v20190423/models.rb
CHANGED
|
@@ -100,8 +100,8 @@ module TencentCloud
|
|
|
100
100
|
|
|
101
101
|
attr_accessor :PkgType, :MiniProgramAppId, :DeviceList
|
|
102
102
|
extend Gem::Deprecate
|
|
103
|
-
deprecate :MiniProgramAppId, :none, 2025,
|
|
104
|
-
deprecate :MiniProgramAppId=, :none, 2025,
|
|
103
|
+
deprecate :MiniProgramAppId, :none, 2025, 11
|
|
104
|
+
deprecate :MiniProgramAppId=, :none, 2025, 11
|
|
105
105
|
|
|
106
106
|
def initialize(pkgtype=nil, miniprogramappid=nil, devicelist=nil)
|
|
107
107
|
@PkgType = pkgtype
|
|
@@ -136,8 +136,8 @@ module TencentCloud
|
|
|
136
136
|
|
|
137
137
|
attr_accessor :DeviceList, :FailureList, :SuccessList, :RequestId
|
|
138
138
|
extend Gem::Deprecate
|
|
139
|
-
deprecate :DeviceList, :none, 2025,
|
|
140
|
-
deprecate :DeviceList=, :none, 2025,
|
|
139
|
+
deprecate :DeviceList, :none, 2025, 11
|
|
140
|
+
deprecate :DeviceList=, :none, 2025, 11
|
|
141
141
|
|
|
142
142
|
def initialize(devicelist=nil, failurelist=nil, successlist=nil, requestid=nil)
|
|
143
143
|
@DeviceList = devicelist
|
|
@@ -263,6 +263,106 @@ module TencentCloud
|
|
|
263
263
|
end
|
|
264
264
|
end
|
|
265
265
|
|
|
266
|
+
# BatchCreateTWeSeeRecognitionTask请求参数结构体
|
|
267
|
+
class BatchCreateTWeSeeRecognitionTaskRequest < TencentCloud::Common::AbstractModel
|
|
268
|
+
# @param Inputs: 待创建的 TWeSee 语义理解任务列表
|
|
269
|
+
# @type Inputs: Array
|
|
270
|
+
|
|
271
|
+
attr_accessor :Inputs
|
|
272
|
+
|
|
273
|
+
def initialize(inputs=nil)
|
|
274
|
+
@Inputs = inputs
|
|
275
|
+
end
|
|
276
|
+
|
|
277
|
+
def deserialize(params)
|
|
278
|
+
unless params['Inputs'].nil?
|
|
279
|
+
@Inputs = []
|
|
280
|
+
params['Inputs'].each do |i|
|
|
281
|
+
createvisionrecognitiontaskinput_tmp = CreateVisionRecognitionTaskInput.new
|
|
282
|
+
createvisionrecognitiontaskinput_tmp.deserialize(i)
|
|
283
|
+
@Inputs << createvisionrecognitiontaskinput_tmp
|
|
284
|
+
end
|
|
285
|
+
end
|
|
286
|
+
end
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
# BatchCreateTWeSeeRecognitionTask返回参数结构体
|
|
290
|
+
class BatchCreateTWeSeeRecognitionTaskResponse < TencentCloud::Common::AbstractModel
|
|
291
|
+
# @param Outputs: TWeSee 语义理解任务的创建结果。与入参 Inputs 一一对应。
|
|
292
|
+
# @type Outputs: Array
|
|
293
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
294
|
+
# @type RequestId: String
|
|
295
|
+
|
|
296
|
+
attr_accessor :Outputs, :RequestId
|
|
297
|
+
|
|
298
|
+
def initialize(outputs=nil, requestid=nil)
|
|
299
|
+
@Outputs = outputs
|
|
300
|
+
@RequestId = requestid
|
|
301
|
+
end
|
|
302
|
+
|
|
303
|
+
def deserialize(params)
|
|
304
|
+
unless params['Outputs'].nil?
|
|
305
|
+
@Outputs = []
|
|
306
|
+
params['Outputs'].each do |i|
|
|
307
|
+
createvisionrecognitiontaskoutput_tmp = CreateVisionRecognitionTaskOutput.new
|
|
308
|
+
createvisionrecognitiontaskoutput_tmp.deserialize(i)
|
|
309
|
+
@Outputs << createvisionrecognitiontaskoutput_tmp
|
|
310
|
+
end
|
|
311
|
+
end
|
|
312
|
+
@RequestId = params['RequestId']
|
|
313
|
+
end
|
|
314
|
+
end
|
|
315
|
+
|
|
316
|
+
# BatchInvokeTWeSeeRecognitionTask请求参数结构体
|
|
317
|
+
class BatchInvokeTWeSeeRecognitionTaskRequest < TencentCloud::Common::AbstractModel
|
|
318
|
+
# @param Inputs: 待执行的 TWeSee 语义理解任务列表
|
|
319
|
+
# @type Inputs: Array
|
|
320
|
+
|
|
321
|
+
attr_accessor :Inputs
|
|
322
|
+
|
|
323
|
+
def initialize(inputs=nil)
|
|
324
|
+
@Inputs = inputs
|
|
325
|
+
end
|
|
326
|
+
|
|
327
|
+
def deserialize(params)
|
|
328
|
+
unless params['Inputs'].nil?
|
|
329
|
+
@Inputs = []
|
|
330
|
+
params['Inputs'].each do |i|
|
|
331
|
+
createvisionrecognitiontaskinput_tmp = CreateVisionRecognitionTaskInput.new
|
|
332
|
+
createvisionrecognitiontaskinput_tmp.deserialize(i)
|
|
333
|
+
@Inputs << createvisionrecognitiontaskinput_tmp
|
|
334
|
+
end
|
|
335
|
+
end
|
|
336
|
+
end
|
|
337
|
+
end
|
|
338
|
+
|
|
339
|
+
# BatchInvokeTWeSeeRecognitionTask返回参数结构体
|
|
340
|
+
class BatchInvokeTWeSeeRecognitionTaskResponse < TencentCloud::Common::AbstractModel
|
|
341
|
+
# @param Outputs: TWeSee 语义理解任务的执行结果。与入参 Inputs 一一对应。
|
|
342
|
+
# @type Outputs: Array
|
|
343
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
344
|
+
# @type RequestId: String
|
|
345
|
+
|
|
346
|
+
attr_accessor :Outputs, :RequestId
|
|
347
|
+
|
|
348
|
+
def initialize(outputs=nil, requestid=nil)
|
|
349
|
+
@Outputs = outputs
|
|
350
|
+
@RequestId = requestid
|
|
351
|
+
end
|
|
352
|
+
|
|
353
|
+
def deserialize(params)
|
|
354
|
+
unless params['Outputs'].nil?
|
|
355
|
+
@Outputs = []
|
|
356
|
+
params['Outputs'].each do |i|
|
|
357
|
+
invokevisionrecognitiontaskoutput_tmp = InvokeVisionRecognitionTaskOutput.new
|
|
358
|
+
invokevisionrecognitiontaskoutput_tmp.deserialize(i)
|
|
359
|
+
@Outputs << invokevisionrecognitiontaskoutput_tmp
|
|
360
|
+
end
|
|
361
|
+
end
|
|
362
|
+
@RequestId = params['RequestId']
|
|
363
|
+
end
|
|
364
|
+
end
|
|
365
|
+
|
|
266
366
|
# 获取返回列表的详情。
|
|
267
367
|
class BatchProductionInfo < TencentCloud::Common::AbstractModel
|
|
268
368
|
# @param BatchProductionId: 量产ID
|
|
@@ -2447,6 +2547,146 @@ module TencentCloud
|
|
|
2447
2547
|
end
|
|
2448
2548
|
end
|
|
2449
2549
|
|
|
2550
|
+
# CreateTWeSeeRecognitionTaskWithFile请求参数结构体
|
|
2551
|
+
class CreateTWeSeeRecognitionTaskWithFileRequest < TencentCloud::Common::AbstractModel
|
|
2552
|
+
# @param ProductId: 产品ID
|
|
2553
|
+
# @type ProductId: String
|
|
2554
|
+
# @param DeviceName: 设备名称
|
|
2555
|
+
# @type DeviceName: String
|
|
2556
|
+
# @param InputBase64: 视频 / 图片文件的 Base64 编码字符串
|
|
2557
|
+
# @type InputBase64: String
|
|
2558
|
+
# @param ChannelId: 通道 ID
|
|
2559
|
+
# @type ChannelId: Integer
|
|
2560
|
+
# @param CustomId: 自定义事件 ID
|
|
2561
|
+
# @type CustomId: String
|
|
2562
|
+
# @param EnableSearch: 是否保存该事件使其可被搜索
|
|
2563
|
+
# @type EnableSearch: Boolean
|
|
2564
|
+
# @param StartTimeMs: 事件起始时间事件起始时间(毫秒级 UNIX 时间戳,若不传则默认为接口调用时间)
|
|
2565
|
+
# @type StartTimeMs: Integer
|
|
2566
|
+
# @param EndTimeMs: 事件结束时间事件起始时间(毫秒级 UNIX 时间戳,若不传则默认为接口调用时间)
|
|
2567
|
+
# @type EndTimeMs: Integer
|
|
2568
|
+
# @param Config: 算法配置
|
|
2569
|
+
# @type Config: String
|
|
2570
|
+
# @param IsCustomDevice: 是否自定义设备,为 true 时不检查设备存在性,默认为 false
|
|
2571
|
+
# @type IsCustomDevice: Boolean
|
|
2572
|
+
# @param InputType: 输入类型。可选值:
|
|
2573
|
+
|
|
2574
|
+
# - `video`:视频(默认值)
|
|
2575
|
+
# - `image`:图片
|
|
2576
|
+
# @type InputType: String
|
|
2577
|
+
# @param SummaryQOS: 摘要服务质量。可选值:
|
|
2578
|
+
|
|
2579
|
+
# - `minutely`:分钟级(默认值)
|
|
2580
|
+
# - `immediate`:立即
|
|
2581
|
+
# @type SummaryQOS: String
|
|
2582
|
+
# @param SummaryConfig: 摘要输出配置
|
|
2583
|
+
# @type SummaryConfig: :class:`Tencentcloud::Iotexplorer.v20190423.models.VisionSummaryConfig`
|
|
2584
|
+
# @param ServiceType: 算法类型,可能取值:
|
|
2585
|
+
# - `Summary`:视频/图片摘要
|
|
2586
|
+
# - `ObjectDetect`:目标检测
|
|
2587
|
+
# @type ServiceType: String
|
|
2588
|
+
# @param ObjectDetectConfig: 目标检测配置
|
|
2589
|
+
# @type ObjectDetectConfig: :class:`Tencentcloud::Iotexplorer.v20190423.models.VisionObjectDetectConfig`
|
|
2590
|
+
|
|
2591
|
+
attr_accessor :ProductId, :DeviceName, :InputBase64, :ChannelId, :CustomId, :EnableSearch, :StartTimeMs, :EndTimeMs, :Config, :IsCustomDevice, :InputType, :SummaryQOS, :SummaryConfig, :ServiceType, :ObjectDetectConfig
|
|
2592
|
+
|
|
2593
|
+
def initialize(productid=nil, devicename=nil, inputbase64=nil, channelid=nil, customid=nil, enablesearch=nil, starttimems=nil, endtimems=nil, config=nil, iscustomdevice=nil, inputtype=nil, summaryqos=nil, summaryconfig=nil, servicetype=nil, objectdetectconfig=nil)
|
|
2594
|
+
@ProductId = productid
|
|
2595
|
+
@DeviceName = devicename
|
|
2596
|
+
@InputBase64 = inputbase64
|
|
2597
|
+
@ChannelId = channelid
|
|
2598
|
+
@CustomId = customid
|
|
2599
|
+
@EnableSearch = enablesearch
|
|
2600
|
+
@StartTimeMs = starttimems
|
|
2601
|
+
@EndTimeMs = endtimems
|
|
2602
|
+
@Config = config
|
|
2603
|
+
@IsCustomDevice = iscustomdevice
|
|
2604
|
+
@InputType = inputtype
|
|
2605
|
+
@SummaryQOS = summaryqos
|
|
2606
|
+
@SummaryConfig = summaryconfig
|
|
2607
|
+
@ServiceType = servicetype
|
|
2608
|
+
@ObjectDetectConfig = objectdetectconfig
|
|
2609
|
+
end
|
|
2610
|
+
|
|
2611
|
+
def deserialize(params)
|
|
2612
|
+
@ProductId = params['ProductId']
|
|
2613
|
+
@DeviceName = params['DeviceName']
|
|
2614
|
+
@InputBase64 = params['InputBase64']
|
|
2615
|
+
@ChannelId = params['ChannelId']
|
|
2616
|
+
@CustomId = params['CustomId']
|
|
2617
|
+
@EnableSearch = params['EnableSearch']
|
|
2618
|
+
@StartTimeMs = params['StartTimeMs']
|
|
2619
|
+
@EndTimeMs = params['EndTimeMs']
|
|
2620
|
+
@Config = params['Config']
|
|
2621
|
+
@IsCustomDevice = params['IsCustomDevice']
|
|
2622
|
+
@InputType = params['InputType']
|
|
2623
|
+
@SummaryQOS = params['SummaryQOS']
|
|
2624
|
+
unless params['SummaryConfig'].nil?
|
|
2625
|
+
@SummaryConfig = VisionSummaryConfig.new
|
|
2626
|
+
@SummaryConfig.deserialize(params['SummaryConfig'])
|
|
2627
|
+
end
|
|
2628
|
+
@ServiceType = params['ServiceType']
|
|
2629
|
+
unless params['ObjectDetectConfig'].nil?
|
|
2630
|
+
@ObjectDetectConfig = VisionObjectDetectConfig.new
|
|
2631
|
+
@ObjectDetectConfig.deserialize(params['ObjectDetectConfig'])
|
|
2632
|
+
end
|
|
2633
|
+
end
|
|
2634
|
+
end
|
|
2635
|
+
|
|
2636
|
+
# CreateTWeSeeRecognitionTaskWithFile返回参数结构体
|
|
2637
|
+
class CreateTWeSeeRecognitionTaskWithFileResponse < TencentCloud::Common::AbstractModel
|
|
2638
|
+
# @param TaskId: 任务 ID
|
|
2639
|
+
# @type TaskId: String
|
|
2640
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2641
|
+
# @type RequestId: String
|
|
2642
|
+
|
|
2643
|
+
attr_accessor :TaskId, :RequestId
|
|
2644
|
+
|
|
2645
|
+
def initialize(taskid=nil, requestid=nil)
|
|
2646
|
+
@TaskId = taskid
|
|
2647
|
+
@RequestId = requestid
|
|
2648
|
+
end
|
|
2649
|
+
|
|
2650
|
+
def deserialize(params)
|
|
2651
|
+
@TaskId = params['TaskId']
|
|
2652
|
+
@RequestId = params['RequestId']
|
|
2653
|
+
end
|
|
2654
|
+
end
|
|
2655
|
+
|
|
2656
|
+
# CreateTWeSeeService请求参数结构体
|
|
2657
|
+
class CreateTWeSeeServiceRequest < TencentCloud::Common::AbstractModel
|
|
2658
|
+
# @param Service: 服务类型
|
|
2659
|
+
# 1.VideoSummary
|
|
2660
|
+
# 2.ImageSummary
|
|
2661
|
+
# @type Service: String
|
|
2662
|
+
|
|
2663
|
+
attr_accessor :Service
|
|
2664
|
+
|
|
2665
|
+
def initialize(service=nil)
|
|
2666
|
+
@Service = service
|
|
2667
|
+
end
|
|
2668
|
+
|
|
2669
|
+
def deserialize(params)
|
|
2670
|
+
@Service = params['Service']
|
|
2671
|
+
end
|
|
2672
|
+
end
|
|
2673
|
+
|
|
2674
|
+
# CreateTWeSeeService返回参数结构体
|
|
2675
|
+
class CreateTWeSeeServiceResponse < TencentCloud::Common::AbstractModel
|
|
2676
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2677
|
+
# @type RequestId: String
|
|
2678
|
+
|
|
2679
|
+
attr_accessor :RequestId
|
|
2680
|
+
|
|
2681
|
+
def initialize(requestid=nil)
|
|
2682
|
+
@RequestId = requestid
|
|
2683
|
+
end
|
|
2684
|
+
|
|
2685
|
+
def deserialize(params)
|
|
2686
|
+
@RequestId = params['RequestId']
|
|
2687
|
+
end
|
|
2688
|
+
end
|
|
2689
|
+
|
|
2450
2690
|
# CreateTWeTalkProductConfig请求参数结构体
|
|
2451
2691
|
class CreateTWeTalkProductConfigRequest < TencentCloud::Common::AbstractModel
|
|
2452
2692
|
# @param ProductId: 产品ID
|
|
@@ -2657,6 +2897,124 @@ module TencentCloud
|
|
|
2657
2897
|
end
|
|
2658
2898
|
end
|
|
2659
2899
|
|
|
2900
|
+
# 批量创建的 TWeSee 语义理解任务
|
|
2901
|
+
class CreateVisionRecognitionTaskInput < TencentCloud::Common::AbstractModel
|
|
2902
|
+
# @param ProductId: 产品ID
|
|
2903
|
+
# @type ProductId: String
|
|
2904
|
+
# @param DeviceName: 设备名称
|
|
2905
|
+
# @type DeviceName: String
|
|
2906
|
+
# @param InputURL: 输入视频 / 图片的 URL
|
|
2907
|
+
# @type InputURL: String
|
|
2908
|
+
# @param InputBase64: 视频 / 图片文件的 Base64 编码字符串
|
|
2909
|
+
# @type InputBase64: String
|
|
2910
|
+
# @param ChannelId: 通道 ID
|
|
2911
|
+
# @type ChannelId: Integer
|
|
2912
|
+
# @param CustomId: 自定义事件 ID
|
|
2913
|
+
# @type CustomId: String
|
|
2914
|
+
# @param EnableSearch: 是否保存该事件使其可被搜索
|
|
2915
|
+
# @type EnableSearch: Boolean
|
|
2916
|
+
# @param StartTimeMs: 事件起始时间事件起始时间(毫秒级 UNIX 时间戳,若不传则默认为接口调用时间)
|
|
2917
|
+
# @type StartTimeMs: Integer
|
|
2918
|
+
# @param EndTimeMs: 事件结束时间事件起始时间(毫秒级 UNIX 时间戳,若不传则默认为接口调用时间)
|
|
2919
|
+
# @type EndTimeMs: Integer
|
|
2920
|
+
# @param Config: 算法配置
|
|
2921
|
+
# @type Config: String
|
|
2922
|
+
# @param IsCustomDevice: 是否自定义设备,为 true 时不检查设备存在性,默认为 false
|
|
2923
|
+
# @type IsCustomDevice: Boolean
|
|
2924
|
+
# @param InputType: 输入类型。可选值:
|
|
2925
|
+
|
|
2926
|
+
# - `video`:视频(默认值)
|
|
2927
|
+
# - `image`:图片
|
|
2928
|
+
# @type InputType: String
|
|
2929
|
+
# @param SummaryQOS: 摘要服务质量。可选值:
|
|
2930
|
+
|
|
2931
|
+
# - `minutely`:分钟级(默认值)
|
|
2932
|
+
# - `immediate`:立即
|
|
2933
|
+
# @type SummaryQOS: String
|
|
2934
|
+
# @param SummaryConfig: 摘要输出配置
|
|
2935
|
+
# @type SummaryConfig: :class:`Tencentcloud::Iotexplorer.v20190423.models.VisionSummaryConfig`
|
|
2936
|
+
# @param ServiceType: 算法类型,可能取值:
|
|
2937
|
+
# - `Summary`:视频/图片摘要
|
|
2938
|
+
# - `ObjectDetect`:目标检测
|
|
2939
|
+
# @type ServiceType: String
|
|
2940
|
+
# @param ObjectDetectConfig: 目标检测配置
|
|
2941
|
+
# @type ObjectDetectConfig: :class:`Tencentcloud::Iotexplorer.v20190423.models.VisionObjectDetectConfig`
|
|
2942
|
+
|
|
2943
|
+
attr_accessor :ProductId, :DeviceName, :InputURL, :InputBase64, :ChannelId, :CustomId, :EnableSearch, :StartTimeMs, :EndTimeMs, :Config, :IsCustomDevice, :InputType, :SummaryQOS, :SummaryConfig, :ServiceType, :ObjectDetectConfig
|
|
2944
|
+
|
|
2945
|
+
def initialize(productid=nil, devicename=nil, inputurl=nil, inputbase64=nil, channelid=nil, customid=nil, enablesearch=nil, starttimems=nil, endtimems=nil, config=nil, iscustomdevice=nil, inputtype=nil, summaryqos=nil, summaryconfig=nil, servicetype=nil, objectdetectconfig=nil)
|
|
2946
|
+
@ProductId = productid
|
|
2947
|
+
@DeviceName = devicename
|
|
2948
|
+
@InputURL = inputurl
|
|
2949
|
+
@InputBase64 = inputbase64
|
|
2950
|
+
@ChannelId = channelid
|
|
2951
|
+
@CustomId = customid
|
|
2952
|
+
@EnableSearch = enablesearch
|
|
2953
|
+
@StartTimeMs = starttimems
|
|
2954
|
+
@EndTimeMs = endtimems
|
|
2955
|
+
@Config = config
|
|
2956
|
+
@IsCustomDevice = iscustomdevice
|
|
2957
|
+
@InputType = inputtype
|
|
2958
|
+
@SummaryQOS = summaryqos
|
|
2959
|
+
@SummaryConfig = summaryconfig
|
|
2960
|
+
@ServiceType = servicetype
|
|
2961
|
+
@ObjectDetectConfig = objectdetectconfig
|
|
2962
|
+
end
|
|
2963
|
+
|
|
2964
|
+
def deserialize(params)
|
|
2965
|
+
@ProductId = params['ProductId']
|
|
2966
|
+
@DeviceName = params['DeviceName']
|
|
2967
|
+
@InputURL = params['InputURL']
|
|
2968
|
+
@InputBase64 = params['InputBase64']
|
|
2969
|
+
@ChannelId = params['ChannelId']
|
|
2970
|
+
@CustomId = params['CustomId']
|
|
2971
|
+
@EnableSearch = params['EnableSearch']
|
|
2972
|
+
@StartTimeMs = params['StartTimeMs']
|
|
2973
|
+
@EndTimeMs = params['EndTimeMs']
|
|
2974
|
+
@Config = params['Config']
|
|
2975
|
+
@IsCustomDevice = params['IsCustomDevice']
|
|
2976
|
+
@InputType = params['InputType']
|
|
2977
|
+
@SummaryQOS = params['SummaryQOS']
|
|
2978
|
+
unless params['SummaryConfig'].nil?
|
|
2979
|
+
@SummaryConfig = VisionSummaryConfig.new
|
|
2980
|
+
@SummaryConfig.deserialize(params['SummaryConfig'])
|
|
2981
|
+
end
|
|
2982
|
+
@ServiceType = params['ServiceType']
|
|
2983
|
+
unless params['ObjectDetectConfig'].nil?
|
|
2984
|
+
@ObjectDetectConfig = VisionObjectDetectConfig.new
|
|
2985
|
+
@ObjectDetectConfig.deserialize(params['ObjectDetectConfig'])
|
|
2986
|
+
end
|
|
2987
|
+
end
|
|
2988
|
+
end
|
|
2989
|
+
|
|
2990
|
+
# 批量创建 TWeSee 语义理解任务的响应
|
|
2991
|
+
class CreateVisionRecognitionTaskOutput < TencentCloud::Common::AbstractModel
|
|
2992
|
+
# @param Created: 创建任务成功
|
|
2993
|
+
# @type Created: Boolean
|
|
2994
|
+
# @param TaskId: 任务 ID
|
|
2995
|
+
# @type TaskId: String
|
|
2996
|
+
# @param ErrorCode: 错误码
|
|
2997
|
+
# @type ErrorCode: String
|
|
2998
|
+
# @param ErrorMessage: 错误消息
|
|
2999
|
+
# @type ErrorMessage: String
|
|
3000
|
+
|
|
3001
|
+
attr_accessor :Created, :TaskId, :ErrorCode, :ErrorMessage
|
|
3002
|
+
|
|
3003
|
+
def initialize(created=nil, taskid=nil, errorcode=nil, errormessage=nil)
|
|
3004
|
+
@Created = created
|
|
3005
|
+
@TaskId = taskid
|
|
3006
|
+
@ErrorCode = errorcode
|
|
3007
|
+
@ErrorMessage = errormessage
|
|
3008
|
+
end
|
|
3009
|
+
|
|
3010
|
+
def deserialize(params)
|
|
3011
|
+
@Created = params['Created']
|
|
3012
|
+
@TaskId = params['TaskId']
|
|
3013
|
+
@ErrorCode = params['ErrorCode']
|
|
3014
|
+
@ErrorMessage = params['ErrorMessage']
|
|
3015
|
+
end
|
|
3016
|
+
end
|
|
3017
|
+
|
|
2660
3018
|
# DeleteCloudStorageEvent请求参数结构体
|
|
2661
3019
|
class DeleteCloudStorageEventRequest < TencentCloud::Common::AbstractModel
|
|
2662
3020
|
# @param ProductId: 产品ID
|
|
@@ -3067,8 +3425,48 @@ module TencentCloud
|
|
|
3067
3425
|
end
|
|
3068
3426
|
end
|
|
3069
3427
|
|
|
3070
|
-
# DeleteStudioProduct返回参数结构体
|
|
3071
|
-
class DeleteStudioProductResponse < TencentCloud::Common::AbstractModel
|
|
3428
|
+
# DeleteStudioProduct返回参数结构体
|
|
3429
|
+
class DeleteStudioProductResponse < TencentCloud::Common::AbstractModel
|
|
3430
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3431
|
+
# @type RequestId: String
|
|
3432
|
+
|
|
3433
|
+
attr_accessor :RequestId
|
|
3434
|
+
|
|
3435
|
+
def initialize(requestid=nil)
|
|
3436
|
+
@RequestId = requestid
|
|
3437
|
+
end
|
|
3438
|
+
|
|
3439
|
+
def deserialize(params)
|
|
3440
|
+
@RequestId = params['RequestId']
|
|
3441
|
+
end
|
|
3442
|
+
end
|
|
3443
|
+
|
|
3444
|
+
# DeleteTWeTalkProductConfigV2请求参数结构体
|
|
3445
|
+
class DeleteTWeTalkProductConfigV2Request < TencentCloud::Common::AbstractModel
|
|
3446
|
+
# @param ProductId: 产品ID
|
|
3447
|
+
# @type ProductId: String
|
|
3448
|
+
# @param DeviceName: 设备名称
|
|
3449
|
+
# @type DeviceName: String
|
|
3450
|
+
# @param TargetLanguage: 支持的语言,zh-中文;en-英文;默认zh
|
|
3451
|
+
# @type TargetLanguage: String
|
|
3452
|
+
|
|
3453
|
+
attr_accessor :ProductId, :DeviceName, :TargetLanguage
|
|
3454
|
+
|
|
3455
|
+
def initialize(productid=nil, devicename=nil, targetlanguage=nil)
|
|
3456
|
+
@ProductId = productid
|
|
3457
|
+
@DeviceName = devicename
|
|
3458
|
+
@TargetLanguage = targetlanguage
|
|
3459
|
+
end
|
|
3460
|
+
|
|
3461
|
+
def deserialize(params)
|
|
3462
|
+
@ProductId = params['ProductId']
|
|
3463
|
+
@DeviceName = params['DeviceName']
|
|
3464
|
+
@TargetLanguage = params['TargetLanguage']
|
|
3465
|
+
end
|
|
3466
|
+
end
|
|
3467
|
+
|
|
3468
|
+
# DeleteTWeTalkProductConfigV2返回参数结构体
|
|
3469
|
+
class DeleteTWeTalkProductConfigV2Response < TencentCloud::Common::AbstractModel
|
|
3072
3470
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3073
3471
|
# @type RequestId: String
|
|
3074
3472
|
|
|
@@ -4780,77 +5178,6 @@ module TencentCloud
|
|
|
4780
5178
|
end
|
|
4781
5179
|
end
|
|
4782
5180
|
|
|
4783
|
-
# DescribeDeviceLocationSolve请求参数结构体
|
|
4784
|
-
class DescribeDeviceLocationSolveRequest < TencentCloud::Common::AbstractModel
|
|
4785
|
-
# @param ProductId: 产品ID
|
|
4786
|
-
# @type ProductId: String
|
|
4787
|
-
# @param DeviceName: 设备名称
|
|
4788
|
-
# @type DeviceName: String
|
|
4789
|
-
# @param LocationType: 定位解析类型,wifi或GNSSNavigation
|
|
4790
|
-
# @type LocationType: String
|
|
4791
|
-
# @param GNSSNavigation: LoRaEdge卫星导航电文
|
|
4792
|
-
# @type GNSSNavigation: String
|
|
4793
|
-
# @param WiFiInfo: wifi信息
|
|
4794
|
-
# @type WiFiInfo: Array
|
|
4795
|
-
|
|
4796
|
-
attr_accessor :ProductId, :DeviceName, :LocationType, :GNSSNavigation, :WiFiInfo
|
|
4797
|
-
|
|
4798
|
-
def initialize(productid=nil, devicename=nil, locationtype=nil, gnssnavigation=nil, wifiinfo=nil)
|
|
4799
|
-
@ProductId = productid
|
|
4800
|
-
@DeviceName = devicename
|
|
4801
|
-
@LocationType = locationtype
|
|
4802
|
-
@GNSSNavigation = gnssnavigation
|
|
4803
|
-
@WiFiInfo = wifiinfo
|
|
4804
|
-
end
|
|
4805
|
-
|
|
4806
|
-
def deserialize(params)
|
|
4807
|
-
@ProductId = params['ProductId']
|
|
4808
|
-
@DeviceName = params['DeviceName']
|
|
4809
|
-
@LocationType = params['LocationType']
|
|
4810
|
-
@GNSSNavigation = params['GNSSNavigation']
|
|
4811
|
-
unless params['WiFiInfo'].nil?
|
|
4812
|
-
@WiFiInfo = []
|
|
4813
|
-
params['WiFiInfo'].each do |i|
|
|
4814
|
-
wifiinfo_tmp = WifiInfo.new
|
|
4815
|
-
wifiinfo_tmp.deserialize(i)
|
|
4816
|
-
@WiFiInfo << wifiinfo_tmp
|
|
4817
|
-
end
|
|
4818
|
-
end
|
|
4819
|
-
end
|
|
4820
|
-
end
|
|
4821
|
-
|
|
4822
|
-
# DescribeDeviceLocationSolve返回参数结构体
|
|
4823
|
-
class DescribeDeviceLocationSolveResponse < TencentCloud::Common::AbstractModel
|
|
4824
|
-
# @param Longitude: 经度
|
|
4825
|
-
# @type Longitude: Float
|
|
4826
|
-
# @param Latitude: 纬度
|
|
4827
|
-
# @type Latitude: Float
|
|
4828
|
-
# @param LocationType: 类型
|
|
4829
|
-
# @type LocationType: String
|
|
4830
|
-
# @param Accuracy: 误差精度预估,单位为米
|
|
4831
|
-
# @type Accuracy: Float
|
|
4832
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4833
|
-
# @type RequestId: String
|
|
4834
|
-
|
|
4835
|
-
attr_accessor :Longitude, :Latitude, :LocationType, :Accuracy, :RequestId
|
|
4836
|
-
|
|
4837
|
-
def initialize(longitude=nil, latitude=nil, locationtype=nil, accuracy=nil, requestid=nil)
|
|
4838
|
-
@Longitude = longitude
|
|
4839
|
-
@Latitude = latitude
|
|
4840
|
-
@LocationType = locationtype
|
|
4841
|
-
@Accuracy = accuracy
|
|
4842
|
-
@RequestId = requestid
|
|
4843
|
-
end
|
|
4844
|
-
|
|
4845
|
-
def deserialize(params)
|
|
4846
|
-
@Longitude = params['Longitude']
|
|
4847
|
-
@Latitude = params['Latitude']
|
|
4848
|
-
@LocationType = params['LocationType']
|
|
4849
|
-
@Accuracy = params['Accuracy']
|
|
4850
|
-
@RequestId = params['RequestId']
|
|
4851
|
-
end
|
|
4852
|
-
end
|
|
4853
|
-
|
|
4854
5181
|
# DescribeDevicePackages请求参数结构体
|
|
4855
5182
|
class DescribeDevicePackagesRequest < TencentCloud::Common::AbstractModel
|
|
4856
5183
|
# @param ProductId: 产品ID
|
|
@@ -6759,8 +7086,8 @@ module TencentCloud
|
|
|
6759
7086
|
|
|
6760
7087
|
attr_accessor :ModelId, :Sn, :ErrCode, :ExpireTime
|
|
6761
7088
|
extend Gem::Deprecate
|
|
6762
|
-
deprecate :ModelId, :none, 2025,
|
|
6763
|
-
deprecate :ModelId=, :none, 2025,
|
|
7089
|
+
deprecate :ModelId, :none, 2025, 11
|
|
7090
|
+
deprecate :ModelId=, :none, 2025, 11
|
|
6764
7091
|
|
|
6765
7092
|
def initialize(modelid=nil, sn=nil, errcode=nil, expiretime=nil)
|
|
6766
7093
|
@ModelId = modelid
|
|
@@ -8476,8 +8803,8 @@ module TencentCloud
|
|
|
8476
8803
|
|
|
8477
8804
|
attr_accessor :MiniProgramAppId, :DeviceList
|
|
8478
8805
|
extend Gem::Deprecate
|
|
8479
|
-
deprecate :MiniProgramAppId, :none, 2025,
|
|
8480
|
-
deprecate :MiniProgramAppId=, :none, 2025,
|
|
8806
|
+
deprecate :MiniProgramAppId, :none, 2025, 11
|
|
8807
|
+
deprecate :MiniProgramAppId=, :none, 2025, 11
|
|
8481
8808
|
|
|
8482
8809
|
def initialize(miniprogramappid=nil, devicelist=nil)
|
|
8483
8810
|
@MiniProgramAppId = miniprogramappid
|
|
@@ -9306,6 +9633,123 @@ module TencentCloud
|
|
|
9306
9633
|
end
|
|
9307
9634
|
end
|
|
9308
9635
|
|
|
9636
|
+
# InvokeTWeSeeRecognitionTaskWithFile请求参数结构体
|
|
9637
|
+
class InvokeTWeSeeRecognitionTaskWithFileRequest < TencentCloud::Common::AbstractModel
|
|
9638
|
+
# @param ProductId: 产品ID
|
|
9639
|
+
# @type ProductId: String
|
|
9640
|
+
# @param DeviceName: 设备名称
|
|
9641
|
+
# @type DeviceName: String
|
|
9642
|
+
# @param InputBase64: 视频 / 图片文件的 Base64 编码字符串
|
|
9643
|
+
# @type InputBase64: String
|
|
9644
|
+
# @param ChannelId: 通道 ID
|
|
9645
|
+
# @type ChannelId: Integer
|
|
9646
|
+
# @param CustomId: 自定义事件 ID
|
|
9647
|
+
# @type CustomId: String
|
|
9648
|
+
# @param EnableSearch: 是否保存该事件使其可被搜索
|
|
9649
|
+
# @type EnableSearch: Boolean
|
|
9650
|
+
# @param StartTimeMs: 事件起始时间事件起始时间(毫秒级 UNIX 时间戳,若不传则默认为接口调用时间)
|
|
9651
|
+
# @type StartTimeMs: Integer
|
|
9652
|
+
# @param EndTimeMs: 事件结束时间事件起始时间(毫秒级 UNIX 时间戳,若不传则默认为接口调用时间)
|
|
9653
|
+
# @type EndTimeMs: Integer
|
|
9654
|
+
# @param Config: 算法配置
|
|
9655
|
+
# @type Config: String
|
|
9656
|
+
# @param IsCustomDevice: 是否自定义设备,为 true 时不检查设备存在性,默认为 false
|
|
9657
|
+
# @type IsCustomDevice: Boolean
|
|
9658
|
+
# @param InputType: 输入类型。可选值:
|
|
9659
|
+
|
|
9660
|
+
# - `video`:视频(默认值)
|
|
9661
|
+
# - `image`:图片
|
|
9662
|
+
# @type InputType: String
|
|
9663
|
+
# @param SummaryQOS: 摘要服务质量。可选值:
|
|
9664
|
+
|
|
9665
|
+
# - `minutely`:分钟级(默认值)
|
|
9666
|
+
# - `immediate`:立即
|
|
9667
|
+
# @type SummaryQOS: String
|
|
9668
|
+
# @param SummaryConfig: 摘要输出配置
|
|
9669
|
+
# @type SummaryConfig: :class:`Tencentcloud::Iotexplorer.v20190423.models.VisionSummaryConfig`
|
|
9670
|
+
# @param ServiceType: 算法类型,可能取值:
|
|
9671
|
+
# - `Summary`:视频/图片摘要
|
|
9672
|
+
# - `ObjectDetect`:目标检测
|
|
9673
|
+
# @type ServiceType: String
|
|
9674
|
+
# @param ObjectDetectConfig: 目标检测配置
|
|
9675
|
+
# @type ObjectDetectConfig: :class:`Tencentcloud::Iotexplorer.v20190423.models.VisionObjectDetectConfig`
|
|
9676
|
+
|
|
9677
|
+
attr_accessor :ProductId, :DeviceName, :InputBase64, :ChannelId, :CustomId, :EnableSearch, :StartTimeMs, :EndTimeMs, :Config, :IsCustomDevice, :InputType, :SummaryQOS, :SummaryConfig, :ServiceType, :ObjectDetectConfig
|
|
9678
|
+
|
|
9679
|
+
def initialize(productid=nil, devicename=nil, inputbase64=nil, channelid=nil, customid=nil, enablesearch=nil, starttimems=nil, endtimems=nil, config=nil, iscustomdevice=nil, inputtype=nil, summaryqos=nil, summaryconfig=nil, servicetype=nil, objectdetectconfig=nil)
|
|
9680
|
+
@ProductId = productid
|
|
9681
|
+
@DeviceName = devicename
|
|
9682
|
+
@InputBase64 = inputbase64
|
|
9683
|
+
@ChannelId = channelid
|
|
9684
|
+
@CustomId = customid
|
|
9685
|
+
@EnableSearch = enablesearch
|
|
9686
|
+
@StartTimeMs = starttimems
|
|
9687
|
+
@EndTimeMs = endtimems
|
|
9688
|
+
@Config = config
|
|
9689
|
+
@IsCustomDevice = iscustomdevice
|
|
9690
|
+
@InputType = inputtype
|
|
9691
|
+
@SummaryQOS = summaryqos
|
|
9692
|
+
@SummaryConfig = summaryconfig
|
|
9693
|
+
@ServiceType = servicetype
|
|
9694
|
+
@ObjectDetectConfig = objectdetectconfig
|
|
9695
|
+
end
|
|
9696
|
+
|
|
9697
|
+
def deserialize(params)
|
|
9698
|
+
@ProductId = params['ProductId']
|
|
9699
|
+
@DeviceName = params['DeviceName']
|
|
9700
|
+
@InputBase64 = params['InputBase64']
|
|
9701
|
+
@ChannelId = params['ChannelId']
|
|
9702
|
+
@CustomId = params['CustomId']
|
|
9703
|
+
@EnableSearch = params['EnableSearch']
|
|
9704
|
+
@StartTimeMs = params['StartTimeMs']
|
|
9705
|
+
@EndTimeMs = params['EndTimeMs']
|
|
9706
|
+
@Config = params['Config']
|
|
9707
|
+
@IsCustomDevice = params['IsCustomDevice']
|
|
9708
|
+
@InputType = params['InputType']
|
|
9709
|
+
@SummaryQOS = params['SummaryQOS']
|
|
9710
|
+
unless params['SummaryConfig'].nil?
|
|
9711
|
+
@SummaryConfig = VisionSummaryConfig.new
|
|
9712
|
+
@SummaryConfig.deserialize(params['SummaryConfig'])
|
|
9713
|
+
end
|
|
9714
|
+
@ServiceType = params['ServiceType']
|
|
9715
|
+
unless params['ObjectDetectConfig'].nil?
|
|
9716
|
+
@ObjectDetectConfig = VisionObjectDetectConfig.new
|
|
9717
|
+
@ObjectDetectConfig.deserialize(params['ObjectDetectConfig'])
|
|
9718
|
+
end
|
|
9719
|
+
end
|
|
9720
|
+
end
|
|
9721
|
+
|
|
9722
|
+
# InvokeTWeSeeRecognitionTaskWithFile返回参数结构体
|
|
9723
|
+
class InvokeTWeSeeRecognitionTaskWithFileResponse < TencentCloud::Common::AbstractModel
|
|
9724
|
+
# @param TaskId: 任务 ID
|
|
9725
|
+
# @type TaskId: String
|
|
9726
|
+
# @param Completed: 任务是否执行完成
|
|
9727
|
+
# @type Completed: Boolean
|
|
9728
|
+
# @param Result: 语义理解任务结果(仅当 Completed 为 true 时包含该出参)
|
|
9729
|
+
# @type Result: :class:`Tencentcloud::Iotexplorer.v20190423.models.VisionRecognitionResult`
|
|
9730
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9731
|
+
# @type RequestId: String
|
|
9732
|
+
|
|
9733
|
+
attr_accessor :TaskId, :Completed, :Result, :RequestId
|
|
9734
|
+
|
|
9735
|
+
def initialize(taskid=nil, completed=nil, result=nil, requestid=nil)
|
|
9736
|
+
@TaskId = taskid
|
|
9737
|
+
@Completed = completed
|
|
9738
|
+
@Result = result
|
|
9739
|
+
@RequestId = requestid
|
|
9740
|
+
end
|
|
9741
|
+
|
|
9742
|
+
def deserialize(params)
|
|
9743
|
+
@TaskId = params['TaskId']
|
|
9744
|
+
@Completed = params['Completed']
|
|
9745
|
+
unless params['Result'].nil?
|
|
9746
|
+
@Result = VisionRecognitionResult.new
|
|
9747
|
+
@Result.deserialize(params['Result'])
|
|
9748
|
+
end
|
|
9749
|
+
@RequestId = params['RequestId']
|
|
9750
|
+
end
|
|
9751
|
+
end
|
|
9752
|
+
|
|
9309
9753
|
# InvokeVideosKeywordsAnalyzer请求参数结构体
|
|
9310
9754
|
class InvokeVideosKeywordsAnalyzerRequest < TencentCloud::Common::AbstractModel
|
|
9311
9755
|
# @param ProductId: 产品ID
|
|
@@ -9366,6 +9810,41 @@ module TencentCloud
|
|
|
9366
9810
|
end
|
|
9367
9811
|
end
|
|
9368
9812
|
|
|
9813
|
+
# 批量同步执行 TWeSee 语义理解任务的响应
|
|
9814
|
+
class InvokeVisionRecognitionTaskOutput < TencentCloud::Common::AbstractModel
|
|
9815
|
+
# @param Completed: 任务是否已完成
|
|
9816
|
+
# @type Completed: Boolean
|
|
9817
|
+
# @param TaskId: 任务 ID
|
|
9818
|
+
# @type TaskId: String
|
|
9819
|
+
# @param ErrorCode: 错误码
|
|
9820
|
+
# @type ErrorCode: String
|
|
9821
|
+
# @param ErrorMessage: 错误消息
|
|
9822
|
+
# @type ErrorMessage: String
|
|
9823
|
+
# @param Result: 任务结果
|
|
9824
|
+
# @type Result: :class:`Tencentcloud::Iotexplorer.v20190423.models.VisionRecognitionResult`
|
|
9825
|
+
|
|
9826
|
+
attr_accessor :Completed, :TaskId, :ErrorCode, :ErrorMessage, :Result
|
|
9827
|
+
|
|
9828
|
+
def initialize(completed=nil, taskid=nil, errorcode=nil, errormessage=nil, result=nil)
|
|
9829
|
+
@Completed = completed
|
|
9830
|
+
@TaskId = taskid
|
|
9831
|
+
@ErrorCode = errorcode
|
|
9832
|
+
@ErrorMessage = errormessage
|
|
9833
|
+
@Result = result
|
|
9834
|
+
end
|
|
9835
|
+
|
|
9836
|
+
def deserialize(params)
|
|
9837
|
+
@Completed = params['Completed']
|
|
9838
|
+
@TaskId = params['TaskId']
|
|
9839
|
+
@ErrorCode = params['ErrorCode']
|
|
9840
|
+
@ErrorMessage = params['ErrorMessage']
|
|
9841
|
+
unless params['Result'].nil?
|
|
9842
|
+
@Result = VisionRecognitionResult.new
|
|
9843
|
+
@Result.deserialize(params['Result'])
|
|
9844
|
+
end
|
|
9845
|
+
end
|
|
9846
|
+
end
|
|
9847
|
+
|
|
9369
9848
|
# 应用信息
|
|
9370
9849
|
class IotApplication < TencentCloud::Common::AbstractModel
|
|
9371
9850
|
# @param IotAppID: 应用 ID
|
|
@@ -12312,8 +12791,8 @@ module TencentCloud
|
|
|
12312
12791
|
|
|
12313
12792
|
attr_accessor :ModelId, :Sn, :ExpireTime, :PkgType
|
|
12314
12793
|
extend Gem::Deprecate
|
|
12315
|
-
deprecate :ModelId, :none, 2025,
|
|
12316
|
-
deprecate :ModelId=, :none, 2025,
|
|
12794
|
+
deprecate :ModelId, :none, 2025, 11
|
|
12795
|
+
deprecate :ModelId=, :none, 2025, 11
|
|
12317
12796
|
|
|
12318
12797
|
def initialize(modelid=nil, sn=nil, expiretime=nil, pkgtype=nil)
|
|
12319
12798
|
@ModelId = modelid
|
|
@@ -12343,10 +12822,10 @@ module TencentCloud
|
|
|
12343
12822
|
|
|
12344
12823
|
attr_accessor :Sn, :ModelId, :ActiveNum
|
|
12345
12824
|
extend Gem::Deprecate
|
|
12346
|
-
deprecate :ModelId, :none, 2025,
|
|
12347
|
-
deprecate :ModelId=, :none, 2025,
|
|
12348
|
-
deprecate :ActiveNum, :none, 2025,
|
|
12349
|
-
deprecate :ActiveNum=, :none, 2025,
|
|
12825
|
+
deprecate :ModelId, :none, 2025, 11
|
|
12826
|
+
deprecate :ModelId=, :none, 2025, 11
|
|
12827
|
+
deprecate :ActiveNum, :none, 2025, 11
|
|
12828
|
+
deprecate :ActiveNum=, :none, 2025, 11
|
|
12350
12829
|
|
|
12351
12830
|
def initialize(sn=nil, modelid=nil, activenum=nil)
|
|
12352
12831
|
@Sn = sn
|
|
@@ -13450,6 +13929,46 @@ module TencentCloud
|
|
|
13450
13929
|
end
|
|
13451
13930
|
end
|
|
13452
13931
|
|
|
13932
|
+
# UpdateOtaTaskStatus请求参数结构体
|
|
13933
|
+
class UpdateOtaTaskStatusRequest < TencentCloud::Common::AbstractModel
|
|
13934
|
+
# @param ProductId: 产品ID
|
|
13935
|
+
# @type ProductId: String
|
|
13936
|
+
# @param TaskId: 固件升级任务ID
|
|
13937
|
+
# @type TaskId: Integer
|
|
13938
|
+
# @param Status: 固件任务取消状态
|
|
13939
|
+
# @type Status: Integer
|
|
13940
|
+
|
|
13941
|
+
attr_accessor :ProductId, :TaskId, :Status
|
|
13942
|
+
|
|
13943
|
+
def initialize(productid=nil, taskid=nil, status=nil)
|
|
13944
|
+
@ProductId = productid
|
|
13945
|
+
@TaskId = taskid
|
|
13946
|
+
@Status = status
|
|
13947
|
+
end
|
|
13948
|
+
|
|
13949
|
+
def deserialize(params)
|
|
13950
|
+
@ProductId = params['ProductId']
|
|
13951
|
+
@TaskId = params['TaskId']
|
|
13952
|
+
@Status = params['Status']
|
|
13953
|
+
end
|
|
13954
|
+
end
|
|
13955
|
+
|
|
13956
|
+
# UpdateOtaTaskStatus返回参数结构体
|
|
13957
|
+
class UpdateOtaTaskStatusResponse < TencentCloud::Common::AbstractModel
|
|
13958
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13959
|
+
# @type RequestId: String
|
|
13960
|
+
|
|
13961
|
+
attr_accessor :RequestId
|
|
13962
|
+
|
|
13963
|
+
def initialize(requestid=nil)
|
|
13964
|
+
@RequestId = requestid
|
|
13965
|
+
end
|
|
13966
|
+
|
|
13967
|
+
def deserialize(params)
|
|
13968
|
+
@RequestId = params['RequestId']
|
|
13969
|
+
end
|
|
13970
|
+
end
|
|
13971
|
+
|
|
13453
13972
|
# UploadFirmware请求参数结构体
|
|
13454
13973
|
class UploadFirmwareRequest < TencentCloud::Common::AbstractModel
|
|
13455
13974
|
# @param ProductID: 产品ID
|
|
@@ -13538,6 +14057,54 @@ module TencentCloud
|
|
|
13538
14057
|
end
|
|
13539
14058
|
end
|
|
13540
14059
|
|
|
14060
|
+
# TWeSee 语义理解自定义标签请求
|
|
14061
|
+
class VisionCustomDetectQuery < TencentCloud::Common::AbstractModel
|
|
14062
|
+
# @param Key: 自定义标签的标识符
|
|
14063
|
+
# @type Key: String
|
|
14064
|
+
# @param Query: 自定义标签的描述文本
|
|
14065
|
+
# @type Query: String
|
|
14066
|
+
|
|
14067
|
+
attr_accessor :Key, :Query
|
|
14068
|
+
|
|
14069
|
+
def initialize(key=nil, query=nil)
|
|
14070
|
+
@Key = key
|
|
14071
|
+
@Query = query
|
|
14072
|
+
end
|
|
14073
|
+
|
|
14074
|
+
def deserialize(params)
|
|
14075
|
+
@Key = params['Key']
|
|
14076
|
+
@Query = params['Query']
|
|
14077
|
+
end
|
|
14078
|
+
end
|
|
14079
|
+
|
|
14080
|
+
# 目标检测算法检测到的目标详情
|
|
14081
|
+
class VisionDetectedObject < TencentCloud::Common::AbstractModel
|
|
14082
|
+
# @param Time: 目标出现的媒体时间戳(以图片为输入时始终取值 0)
|
|
14083
|
+
# @type Time: Float
|
|
14084
|
+
# @param ClassName: 目标类别名
|
|
14085
|
+
# @type ClassName: String
|
|
14086
|
+
# @param BoundingBox: 目标边界框(坐标顺序为 x1, y1, x2, y2)
|
|
14087
|
+
# @type BoundingBox: Array
|
|
14088
|
+
# @param Confidence: 置信度(取值范围 0.0 至 1.0)
|
|
14089
|
+
# @type Confidence: Float
|
|
14090
|
+
|
|
14091
|
+
attr_accessor :Time, :ClassName, :BoundingBox, :Confidence
|
|
14092
|
+
|
|
14093
|
+
def initialize(time=nil, classname=nil, boundingbox=nil, confidence=nil)
|
|
14094
|
+
@Time = time
|
|
14095
|
+
@ClassName = classname
|
|
14096
|
+
@BoundingBox = boundingbox
|
|
14097
|
+
@Confidence = confidence
|
|
14098
|
+
end
|
|
14099
|
+
|
|
14100
|
+
def deserialize(params)
|
|
14101
|
+
@Time = params['Time']
|
|
14102
|
+
@ClassName = params['ClassName']
|
|
14103
|
+
@BoundingBox = params['BoundingBox']
|
|
14104
|
+
@Confidence = params['Confidence']
|
|
14105
|
+
end
|
|
14106
|
+
end
|
|
14107
|
+
|
|
13541
14108
|
# 目标检测配置
|
|
13542
14109
|
class VisionObjectDetectConfig < TencentCloud::Common::AbstractModel
|
|
13543
14110
|
# @param DetectTypes: 检测类别,可选值:
|
|
@@ -13580,15 +14147,18 @@ module TencentCloud
|
|
|
13580
14147
|
# - `DownloadFailed`:下载视频/图片文件失败
|
|
13581
14148
|
# - `ReadFailed`:读取视频/图片文件失败
|
|
13582
14149
|
# @type ErrorCode: String
|
|
14150
|
+
# @param DetectedObjects: 目标检测算法检测到的目标列表
|
|
14151
|
+
# @type DetectedObjects: Array
|
|
13583
14152
|
|
|
13584
|
-
attr_accessor :Status, :DetectedClassifications, :Summary, :AlternativeSummary, :ErrorCode
|
|
14153
|
+
attr_accessor :Status, :DetectedClassifications, :Summary, :AlternativeSummary, :ErrorCode, :DetectedObjects
|
|
13585
14154
|
|
|
13586
|
-
def initialize(status=nil, detectedclassifications=nil, summary=nil, alternativesummary=nil, errorcode=nil)
|
|
14155
|
+
def initialize(status=nil, detectedclassifications=nil, summary=nil, alternativesummary=nil, errorcode=nil, detectedobjects=nil)
|
|
13587
14156
|
@Status = status
|
|
13588
14157
|
@DetectedClassifications = detectedclassifications
|
|
13589
14158
|
@Summary = summary
|
|
13590
14159
|
@AlternativeSummary = alternativesummary
|
|
13591
14160
|
@ErrorCode = errorcode
|
|
14161
|
+
@DetectedObjects = detectedobjects
|
|
13592
14162
|
end
|
|
13593
14163
|
|
|
13594
14164
|
def deserialize(params)
|
|
@@ -13597,6 +14167,14 @@ module TencentCloud
|
|
|
13597
14167
|
@Summary = params['Summary']
|
|
13598
14168
|
@AlternativeSummary = params['AlternativeSummary']
|
|
13599
14169
|
@ErrorCode = params['ErrorCode']
|
|
14170
|
+
unless params['DetectedObjects'].nil?
|
|
14171
|
+
@DetectedObjects = []
|
|
14172
|
+
params['DetectedObjects'].each do |i|
|
|
14173
|
+
visiondetectedobject_tmp = VisionDetectedObject.new
|
|
14174
|
+
visiondetectedobject_tmp.deserialize(i)
|
|
14175
|
+
@DetectedObjects << visiondetectedobject_tmp
|
|
14176
|
+
end
|
|
14177
|
+
end
|
|
13600
14178
|
end
|
|
13601
14179
|
end
|
|
13602
14180
|
|
|
@@ -13684,27 +14262,25 @@ module TencentCloud
|
|
|
13684
14262
|
|
|
13685
14263
|
# 视频摘要配置
|
|
13686
14264
|
class VisionSummaryConfig < TencentCloud::Common::AbstractModel
|
|
13687
|
-
# @param OutputLang:
|
|
13688
|
-
|
|
13689
|
-
#
|
|
13690
|
-
#
|
|
13691
|
-
#
|
|
13692
|
-
#
|
|
13693
|
-
#
|
|
13694
|
-
#
|
|
13695
|
-
# th 泰语
|
|
14265
|
+
# @param OutputLang: 主输出语言,可选值包括:
|
|
14266
|
+
# - `zh` 中文(默认值)
|
|
14267
|
+
# - `en` 英语
|
|
14268
|
+
# - `ja` 日语
|
|
14269
|
+
# - `ko` 韩文
|
|
14270
|
+
# - `pt-BR` 葡萄牙语(巴西)
|
|
14271
|
+
# - `th` 泰语
|
|
14272
|
+
# - `ms` 马来语
|
|
13696
14273
|
# @type OutputLang: String
|
|
13697
|
-
# @param AlternativeOutputLang:
|
|
13698
|
-
|
|
13699
|
-
#
|
|
13700
|
-
#
|
|
13701
|
-
#
|
|
13702
|
-
#
|
|
13703
|
-
#
|
|
13704
|
-
#
|
|
13705
|
-
# th 泰语
|
|
14274
|
+
# @param AlternativeOutputLang: 次选输出语言,可选值包括:
|
|
14275
|
+
# - `zh` 中文
|
|
14276
|
+
# - `en` 英语
|
|
14277
|
+
# - `ja` 日语
|
|
14278
|
+
# - `ko` 韩文
|
|
14279
|
+
# - `pt-BR` 葡萄牙语(巴西)
|
|
14280
|
+
# - `th` 泰语
|
|
14281
|
+
# - `ms` 马来语
|
|
13706
14282
|
# @type AlternativeOutputLang: String
|
|
13707
|
-
# @param MultiCameraLayout:
|
|
14283
|
+
# @param MultiCameraLayout: 多摄像头布局定义。可选值包括:
|
|
13708
14284
|
|
|
13709
14285
|
# - 单摄(默认值):`Single`
|
|
13710
14286
|
|
|
@@ -13720,19 +14296,106 @@ module TencentCloud
|
|
|
13720
14296
|
# - 三摄(纵向排列)- 画面1+3:`Vertical,Num=3,Index=0;2`
|
|
13721
14297
|
# - 三摄(纵向排列)- 画面2+3:`Vertical,Num=3,Index=1;2`
|
|
13722
14298
|
# @type MultiCameraLayout: String
|
|
14299
|
+
# @param DetectTypes: 拓展的目标及事件检测类别。可选值包括:
|
|
14300
|
+
|
|
14301
|
+
# **通用事件标签**
|
|
14302
|
+
# - `person_enter` 有人进入
|
|
14303
|
+
# - `vehicle_entering` 车辆进入
|
|
14304
|
+
# - `vehicle_parking` 车辆停靠
|
|
14305
|
+
# - `pet` 有宠物
|
|
14306
|
+
# - `no_signal` 视频画面异常(无信号等)
|
|
14307
|
+
|
|
14308
|
+
# **看家护院**
|
|
14309
|
+
# - `person_climbing_fence` 有人翻围墙
|
|
14310
|
+
# - `door_window_open` 门窗被开启
|
|
14311
|
+
# - `person_carrying_object` 有人搬运物品
|
|
14312
|
+
|
|
14313
|
+
# **商铺看管**
|
|
14314
|
+
# - `person_at_cashier` 有人在收银台
|
|
14315
|
+
# - `person_taking_goods` 有人拿商品
|
|
14316
|
+
# - `person_night_moving` 夜间有人移动
|
|
14317
|
+
|
|
14318
|
+
# **公共及防火安全**
|
|
14319
|
+
# - `person_stealing` 有人偷盗
|
|
14320
|
+
# - `crowd` 多人聚集
|
|
14321
|
+
# - `smoking` 有人吸烟
|
|
14322
|
+
# - `safety_fire` 明火
|
|
14323
|
+
# - `safety_smoke` 浓烟
|
|
14324
|
+
# - `fireworks` 有人燃放烟花爆竹
|
|
14325
|
+
# - `knife` 有人持刀
|
|
14326
|
+
# - `gun` 有人持枪
|
|
14327
|
+
# - `fight` 有人打架
|
|
14328
|
+
# - `hurt` 有人受伤流血
|
|
14329
|
+
|
|
14330
|
+
# **养殖看护**
|
|
14331
|
+
# - `person_feeding_animal` 有人投喂牲畜
|
|
14332
|
+
# - `animal_lying` 有动物躺地上
|
|
14333
|
+
# - `animal_wild_intrusion` 野生动物入侵
|
|
14334
|
+
|
|
14335
|
+
# **果园农田**
|
|
14336
|
+
# - `person_picking_fruit` 有人采摘果实
|
|
14337
|
+
# - `person_carrying_bag` 有人携带包裹
|
|
14338
|
+
|
|
14339
|
+
# **鱼塘看管**
|
|
14340
|
+
# - `fishing` 有人钓鱼
|
|
14341
|
+
# - `net_fishing` 有人撒网
|
|
14342
|
+
# - `person_carrying_fishing_gear` 有人携带渔具
|
|
14343
|
+
# - `loitering_near_water` 有人岸边逗留
|
|
14344
|
+
# - `throwing_into_water` 有人投掷物品
|
|
14345
|
+
|
|
14346
|
+
# **婴儿看护**
|
|
14347
|
+
# - `baby` 有婴儿
|
|
14348
|
+
# - `baby_dropping` 婴儿跌落床铺
|
|
14349
|
+
# - `person_holding_baby` 有人抱起婴儿
|
|
14350
|
+
# - `baby_rolling` 婴儿翻滚
|
|
14351
|
+
# - `baby_crying` 婴儿哭闹
|
|
14352
|
+
|
|
14353
|
+
# **儿童看护**
|
|
14354
|
+
# - `child` 有小孩
|
|
14355
|
+
# - `child_falling` 小孩摔倒
|
|
14356
|
+
# - `child_entering_kitchen` 小孩进入厨房
|
|
14357
|
+
# - `child_climbing_window` 小孩攀爬室内窗户
|
|
14358
|
+
# - `child_near_water` 小孩靠近水域
|
|
14359
|
+
|
|
14360
|
+
# **老人看护**
|
|
14361
|
+
# - `elderly` 有老人
|
|
14362
|
+
# - `elderly_falling` 老人摔倒
|
|
14363
|
+
# - `elderly_eating` 老人用餐
|
|
14364
|
+
# - `elderly_using_stove` 老人使用灶具
|
|
14365
|
+
|
|
14366
|
+
# **宠物看护**
|
|
14367
|
+
# - `pet_eating` 宠物进食
|
|
14368
|
+
# - `pet_damaging` 宠物损坏家具
|
|
14369
|
+
# - `pet_barking` 宠物吠叫
|
|
14370
|
+
# - `pet_scratching_door` 宠物挠门
|
|
14371
|
+
|
|
14372
|
+
# @type DetectTypes: Array
|
|
14373
|
+
# @param CustomDetectQueries: 自定义检测标签
|
|
14374
|
+
# @type CustomDetectQueries: Array
|
|
13723
14375
|
|
|
13724
|
-
attr_accessor :OutputLang, :AlternativeOutputLang, :MultiCameraLayout
|
|
14376
|
+
attr_accessor :OutputLang, :AlternativeOutputLang, :MultiCameraLayout, :DetectTypes, :CustomDetectQueries
|
|
13725
14377
|
|
|
13726
|
-
def initialize(outputlang=nil, alternativeoutputlang=nil, multicameralayout=nil)
|
|
14378
|
+
def initialize(outputlang=nil, alternativeoutputlang=nil, multicameralayout=nil, detecttypes=nil, customdetectqueries=nil)
|
|
13727
14379
|
@OutputLang = outputlang
|
|
13728
14380
|
@AlternativeOutputLang = alternativeoutputlang
|
|
13729
14381
|
@MultiCameraLayout = multicameralayout
|
|
14382
|
+
@DetectTypes = detecttypes
|
|
14383
|
+
@CustomDetectQueries = customdetectqueries
|
|
13730
14384
|
end
|
|
13731
14385
|
|
|
13732
14386
|
def deserialize(params)
|
|
13733
14387
|
@OutputLang = params['OutputLang']
|
|
13734
14388
|
@AlternativeOutputLang = params['AlternativeOutputLang']
|
|
13735
14389
|
@MultiCameraLayout = params['MultiCameraLayout']
|
|
14390
|
+
@DetectTypes = params['DetectTypes']
|
|
14391
|
+
unless params['CustomDetectQueries'].nil?
|
|
14392
|
+
@CustomDetectQueries = []
|
|
14393
|
+
params['CustomDetectQueries'].each do |i|
|
|
14394
|
+
visioncustomdetectquery_tmp = VisionCustomDetectQuery.new
|
|
14395
|
+
visioncustomdetectquery_tmp.deserialize(i)
|
|
14396
|
+
@CustomDetectQueries << visioncustomdetectquery_tmp
|
|
14397
|
+
end
|
|
14398
|
+
end
|
|
13736
14399
|
end
|
|
13737
14400
|
end
|
|
13738
14401
|
|
|
@@ -13783,26 +14446,6 @@ module TencentCloud
|
|
|
13783
14446
|
end
|
|
13784
14447
|
end
|
|
13785
14448
|
|
|
13786
|
-
# wifi定位信息
|
|
13787
|
-
class WifiInfo < TencentCloud::Common::AbstractModel
|
|
13788
|
-
# @param MAC: mac地址
|
|
13789
|
-
# @type MAC: String
|
|
13790
|
-
# @param RSSI: 信号强度
|
|
13791
|
-
# @type RSSI: Integer
|
|
13792
|
-
|
|
13793
|
-
attr_accessor :MAC, :RSSI
|
|
13794
|
-
|
|
13795
|
-
def initialize(mac=nil, rssi=nil)
|
|
13796
|
-
@MAC = mac
|
|
13797
|
-
@RSSI = rssi
|
|
13798
|
-
end
|
|
13799
|
-
|
|
13800
|
-
def deserialize(params)
|
|
13801
|
-
@MAC = params['MAC']
|
|
13802
|
-
@RSSI = params['RSSI']
|
|
13803
|
-
end
|
|
13804
|
-
end
|
|
13805
|
-
|
|
13806
14449
|
end
|
|
13807
14450
|
end
|
|
13808
14451
|
end
|
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.
|
|
4
|
+
version: 3.0.1170
|
|
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-
|
|
11
|
+
date: 2025-11-19 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/models.rb
|
|
37
36
|
- lib/v20190423/client.rb
|
|
37
|
+
- lib/v20190423/models.rb
|
|
38
38
|
- lib/tencentcloud-sdk-iotexplorer.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|