tencentcloud-sdk-iotvideo 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/v20211125/client.rb +24 -0
- data/lib/v20211125/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: c5bbdfbd2e982e6581fc89a516273f49a14f83a3
|
4
|
+
data.tar.gz: 0beeb90890f836a0f7a3349081ed5413a328516d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ec08898e0f204a67ecb24984443bbd44e723efdb12465c688038c272a092e3a1be409b8bda4d903b668da1fd425ff0503f7ba223e199a885bbea85a42f8d4b4
|
7
|
+
data.tar.gz: 140c9d0733c750a1b4a4c6533f2b2285d906cb1fc3ce9ebd3145fbd4d63e7bc32f45d3a32511a5f976d6a096fdbc8a49ced54cfa38ff883c295a4ed853d91b89
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1037
|
data/lib/v20211125/client.rb
CHANGED
@@ -1205,6 +1205,30 @@ module TencentCloud
|
|
1205
1205
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1206
1206
|
end
|
1207
1207
|
|
1208
|
+
# 获取云存上报统计信息
|
1209
|
+
|
1210
|
+
# @param request: Request instance for DescribeCsReportCountDataInfo.
|
1211
|
+
# @type request: :class:`Tencentcloud::iotvideo::V20211125::DescribeCsReportCountDataInfoRequest`
|
1212
|
+
# @rtype: :class:`Tencentcloud::iotvideo::V20211125::DescribeCsReportCountDataInfoResponse`
|
1213
|
+
def DescribeCsReportCountDataInfo(request)
|
1214
|
+
body = send_request('DescribeCsReportCountDataInfo', request.serialize)
|
1215
|
+
response = JSON.parse(body)
|
1216
|
+
if response['Response'].key?('Error') == false
|
1217
|
+
model = DescribeCsReportCountDataInfoResponse.new
|
1218
|
+
model.deserialize(response['Response'])
|
1219
|
+
model
|
1220
|
+
else
|
1221
|
+
code = response['Response']['Error']['Code']
|
1222
|
+
message = response['Response']['Error']['Message']
|
1223
|
+
reqid = response['Response']['RequestId']
|
1224
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1225
|
+
end
|
1226
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1227
|
+
raise e
|
1228
|
+
rescue StandardError => e
|
1229
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1230
|
+
end
|
1231
|
+
|
1208
1232
|
# 获取数据转发列表
|
1209
1233
|
|
1210
1234
|
# @param request: Request instance for DescribeDataForwardList.
|
data/lib/v20211125/models.rb
CHANGED
@@ -903,6 +903,42 @@ module TencentCloud
|
|
903
903
|
end
|
904
904
|
end
|
905
905
|
|
906
|
+
# 云存上报统计信息
|
907
|
+
class CountDataInfo < TencentCloud::Common::AbstractModel
|
908
|
+
# @param VideoExceptionNum: 视频上报异常次数
|
909
|
+
# @type VideoExceptionNum: Integer
|
910
|
+
# @param VideoSuccessNum: 视频上报成功次数
|
911
|
+
# @type VideoSuccessNum: Integer
|
912
|
+
# @param VideoSuccessRate: 视频上报成功率
|
913
|
+
# @type VideoSuccessRate: String
|
914
|
+
# @param EventExceptionNum: 事件上报异常次数
|
915
|
+
# @type EventExceptionNum: Integer
|
916
|
+
# @param EventSuccessNum: 事件上报成功次数
|
917
|
+
# @type EventSuccessNum: Integer
|
918
|
+
# @param EventSuccessRate: 事件上报成功率
|
919
|
+
# @type EventSuccessRate: String
|
920
|
+
|
921
|
+
attr_accessor :VideoExceptionNum, :VideoSuccessNum, :VideoSuccessRate, :EventExceptionNum, :EventSuccessNum, :EventSuccessRate
|
922
|
+
|
923
|
+
def initialize(videoexceptionnum=nil, videosuccessnum=nil, videosuccessrate=nil, eventexceptionnum=nil, eventsuccessnum=nil, eventsuccessrate=nil)
|
924
|
+
@VideoExceptionNum = videoexceptionnum
|
925
|
+
@VideoSuccessNum = videosuccessnum
|
926
|
+
@VideoSuccessRate = videosuccessrate
|
927
|
+
@EventExceptionNum = eventexceptionnum
|
928
|
+
@EventSuccessNum = eventsuccessnum
|
929
|
+
@EventSuccessRate = eventsuccessrate
|
930
|
+
end
|
931
|
+
|
932
|
+
def deserialize(params)
|
933
|
+
@VideoExceptionNum = params['VideoExceptionNum']
|
934
|
+
@VideoSuccessNum = params['VideoSuccessNum']
|
935
|
+
@VideoSuccessRate = params['VideoSuccessRate']
|
936
|
+
@EventExceptionNum = params['EventExceptionNum']
|
937
|
+
@EventSuccessNum = params['EventSuccessNum']
|
938
|
+
@EventSuccessRate = params['EventSuccessRate']
|
939
|
+
end
|
940
|
+
end
|
941
|
+
|
906
942
|
# CreateAIDetection请求参数结构体
|
907
943
|
class CreateAIDetectionRequest < TencentCloud::Common::AbstractModel
|
908
944
|
# @param ProductId: 产品ID
|
@@ -3029,6 +3065,61 @@ module TencentCloud
|
|
3029
3065
|
end
|
3030
3066
|
end
|
3031
3067
|
|
3068
|
+
# DescribeCsReportCountDataInfo请求参数结构体
|
3069
|
+
class DescribeCsReportCountDataInfoRequest < TencentCloud::Common::AbstractModel
|
3070
|
+
# @param ProductId: 产品id
|
3071
|
+
# @type ProductId: String
|
3072
|
+
# @param DeviceName: 设备名
|
3073
|
+
# @type DeviceName: String
|
3074
|
+
# @param StartTime: 统计开始时间戳
|
3075
|
+
# @type StartTime: Integer
|
3076
|
+
# @param EndTime: 统计结束时间戳
|
3077
|
+
# @type EndTime: Integer
|
3078
|
+
# @param ChannelId: 设备通道
|
3079
|
+
# @type ChannelId: Integer
|
3080
|
+
|
3081
|
+
attr_accessor :ProductId, :DeviceName, :StartTime, :EndTime, :ChannelId
|
3082
|
+
|
3083
|
+
def initialize(productid=nil, devicename=nil, starttime=nil, endtime=nil, channelid=nil)
|
3084
|
+
@ProductId = productid
|
3085
|
+
@DeviceName = devicename
|
3086
|
+
@StartTime = starttime
|
3087
|
+
@EndTime = endtime
|
3088
|
+
@ChannelId = channelid
|
3089
|
+
end
|
3090
|
+
|
3091
|
+
def deserialize(params)
|
3092
|
+
@ProductId = params['ProductId']
|
3093
|
+
@DeviceName = params['DeviceName']
|
3094
|
+
@StartTime = params['StartTime']
|
3095
|
+
@EndTime = params['EndTime']
|
3096
|
+
@ChannelId = params['ChannelId']
|
3097
|
+
end
|
3098
|
+
end
|
3099
|
+
|
3100
|
+
# DescribeCsReportCountDataInfo返回参数结构体
|
3101
|
+
class DescribeCsReportCountDataInfoResponse < TencentCloud::Common::AbstractModel
|
3102
|
+
# @param Data: 云存上报统计信息
|
3103
|
+
# @type Data: :class:`Tencentcloud::Iotvideo.v20211125.models.CountDataInfo`
|
3104
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3105
|
+
# @type RequestId: String
|
3106
|
+
|
3107
|
+
attr_accessor :Data, :RequestId
|
3108
|
+
|
3109
|
+
def initialize(data=nil, requestid=nil)
|
3110
|
+
@Data = data
|
3111
|
+
@RequestId = requestid
|
3112
|
+
end
|
3113
|
+
|
3114
|
+
def deserialize(params)
|
3115
|
+
unless params['Data'].nil?
|
3116
|
+
@Data = CountDataInfo.new
|
3117
|
+
@Data.deserialize(params['Data'])
|
3118
|
+
end
|
3119
|
+
@RequestId = params['RequestId']
|
3120
|
+
end
|
3121
|
+
end
|
3122
|
+
|
3032
3123
|
# DescribeDataForwardList请求参数结构体
|
3033
3124
|
class DescribeDataForwardListRequest < TencentCloud::Common::AbstractModel
|
3034
3125
|
# @param ProductIds: 产品ID列表
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-iotvideo
|
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
|