tencentcloud-sdk-iotexplorer 3.0.984 → 3.0.986

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2399f6a60a9d533bea14a9d1509e4ee478b31aa2
4
- data.tar.gz: a3f51ee00f81cbdb88e172d8605053628a7e739b
3
+ metadata.gz: b248b49c61e7580d0e2355e1933d31fb4b3b2a4e
4
+ data.tar.gz: 1ddca67d0c20fb14446f332d82757fe15c07e978
5
5
  SHA512:
6
- metadata.gz: 70f732bcfc9e7fbbad0ad75a614ea44157a60f5379ba8f8dc8cff163e018c9ca6ea3a0d5a90d8d3c39b5db28d1e0c696d9df78807ccfe322c7d5013c5ec9e4f1
7
- data.tar.gz: 7102a647c22d2fd0daa569e2e7cf74fdd6e961651af103b5a464f37dc060df8b3b2cdf67252ad7bfe3b6a9f5833f7e5a7fcbd04fe637e09136c85ded5c984337
6
+ metadata.gz: afe29221dc2804f461b323e0b194abde3c60a436a94f0525a370b8010d8592c40d6c55de3eb5006e47fa9b437c39f77edf12db9fc7fa93eec2f21bc5a54c8006
7
+ data.tar.gz: 2add2c076f28849c3e965fbcef380c93f75307552b3e883704c852033f53e1cd5461209050b9bb2e061fb28605b423b7501b6628c32aecf2921b9ab46e6cba92
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.984
1
+ 3.0.986
@@ -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.
@@ -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.984
4
+ version: 3.0.986
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-16 00:00:00.000000000 Z
11
+ date: 2025-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common