tencentcloud-sdk-iotexplorer 3.0.984 → 3.0.985
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190423/client.rb +24 -0
- data/lib/v20190423/models.rb +148 -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: e01d1e37879439fa503eef72621611d5ee1be3be
|
4
|
+
data.tar.gz: aed7a426b0e0e797a9da5ab43d472c08160f44ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e03c4a91d51ed1da1c9652a4275d5154b6a8352a2e1e4385abacb0df50bafc2a128bfc218bf982d532dacd5d00ec824b50357109d4beeb30193c5597d438309
|
7
|
+
data.tar.gz: 5c600b7dfd3bce3fe1bbd483fe8e63751d65131ec7fe7fba8926f9999aaad4a9434f6e2ad7550b7bac178bc9e0b75e8247b039811c5426ff6ad1afd3fca4abf6
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.985
|
data/lib/v20190423/client.rb
CHANGED
@@ -1255,6 +1255,30 @@ module TencentCloud
|
|
1255
1255
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1256
1256
|
end
|
1257
1257
|
|
1258
|
+
# 拉取云存事件列表
|
1259
|
+
|
1260
|
+
# @param request: Request instance for DescribeCloudStorageEventsWithAITasks.
|
1261
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageEventsWithAITasksRequest`
|
1262
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeCloudStorageEventsWithAITasksResponse`
|
1263
|
+
def DescribeCloudStorageEventsWithAITasks(request)
|
1264
|
+
body = send_request('DescribeCloudStorageEventsWithAITasks', request.serialize)
|
1265
|
+
response = JSON.parse(body)
|
1266
|
+
if response['Response'].key?('Error') == false
|
1267
|
+
model = DescribeCloudStorageEventsWithAITasksResponse.new
|
1268
|
+
model.deserialize(response['Response'])
|
1269
|
+
model
|
1270
|
+
else
|
1271
|
+
code = response['Response']['Error']['Code']
|
1272
|
+
message = response['Response']['Error']['Message']
|
1273
|
+
reqid = response['Response']['RequestId']
|
1274
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1275
|
+
end
|
1276
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1277
|
+
raise e
|
1278
|
+
rescue StandardError => e
|
1279
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1280
|
+
end
|
1281
|
+
|
1258
1282
|
# 拉取多个云存事件缩略图
|
1259
1283
|
|
1260
1284
|
# @param request: Request instance for DescribeCloudStorageMultiThumbnail.
|
data/lib/v20190423/models.rb
CHANGED
@@ -728,6 +728,7 @@ module TencentCloud
|
|
728
728
|
|
729
729
|
# - `RealtimeObjectDetect`:目标检测
|
730
730
|
# - `Highlight`:视频浓缩
|
731
|
+
# - `VideoToText`:视频语义理解
|
731
732
|
# @type ServiceType: String
|
732
733
|
# @param StartTime: 对应云存视频的起始时间
|
733
734
|
# @type StartTime: Integer
|
@@ -819,6 +820,53 @@ module TencentCloud
|
|
819
820
|
end
|
820
821
|
end
|
821
822
|
|
823
|
+
# 云存事件及其关联的云存 AI 任务
|
824
|
+
class CloudStorageEventWithAITasks < TencentCloud::Common::AbstractModel
|
825
|
+
# @param StartTime: 事件起始时间(Unix 时间戳,秒级
|
826
|
+
# @type StartTime: Integer
|
827
|
+
# @param EndTime: 事件结束时间(Unix 时间戳,秒级
|
828
|
+
# @type EndTime: Integer
|
829
|
+
# @param Thumbnail: 事件缩略图
|
830
|
+
# @type Thumbnail: String
|
831
|
+
# @param EventId: 事件ID
|
832
|
+
# @type EventId: String
|
833
|
+
# @param UploadStatus: 事件录像上传状态,Finished: 全部上传成功 Partial: 部分上传成功 Failed: 上传失败
|
834
|
+
# @type UploadStatus: String
|
835
|
+
# @param Data: 事件自定义数据
|
836
|
+
# @type Data: String
|
837
|
+
# @param AITasks: 事件关联的云存 AI 任务列表
|
838
|
+
# @type AITasks: Array
|
839
|
+
|
840
|
+
attr_accessor :StartTime, :EndTime, :Thumbnail, :EventId, :UploadStatus, :Data, :AITasks
|
841
|
+
|
842
|
+
def initialize(starttime=nil, endtime=nil, thumbnail=nil, eventid=nil, uploadstatus=nil, data=nil, aitasks=nil)
|
843
|
+
@StartTime = starttime
|
844
|
+
@EndTime = endtime
|
845
|
+
@Thumbnail = thumbnail
|
846
|
+
@EventId = eventid
|
847
|
+
@UploadStatus = uploadstatus
|
848
|
+
@Data = data
|
849
|
+
@AITasks = aitasks
|
850
|
+
end
|
851
|
+
|
852
|
+
def deserialize(params)
|
853
|
+
@StartTime = params['StartTime']
|
854
|
+
@EndTime = params['EndTime']
|
855
|
+
@Thumbnail = params['Thumbnail']
|
856
|
+
@EventId = params['EventId']
|
857
|
+
@UploadStatus = params['UploadStatus']
|
858
|
+
@Data = params['Data']
|
859
|
+
unless params['AITasks'].nil?
|
860
|
+
@AITasks = []
|
861
|
+
params['AITasks'].each do |i|
|
862
|
+
cloudstorageaiservicetask_tmp = CloudStorageAIServiceTask.new
|
863
|
+
cloudstorageaiservicetask_tmp.deserialize(i)
|
864
|
+
@AITasks << cloudstorageaiservicetask_tmp
|
865
|
+
end
|
866
|
+
end
|
867
|
+
end
|
868
|
+
end
|
869
|
+
|
822
870
|
# 云存套餐包信息
|
823
871
|
class CloudStoragePackageInfo < TencentCloud::Common::AbstractModel
|
824
872
|
# @param PackageId: 套餐包id
|
@@ -2895,6 +2943,7 @@ module TencentCloud
|
|
2895
2943
|
# @param ServiceType: 云存 AI 服务类型。可选值:
|
2896
2944
|
# - `RealtimeObjectDetect`:目标检测
|
2897
2945
|
# - `Highlight`:视频浓缩
|
2946
|
+
# - `VideoToText`:视频语义理解
|
2898
2947
|
# @type ServiceType: String
|
2899
2948
|
# @param Limit: 分页拉取数量
|
2900
2949
|
# @type Limit: Integer
|
@@ -3107,6 +3156,105 @@ module TencentCloud
|
|
3107
3156
|
end
|
3108
3157
|
end
|
3109
3158
|
|
3159
|
+
# DescribeCloudStorageEventsWithAITasks请求参数结构体
|
3160
|
+
class DescribeCloudStorageEventsWithAITasksRequest < TencentCloud::Common::AbstractModel
|
3161
|
+
# @param ProductId: 产品ID
|
3162
|
+
# @type ProductId: String
|
3163
|
+
# @param DeviceName: 设备名称
|
3164
|
+
# @type DeviceName: String
|
3165
|
+
# @param ServiceTypes: 事件关联的视频 AI 分析服务类型(支持多选)。可选值:
|
3166
|
+
|
3167
|
+
# - `RealtimeObjectDetect`:目标检测
|
3168
|
+
# - `Highlight`:视频浓缩
|
3169
|
+
# - `VideoToText`:视频语义理解
|
3170
|
+
# @type ServiceTypes: Array
|
3171
|
+
# @param StartTime: 起始时间(Unix 时间戳,秒级), 为0 表示 当前时间 - 24h
|
3172
|
+
# @type StartTime: Integer
|
3173
|
+
# @param EndTime: 结束时间(Unix 时间戳,秒级), 为0 表示当前时间
|
3174
|
+
# @type EndTime: Integer
|
3175
|
+
# @param Context: 请求上下文, 用作查询游标
|
3176
|
+
# @type Context: String
|
3177
|
+
# @param Size: 查询数据项目的最大数量, 默认为10。假设传Size=10,返回的实际事件数量为N,则 5 <= N <= 10。
|
3178
|
+
# @type Size: Integer
|
3179
|
+
# @param EventId: 事件标识符,可以用来指定查询特定的事件,如果不指定,则查询所有事件。
|
3180
|
+
# @type EventId: String
|
3181
|
+
# @param UserId: 用户ID
|
3182
|
+
# @type UserId: String
|
3183
|
+
# @param ChannelId: 通道ID 非NVR设备则不填 NVR设备则必填 默认为无
|
3184
|
+
# @type ChannelId: Integer
|
3185
|
+
|
3186
|
+
attr_accessor :ProductId, :DeviceName, :ServiceTypes, :StartTime, :EndTime, :Context, :Size, :EventId, :UserId, :ChannelId
|
3187
|
+
|
3188
|
+
def initialize(productid=nil, devicename=nil, servicetypes=nil, starttime=nil, endtime=nil, context=nil, size=nil, eventid=nil, userid=nil, channelid=nil)
|
3189
|
+
@ProductId = productid
|
3190
|
+
@DeviceName = devicename
|
3191
|
+
@ServiceTypes = servicetypes
|
3192
|
+
@StartTime = starttime
|
3193
|
+
@EndTime = endtime
|
3194
|
+
@Context = context
|
3195
|
+
@Size = size
|
3196
|
+
@EventId = eventid
|
3197
|
+
@UserId = userid
|
3198
|
+
@ChannelId = channelid
|
3199
|
+
end
|
3200
|
+
|
3201
|
+
def deserialize(params)
|
3202
|
+
@ProductId = params['ProductId']
|
3203
|
+
@DeviceName = params['DeviceName']
|
3204
|
+
@ServiceTypes = params['ServiceTypes']
|
3205
|
+
@StartTime = params['StartTime']
|
3206
|
+
@EndTime = params['EndTime']
|
3207
|
+
@Context = params['Context']
|
3208
|
+
@Size = params['Size']
|
3209
|
+
@EventId = params['EventId']
|
3210
|
+
@UserId = params['UserId']
|
3211
|
+
@ChannelId = params['ChannelId']
|
3212
|
+
end
|
3213
|
+
end
|
3214
|
+
|
3215
|
+
# DescribeCloudStorageEventsWithAITasks返回参数结构体
|
3216
|
+
class DescribeCloudStorageEventsWithAITasksResponse < TencentCloud::Common::AbstractModel
|
3217
|
+
# @param Events: 云存事件列表
|
3218
|
+
# @type Events: Array
|
3219
|
+
# @param Context: 请求上下文, 用作查询游标
|
3220
|
+
# @type Context: String
|
3221
|
+
# @param Listover: 拉取结果是否已经结束
|
3222
|
+
# @type Listover: Boolean
|
3223
|
+
# @param Total: 内部结果数量,并不等同于事件总数。
|
3224
|
+
# @type Total: Integer
|
3225
|
+
# @param VideoURL: 视频播放URL
|
3226
|
+
# @type VideoURL: String
|
3227
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3228
|
+
# @type RequestId: String
|
3229
|
+
|
3230
|
+
attr_accessor :Events, :Context, :Listover, :Total, :VideoURL, :RequestId
|
3231
|
+
|
3232
|
+
def initialize(events=nil, context=nil, listover=nil, total=nil, videourl=nil, requestid=nil)
|
3233
|
+
@Events = events
|
3234
|
+
@Context = context
|
3235
|
+
@Listover = listover
|
3236
|
+
@Total = total
|
3237
|
+
@VideoURL = videourl
|
3238
|
+
@RequestId = requestid
|
3239
|
+
end
|
3240
|
+
|
3241
|
+
def deserialize(params)
|
3242
|
+
unless params['Events'].nil?
|
3243
|
+
@Events = []
|
3244
|
+
params['Events'].each do |i|
|
3245
|
+
cloudstorageeventwithaitasks_tmp = CloudStorageEventWithAITasks.new
|
3246
|
+
cloudstorageeventwithaitasks_tmp.deserialize(i)
|
3247
|
+
@Events << cloudstorageeventwithaitasks_tmp
|
3248
|
+
end
|
3249
|
+
end
|
3250
|
+
@Context = params['Context']
|
3251
|
+
@Listover = params['Listover']
|
3252
|
+
@Total = params['Total']
|
3253
|
+
@VideoURL = params['VideoURL']
|
3254
|
+
@RequestId = params['RequestId']
|
3255
|
+
end
|
3256
|
+
end
|
3257
|
+
|
3110
3258
|
# DescribeCloudStorageMultiThumbnail请求参数结构体
|
3111
3259
|
class DescribeCloudStorageMultiThumbnailRequest < TencentCloud::Common::AbstractModel
|
3112
3260
|
# @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.985
|
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-01-
|
11
|
+
date: 2025-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|