tencentcloud-sdk-iotexplorer 3.0.1036 → 3.0.1037
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 +24 -0
- data/lib/v20190423/models.rb +91 -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: 629ce627c0b8f4c2d33862e8141e75004900b853
|
4
|
+
data.tar.gz: b60bb56c8767fb28af1a1baecce2e99364a71d00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93db3100330f498416db62c31c25444bb7fb11b7c1557611af2860ff53de8eb5f7e368f79fb569077e387f58fb965dc611abce923c79a132241106d83783edb1
|
7
|
+
data.tar.gz: c57a2df6a195eccf38be6b422f50a9103808c404c16588bd64ddaf98a2815ad4273985bdf7a9653d857251ff6f5541383e0bb4a2e41e94ca89cba154f0bae64b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1037
|
data/lib/v20190423/client.rb
CHANGED
@@ -1493,6 +1493,30 @@ module TencentCloud
|
|
1493
1493
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1494
1494
|
end
|
1495
1495
|
|
1496
|
+
# 获取云存上报统计信息
|
1497
|
+
|
1498
|
+
# @param request: Request instance for DescribeCsReportCountDataInfo.
|
1499
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCsReportCountDataInfoRequest`
|
1500
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCsReportCountDataInfoResponse`
|
1501
|
+
def DescribeCsReportCountDataInfo(request)
|
1502
|
+
body = send_request('DescribeCsReportCountDataInfo', request.serialize)
|
1503
|
+
response = JSON.parse(body)
|
1504
|
+
if response['Response'].key?('Error') == false
|
1505
|
+
model = DescribeCsReportCountDataInfoResponse.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
|
+
|
1496
1520
|
# 用于查看某个设备的详细信息
|
1497
1521
|
|
1498
1522
|
# @param request: Request instance for DescribeDevice.
|
data/lib/v20190423/models.rb
CHANGED
@@ -1097,6 +1097,42 @@ module TencentCloud
|
|
1097
1097
|
end
|
1098
1098
|
end
|
1099
1099
|
|
1100
|
+
# 云存上报统计信息
|
1101
|
+
class CountDataInfo < TencentCloud::Common::AbstractModel
|
1102
|
+
# @param VideoExceptionNum: 视频上报异常次数
|
1103
|
+
# @type VideoExceptionNum: Integer
|
1104
|
+
# @param VideoSuccessNum: 视频上报成功次数
|
1105
|
+
# @type VideoSuccessNum: Integer
|
1106
|
+
# @param VideoSuccessRate: 视频上报成功率
|
1107
|
+
# @type VideoSuccessRate: String
|
1108
|
+
# @param EventExceptionNum: 事件上报异常次数
|
1109
|
+
# @type EventExceptionNum: Integer
|
1110
|
+
# @param EventSuccessNum: 事件上报成功次数
|
1111
|
+
# @type EventSuccessNum: Integer
|
1112
|
+
# @param EventSuccessRate: 事件上报成功率
|
1113
|
+
# @type EventSuccessRate: String
|
1114
|
+
|
1115
|
+
attr_accessor :VideoExceptionNum, :VideoSuccessNum, :VideoSuccessRate, :EventExceptionNum, :EventSuccessNum, :EventSuccessRate
|
1116
|
+
|
1117
|
+
def initialize(videoexceptionnum=nil, videosuccessnum=nil, videosuccessrate=nil, eventexceptionnum=nil, eventsuccessnum=nil, eventsuccessrate=nil)
|
1118
|
+
@VideoExceptionNum = videoexceptionnum
|
1119
|
+
@VideoSuccessNum = videosuccessnum
|
1120
|
+
@VideoSuccessRate = videosuccessrate
|
1121
|
+
@EventExceptionNum = eventexceptionnum
|
1122
|
+
@EventSuccessNum = eventsuccessnum
|
1123
|
+
@EventSuccessRate = eventsuccessrate
|
1124
|
+
end
|
1125
|
+
|
1126
|
+
def deserialize(params)
|
1127
|
+
@VideoExceptionNum = params['VideoExceptionNum']
|
1128
|
+
@VideoSuccessNum = params['VideoSuccessNum']
|
1129
|
+
@VideoSuccessRate = params['VideoSuccessRate']
|
1130
|
+
@EventExceptionNum = params['EventExceptionNum']
|
1131
|
+
@EventSuccessNum = params['EventSuccessNum']
|
1132
|
+
@EventSuccessRate = params['EventSuccessRate']
|
1133
|
+
end
|
1134
|
+
end
|
1135
|
+
|
1100
1136
|
# CreateBatchProduction请求参数结构体
|
1101
1137
|
class CreateBatchProductionRequest < TencentCloud::Common::AbstractModel
|
1102
1138
|
# @param ProjectId: 项目ID
|
@@ -3869,6 +3905,61 @@ module TencentCloud
|
|
3869
3905
|
end
|
3870
3906
|
end
|
3871
3907
|
|
3908
|
+
# DescribeCsReportCountDataInfo请求参数结构体
|
3909
|
+
class DescribeCsReportCountDataInfoRequest < TencentCloud::Common::AbstractModel
|
3910
|
+
# @param ProductId: 产品id
|
3911
|
+
# @type ProductId: String
|
3912
|
+
# @param DeviceName: 设备名
|
3913
|
+
# @type DeviceName: String
|
3914
|
+
# @param StartTime: 统计开始时间戳
|
3915
|
+
# @type StartTime: Integer
|
3916
|
+
# @param EndTime: 统计结束时间戳
|
3917
|
+
# @type EndTime: Integer
|
3918
|
+
# @param ChannelId: 设备通道
|
3919
|
+
# @type ChannelId: Integer
|
3920
|
+
|
3921
|
+
attr_accessor :ProductId, :DeviceName, :StartTime, :EndTime, :ChannelId
|
3922
|
+
|
3923
|
+
def initialize(productid=nil, devicename=nil, starttime=nil, endtime=nil, channelid=nil)
|
3924
|
+
@ProductId = productid
|
3925
|
+
@DeviceName = devicename
|
3926
|
+
@StartTime = starttime
|
3927
|
+
@EndTime = endtime
|
3928
|
+
@ChannelId = channelid
|
3929
|
+
end
|
3930
|
+
|
3931
|
+
def deserialize(params)
|
3932
|
+
@ProductId = params['ProductId']
|
3933
|
+
@DeviceName = params['DeviceName']
|
3934
|
+
@StartTime = params['StartTime']
|
3935
|
+
@EndTime = params['EndTime']
|
3936
|
+
@ChannelId = params['ChannelId']
|
3937
|
+
end
|
3938
|
+
end
|
3939
|
+
|
3940
|
+
# DescribeCsReportCountDataInfo返回参数结构体
|
3941
|
+
class DescribeCsReportCountDataInfoResponse < TencentCloud::Common::AbstractModel
|
3942
|
+
# @param Data: 云存上报统计信息
|
3943
|
+
# @type Data: :class:`Tencentcloud::Iotexplorer.v20190423.models.CountDataInfo`
|
3944
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3945
|
+
# @type RequestId: String
|
3946
|
+
|
3947
|
+
attr_accessor :Data, :RequestId
|
3948
|
+
|
3949
|
+
def initialize(data=nil, requestid=nil)
|
3950
|
+
@Data = data
|
3951
|
+
@RequestId = requestid
|
3952
|
+
end
|
3953
|
+
|
3954
|
+
def deserialize(params)
|
3955
|
+
unless params['Data'].nil?
|
3956
|
+
@Data = CountDataInfo.new
|
3957
|
+
@Data.deserialize(params['Data'])
|
3958
|
+
end
|
3959
|
+
@RequestId = params['RequestId']
|
3960
|
+
end
|
3961
|
+
end
|
3962
|
+
|
3872
3963
|
# DescribeDeviceBindGateway请求参数结构体
|
3873
3964
|
class DescribeDeviceBindGatewayRequest < TencentCloud::Common::AbstractModel
|
3874
3965
|
# @param ProductId: 产品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.1037
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|