tencentcloud-sdk-iotexplorer 3.0.1084 → 3.0.1090
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 +35 -11
- data/lib/v20190423/models.rb +98 -5
- 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: 434cb9b6ba502939f0203399cdb5dd8e5ecbc5a7
|
4
|
+
data.tar.gz: 24480f900493411b36f5c93a18a3f49c25766641
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c819ffbe4d3c3ec0e818b762926a8cfcb6564e4f8c65b719defd58b47a7abc757e0bf91159bb28e8f564201368b22dbad8edb6cd9162c15c028d5a4032bcaea
|
7
|
+
data.tar.gz: f6930d7e0fb2048dec0252bb002e8e2b2b9e1c7db064d493b309c0b217a7eb8c62d039e9d43cbb39628e5ff8427848865f75f3ca24035f9c9236718efb96be2d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1090
|
data/lib/v20190423/client.rb
CHANGED
@@ -437,7 +437,7 @@ module TencentCloud
|
|
437
437
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
438
438
|
end
|
439
439
|
|
440
|
-
#
|
440
|
+
# > 创建围栏绑定信息。
|
441
441
|
|
442
442
|
# @param request: Request instance for CreateFenceBind.
|
443
443
|
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::CreateFenceBindRequest`
|
@@ -557,7 +557,7 @@ module TencentCloud
|
|
557
557
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
558
558
|
end
|
559
559
|
|
560
|
-
#
|
560
|
+
# 创建围栏。
|
561
561
|
|
562
562
|
# @param request: Request instance for CreatePositionFence.
|
563
563
|
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::CreatePositionFenceRequest`
|
@@ -821,7 +821,7 @@ module TencentCloud
|
|
821
821
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
822
822
|
end
|
823
823
|
|
824
|
-
#
|
824
|
+
# 删除围栏绑定信息。
|
825
825
|
|
826
826
|
# @param request: Request instance for DeleteFenceBind.
|
827
827
|
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DeleteFenceBindRequest`
|
@@ -893,7 +893,7 @@ module TencentCloud
|
|
893
893
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
894
894
|
end
|
895
895
|
|
896
|
-
#
|
896
|
+
# 删除围栏。
|
897
897
|
|
898
898
|
# @param request: Request instance for DeletePositionFence.
|
899
899
|
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DeletePositionFenceRequest`
|
@@ -917,7 +917,7 @@ module TencentCloud
|
|
917
917
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
918
918
|
end
|
919
919
|
|
920
|
-
#
|
920
|
+
# 删除位置空间。
|
921
921
|
|
922
922
|
# @param request: Request instance for DeletePositionSpace.
|
923
923
|
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DeletePositionSpaceRequest`
|
@@ -1807,7 +1807,7 @@ module TencentCloud
|
|
1807
1807
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1808
1808
|
end
|
1809
1809
|
|
1810
|
-
#
|
1810
|
+
# 获取围栏绑定信息列表。
|
1811
1811
|
|
1812
1812
|
# @param request: Request instance for DescribeFenceBindList.
|
1813
1813
|
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeFenceBindListRequest`
|
@@ -1831,7 +1831,7 @@ module TencentCloud
|
|
1831
1831
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1832
1832
|
end
|
1833
1833
|
|
1834
|
-
#
|
1834
|
+
# 获取围栏告警事件列表。
|
1835
1835
|
|
1836
1836
|
# @param request: Request instance for DescribeFenceEventList.
|
1837
1837
|
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeFenceEventListRequest`
|
@@ -2239,7 +2239,7 @@ module TencentCloud
|
|
2239
2239
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2240
2240
|
end
|
2241
2241
|
|
2242
|
-
#
|
2242
|
+
# 获取位置空间中围栏告警事件列表。
|
2243
2243
|
|
2244
2244
|
# @param request: Request instance for DescribeSpaceFenceEventList.
|
2245
2245
|
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeSpaceFenceEventListRequest`
|
@@ -3055,6 +3055,30 @@ module TencentCloud
|
|
3055
3055
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3056
3056
|
end
|
3057
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
|
+
|
3058
3082
|
# 获取设备的历史事件
|
3059
3083
|
|
3060
3084
|
# @param request: Request instance for ListEventHistory.
|
@@ -3199,7 +3223,7 @@ module TencentCloud
|
|
3199
3223
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3200
3224
|
end
|
3201
3225
|
|
3202
|
-
#
|
3226
|
+
# 更新围栏绑定信息。
|
3203
3227
|
|
3204
3228
|
# @param request: Request instance for ModifyFenceBind.
|
3205
3229
|
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::ModifyFenceBindRequest`
|
@@ -3295,7 +3319,7 @@ module TencentCloud
|
|
3295
3319
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3296
3320
|
end
|
3297
3321
|
|
3298
|
-
#
|
3322
|
+
# 更新围栏。
|
3299
3323
|
|
3300
3324
|
# @param request: Request instance for ModifyPositionFence.
|
3301
3325
|
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::ModifyPositionFenceRequest`
|
@@ -3319,7 +3343,7 @@ module TencentCloud
|
|
3319
3343
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3320
3344
|
end
|
3321
3345
|
|
3322
|
-
#
|
3346
|
+
# 更新位置空间。
|
3323
3347
|
|
3324
3348
|
# @param request: Request instance for ModifyPositionSpace.
|
3325
3349
|
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::ModifyPositionSpaceRequest`
|
data/lib/v20190423/models.rb
CHANGED
@@ -3177,12 +3177,14 @@ module TencentCloud
|
|
3177
3177
|
# @type Config: String
|
3178
3178
|
# @param ROI: 视频分析识别区域
|
3179
3179
|
# @type ROI: String
|
3180
|
+
# @param PackageId: 云存 AI 套餐 ID
|
3181
|
+
# @type PackageId: String
|
3180
3182
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3181
3183
|
# @type RequestId: String
|
3182
3184
|
|
3183
|
-
attr_accessor :Type, :Status, :ExpireTime, :UserId, :Enabled, :Config, :ROI, :RequestId
|
3185
|
+
attr_accessor :Type, :Status, :ExpireTime, :UserId, :Enabled, :Config, :ROI, :PackageId, :RequestId
|
3184
3186
|
|
3185
|
-
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)
|
3186
3188
|
@Type = type
|
3187
3189
|
@Status = status
|
3188
3190
|
@ExpireTime = expiretime
|
@@ -3190,6 +3192,7 @@ module TencentCloud
|
|
3190
3192
|
@Enabled = enabled
|
3191
3193
|
@Config = config
|
3192
3194
|
@ROI = roi
|
3195
|
+
@PackageId = packageid
|
3193
3196
|
@RequestId = requestid
|
3194
3197
|
end
|
3195
3198
|
|
@@ -3201,6 +3204,7 @@ module TencentCloud
|
|
3201
3204
|
@Enabled = params['Enabled']
|
3202
3205
|
@Config = params['Config']
|
3203
3206
|
@ROI = params['ROI']
|
3207
|
+
@PackageId = params['PackageId']
|
3204
3208
|
@RequestId = params['RequestId']
|
3205
3209
|
end
|
3206
3210
|
end
|
@@ -6895,7 +6899,7 @@ module TencentCloud
|
|
6895
6899
|
class GenerateSignedVideoURLRequest < TencentCloud::Common::AbstractModel
|
6896
6900
|
# @param VideoURL: 视频播放原始URL地址
|
6897
6901
|
# @type VideoURL: String
|
6898
|
-
# @param ExpireTime:
|
6902
|
+
# @param ExpireTime: 播放链接过期时间(时间戳,单位秒)
|
6899
6903
|
# @type ExpireTime: Integer
|
6900
6904
|
# @param ChannelId: 通道ID 非NVR设备不填 NVR设备必填 默认为无
|
6901
6905
|
# @type ChannelId: Integer
|
@@ -7961,15 +7965,40 @@ module TencentCloud
|
|
7961
7965
|
# @type SummaryLang: String
|
7962
7966
|
# @param ChannelId: 通道ID
|
7963
7967
|
# @type ChannelId: Integer
|
7968
|
+
# @param EnableSummary: 是否需要返回总结,默认为True; 开启后会加大接口响应时长
|
7969
|
+
# @type EnableSummary: Boolean
|
7970
|
+
# @param StartTimeMs: 开始时间。
|
7964
7971
|
|
7965
|
-
|
7972
|
+
# 注:
|
7973
|
+
# 1. 单位为毫秒(ms)
|
7974
|
+
# 2. 如果同时指定了StartTimeMs与EndTimeMs,时间区间不能大于7天;如果只指定其中一个(例如只指定StartTimeMs,则查询自StartTimeMs后7天内的数据, 反之EndTimeMs也一样)
|
7975
|
+
# 3. 只要指定了其中一个参数,接口则会忽略Query参数中关于时间的描述;(例如Query为"过去三天关于猫咪的视频", 则会将"过去三天忽略")
|
7976
|
+
# @type StartTimeMs: Integer
|
7977
|
+
# @param EndTimeMs: 结束时间。
|
7966
7978
|
|
7967
|
-
|
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)
|
7968
7993
|
@ProductId = productid
|
7969
7994
|
@DeviceName = devicename
|
7970
7995
|
@Query = query
|
7971
7996
|
@SummaryLang = summarylang
|
7972
7997
|
@ChannelId = channelid
|
7998
|
+
@EnableSummary = enablesummary
|
7999
|
+
@StartTimeMs = starttimems
|
8000
|
+
@EndTimeMs = endtimems
|
8001
|
+
@TimeZone = timezone
|
7973
8002
|
end
|
7974
8003
|
|
7975
8004
|
def deserialize(params)
|
@@ -7978,6 +8007,10 @@ module TencentCloud
|
|
7978
8007
|
@Query = params['Query']
|
7979
8008
|
@SummaryLang = params['SummaryLang']
|
7980
8009
|
@ChannelId = params['ChannelId']
|
8010
|
+
@EnableSummary = params['EnableSummary']
|
8011
|
+
@StartTimeMs = params['StartTimeMs']
|
8012
|
+
@EndTimeMs = params['EndTimeMs']
|
8013
|
+
@TimeZone = params['TimeZone']
|
7981
8014
|
end
|
7982
8015
|
end
|
7983
8016
|
|
@@ -8265,6 +8298,66 @@ module TencentCloud
|
|
8265
8298
|
end
|
8266
8299
|
end
|
8267
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
|
+
|
8268
8361
|
# 应用信息
|
8269
8362
|
class IotApplication < TencentCloud::Common::AbstractModel
|
8270
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.1090
|
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-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|