tencentcloud-sdk-iotexplorer 3.0.1080 → 3.0.1087
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 +83 -11
- data/lib/v20190423/models.rb +223 -4
- 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: 1d6ca581f17efbfd368f1f16e4b8c7cd19636ead
|
4
|
+
data.tar.gz: 991281c2a8c51f5e5eb33a9ff64aa0558e792488
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 013f21553ba08d46c42a38c9d309b1eb3ff5b6e66327aed716e036fdd6297b1dfc7c1c0213f3f7d9690610636ff9e8c2bcb70ef28d5c0471cad4ab459ec8fbf2
|
7
|
+
data.tar.gz: 106c88afe31b30b35649e599b8115ba4b6f659d9f28856213f2fdc1dca48a69fe9208097836e842e7bbac26eec40c9e0c955589ab6c3b095dcfead6ffcdbdddc
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1087
|
data/lib/v20190423/client.rb
CHANGED
@@ -269,6 +269,30 @@ module TencentCloud
|
|
269
269
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
270
|
end
|
271
271
|
|
272
|
+
# 创建视频语义异步搜索任务
|
273
|
+
|
274
|
+
# @param request: Request instance for CreateAISearchTaskAsync.
|
275
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::CreateAISearchTaskAsyncRequest`
|
276
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::CreateAISearchTaskAsyncResponse`
|
277
|
+
def CreateAISearchTaskAsync(request)
|
278
|
+
body = send_request('CreateAISearchTaskAsync', request.serialize)
|
279
|
+
response = JSON.parse(body)
|
280
|
+
if response['Response'].key?('Error') == false
|
281
|
+
model = CreateAISearchTaskAsyncResponse.new
|
282
|
+
model.deserialize(response['Response'])
|
283
|
+
model
|
284
|
+
else
|
285
|
+
code = response['Response']['Error']['Code']
|
286
|
+
message = response['Response']['Error']['Message']
|
287
|
+
reqid = response['Response']['RequestId']
|
288
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
289
|
+
end
|
290
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
291
|
+
raise e
|
292
|
+
rescue StandardError => e
|
293
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
|
+
end
|
295
|
+
|
272
296
|
# 用于新建批量生产设备
|
273
297
|
|
274
298
|
# @param request: Request instance for CreateBatchProduction.
|
@@ -413,7 +437,7 @@ module TencentCloud
|
|
413
437
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
414
438
|
end
|
415
439
|
|
416
|
-
#
|
440
|
+
# > 创建围栏绑定信息。
|
417
441
|
|
418
442
|
# @param request: Request instance for CreateFenceBind.
|
419
443
|
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::CreateFenceBindRequest`
|
@@ -533,7 +557,7 @@ module TencentCloud
|
|
533
557
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
534
558
|
end
|
535
559
|
|
536
|
-
#
|
560
|
+
# 创建围栏。
|
537
561
|
|
538
562
|
# @param request: Request instance for CreatePositionFence.
|
539
563
|
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::CreatePositionFenceRequest`
|
@@ -797,7 +821,7 @@ module TencentCloud
|
|
797
821
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
798
822
|
end
|
799
823
|
|
800
|
-
#
|
824
|
+
# 删除围栏绑定信息。
|
801
825
|
|
802
826
|
# @param request: Request instance for DeleteFenceBind.
|
803
827
|
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DeleteFenceBindRequest`
|
@@ -869,7 +893,7 @@ module TencentCloud
|
|
869
893
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
870
894
|
end
|
871
895
|
|
872
|
-
#
|
896
|
+
# 删除围栏。
|
873
897
|
|
874
898
|
# @param request: Request instance for DeletePositionFence.
|
875
899
|
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DeletePositionFenceRequest`
|
@@ -893,7 +917,7 @@ module TencentCloud
|
|
893
917
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
894
918
|
end
|
895
919
|
|
896
|
-
#
|
920
|
+
# 删除位置空间。
|
897
921
|
|
898
922
|
# @param request: Request instance for DeletePositionSpace.
|
899
923
|
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DeletePositionSpaceRequest`
|
@@ -1013,6 +1037,30 @@ module TencentCloud
|
|
1013
1037
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1014
1038
|
end
|
1015
1039
|
|
1040
|
+
# 获取视频语义异步搜索任务详情
|
1041
|
+
|
1042
|
+
# @param request: Request instance for DescribeAISearchTaskAsync.
|
1043
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeAISearchTaskAsyncRequest`
|
1044
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeAISearchTaskAsyncResponse`
|
1045
|
+
def DescribeAISearchTaskAsync(request)
|
1046
|
+
body = send_request('DescribeAISearchTaskAsync', request.serialize)
|
1047
|
+
response = JSON.parse(body)
|
1048
|
+
if response['Response'].key?('Error') == false
|
1049
|
+
model = DescribeAISearchTaskAsyncResponse.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
|
+
|
1016
1064
|
# 获取设备激活详情
|
1017
1065
|
|
1018
1066
|
# @param request: Request instance for DescribeActivateDevice.
|
@@ -1759,7 +1807,7 @@ module TencentCloud
|
|
1759
1807
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1760
1808
|
end
|
1761
1809
|
|
1762
|
-
#
|
1810
|
+
# 获取围栏绑定信息列表。
|
1763
1811
|
|
1764
1812
|
# @param request: Request instance for DescribeFenceBindList.
|
1765
1813
|
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeFenceBindListRequest`
|
@@ -1783,7 +1831,7 @@ module TencentCloud
|
|
1783
1831
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1784
1832
|
end
|
1785
1833
|
|
1786
|
-
#
|
1834
|
+
# 获取围栏告警事件列表。
|
1787
1835
|
|
1788
1836
|
# @param request: Request instance for DescribeFenceEventList.
|
1789
1837
|
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeFenceEventListRequest`
|
@@ -2191,7 +2239,7 @@ module TencentCloud
|
|
2191
2239
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2192
2240
|
end
|
2193
2241
|
|
2194
|
-
#
|
2242
|
+
# 获取位置空间中围栏告警事件列表。
|
2195
2243
|
|
2196
2244
|
# @param request: Request instance for DescribeSpaceFenceEventList.
|
2197
2245
|
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeSpaceFenceEventListRequest`
|
@@ -3007,6 +3055,30 @@ module TencentCloud
|
|
3007
3055
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3008
3056
|
end
|
3009
3057
|
|
3058
|
+
# 获取某个时间段的视频内容关键字
|
3059
|
+
|
3060
|
+
# @param request: Request instance for InvokeVideosKeywordsAnalyzer.
|
3061
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::InvokeVideosKeywordsAnalyzerRequest`
|
3062
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::InvokeVideosKeywordsAnalyzerResponse`
|
3063
|
+
def InvokeVideosKeywordsAnalyzer(request)
|
3064
|
+
body = send_request('InvokeVideosKeywordsAnalyzer', request.serialize)
|
3065
|
+
response = JSON.parse(body)
|
3066
|
+
if response['Response'].key?('Error') == false
|
3067
|
+
model = InvokeVideosKeywordsAnalyzerResponse.new
|
3068
|
+
model.deserialize(response['Response'])
|
3069
|
+
model
|
3070
|
+
else
|
3071
|
+
code = response['Response']['Error']['Code']
|
3072
|
+
message = response['Response']['Error']['Message']
|
3073
|
+
reqid = response['Response']['RequestId']
|
3074
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3075
|
+
end
|
3076
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3077
|
+
raise e
|
3078
|
+
rescue StandardError => e
|
3079
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3080
|
+
end
|
3081
|
+
|
3010
3082
|
# 获取设备的历史事件
|
3011
3083
|
|
3012
3084
|
# @param request: Request instance for ListEventHistory.
|
@@ -3151,7 +3223,7 @@ module TencentCloud
|
|
3151
3223
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3152
3224
|
end
|
3153
3225
|
|
3154
|
-
#
|
3226
|
+
# 更新围栏绑定信息。
|
3155
3227
|
|
3156
3228
|
# @param request: Request instance for ModifyFenceBind.
|
3157
3229
|
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::ModifyFenceBindRequest`
|
@@ -3247,7 +3319,7 @@ module TencentCloud
|
|
3247
3319
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3248
3320
|
end
|
3249
3321
|
|
3250
|
-
#
|
3322
|
+
# 更新围栏。
|
3251
3323
|
|
3252
3324
|
# @param request: Request instance for ModifyPositionFence.
|
3253
3325
|
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::ModifyPositionFenceRequest`
|
@@ -3271,7 +3343,7 @@ module TencentCloud
|
|
3271
3343
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3272
3344
|
end
|
3273
3345
|
|
3274
|
-
#
|
3346
|
+
# 更新位置空间。
|
3275
3347
|
|
3276
3348
|
# @param request: Request instance for ModifyPositionSpace.
|
3277
3349
|
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::ModifyPositionSpaceRequest`
|
data/lib/v20190423/models.rb
CHANGED
@@ -17,6 +17,37 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Iotexplorer
|
19
19
|
module V20190423
|
20
|
+
# AI视频搜索结果结构体。
|
21
|
+
class AISearchInfo < TencentCloud::Common::AbstractModel
|
22
|
+
# @param Summary: 基于搜索结果的总结
|
23
|
+
# @type Summary: String
|
24
|
+
# @param Targets: 视频结果集
|
25
|
+
# @type Targets: Array
|
26
|
+
# @param VideoURL: 视频回放URL
|
27
|
+
# @type VideoURL: String
|
28
|
+
|
29
|
+
attr_accessor :Summary, :Targets, :VideoURL
|
30
|
+
|
31
|
+
def initialize(summary=nil, targets=nil, videourl=nil)
|
32
|
+
@Summary = summary
|
33
|
+
@Targets = targets
|
34
|
+
@VideoURL = videourl
|
35
|
+
end
|
36
|
+
|
37
|
+
def deserialize(params)
|
38
|
+
@Summary = params['Summary']
|
39
|
+
unless params['Targets'].nil?
|
40
|
+
@Targets = []
|
41
|
+
params['Targets'].each do |i|
|
42
|
+
targetinfo_tmp = TargetInfo.new
|
43
|
+
targetinfo_tmp.deserialize(i)
|
44
|
+
@Targets << targetinfo_tmp
|
45
|
+
end
|
46
|
+
end
|
47
|
+
@VideoURL = params['VideoURL']
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
20
51
|
# 设备激活详情信息
|
21
52
|
class ActivateDeviceInfo < TencentCloud::Common::AbstractModel
|
22
53
|
# @param InstanceId: 实例ID
|
@@ -1141,6 +1172,58 @@ module TencentCloud
|
|
1141
1172
|
end
|
1142
1173
|
end
|
1143
1174
|
|
1175
|
+
# CreateAISearchTaskAsync请求参数结构体
|
1176
|
+
class CreateAISearchTaskAsyncRequest < TencentCloud::Common::AbstractModel
|
1177
|
+
# @param ProductId: 产品ID
|
1178
|
+
# @type ProductId: String
|
1179
|
+
# @param DeviceName: 设备名称
|
1180
|
+
# @type DeviceName: String
|
1181
|
+
# @param Query: 自然语言查询
|
1182
|
+
# @type Query: String
|
1183
|
+
# @param SummaryLang: 搜索结果总结的语言类型,支持的类型有:en-US、zh-CN、id-ID、th-TH
|
1184
|
+
# @type SummaryLang: String
|
1185
|
+
# @param ChannelId: 通道ID
|
1186
|
+
# @type ChannelId: Integer
|
1187
|
+
|
1188
|
+
attr_accessor :ProductId, :DeviceName, :Query, :SummaryLang, :ChannelId
|
1189
|
+
|
1190
|
+
def initialize(productid=nil, devicename=nil, query=nil, summarylang=nil, channelid=nil)
|
1191
|
+
@ProductId = productid
|
1192
|
+
@DeviceName = devicename
|
1193
|
+
@Query = query
|
1194
|
+
@SummaryLang = summarylang
|
1195
|
+
@ChannelId = channelid
|
1196
|
+
end
|
1197
|
+
|
1198
|
+
def deserialize(params)
|
1199
|
+
@ProductId = params['ProductId']
|
1200
|
+
@DeviceName = params['DeviceName']
|
1201
|
+
@Query = params['Query']
|
1202
|
+
@SummaryLang = params['SummaryLang']
|
1203
|
+
@ChannelId = params['ChannelId']
|
1204
|
+
end
|
1205
|
+
end
|
1206
|
+
|
1207
|
+
# CreateAISearchTaskAsync返回参数结构体
|
1208
|
+
class CreateAISearchTaskAsyncResponse < TencentCloud::Common::AbstractModel
|
1209
|
+
# @param TaskId: 任务ID
|
1210
|
+
# @type TaskId: String
|
1211
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1212
|
+
# @type RequestId: String
|
1213
|
+
|
1214
|
+
attr_accessor :TaskId, :RequestId
|
1215
|
+
|
1216
|
+
def initialize(taskid=nil, requestid=nil)
|
1217
|
+
@TaskId = taskid
|
1218
|
+
@RequestId = requestid
|
1219
|
+
end
|
1220
|
+
|
1221
|
+
def deserialize(params)
|
1222
|
+
@TaskId = params['TaskId']
|
1223
|
+
@RequestId = params['RequestId']
|
1224
|
+
end
|
1225
|
+
end
|
1226
|
+
|
1144
1227
|
# CreateBatchProduction请求参数结构体
|
1145
1228
|
class CreateBatchProductionRequest < TencentCloud::Common::AbstractModel
|
1146
1229
|
# @param ProjectId: 项目ID
|
@@ -2741,6 +2824,49 @@ module TencentCloud
|
|
2741
2824
|
end
|
2742
2825
|
end
|
2743
2826
|
|
2827
|
+
# DescribeAISearchTaskAsync请求参数结构体
|
2828
|
+
class DescribeAISearchTaskAsyncRequest < TencentCloud::Common::AbstractModel
|
2829
|
+
# @param TaskId: 任务ID
|
2830
|
+
# @type TaskId: String
|
2831
|
+
|
2832
|
+
attr_accessor :TaskId
|
2833
|
+
|
2834
|
+
def initialize(taskid=nil)
|
2835
|
+
@TaskId = taskid
|
2836
|
+
end
|
2837
|
+
|
2838
|
+
def deserialize(params)
|
2839
|
+
@TaskId = params['TaskId']
|
2840
|
+
end
|
2841
|
+
end
|
2842
|
+
|
2843
|
+
# DescribeAISearchTaskAsync返回参数结构体
|
2844
|
+
class DescribeAISearchTaskAsyncResponse < TencentCloud::Common::AbstractModel
|
2845
|
+
# @param Status: 状态。0-初始状态;1-正在处理;2-处理失败;3-成功
|
2846
|
+
# @type Status: Integer
|
2847
|
+
# @param Data: 任务处理结果数据
|
2848
|
+
# @type Data: :class:`Tencentcloud::Iotexplorer.v20190423.models.AISearchInfo`
|
2849
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2850
|
+
# @type RequestId: String
|
2851
|
+
|
2852
|
+
attr_accessor :Status, :Data, :RequestId
|
2853
|
+
|
2854
|
+
def initialize(status=nil, data=nil, requestid=nil)
|
2855
|
+
@Status = status
|
2856
|
+
@Data = data
|
2857
|
+
@RequestId = requestid
|
2858
|
+
end
|
2859
|
+
|
2860
|
+
def deserialize(params)
|
2861
|
+
@Status = params['Status']
|
2862
|
+
unless params['Data'].nil?
|
2863
|
+
@Data = AISearchInfo.new
|
2864
|
+
@Data.deserialize(params['Data'])
|
2865
|
+
end
|
2866
|
+
@RequestId = params['RequestId']
|
2867
|
+
end
|
2868
|
+
end
|
2869
|
+
|
2744
2870
|
# DescribeActivateDevice请求参数结构体
|
2745
2871
|
class DescribeActivateDeviceRequest < TencentCloud::Common::AbstractModel
|
2746
2872
|
# @param InstanceId: 实例ID
|
@@ -3051,12 +3177,14 @@ module TencentCloud
|
|
3051
3177
|
# @type Config: String
|
3052
3178
|
# @param ROI: 视频分析识别区域
|
3053
3179
|
# @type ROI: String
|
3180
|
+
# @param PackageId: 云存 AI 套餐 ID
|
3181
|
+
# @type PackageId: String
|
3054
3182
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3055
3183
|
# @type RequestId: String
|
3056
3184
|
|
3057
|
-
attr_accessor :Type, :Status, :ExpireTime, :UserId, :Enabled, :Config, :ROI, :RequestId
|
3185
|
+
attr_accessor :Type, :Status, :ExpireTime, :UserId, :Enabled, :Config, :ROI, :PackageId, :RequestId
|
3058
3186
|
|
3059
|
-
def initialize(type=nil, status=nil, expiretime=nil, userid=nil, enabled=nil, config=nil, roi=nil, requestid=nil)
|
3187
|
+
def initialize(type=nil, status=nil, expiretime=nil, userid=nil, enabled=nil, config=nil, roi=nil, packageid=nil, requestid=nil)
|
3060
3188
|
@Type = type
|
3061
3189
|
@Status = status
|
3062
3190
|
@ExpireTime = expiretime
|
@@ -3064,6 +3192,7 @@ module TencentCloud
|
|
3064
3192
|
@Enabled = enabled
|
3065
3193
|
@Config = config
|
3066
3194
|
@ROI = roi
|
3195
|
+
@PackageId = packageid
|
3067
3196
|
@RequestId = requestid
|
3068
3197
|
end
|
3069
3198
|
|
@@ -3075,6 +3204,7 @@ module TencentCloud
|
|
3075
3204
|
@Enabled = params['Enabled']
|
3076
3205
|
@Config = params['Config']
|
3077
3206
|
@ROI = params['ROI']
|
3207
|
+
@PackageId = params['PackageId']
|
3078
3208
|
@RequestId = params['RequestId']
|
3079
3209
|
end
|
3080
3210
|
end
|
@@ -7835,15 +7965,40 @@ module TencentCloud
|
|
7835
7965
|
# @type SummaryLang: String
|
7836
7966
|
# @param ChannelId: 通道ID
|
7837
7967
|
# @type ChannelId: Integer
|
7968
|
+
# @param EnableSummary: 是否需要返回总结,默认为False; 开启后会加大接口响应时长
|
7969
|
+
# @type EnableSummary: Boolean
|
7970
|
+
# @param StartTimeMs: 开始时间。
|
7838
7971
|
|
7839
|
-
|
7972
|
+
# 注:
|
7973
|
+
# 1. 单位为毫秒(ms)
|
7974
|
+
# 2. 如果同时指定了StartTimeMs与EndTimeMs,时间区间不能大于7天;如果只指定其中一个(例如只指定StartTimeMs,则查询自StartTimeMs后7天内的数据, 反之EndTimeMs也一样)
|
7975
|
+
# 3. 只要指定了其中一个参数,接口则会忽略Query参数中关于时间的描述;(例如Query为"过去三天关于猫咪的视频", 则会将"过去三天忽略")
|
7976
|
+
# @type StartTimeMs: Integer
|
7977
|
+
# @param EndTimeMs: 结束时间。
|
7840
7978
|
|
7841
|
-
|
7979
|
+
# 注:
|
7980
|
+
# 1. 单位为毫秒(ms)
|
7981
|
+
# 2. 如果同时指定了StartTimeMs与EndTimeMs,时间区间不能大于7天;如果只指定其中一个(例如只指定StartTimeMs,则查询自StartTimeMs后7天内的数据, 反之EndTimeMs也一样)
|
7982
|
+
# 3. 只要指定了其中一个参数,接口则会忽略Query参数中关于时间的描述;(例如Query为"过去三天关于猫咪的视频", 则会将"过去三天忽略")
|
7983
|
+
# @type EndTimeMs: Integer
|
7984
|
+
# @param TimeZone: 时区。默认值:Asia/Shanghai
|
7985
|
+
|
7986
|
+
# 注:
|
7987
|
+
# 符合iana标准 https://www.iana.org/time-zones,例如Asia/Shanghai、Asia/Bangkok
|
7988
|
+
# @type TimeZone: String
|
7989
|
+
|
7990
|
+
attr_accessor :ProductId, :DeviceName, :Query, :SummaryLang, :ChannelId, :EnableSummary, :StartTimeMs, :EndTimeMs, :TimeZone
|
7991
|
+
|
7992
|
+
def initialize(productid=nil, devicename=nil, query=nil, summarylang=nil, channelid=nil, enablesummary=nil, starttimems=nil, endtimems=nil, timezone=nil)
|
7842
7993
|
@ProductId = productid
|
7843
7994
|
@DeviceName = devicename
|
7844
7995
|
@Query = query
|
7845
7996
|
@SummaryLang = summarylang
|
7846
7997
|
@ChannelId = channelid
|
7998
|
+
@EnableSummary = enablesummary
|
7999
|
+
@StartTimeMs = starttimems
|
8000
|
+
@EndTimeMs = endtimems
|
8001
|
+
@TimeZone = timezone
|
7847
8002
|
end
|
7848
8003
|
|
7849
8004
|
def deserialize(params)
|
@@ -7852,6 +8007,10 @@ module TencentCloud
|
|
7852
8007
|
@Query = params['Query']
|
7853
8008
|
@SummaryLang = params['SummaryLang']
|
7854
8009
|
@ChannelId = params['ChannelId']
|
8010
|
+
@EnableSummary = params['EnableSummary']
|
8011
|
+
@StartTimeMs = params['StartTimeMs']
|
8012
|
+
@EndTimeMs = params['EndTimeMs']
|
8013
|
+
@TimeZone = params['TimeZone']
|
7855
8014
|
end
|
7856
8015
|
end
|
7857
8016
|
|
@@ -8139,6 +8298,66 @@ module TencentCloud
|
|
8139
8298
|
end
|
8140
8299
|
end
|
8141
8300
|
|
8301
|
+
# InvokeVideosKeywordsAnalyzer请求参数结构体
|
8302
|
+
class InvokeVideosKeywordsAnalyzerRequest < TencentCloud::Common::AbstractModel
|
8303
|
+
# @param ProductId: 产品ID
|
8304
|
+
# @type ProductId: String
|
8305
|
+
# @param DeviceName: 设备名称
|
8306
|
+
# @type DeviceName: String
|
8307
|
+
# @param StartTimeMs: 开始时间。
|
8308
|
+
|
8309
|
+
# 注:
|
8310
|
+
# 1. 单位为毫秒(ms)
|
8311
|
+
# 2. 时间区间必须控制在某一个自然天内,不支持跨天
|
8312
|
+
# @type StartTimeMs: Integer
|
8313
|
+
# @param EndTimeMs: 结束时间。
|
8314
|
+
|
8315
|
+
# 注:
|
8316
|
+
# 1. 单位为毫秒(ms)
|
8317
|
+
# 2. 时间区间必须控制在某一个自然天内,不支持跨天
|
8318
|
+
# @type EndTimeMs: Integer
|
8319
|
+
# @param KeywordsMaxNum: 返回的关键字最大数量,默认为5;最大不能超过10
|
8320
|
+
# @type KeywordsMaxNum: Integer
|
8321
|
+
|
8322
|
+
attr_accessor :ProductId, :DeviceName, :StartTimeMs, :EndTimeMs, :KeywordsMaxNum
|
8323
|
+
|
8324
|
+
def initialize(productid=nil, devicename=nil, starttimems=nil, endtimems=nil, keywordsmaxnum=nil)
|
8325
|
+
@ProductId = productid
|
8326
|
+
@DeviceName = devicename
|
8327
|
+
@StartTimeMs = starttimems
|
8328
|
+
@EndTimeMs = endtimems
|
8329
|
+
@KeywordsMaxNum = keywordsmaxnum
|
8330
|
+
end
|
8331
|
+
|
8332
|
+
def deserialize(params)
|
8333
|
+
@ProductId = params['ProductId']
|
8334
|
+
@DeviceName = params['DeviceName']
|
8335
|
+
@StartTimeMs = params['StartTimeMs']
|
8336
|
+
@EndTimeMs = params['EndTimeMs']
|
8337
|
+
@KeywordsMaxNum = params['KeywordsMaxNum']
|
8338
|
+
end
|
8339
|
+
end
|
8340
|
+
|
8341
|
+
# InvokeVideosKeywordsAnalyzer返回参数结构体
|
8342
|
+
class InvokeVideosKeywordsAnalyzerResponse < TencentCloud::Common::AbstractModel
|
8343
|
+
# @param Keywords: 基于搜索结果的总结
|
8344
|
+
# @type Keywords: Array
|
8345
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8346
|
+
# @type RequestId: String
|
8347
|
+
|
8348
|
+
attr_accessor :Keywords, :RequestId
|
8349
|
+
|
8350
|
+
def initialize(keywords=nil, requestid=nil)
|
8351
|
+
@Keywords = keywords
|
8352
|
+
@RequestId = requestid
|
8353
|
+
end
|
8354
|
+
|
8355
|
+
def deserialize(params)
|
8356
|
+
@Keywords = params['Keywords']
|
8357
|
+
@RequestId = params['RequestId']
|
8358
|
+
end
|
8359
|
+
end
|
8360
|
+
|
8142
8361
|
# 应用信息
|
8143
8362
|
class IotApplication < TencentCloud::Common::AbstractModel
|
8144
8363
|
# @param IotAppID: 应用 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.1087
|
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-06-
|
11
|
+
date: 2025-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|