tencentcloud-sdk-iotexplorer 3.0.791 → 3.0.792
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 +552 -0
- data/lib/v20190423/models.rb +1543 -99
- 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: 9a235fae92d6b64453cadf79f5f14325c3770211
|
4
|
+
data.tar.gz: 934166c747f547f855ea628b02d09f0346fff7f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b81c81e396948ee192636a673ba123bc20d9c8031342442f8ea3e353bb5936dd7fed2a259793f3db0539d5b4e81eeb39ba88ca95f6dd3b8bbddb17778e84721
|
7
|
+
data.tar.gz: bc1903d9e4510c3bbd14c094c24496b06641d6860291b2e97a21cd6b0ccaf9003533022132201dfa72b1b984bd561da7c82dc1515406ef0dac0f74b368c94da8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.792
|
data/lib/v20190423/client.rb
CHANGED
@@ -29,6 +29,30 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
+
# 绑定云存用户
|
33
|
+
|
34
|
+
# @param request: Request instance for BindCloudStorageUser.
|
35
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::BindCloudStorageUserRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::BindCloudStorageUserResponse`
|
37
|
+
def BindCloudStorageUser(request)
|
38
|
+
body = send_request('BindCloudStorageUser', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = BindCloudStorageUserResponse.new
|
42
|
+
model.deserialize(response['Response'])
|
43
|
+
model
|
44
|
+
else
|
45
|
+
code = response['Response']['Error']['Code']
|
46
|
+
message = response['Response']['Error']['Message']
|
47
|
+
reqid = response['Response']['RequestId']
|
48
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
49
|
+
end
|
50
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
51
|
+
raise e
|
52
|
+
rescue StandardError => e
|
53
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
|
+
end
|
55
|
+
|
32
56
|
# 批量绑定子设备
|
33
57
|
|
34
58
|
# @param request: Request instance for BindDevices.
|
@@ -221,6 +245,30 @@ module TencentCloud
|
|
221
245
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
246
|
end
|
223
247
|
|
248
|
+
# 开通云存服务
|
249
|
+
|
250
|
+
# @param request: Request instance for CreateIotVideoCloudStorage.
|
251
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::CreateIotVideoCloudStorageRequest`
|
252
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::CreateIotVideoCloudStorageResponse`
|
253
|
+
def CreateIotVideoCloudStorage(request)
|
254
|
+
body = send_request('CreateIotVideoCloudStorage', request.serialize)
|
255
|
+
response = JSON.parse(body)
|
256
|
+
if response['Response'].key?('Error') == false
|
257
|
+
model = CreateIotVideoCloudStorageResponse.new
|
258
|
+
model.deserialize(response['Response'])
|
259
|
+
model
|
260
|
+
else
|
261
|
+
code = response['Response']['Error']['Code']
|
262
|
+
message = response['Response']['Error']['Message']
|
263
|
+
reqid = response['Response']['RequestId']
|
264
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
265
|
+
end
|
266
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
267
|
+
raise e
|
268
|
+
rescue StandardError => e
|
269
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
|
+
end
|
271
|
+
|
224
272
|
# 创建 LoRa 自定义频点
|
225
273
|
|
226
274
|
# @param request: Request instance for CreateLoRaFrequency.
|
@@ -413,6 +461,30 @@ module TencentCloud
|
|
413
461
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
414
462
|
end
|
415
463
|
|
464
|
+
# 删除云存事件
|
465
|
+
|
466
|
+
# @param request: Request instance for DeleteCloudStorageEvent.
|
467
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DeleteCloudStorageEventRequest`
|
468
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DeleteCloudStorageEventResponse`
|
469
|
+
def DeleteCloudStorageEvent(request)
|
470
|
+
body = send_request('DeleteCloudStorageEvent', request.serialize)
|
471
|
+
response = JSON.parse(body)
|
472
|
+
if response['Response'].key?('Error') == false
|
473
|
+
model = DeleteCloudStorageEventResponse.new
|
474
|
+
model.deserialize(response['Response'])
|
475
|
+
model
|
476
|
+
else
|
477
|
+
code = response['Response']['Error']['Code']
|
478
|
+
message = response['Response']['Error']['Message']
|
479
|
+
reqid = response['Response']['RequestId']
|
480
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
481
|
+
end
|
482
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
483
|
+
raise e
|
484
|
+
rescue StandardError => e
|
485
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
486
|
+
end
|
487
|
+
|
416
488
|
# 删除设备
|
417
489
|
|
418
490
|
# @param request: Request instance for DeleteDevice.
|
@@ -725,6 +797,294 @@ module TencentCloud
|
|
725
797
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
726
798
|
end
|
727
799
|
|
800
|
+
# 获取设备云存服务详情
|
801
|
+
|
802
|
+
# @param request: Request instance for DescribeCloudStorage.
|
803
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageRequest`
|
804
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageResponse`
|
805
|
+
def DescribeCloudStorage(request)
|
806
|
+
body = send_request('DescribeCloudStorage', request.serialize)
|
807
|
+
response = JSON.parse(body)
|
808
|
+
if response['Response'].key?('Error') == false
|
809
|
+
model = DescribeCloudStorageResponse.new
|
810
|
+
model.deserialize(response['Response'])
|
811
|
+
model
|
812
|
+
else
|
813
|
+
code = response['Response']['Error']['Code']
|
814
|
+
message = response['Response']['Error']['Message']
|
815
|
+
reqid = response['Response']['RequestId']
|
816
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
817
|
+
end
|
818
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
819
|
+
raise e
|
820
|
+
rescue StandardError => e
|
821
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
822
|
+
end
|
823
|
+
|
824
|
+
# 获取具有云存的日期
|
825
|
+
|
826
|
+
# @param request: Request instance for DescribeCloudStorageDate.
|
827
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageDateRequest`
|
828
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageDateResponse`
|
829
|
+
def DescribeCloudStorageDate(request)
|
830
|
+
body = send_request('DescribeCloudStorageDate', request.serialize)
|
831
|
+
response = JSON.parse(body)
|
832
|
+
if response['Response'].key?('Error') == false
|
833
|
+
model = DescribeCloudStorageDateResponse.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
|
+
# 拉取云存事件列表
|
849
|
+
|
850
|
+
# @param request: Request instance for DescribeCloudStorageEvents.
|
851
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageEventsRequest`
|
852
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageEventsResponse`
|
853
|
+
def DescribeCloudStorageEvents(request)
|
854
|
+
body = send_request('DescribeCloudStorageEvents', request.serialize)
|
855
|
+
response = JSON.parse(body)
|
856
|
+
if response['Response'].key?('Error') == false
|
857
|
+
model = DescribeCloudStorageEventsResponse.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
|
+
# 拉取多个云存事件缩略图
|
873
|
+
|
874
|
+
# @param request: Request instance for DescribeCloudStorageMultiThumbnail.
|
875
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageMultiThumbnailRequest`
|
876
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageMultiThumbnailResponse`
|
877
|
+
def DescribeCloudStorageMultiThumbnail(request)
|
878
|
+
body = send_request('DescribeCloudStorageMultiThumbnail', request.serialize)
|
879
|
+
response = JSON.parse(body)
|
880
|
+
if response['Response'].key?('Error') == false
|
881
|
+
model = DescribeCloudStorageMultiThumbnailResponse.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
|
+
|
896
|
+
# 查询云存服务详情
|
897
|
+
|
898
|
+
# @param request: Request instance for DescribeCloudStorageOrder.
|
899
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageOrderRequest`
|
900
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageOrderResponse`
|
901
|
+
def DescribeCloudStorageOrder(request)
|
902
|
+
body = send_request('DescribeCloudStorageOrder', request.serialize)
|
903
|
+
response = JSON.parse(body)
|
904
|
+
if response['Response'].key?('Error') == false
|
905
|
+
model = DescribeCloudStorageOrderResponse.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
|
+
|
920
|
+
# 获取云存套餐包消耗详细记录
|
921
|
+
|
922
|
+
# @param request: Request instance for DescribeCloudStoragePackageConsumeDetails.
|
923
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStoragePackageConsumeDetailsRequest`
|
924
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStoragePackageConsumeDetailsResponse`
|
925
|
+
def DescribeCloudStoragePackageConsumeDetails(request)
|
926
|
+
body = send_request('DescribeCloudStoragePackageConsumeDetails', request.serialize)
|
927
|
+
response = JSON.parse(body)
|
928
|
+
if response['Response'].key?('Error') == false
|
929
|
+
model = DescribeCloudStoragePackageConsumeDetailsResponse.new
|
930
|
+
model.deserialize(response['Response'])
|
931
|
+
model
|
932
|
+
else
|
933
|
+
code = response['Response']['Error']['Code']
|
934
|
+
message = response['Response']['Error']['Message']
|
935
|
+
reqid = response['Response']['RequestId']
|
936
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
937
|
+
end
|
938
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
939
|
+
raise e
|
940
|
+
rescue StandardError => e
|
941
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
942
|
+
end
|
943
|
+
|
944
|
+
# 获取云存套餐包消耗统计
|
945
|
+
|
946
|
+
# @param request: Request instance for DescribeCloudStoragePackageConsumeStats.
|
947
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStoragePackageConsumeStatsRequest`
|
948
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStoragePackageConsumeStatsResponse`
|
949
|
+
def DescribeCloudStoragePackageConsumeStats(request)
|
950
|
+
body = send_request('DescribeCloudStoragePackageConsumeStats', request.serialize)
|
951
|
+
response = JSON.parse(body)
|
952
|
+
if response['Response'].key?('Error') == false
|
953
|
+
model = DescribeCloudStoragePackageConsumeStatsResponse.new
|
954
|
+
model.deserialize(response['Response'])
|
955
|
+
model
|
956
|
+
else
|
957
|
+
code = response['Response']['Error']['Code']
|
958
|
+
message = response['Response']['Error']['Message']
|
959
|
+
reqid = response['Response']['RequestId']
|
960
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
961
|
+
end
|
962
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
963
|
+
raise e
|
964
|
+
rescue StandardError => e
|
965
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
966
|
+
end
|
967
|
+
|
968
|
+
# 获取设备图片流数据
|
969
|
+
|
970
|
+
# @param request: Request instance for DescribeCloudStorageStreamData.
|
971
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageStreamDataRequest`
|
972
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageStreamDataResponse`
|
973
|
+
def DescribeCloudStorageStreamData(request)
|
974
|
+
body = send_request('DescribeCloudStorageStreamData', request.serialize)
|
975
|
+
response = JSON.parse(body)
|
976
|
+
if response['Response'].key?('Error') == false
|
977
|
+
model = DescribeCloudStorageStreamDataResponse.new
|
978
|
+
model.deserialize(response['Response'])
|
979
|
+
model
|
980
|
+
else
|
981
|
+
code = response['Response']['Error']['Code']
|
982
|
+
message = response['Response']['Error']['Message']
|
983
|
+
reqid = response['Response']['RequestId']
|
984
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
985
|
+
end
|
986
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
987
|
+
raise e
|
988
|
+
rescue StandardError => e
|
989
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
990
|
+
end
|
991
|
+
|
992
|
+
# 拉取云存事件缩略图
|
993
|
+
|
994
|
+
# @param request: Request instance for DescribeCloudStorageThumbnail.
|
995
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageThumbnailRequest`
|
996
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageThumbnailResponse`
|
997
|
+
def DescribeCloudStorageThumbnail(request)
|
998
|
+
body = send_request('DescribeCloudStorageThumbnail', request.serialize)
|
999
|
+
response = JSON.parse(body)
|
1000
|
+
if response['Response'].key?('Error') == false
|
1001
|
+
model = DescribeCloudStorageThumbnailResponse.new
|
1002
|
+
model.deserialize(response['Response'])
|
1003
|
+
model
|
1004
|
+
else
|
1005
|
+
code = response['Response']['Error']['Code']
|
1006
|
+
message = response['Response']['Error']['Message']
|
1007
|
+
reqid = response['Response']['RequestId']
|
1008
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1009
|
+
end
|
1010
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1011
|
+
raise e
|
1012
|
+
rescue StandardError => e
|
1013
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1014
|
+
end
|
1015
|
+
|
1016
|
+
# 批量拉取云存事件缩略图
|
1017
|
+
|
1018
|
+
# @param request: Request instance for DescribeCloudStorageThumbnailList.
|
1019
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageThumbnailListRequest`
|
1020
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageThumbnailListResponse`
|
1021
|
+
def DescribeCloudStorageThumbnailList(request)
|
1022
|
+
body = send_request('DescribeCloudStorageThumbnailList', request.serialize)
|
1023
|
+
response = JSON.parse(body)
|
1024
|
+
if response['Response'].key?('Error') == false
|
1025
|
+
model = DescribeCloudStorageThumbnailListResponse.new
|
1026
|
+
model.deserialize(response['Response'])
|
1027
|
+
model
|
1028
|
+
else
|
1029
|
+
code = response['Response']['Error']['Code']
|
1030
|
+
message = response['Response']['Error']['Message']
|
1031
|
+
reqid = response['Response']['RequestId']
|
1032
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1033
|
+
end
|
1034
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1035
|
+
raise e
|
1036
|
+
rescue StandardError => e
|
1037
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1038
|
+
end
|
1039
|
+
|
1040
|
+
# 获取某一天云存时间轴
|
1041
|
+
|
1042
|
+
# @param request: Request instance for DescribeCloudStorageTime.
|
1043
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageTimeRequest`
|
1044
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageTimeResponse`
|
1045
|
+
def DescribeCloudStorageTime(request)
|
1046
|
+
body = send_request('DescribeCloudStorageTime', request.serialize)
|
1047
|
+
response = JSON.parse(body)
|
1048
|
+
if response['Response'].key?('Error') == false
|
1049
|
+
model = DescribeCloudStorageTimeResponse.new
|
1050
|
+
model.deserialize(response['Response'])
|
1051
|
+
model
|
1052
|
+
else
|
1053
|
+
code = response['Response']['Error']['Code']
|
1054
|
+
message = response['Response']['Error']['Message']
|
1055
|
+
reqid = response['Response']['RequestId']
|
1056
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1057
|
+
end
|
1058
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1059
|
+
raise e
|
1060
|
+
rescue StandardError => e
|
1061
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1062
|
+
end
|
1063
|
+
|
1064
|
+
# 拉取云存用户列表
|
1065
|
+
|
1066
|
+
# @param request: Request instance for DescribeCloudStorageUsers.
|
1067
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageUsersRequest`
|
1068
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageUsersResponse`
|
1069
|
+
def DescribeCloudStorageUsers(request)
|
1070
|
+
body = send_request('DescribeCloudStorageUsers', request.serialize)
|
1071
|
+
response = JSON.parse(body)
|
1072
|
+
if response['Response'].key?('Error') == false
|
1073
|
+
model = DescribeCloudStorageUsersResponse.new
|
1074
|
+
model.deserialize(response['Response'])
|
1075
|
+
model
|
1076
|
+
else
|
1077
|
+
code = response['Response']['Error']['Code']
|
1078
|
+
message = response['Response']['Error']['Message']
|
1079
|
+
reqid = response['Response']['RequestId']
|
1080
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1081
|
+
end
|
1082
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1083
|
+
raise e
|
1084
|
+
rescue StandardError => e
|
1085
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1086
|
+
end
|
1087
|
+
|
728
1088
|
# 用于查看某个设备的详细信息
|
729
1089
|
|
730
1090
|
# @param request: Request instance for DescribeDevice.
|
@@ -869,6 +1229,30 @@ module TencentCloud
|
|
869
1229
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
870
1230
|
end
|
871
1231
|
|
1232
|
+
# 根据设备信息拉取有效套餐列表
|
1233
|
+
|
1234
|
+
# @param request: Request instance for DescribeDevicePackages.
|
1235
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeDevicePackagesRequest`
|
1236
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeDevicePackagesResponse`
|
1237
|
+
def DescribeDevicePackages(request)
|
1238
|
+
body = send_request('DescribeDevicePackages', request.serialize)
|
1239
|
+
response = JSON.parse(body)
|
1240
|
+
if response['Response'].key?('Error') == false
|
1241
|
+
model = DescribeDevicePackagesResponse.new
|
1242
|
+
model.deserialize(response['Response'])
|
1243
|
+
model
|
1244
|
+
else
|
1245
|
+
code = response['Response']['Error']['Code']
|
1246
|
+
message = response['Response']['Error']['Message']
|
1247
|
+
reqid = response['Response']['RequestId']
|
1248
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1249
|
+
end
|
1250
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1251
|
+
raise e
|
1252
|
+
rescue StandardError => e
|
1253
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1254
|
+
end
|
1255
|
+
|
872
1256
|
# 获取设备位置列表
|
873
1257
|
|
874
1258
|
# @param request: Request instance for DescribeDevicePositionList.
|
@@ -1109,6 +1493,54 @@ module TencentCloud
|
|
1109
1493
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1110
1494
|
end
|
1111
1495
|
|
1496
|
+
# 查询套餐消耗记录详情
|
1497
|
+
|
1498
|
+
# @param request: Request instance for DescribePackageConsumeTask.
|
1499
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribePackageConsumeTaskRequest`
|
1500
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribePackageConsumeTaskResponse`
|
1501
|
+
def DescribePackageConsumeTask(request)
|
1502
|
+
body = send_request('DescribePackageConsumeTask', request.serialize)
|
1503
|
+
response = JSON.parse(body)
|
1504
|
+
if response['Response'].key?('Error') == false
|
1505
|
+
model = DescribePackageConsumeTaskResponse.new
|
1506
|
+
model.deserialize(response['Response'])
|
1507
|
+
model
|
1508
|
+
else
|
1509
|
+
code = response['Response']['Error']['Code']
|
1510
|
+
message = response['Response']['Error']['Message']
|
1511
|
+
reqid = response['Response']['RequestId']
|
1512
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1513
|
+
end
|
1514
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1515
|
+
raise e
|
1516
|
+
rescue StandardError => e
|
1517
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1518
|
+
end
|
1519
|
+
|
1520
|
+
# 查询套餐消耗记录列表
|
1521
|
+
|
1522
|
+
# @param request: Request instance for DescribePackageConsumeTasks.
|
1523
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribePackageConsumeTasksRequest`
|
1524
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribePackageConsumeTasksResponse`
|
1525
|
+
def DescribePackageConsumeTasks(request)
|
1526
|
+
body = send_request('DescribePackageConsumeTasks', request.serialize)
|
1527
|
+
response = JSON.parse(body)
|
1528
|
+
if response['Response'].key?('Error') == false
|
1529
|
+
model = DescribePackageConsumeTasksResponse.new
|
1530
|
+
model.deserialize(response['Response'])
|
1531
|
+
model
|
1532
|
+
else
|
1533
|
+
code = response['Response']['Error']['Code']
|
1534
|
+
message = response['Response']['Error']['Message']
|
1535
|
+
reqid = response['Response']['RequestId']
|
1536
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1537
|
+
end
|
1538
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1539
|
+
raise e
|
1540
|
+
rescue StandardError => e
|
1541
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1542
|
+
end
|
1543
|
+
|
1112
1544
|
# 获取围栏列表
|
1113
1545
|
|
1114
1546
|
# @param request: Request instance for DescribePositionFenceList.
|
@@ -1349,6 +1781,30 @@ module TencentCloud
|
|
1349
1781
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1350
1782
|
end
|
1351
1783
|
|
1784
|
+
# 获取视频防盗链播放URL
|
1785
|
+
|
1786
|
+
# @param request: Request instance for GenerateSignedVideoURL.
|
1787
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::GenerateSignedVideoURLRequest`
|
1788
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::GenerateSignedVideoURLResponse`
|
1789
|
+
def GenerateSignedVideoURL(request)
|
1790
|
+
body = send_request('GenerateSignedVideoURL', request.serialize)
|
1791
|
+
response = JSON.parse(body)
|
1792
|
+
if response['Response'].key?('Error') == false
|
1793
|
+
model = GenerateSignedVideoURLResponse.new
|
1794
|
+
model.deserialize(response['Response'])
|
1795
|
+
model
|
1796
|
+
else
|
1797
|
+
code = response['Response']['Error']['Code']
|
1798
|
+
message = response['Response']['Error']['Message']
|
1799
|
+
reqid = response['Response']['RequestId']
|
1800
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1801
|
+
end
|
1802
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1803
|
+
raise e
|
1804
|
+
rescue StandardError => e
|
1805
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1806
|
+
end
|
1807
|
+
|
1352
1808
|
# 列出量产数据列表信息。
|
1353
1809
|
|
1354
1810
|
# @param request: Request instance for GetBatchProductionsList.
|
@@ -1637,6 +2093,30 @@ module TencentCloud
|
|
1637
2093
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1638
2094
|
end
|
1639
2095
|
|
2096
|
+
# 继承云存用户
|
2097
|
+
|
2098
|
+
# @param request: Request instance for InheritCloudStorageUser.
|
2099
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::InheritCloudStorageUserRequest`
|
2100
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::InheritCloudStorageUserResponse`
|
2101
|
+
def InheritCloudStorageUser(request)
|
2102
|
+
body = send_request('InheritCloudStorageUser', request.serialize)
|
2103
|
+
response = JSON.parse(body)
|
2104
|
+
if response['Response'].key?('Error') == false
|
2105
|
+
model = InheritCloudStorageUserResponse.new
|
2106
|
+
model.deserialize(response['Response'])
|
2107
|
+
model
|
2108
|
+
else
|
2109
|
+
code = response['Response']['Error']['Code']
|
2110
|
+
message = response['Response']['Error']['Message']
|
2111
|
+
reqid = response['Response']['RequestId']
|
2112
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2113
|
+
end
|
2114
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2115
|
+
raise e
|
2116
|
+
rescue StandardError => e
|
2117
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2118
|
+
end
|
2119
|
+
|
1640
2120
|
# 获取设备的历史事件
|
1641
2121
|
|
1642
2122
|
# @param request: Request instance for ListEventHistory.
|
@@ -2069,6 +2549,54 @@ module TencentCloud
|
|
2069
2549
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2070
2550
|
end
|
2071
2551
|
|
2552
|
+
# 重置云存服务
|
2553
|
+
|
2554
|
+
# @param request: Request instance for ResetCloudStorage.
|
2555
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::ResetCloudStorageRequest`
|
2556
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::ResetCloudStorageResponse`
|
2557
|
+
def ResetCloudStorage(request)
|
2558
|
+
body = send_request('ResetCloudStorage', request.serialize)
|
2559
|
+
response = JSON.parse(body)
|
2560
|
+
if response['Response'].key?('Error') == false
|
2561
|
+
model = ResetCloudStorageResponse.new
|
2562
|
+
model.deserialize(response['Response'])
|
2563
|
+
model
|
2564
|
+
else
|
2565
|
+
code = response['Response']['Error']['Code']
|
2566
|
+
message = response['Response']['Error']['Message']
|
2567
|
+
reqid = response['Response']['RequestId']
|
2568
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2569
|
+
end
|
2570
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2571
|
+
raise e
|
2572
|
+
rescue StandardError => e
|
2573
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2574
|
+
end
|
2575
|
+
|
2576
|
+
# 重置云存事件
|
2577
|
+
|
2578
|
+
# @param request: Request instance for ResetCloudStorageEvent.
|
2579
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::ResetCloudStorageEventRequest`
|
2580
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::ResetCloudStorageEventResponse`
|
2581
|
+
def ResetCloudStorageEvent(request)
|
2582
|
+
body = send_request('ResetCloudStorageEvent', request.serialize)
|
2583
|
+
response = JSON.parse(body)
|
2584
|
+
if response['Response'].key?('Error') == false
|
2585
|
+
model = ResetCloudStorageEventResponse.new
|
2586
|
+
model.deserialize(response['Response'])
|
2587
|
+
model
|
2588
|
+
else
|
2589
|
+
code = response['Response']['Error']['Code']
|
2590
|
+
message = response['Response']['Error']['Message']
|
2591
|
+
reqid = response['Response']['RequestId']
|
2592
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2593
|
+
end
|
2594
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2595
|
+
raise e
|
2596
|
+
rescue StandardError => e
|
2597
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2598
|
+
end
|
2599
|
+
|
2072
2600
|
# 搜索位置空间
|
2073
2601
|
|
2074
2602
|
# @param request: Request instance for SearchPositionSpace.
|
@@ -2141,6 +2669,30 @@ module TencentCloud
|
|
2141
2669
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2142
2670
|
end
|
2143
2671
|
|
2672
|
+
# 转移云存服务
|
2673
|
+
|
2674
|
+
# @param request: Request instance for TransferCloudStorage.
|
2675
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::TransferCloudStorageRequest`
|
2676
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::TransferCloudStorageResponse`
|
2677
|
+
def TransferCloudStorage(request)
|
2678
|
+
body = send_request('TransferCloudStorage', request.serialize)
|
2679
|
+
response = JSON.parse(body)
|
2680
|
+
if response['Response'].key?('Error') == false
|
2681
|
+
model = TransferCloudStorageResponse.new
|
2682
|
+
model.deserialize(response['Response'])
|
2683
|
+
model
|
2684
|
+
else
|
2685
|
+
code = response['Response']['Error']['Code']
|
2686
|
+
message = response['Response']['Error']['Message']
|
2687
|
+
reqid = response['Response']['RequestId']
|
2688
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2689
|
+
end
|
2690
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2691
|
+
raise e
|
2692
|
+
rescue StandardError => e
|
2693
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2694
|
+
end
|
2695
|
+
|
2144
2696
|
# 批量解绑子设备
|
2145
2697
|
|
2146
2698
|
# @param request: Request instance for UnbindDevices.
|