tencentcloud-sdk-iotexplorer 3.0.804 → 3.0.805
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 -0
- data/lib/v20190423/models.rb +392 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 11fb5dc673de0ebafa84929a45d68fca2ceae398
|
|
4
|
+
data.tar.gz: 2ce8ca3975042d73996bdfd6f9c05104fc06cb49
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0460d7429c6e1a1393fef9fb25e95dc1268aea3f040d780834c5c3371228f5a2cd16f7b9714fe0b9a73d9238da6fef9e730bb2647b079a243d792050b21dc8c5
|
|
7
|
+
data.tar.gz: 1601d942917dc21136e3b2b149a80aa4cfff4c60c1fd725075676d2bf5045b30175a4578bc4147fe8b0f2c9f5698e3be5b21cca7e81ebb7186863de9dc3526ee
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.805
|
data/lib/v20190423/client.rb
CHANGED
|
@@ -821,6 +821,78 @@ module TencentCloud
|
|
|
821
821
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
822
822
|
end
|
|
823
823
|
|
|
824
|
+
# 查询指定设备的云存 AI 服务开通状态与参数配置
|
|
825
|
+
|
|
826
|
+
# @param request: Request instance for DescribeCloudStorageAIService.
|
|
827
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageAIServiceRequest`
|
|
828
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageAIServiceResponse`
|
|
829
|
+
def DescribeCloudStorageAIService(request)
|
|
830
|
+
body = send_request('DescribeCloudStorageAIService', request.serialize)
|
|
831
|
+
response = JSON.parse(body)
|
|
832
|
+
if response['Response'].key?('Error') == false
|
|
833
|
+
model = DescribeCloudStorageAIServiceResponse.new
|
|
834
|
+
model.deserialize(response['Response'])
|
|
835
|
+
model
|
|
836
|
+
else
|
|
837
|
+
code = response['Response']['Error']['Code']
|
|
838
|
+
message = response['Response']['Error']['Message']
|
|
839
|
+
reqid = response['Response']['RequestId']
|
|
840
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
841
|
+
end
|
|
842
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
843
|
+
raise e
|
|
844
|
+
rescue StandardError => e
|
|
845
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
846
|
+
end
|
|
847
|
+
|
|
848
|
+
# 查询云存AI分析回调配置
|
|
849
|
+
|
|
850
|
+
# @param request: Request instance for DescribeCloudStorageAIServiceCallback.
|
|
851
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageAIServiceCallbackRequest`
|
|
852
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageAIServiceCallbackResponse`
|
|
853
|
+
def DescribeCloudStorageAIServiceCallback(request)
|
|
854
|
+
body = send_request('DescribeCloudStorageAIServiceCallback', request.serialize)
|
|
855
|
+
response = JSON.parse(body)
|
|
856
|
+
if response['Response'].key?('Error') == false
|
|
857
|
+
model = DescribeCloudStorageAIServiceCallbackResponse.new
|
|
858
|
+
model.deserialize(response['Response'])
|
|
859
|
+
model
|
|
860
|
+
else
|
|
861
|
+
code = response['Response']['Error']['Code']
|
|
862
|
+
message = response['Response']['Error']['Message']
|
|
863
|
+
reqid = response['Response']['RequestId']
|
|
864
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
865
|
+
end
|
|
866
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
867
|
+
raise e
|
|
868
|
+
rescue StandardError => e
|
|
869
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
870
|
+
end
|
|
871
|
+
|
|
872
|
+
# 查询指定设备的云存 AI 分析任务列表
|
|
873
|
+
|
|
874
|
+
# @param request: Request instance for DescribeCloudStorageAIServiceTasks.
|
|
875
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageAIServiceTasksRequest`
|
|
876
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageAIServiceTasksResponse`
|
|
877
|
+
def DescribeCloudStorageAIServiceTasks(request)
|
|
878
|
+
body = send_request('DescribeCloudStorageAIServiceTasks', request.serialize)
|
|
879
|
+
response = JSON.parse(body)
|
|
880
|
+
if response['Response'].key?('Error') == false
|
|
881
|
+
model = DescribeCloudStorageAIServiceTasksResponse.new
|
|
882
|
+
model.deserialize(response['Response'])
|
|
883
|
+
model
|
|
884
|
+
else
|
|
885
|
+
code = response['Response']['Error']['Code']
|
|
886
|
+
message = response['Response']['Error']['Message']
|
|
887
|
+
reqid = response['Response']['RequestId']
|
|
888
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
889
|
+
end
|
|
890
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
891
|
+
raise e
|
|
892
|
+
rescue StandardError => e
|
|
893
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
894
|
+
end
|
|
895
|
+
|
|
824
896
|
# 获取具有云存的日期
|
|
825
897
|
|
|
826
898
|
# @param request: Request instance for DescribeCloudStorageDate.
|
|
@@ -1565,6 +1637,30 @@ module TencentCloud
|
|
|
1565
1637
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1566
1638
|
end
|
|
1567
1639
|
|
|
1640
|
+
# 查询指定产品的云存 AI 服务开通状态
|
|
1641
|
+
|
|
1642
|
+
# @param request: Request instance for DescribeProductCloudStorageAIService.
|
|
1643
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeProductCloudStorageAIServiceRequest`
|
|
1644
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeProductCloudStorageAIServiceResponse`
|
|
1645
|
+
def DescribeProductCloudStorageAIService(request)
|
|
1646
|
+
body = send_request('DescribeProductCloudStorageAIService', request.serialize)
|
|
1647
|
+
response = JSON.parse(body)
|
|
1648
|
+
if response['Response'].key?('Error') == false
|
|
1649
|
+
model = DescribeProductCloudStorageAIServiceResponse.new
|
|
1650
|
+
model.deserialize(response['Response'])
|
|
1651
|
+
model
|
|
1652
|
+
else
|
|
1653
|
+
code = response['Response']['Error']['Code']
|
|
1654
|
+
message = response['Response']['Error']['Message']
|
|
1655
|
+
reqid = response['Response']['RequestId']
|
|
1656
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1657
|
+
end
|
|
1658
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1659
|
+
raise e
|
|
1660
|
+
rescue StandardError => e
|
|
1661
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1662
|
+
end
|
|
1663
|
+
|
|
1568
1664
|
# 查询项目详情
|
|
1569
1665
|
|
|
1570
1666
|
# @param request: Request instance for DescribeProject.
|
|
@@ -2189,6 +2285,54 @@ module TencentCloud
|
|
|
2189
2285
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2190
2286
|
end
|
|
2191
2287
|
|
|
2288
|
+
# 修改指定设备的云存 AI 服务开通状态与参数配置
|
|
2289
|
+
|
|
2290
|
+
# @param request: Request instance for ModifyCloudStorageAIService.
|
|
2291
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::ModifyCloudStorageAIServiceRequest`
|
|
2292
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::ModifyCloudStorageAIServiceResponse`
|
|
2293
|
+
def ModifyCloudStorageAIService(request)
|
|
2294
|
+
body = send_request('ModifyCloudStorageAIService', request.serialize)
|
|
2295
|
+
response = JSON.parse(body)
|
|
2296
|
+
if response['Response'].key?('Error') == false
|
|
2297
|
+
model = ModifyCloudStorageAIServiceResponse.new
|
|
2298
|
+
model.deserialize(response['Response'])
|
|
2299
|
+
model
|
|
2300
|
+
else
|
|
2301
|
+
code = response['Response']['Error']['Code']
|
|
2302
|
+
message = response['Response']['Error']['Message']
|
|
2303
|
+
reqid = response['Response']['RequestId']
|
|
2304
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2305
|
+
end
|
|
2306
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2307
|
+
raise e
|
|
2308
|
+
rescue StandardError => e
|
|
2309
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2310
|
+
end
|
|
2311
|
+
|
|
2312
|
+
# 修改云存AI分析回调配置
|
|
2313
|
+
|
|
2314
|
+
# @param request: Request instance for ModifyCloudStorageAIServiceCallback.
|
|
2315
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::ModifyCloudStorageAIServiceCallbackRequest`
|
|
2316
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::ModifyCloudStorageAIServiceCallbackResponse`
|
|
2317
|
+
def ModifyCloudStorageAIServiceCallback(request)
|
|
2318
|
+
body = send_request('ModifyCloudStorageAIServiceCallback', request.serialize)
|
|
2319
|
+
response = JSON.parse(body)
|
|
2320
|
+
if response['Response'].key?('Error') == false
|
|
2321
|
+
model = ModifyCloudStorageAIServiceCallbackResponse.new
|
|
2322
|
+
model.deserialize(response['Response'])
|
|
2323
|
+
model
|
|
2324
|
+
else
|
|
2325
|
+
code = response['Response']['Error']['Code']
|
|
2326
|
+
message = response['Response']['Error']['Message']
|
|
2327
|
+
reqid = response['Response']['RequestId']
|
|
2328
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2329
|
+
end
|
|
2330
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2331
|
+
raise e
|
|
2332
|
+
rescue StandardError => e
|
|
2333
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2334
|
+
end
|
|
2335
|
+
|
|
2192
2336
|
# 更新围栏绑定信息
|
|
2193
2337
|
|
|
2194
2338
|
# @param request: Request instance for ModifyFenceBind.
|
|
@@ -2333,6 +2477,30 @@ module TencentCloud
|
|
|
2333
2477
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2334
2478
|
end
|
|
2335
2479
|
|
|
2480
|
+
# 修改指定产品的云存 AI 服务开通状态
|
|
2481
|
+
|
|
2482
|
+
# @param request: Request instance for ModifyProductCloudStorageAIService.
|
|
2483
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::ModifyProductCloudStorageAIServiceRequest`
|
|
2484
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::ModifyProductCloudStorageAIServiceResponse`
|
|
2485
|
+
def ModifyProductCloudStorageAIService(request)
|
|
2486
|
+
body = send_request('ModifyProductCloudStorageAIService', request.serialize)
|
|
2487
|
+
response = JSON.parse(body)
|
|
2488
|
+
if response['Response'].key?('Error') == false
|
|
2489
|
+
model = ModifyProductCloudStorageAIServiceResponse.new
|
|
2490
|
+
model.deserialize(response['Response'])
|
|
2491
|
+
model
|
|
2492
|
+
else
|
|
2493
|
+
code = response['Response']['Error']['Code']
|
|
2494
|
+
message = response['Response']['Error']['Message']
|
|
2495
|
+
reqid = response['Response']['RequestId']
|
|
2496
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2497
|
+
end
|
|
2498
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2499
|
+
raise e
|
|
2500
|
+
rescue StandardError => e
|
|
2501
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2502
|
+
end
|
|
2503
|
+
|
|
2336
2504
|
# 修改项目
|
|
2337
2505
|
|
|
2338
2506
|
# @param request: Request instance for ModifyProject.
|
data/lib/v20190423/models.rb
CHANGED
|
@@ -405,6 +405,65 @@ module TencentCloud
|
|
|
405
405
|
end
|
|
406
406
|
end
|
|
407
407
|
|
|
408
|
+
# 云存 AI 服务任务信息
|
|
409
|
+
class CloudStorageAIServiceTask < TencentCloud::Common::AbstractModel
|
|
410
|
+
# @param TaskId: 云存 AI 服务任务 ID
|
|
411
|
+
# @type TaskId: String
|
|
412
|
+
# @param ProductId: 产品 ID
|
|
413
|
+
# @type ProductId: String
|
|
414
|
+
# @param DeviceName: 设备名称
|
|
415
|
+
# @type DeviceName: String
|
|
416
|
+
# @param ChannelId: 通道 ID
|
|
417
|
+
# @type ChannelId: Integer
|
|
418
|
+
# @param StartTime: 对应云存视频的起始时间
|
|
419
|
+
# @type StartTime: Integer
|
|
420
|
+
# @param EndTime: 对应云存视频的结束时间
|
|
421
|
+
# @type EndTime: Integer
|
|
422
|
+
# @param Status: 任务状态(1:失败;2:成功但结果为空;3:成功且结果非空)
|
|
423
|
+
# @type Status: Integer
|
|
424
|
+
# @param Result: 任务结果
|
|
425
|
+
# @type Result: String
|
|
426
|
+
# @param ServiceType: 云存 AI 服务类型
|
|
427
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
428
|
+
# @type ServiceType: String
|
|
429
|
+
# @param CreateTime: 创建时间
|
|
430
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
431
|
+
# @type CreateTime: Integer
|
|
432
|
+
# @param UpdateTime: 最后更新时间
|
|
433
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
434
|
+
# @type UpdateTime: Integer
|
|
435
|
+
|
|
436
|
+
attr_accessor :TaskId, :ProductId, :DeviceName, :ChannelId, :StartTime, :EndTime, :Status, :Result, :ServiceType, :CreateTime, :UpdateTime
|
|
437
|
+
|
|
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)
|
|
439
|
+
@TaskId = taskid
|
|
440
|
+
@ProductId = productid
|
|
441
|
+
@DeviceName = devicename
|
|
442
|
+
@ChannelId = channelid
|
|
443
|
+
@StartTime = starttime
|
|
444
|
+
@EndTime = endtime
|
|
445
|
+
@Status = status
|
|
446
|
+
@Result = result
|
|
447
|
+
@ServiceType = servicetype
|
|
448
|
+
@CreateTime = createtime
|
|
449
|
+
@UpdateTime = updatetime
|
|
450
|
+
end
|
|
451
|
+
|
|
452
|
+
def deserialize(params)
|
|
453
|
+
@TaskId = params['TaskId']
|
|
454
|
+
@ProductId = params['ProductId']
|
|
455
|
+
@DeviceName = params['DeviceName']
|
|
456
|
+
@ChannelId = params['ChannelId']
|
|
457
|
+
@StartTime = params['StartTime']
|
|
458
|
+
@EndTime = params['EndTime']
|
|
459
|
+
@Status = params['Status']
|
|
460
|
+
@Result = params['Result']
|
|
461
|
+
@ServiceType = params['ServiceType']
|
|
462
|
+
@CreateTime = params['CreateTime']
|
|
463
|
+
@UpdateTime = params['UpdateTime']
|
|
464
|
+
end
|
|
465
|
+
end
|
|
466
|
+
|
|
408
467
|
# 云存事件
|
|
409
468
|
class CloudStorageEvent < TencentCloud::Common::AbstractModel
|
|
410
469
|
# @param StartTime: 事件起始时间(Unix 时间戳,秒级
|
|
@@ -1830,6 +1889,171 @@ module TencentCloud
|
|
|
1830
1889
|
end
|
|
1831
1890
|
end
|
|
1832
1891
|
|
|
1892
|
+
# DescribeCloudStorageAIServiceCallback请求参数结构体
|
|
1893
|
+
class DescribeCloudStorageAIServiceCallbackRequest < TencentCloud::Common::AbstractModel
|
|
1894
|
+
# @param ProductId: 产品ID
|
|
1895
|
+
# @type ProductId: String
|
|
1896
|
+
|
|
1897
|
+
attr_accessor :ProductId
|
|
1898
|
+
|
|
1899
|
+
def initialize(productid=nil)
|
|
1900
|
+
@ProductId = productid
|
|
1901
|
+
end
|
|
1902
|
+
|
|
1903
|
+
def deserialize(params)
|
|
1904
|
+
@ProductId = params['ProductId']
|
|
1905
|
+
end
|
|
1906
|
+
end
|
|
1907
|
+
|
|
1908
|
+
# DescribeCloudStorageAIServiceCallback返回参数结构体
|
|
1909
|
+
class DescribeCloudStorageAIServiceCallbackResponse < TencentCloud::Common::AbstractModel
|
|
1910
|
+
# @param Type: 推送类型。http:HTTP 回调
|
|
1911
|
+
# @type Type: String
|
|
1912
|
+
# @param CallbackUrl: HTTP 回调 URL
|
|
1913
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1914
|
+
# @type CallbackUrl: String
|
|
1915
|
+
# @param CallbackToken: HTTP 回调鉴权 Token
|
|
1916
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1917
|
+
# @type CallbackToken: String
|
|
1918
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1919
|
+
# @type RequestId: String
|
|
1920
|
+
|
|
1921
|
+
attr_accessor :Type, :CallbackUrl, :CallbackToken, :RequestId
|
|
1922
|
+
|
|
1923
|
+
def initialize(type=nil, callbackurl=nil, callbacktoken=nil, requestid=nil)
|
|
1924
|
+
@Type = type
|
|
1925
|
+
@CallbackUrl = callbackurl
|
|
1926
|
+
@CallbackToken = callbacktoken
|
|
1927
|
+
@RequestId = requestid
|
|
1928
|
+
end
|
|
1929
|
+
|
|
1930
|
+
def deserialize(params)
|
|
1931
|
+
@Type = params['Type']
|
|
1932
|
+
@CallbackUrl = params['CallbackUrl']
|
|
1933
|
+
@CallbackToken = params['CallbackToken']
|
|
1934
|
+
@RequestId = params['RequestId']
|
|
1935
|
+
end
|
|
1936
|
+
end
|
|
1937
|
+
|
|
1938
|
+
# DescribeCloudStorageAIService请求参数结构体
|
|
1939
|
+
class DescribeCloudStorageAIServiceRequest < TencentCloud::Common::AbstractModel
|
|
1940
|
+
# @param ProductId: 产品ID
|
|
1941
|
+
# @type ProductId: String
|
|
1942
|
+
# @param DeviceName: 设备名称
|
|
1943
|
+
# @type DeviceName: String
|
|
1944
|
+
# @param ServiceType: 云存 AI 服务类型。可选值:PackageDetect
|
|
1945
|
+
# @type ServiceType: String
|
|
1946
|
+
|
|
1947
|
+
attr_accessor :ProductId, :DeviceName, :ServiceType
|
|
1948
|
+
|
|
1949
|
+
def initialize(productid=nil, devicename=nil, servicetype=nil)
|
|
1950
|
+
@ProductId = productid
|
|
1951
|
+
@DeviceName = devicename
|
|
1952
|
+
@ServiceType = servicetype
|
|
1953
|
+
end
|
|
1954
|
+
|
|
1955
|
+
def deserialize(params)
|
|
1956
|
+
@ProductId = params['ProductId']
|
|
1957
|
+
@DeviceName = params['DeviceName']
|
|
1958
|
+
@ServiceType = params['ServiceType']
|
|
1959
|
+
end
|
|
1960
|
+
end
|
|
1961
|
+
|
|
1962
|
+
# DescribeCloudStorageAIService返回参数结构体
|
|
1963
|
+
class DescribeCloudStorageAIServiceResponse < TencentCloud::Common::AbstractModel
|
|
1964
|
+
# @param Enabled: 启用状态
|
|
1965
|
+
# @type Enabled: Boolean
|
|
1966
|
+
# @param ROI: 视频分析区域
|
|
1967
|
+
# @type ROI: String
|
|
1968
|
+
# @param Config: 云存 AI 服务的配置参数
|
|
1969
|
+
# @type Config: String
|
|
1970
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1971
|
+
# @type RequestId: String
|
|
1972
|
+
|
|
1973
|
+
attr_accessor :Enabled, :ROI, :Config, :RequestId
|
|
1974
|
+
|
|
1975
|
+
def initialize(enabled=nil, roi=nil, config=nil, requestid=nil)
|
|
1976
|
+
@Enabled = enabled
|
|
1977
|
+
@ROI = roi
|
|
1978
|
+
@Config = config
|
|
1979
|
+
@RequestId = requestid
|
|
1980
|
+
end
|
|
1981
|
+
|
|
1982
|
+
def deserialize(params)
|
|
1983
|
+
@Enabled = params['Enabled']
|
|
1984
|
+
@ROI = params['ROI']
|
|
1985
|
+
@Config = params['Config']
|
|
1986
|
+
@RequestId = params['RequestId']
|
|
1987
|
+
end
|
|
1988
|
+
end
|
|
1989
|
+
|
|
1990
|
+
# DescribeCloudStorageAIServiceTasks请求参数结构体
|
|
1991
|
+
class DescribeCloudStorageAIServiceTasksRequest < TencentCloud::Common::AbstractModel
|
|
1992
|
+
# @param ProductId: 产品 ID
|
|
1993
|
+
# @type ProductId: String
|
|
1994
|
+
# @param DeviceName: 设备名称
|
|
1995
|
+
# @type DeviceName: String
|
|
1996
|
+
# @param ServiceType: 云存 AI 服务类型。可选值:PackageDetect
|
|
1997
|
+
# @type ServiceType: String
|
|
1998
|
+
# @param Limit: 分页拉取数量
|
|
1999
|
+
# @type Limit: Integer
|
|
2000
|
+
# @param Offset: 分页拉取偏移
|
|
2001
|
+
# @type Offset: Integer
|
|
2002
|
+
# @param Status: 任务状态(1:失败;2:成功但结果为空;3:成功且结果非空;不传则查询全部状态的任务)
|
|
2003
|
+
# @type Status: Integer
|
|
2004
|
+
|
|
2005
|
+
attr_accessor :ProductId, :DeviceName, :ServiceType, :Limit, :Offset, :Status
|
|
2006
|
+
|
|
2007
|
+
def initialize(productid=nil, devicename=nil, servicetype=nil, limit=nil, offset=nil, status=nil)
|
|
2008
|
+
@ProductId = productid
|
|
2009
|
+
@DeviceName = devicename
|
|
2010
|
+
@ServiceType = servicetype
|
|
2011
|
+
@Limit = limit
|
|
2012
|
+
@Offset = offset
|
|
2013
|
+
@Status = status
|
|
2014
|
+
end
|
|
2015
|
+
|
|
2016
|
+
def deserialize(params)
|
|
2017
|
+
@ProductId = params['ProductId']
|
|
2018
|
+
@DeviceName = params['DeviceName']
|
|
2019
|
+
@ServiceType = params['ServiceType']
|
|
2020
|
+
@Limit = params['Limit']
|
|
2021
|
+
@Offset = params['Offset']
|
|
2022
|
+
@Status = params['Status']
|
|
2023
|
+
end
|
|
2024
|
+
end
|
|
2025
|
+
|
|
2026
|
+
# DescribeCloudStorageAIServiceTasks返回参数结构体
|
|
2027
|
+
class DescribeCloudStorageAIServiceTasksResponse < TencentCloud::Common::AbstractModel
|
|
2028
|
+
# @param Tasks: 任务列表
|
|
2029
|
+
# @type Tasks: Array
|
|
2030
|
+
# @param Total: 任务数量
|
|
2031
|
+
# @type Total: Integer
|
|
2032
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2033
|
+
# @type RequestId: String
|
|
2034
|
+
|
|
2035
|
+
attr_accessor :Tasks, :Total, :RequestId
|
|
2036
|
+
|
|
2037
|
+
def initialize(tasks=nil, total=nil, requestid=nil)
|
|
2038
|
+
@Tasks = tasks
|
|
2039
|
+
@Total = total
|
|
2040
|
+
@RequestId = requestid
|
|
2041
|
+
end
|
|
2042
|
+
|
|
2043
|
+
def deserialize(params)
|
|
2044
|
+
unless params['Tasks'].nil?
|
|
2045
|
+
@Tasks = []
|
|
2046
|
+
params['Tasks'].each do |i|
|
|
2047
|
+
cloudstorageaiservicetask_tmp = CloudStorageAIServiceTask.new
|
|
2048
|
+
cloudstorageaiservicetask_tmp.deserialize(i)
|
|
2049
|
+
@Tasks << cloudstorageaiservicetask_tmp
|
|
2050
|
+
end
|
|
2051
|
+
end
|
|
2052
|
+
@Total = params['Total']
|
|
2053
|
+
@RequestId = params['RequestId']
|
|
2054
|
+
end
|
|
2055
|
+
end
|
|
2056
|
+
|
|
1833
2057
|
# DescribeCloudStorageDate请求参数结构体
|
|
1834
2058
|
class DescribeCloudStorageDateRequest < TencentCloud::Common::AbstractModel
|
|
1835
2059
|
# @param ProductId: 产品ID
|
|
@@ -3651,6 +3875,46 @@ module TencentCloud
|
|
|
3651
3875
|
end
|
|
3652
3876
|
end
|
|
3653
3877
|
|
|
3878
|
+
# DescribeProductCloudStorageAIService请求参数结构体
|
|
3879
|
+
class DescribeProductCloudStorageAIServiceRequest < TencentCloud::Common::AbstractModel
|
|
3880
|
+
# @param ProductId: 产品ID
|
|
3881
|
+
# @type ProductId: String
|
|
3882
|
+
|
|
3883
|
+
attr_accessor :ProductId
|
|
3884
|
+
|
|
3885
|
+
def initialize(productid=nil)
|
|
3886
|
+
@ProductId = productid
|
|
3887
|
+
end
|
|
3888
|
+
|
|
3889
|
+
def deserialize(params)
|
|
3890
|
+
@ProductId = params['ProductId']
|
|
3891
|
+
end
|
|
3892
|
+
end
|
|
3893
|
+
|
|
3894
|
+
# DescribeProductCloudStorageAIService返回参数结构体
|
|
3895
|
+
class DescribeProductCloudStorageAIServiceResponse < TencentCloud::Common::AbstractModel
|
|
3896
|
+
# @param Enabled: 开通状态
|
|
3897
|
+
# @type Enabled: Boolean
|
|
3898
|
+
# @param Available: 当前账号是否可开通
|
|
3899
|
+
# @type Available: Boolean
|
|
3900
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3901
|
+
# @type RequestId: String
|
|
3902
|
+
|
|
3903
|
+
attr_accessor :Enabled, :Available, :RequestId
|
|
3904
|
+
|
|
3905
|
+
def initialize(enabled=nil, available=nil, requestid=nil)
|
|
3906
|
+
@Enabled = enabled
|
|
3907
|
+
@Available = available
|
|
3908
|
+
@RequestId = requestid
|
|
3909
|
+
end
|
|
3910
|
+
|
|
3911
|
+
def deserialize(params)
|
|
3912
|
+
@Enabled = params['Enabled']
|
|
3913
|
+
@Available = params['Available']
|
|
3914
|
+
@RequestId = params['RequestId']
|
|
3915
|
+
end
|
|
3916
|
+
end
|
|
3917
|
+
|
|
3654
3918
|
# DescribeProject请求参数结构体
|
|
3655
3919
|
class DescribeProjectRequest < TencentCloud::Common::AbstractModel
|
|
3656
3920
|
# @param ProjectId: 项目ID
|
|
@@ -5824,6 +6088,98 @@ module TencentCloud
|
|
|
5824
6088
|
end
|
|
5825
6089
|
end
|
|
5826
6090
|
|
|
6091
|
+
# ModifyCloudStorageAIServiceCallback请求参数结构体
|
|
6092
|
+
class ModifyCloudStorageAIServiceCallbackRequest < TencentCloud::Common::AbstractModel
|
|
6093
|
+
# @param ProductId: 产品ID
|
|
6094
|
+
# @type ProductId: String
|
|
6095
|
+
# @param Type: 推送类型。http:HTTP 回调
|
|
6096
|
+
# @type Type: String
|
|
6097
|
+
# @param CallbackUrl: HTTP 回调 URL
|
|
6098
|
+
# @type CallbackUrl: String
|
|
6099
|
+
# @param CallbackToken: HTTP 回调鉴权 Token
|
|
6100
|
+
# @type CallbackToken: String
|
|
6101
|
+
|
|
6102
|
+
attr_accessor :ProductId, :Type, :CallbackUrl, :CallbackToken
|
|
6103
|
+
|
|
6104
|
+
def initialize(productid=nil, type=nil, callbackurl=nil, callbacktoken=nil)
|
|
6105
|
+
@ProductId = productid
|
|
6106
|
+
@Type = type
|
|
6107
|
+
@CallbackUrl = callbackurl
|
|
6108
|
+
@CallbackToken = callbacktoken
|
|
6109
|
+
end
|
|
6110
|
+
|
|
6111
|
+
def deserialize(params)
|
|
6112
|
+
@ProductId = params['ProductId']
|
|
6113
|
+
@Type = params['Type']
|
|
6114
|
+
@CallbackUrl = params['CallbackUrl']
|
|
6115
|
+
@CallbackToken = params['CallbackToken']
|
|
6116
|
+
end
|
|
6117
|
+
end
|
|
6118
|
+
|
|
6119
|
+
# ModifyCloudStorageAIServiceCallback返回参数结构体
|
|
6120
|
+
class ModifyCloudStorageAIServiceCallbackResponse < TencentCloud::Common::AbstractModel
|
|
6121
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6122
|
+
# @type RequestId: String
|
|
6123
|
+
|
|
6124
|
+
attr_accessor :RequestId
|
|
6125
|
+
|
|
6126
|
+
def initialize(requestid=nil)
|
|
6127
|
+
@RequestId = requestid
|
|
6128
|
+
end
|
|
6129
|
+
|
|
6130
|
+
def deserialize(params)
|
|
6131
|
+
@RequestId = params['RequestId']
|
|
6132
|
+
end
|
|
6133
|
+
end
|
|
6134
|
+
|
|
6135
|
+
# ModifyCloudStorageAIService请求参数结构体
|
|
6136
|
+
class ModifyCloudStorageAIServiceRequest < TencentCloud::Common::AbstractModel
|
|
6137
|
+
# @param ProductId: 产品ID
|
|
6138
|
+
# @type ProductId: String
|
|
6139
|
+
# @param DeviceName: 设备名称
|
|
6140
|
+
# @type DeviceName: String
|
|
6141
|
+
# @param ServiceType: 云存 AI 服务类型。可选值:PackageDetect
|
|
6142
|
+
# @type ServiceType: String
|
|
6143
|
+
# @param Enabled: 启用状态
|
|
6144
|
+
# @type Enabled: Boolean
|
|
6145
|
+
# @param ROI: 视频分析区域
|
|
6146
|
+
# @type ROI: String
|
|
6147
|
+
|
|
6148
|
+
attr_accessor :ProductId, :DeviceName, :ServiceType, :Enabled, :ROI
|
|
6149
|
+
|
|
6150
|
+
def initialize(productid=nil, devicename=nil, servicetype=nil, enabled=nil, roi=nil)
|
|
6151
|
+
@ProductId = productid
|
|
6152
|
+
@DeviceName = devicename
|
|
6153
|
+
@ServiceType = servicetype
|
|
6154
|
+
@Enabled = enabled
|
|
6155
|
+
@ROI = roi
|
|
6156
|
+
end
|
|
6157
|
+
|
|
6158
|
+
def deserialize(params)
|
|
6159
|
+
@ProductId = params['ProductId']
|
|
6160
|
+
@DeviceName = params['DeviceName']
|
|
6161
|
+
@ServiceType = params['ServiceType']
|
|
6162
|
+
@Enabled = params['Enabled']
|
|
6163
|
+
@ROI = params['ROI']
|
|
6164
|
+
end
|
|
6165
|
+
end
|
|
6166
|
+
|
|
6167
|
+
# ModifyCloudStorageAIService返回参数结构体
|
|
6168
|
+
class ModifyCloudStorageAIServiceResponse < TencentCloud::Common::AbstractModel
|
|
6169
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6170
|
+
# @type RequestId: String
|
|
6171
|
+
|
|
6172
|
+
attr_accessor :RequestId
|
|
6173
|
+
|
|
6174
|
+
def initialize(requestid=nil)
|
|
6175
|
+
@RequestId = requestid
|
|
6176
|
+
end
|
|
6177
|
+
|
|
6178
|
+
def deserialize(params)
|
|
6179
|
+
@RequestId = params['RequestId']
|
|
6180
|
+
end
|
|
6181
|
+
end
|
|
6182
|
+
|
|
5827
6183
|
# ModifyFenceBind请求参数结构体
|
|
5828
6184
|
class ModifyFenceBindRequest < TencentCloud::Common::AbstractModel
|
|
5829
6185
|
# @param FenceId: 围栏Id
|
|
@@ -6123,6 +6479,42 @@ module TencentCloud
|
|
|
6123
6479
|
end
|
|
6124
6480
|
end
|
|
6125
6481
|
|
|
6482
|
+
# ModifyProductCloudStorageAIService请求参数结构体
|
|
6483
|
+
class ModifyProductCloudStorageAIServiceRequest < TencentCloud::Common::AbstractModel
|
|
6484
|
+
# @param ProductId: 产品ID
|
|
6485
|
+
# @type ProductId: String
|
|
6486
|
+
# @param Enabled: 开通状态
|
|
6487
|
+
# @type Enabled: Boolean
|
|
6488
|
+
|
|
6489
|
+
attr_accessor :ProductId, :Enabled
|
|
6490
|
+
|
|
6491
|
+
def initialize(productid=nil, enabled=nil)
|
|
6492
|
+
@ProductId = productid
|
|
6493
|
+
@Enabled = enabled
|
|
6494
|
+
end
|
|
6495
|
+
|
|
6496
|
+
def deserialize(params)
|
|
6497
|
+
@ProductId = params['ProductId']
|
|
6498
|
+
@Enabled = params['Enabled']
|
|
6499
|
+
end
|
|
6500
|
+
end
|
|
6501
|
+
|
|
6502
|
+
# ModifyProductCloudStorageAIService返回参数结构体
|
|
6503
|
+
class ModifyProductCloudStorageAIServiceResponse < TencentCloud::Common::AbstractModel
|
|
6504
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6505
|
+
# @type RequestId: String
|
|
6506
|
+
|
|
6507
|
+
attr_accessor :RequestId
|
|
6508
|
+
|
|
6509
|
+
def initialize(requestid=nil)
|
|
6510
|
+
@RequestId = requestid
|
|
6511
|
+
end
|
|
6512
|
+
|
|
6513
|
+
def deserialize(params)
|
|
6514
|
+
@RequestId = params['RequestId']
|
|
6515
|
+
end
|
|
6516
|
+
end
|
|
6517
|
+
|
|
6126
6518
|
# ModifyProject请求参数结构体
|
|
6127
6519
|
class ModifyProjectRequest < TencentCloud::Common::AbstractModel
|
|
6128
6520
|
# @param ProjectId: 项目ID
|
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.805
|
|
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-04-
|
|
11
|
+
date: 2024-04-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|