tencentcloud-sdk-iotexplorer 3.0.1041 → 3.0.1042
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 +72 -0
- data/lib/v20190423/models.rb +211 -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: 0f10172f25dc308b021b9c77c43ed1b6b800b78f
|
4
|
+
data.tar.gz: 2456059bd2bf6a9453ea19e9f7f9261513feb2b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b1d0e034a313f432a19e3b1d65a1b22466f35c1a0ed9e63d1b166d77523be0971a41be0379a060bdeb6d02bf35af304c02f3fa3ba280f46732845d7f1bdcb66
|
7
|
+
data.tar.gz: a362999a73ff6e5870a222be5db58c465ecf883a8291365591a9f745b9c6dd3d37508be5784dd913d3ecbc74f41e6b0144e902faec76378f2c6c960859aa83f6
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1042
|
data/lib/v20190423/client.rb
CHANGED
@@ -2237,6 +2237,30 @@ module TencentCloud
|
|
2237
2237
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2238
2238
|
end
|
2239
2239
|
|
2240
|
+
# 拉取 TWeSee 配置
|
2241
|
+
|
2242
|
+
# @param request: Request instance for DescribeTWeSeeConfig.
|
2243
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeTWeSeeConfigRequest`
|
2244
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeTWeSeeConfigResponse`
|
2245
|
+
def DescribeTWeSeeConfig(request)
|
2246
|
+
body = send_request('DescribeTWeSeeConfig', request.serialize)
|
2247
|
+
response = JSON.parse(body)
|
2248
|
+
if response['Response'].key?('Error') == false
|
2249
|
+
model = DescribeTWeSeeConfigResponse.new
|
2250
|
+
model.deserialize(response['Response'])
|
2251
|
+
model
|
2252
|
+
else
|
2253
|
+
code = response['Response']['Error']['Code']
|
2254
|
+
message = response['Response']['Error']['Message']
|
2255
|
+
reqid = response['Response']['RequestId']
|
2256
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2257
|
+
end
|
2258
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2259
|
+
raise e
|
2260
|
+
rescue StandardError => e
|
2261
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2262
|
+
end
|
2263
|
+
|
2240
2264
|
# 本接口(DescribeTopicPolicy)用于查看Topic详细信息
|
2241
2265
|
|
2242
2266
|
# @param request: Request instance for DescribeTopicPolicy.
|
@@ -2885,6 +2909,30 @@ module TencentCloud
|
|
2885
2909
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2886
2910
|
end
|
2887
2911
|
|
2912
|
+
# 视频语义搜索
|
2913
|
+
|
2914
|
+
# @param request: Request instance for InvokeAISearchService.
|
2915
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::InvokeAISearchServiceRequest`
|
2916
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::InvokeAISearchServiceResponse`
|
2917
|
+
def InvokeAISearchService(request)
|
2918
|
+
body = send_request('InvokeAISearchService', request.serialize)
|
2919
|
+
response = JSON.parse(body)
|
2920
|
+
if response['Response'].key?('Error') == false
|
2921
|
+
model = InvokeAISearchServiceResponse.new
|
2922
|
+
model.deserialize(response['Response'])
|
2923
|
+
model
|
2924
|
+
else
|
2925
|
+
code = response['Response']['Error']['Code']
|
2926
|
+
message = response['Response']['Error']['Message']
|
2927
|
+
reqid = response['Response']['RequestId']
|
2928
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2929
|
+
end
|
2930
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2931
|
+
raise e
|
2932
|
+
rescue StandardError => e
|
2933
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2934
|
+
end
|
2935
|
+
|
2888
2936
|
# 同步执行设备云存 AI 分析任务
|
2889
2937
|
|
2890
2938
|
# @param request: Request instance for InvokeCloudStorageAIServiceTask.
|
@@ -3341,6 +3389,30 @@ module TencentCloud
|
|
3341
3389
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3342
3390
|
end
|
3343
3391
|
|
3392
|
+
# 修改 TWeSee 配置
|
3393
|
+
|
3394
|
+
# @param request: Request instance for ModifyTWeSeeConfig.
|
3395
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::ModifyTWeSeeConfigRequest`
|
3396
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::ModifyTWeSeeConfigResponse`
|
3397
|
+
def ModifyTWeSeeConfig(request)
|
3398
|
+
body = send_request('ModifyTWeSeeConfig', request.serialize)
|
3399
|
+
response = JSON.parse(body)
|
3400
|
+
if response['Response'].key?('Error') == false
|
3401
|
+
model = ModifyTWeSeeConfigResponse.new
|
3402
|
+
model.deserialize(response['Response'])
|
3403
|
+
model
|
3404
|
+
else
|
3405
|
+
code = response['Response']['Error']['Code']
|
3406
|
+
message = response['Response']['Error']['Message']
|
3407
|
+
reqid = response['Response']['RequestId']
|
3408
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
3409
|
+
end
|
3410
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
3411
|
+
raise e
|
3412
|
+
rescue StandardError => e
|
3413
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3414
|
+
end
|
3415
|
+
|
3344
3416
|
# 本接口(UpdateTopicPolicy)用于更新Topic信息
|
3345
3417
|
|
3346
3418
|
# @param request: Request instance for ModifyTopicPolicy.
|
data/lib/v20190423/models.rb
CHANGED
@@ -5603,6 +5603,62 @@ module TencentCloud
|
|
5603
5603
|
end
|
5604
5604
|
end
|
5605
5605
|
|
5606
|
+
# DescribeTWeSeeConfig请求参数结构体
|
5607
|
+
class DescribeTWeSeeConfigRequest < TencentCloud::Common::AbstractModel
|
5608
|
+
# @param ProductId: 产品ID
|
5609
|
+
# @type ProductId: String
|
5610
|
+
# @param DeviceName: 设备名称
|
5611
|
+
# @type DeviceName: String
|
5612
|
+
# @param UserId: 用户ID
|
5613
|
+
# @type UserId: String
|
5614
|
+
# @param ChannelId: 通道ID
|
5615
|
+
# @type ChannelId: Integer
|
5616
|
+
|
5617
|
+
attr_accessor :ProductId, :DeviceName, :UserId, :ChannelId
|
5618
|
+
|
5619
|
+
def initialize(productid=nil, devicename=nil, userid=nil, channelid=nil)
|
5620
|
+
@ProductId = productid
|
5621
|
+
@DeviceName = devicename
|
5622
|
+
@UserId = userid
|
5623
|
+
@ChannelId = channelid
|
5624
|
+
end
|
5625
|
+
|
5626
|
+
def deserialize(params)
|
5627
|
+
@ProductId = params['ProductId']
|
5628
|
+
@DeviceName = params['DeviceName']
|
5629
|
+
@UserId = params['UserId']
|
5630
|
+
@ChannelId = params['ChannelId']
|
5631
|
+
end
|
5632
|
+
end
|
5633
|
+
|
5634
|
+
# DescribeTWeSeeConfig返回参数结构体
|
5635
|
+
class DescribeTWeSeeConfigResponse < TencentCloud::Common::AbstractModel
|
5636
|
+
# @param EnableSummary: 是否开启视频摘要
|
5637
|
+
# @type EnableSummary: Boolean
|
5638
|
+
# @param EnableSearch: 是否开启视频搜索
|
5639
|
+
# @type EnableSearch: Boolean
|
5640
|
+
# @param Config: 配置参数
|
5641
|
+
# @type Config: String
|
5642
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5643
|
+
# @type RequestId: String
|
5644
|
+
|
5645
|
+
attr_accessor :EnableSummary, :EnableSearch, :Config, :RequestId
|
5646
|
+
|
5647
|
+
def initialize(enablesummary=nil, enablesearch=nil, config=nil, requestid=nil)
|
5648
|
+
@EnableSummary = enablesummary
|
5649
|
+
@EnableSearch = enablesearch
|
5650
|
+
@Config = config
|
5651
|
+
@RequestId = requestid
|
5652
|
+
end
|
5653
|
+
|
5654
|
+
def deserialize(params)
|
5655
|
+
@EnableSummary = params['EnableSummary']
|
5656
|
+
@EnableSearch = params['EnableSearch']
|
5657
|
+
@Config = params['Config']
|
5658
|
+
@RequestId = params['RequestId']
|
5659
|
+
end
|
5660
|
+
end
|
5661
|
+
|
5606
5662
|
# DescribeTopicPolicy请求参数结构体
|
5607
5663
|
class DescribeTopicPolicyRequest < TencentCloud::Common::AbstractModel
|
5608
5664
|
# @param ProductId: 产品ID
|
@@ -7730,6 +7786,65 @@ module TencentCloud
|
|
7730
7786
|
end
|
7731
7787
|
end
|
7732
7788
|
|
7789
|
+
# InvokeAISearchService请求参数结构体
|
7790
|
+
class InvokeAISearchServiceRequest < TencentCloud::Common::AbstractModel
|
7791
|
+
# @param ProductId: 产品ID
|
7792
|
+
# @type ProductId: String
|
7793
|
+
# @param DeviceName: 设备名称
|
7794
|
+
# @type DeviceName: String
|
7795
|
+
# @param Query: 自然语言查询
|
7796
|
+
# @type Query: String
|
7797
|
+
# @param SummaryLang: 搜索结果总结的语言类型,支持的类型有:en-US、zh-CN、id-ID、th-TH
|
7798
|
+
# @type SummaryLang: String
|
7799
|
+
|
7800
|
+
attr_accessor :ProductId, :DeviceName, :Query, :SummaryLang
|
7801
|
+
|
7802
|
+
def initialize(productid=nil, devicename=nil, query=nil, summarylang=nil)
|
7803
|
+
@ProductId = productid
|
7804
|
+
@DeviceName = devicename
|
7805
|
+
@Query = query
|
7806
|
+
@SummaryLang = summarylang
|
7807
|
+
end
|
7808
|
+
|
7809
|
+
def deserialize(params)
|
7810
|
+
@ProductId = params['ProductId']
|
7811
|
+
@DeviceName = params['DeviceName']
|
7812
|
+
@Query = params['Query']
|
7813
|
+
@SummaryLang = params['SummaryLang']
|
7814
|
+
end
|
7815
|
+
end
|
7816
|
+
|
7817
|
+
# InvokeAISearchService返回参数结构体
|
7818
|
+
class InvokeAISearchServiceResponse < TencentCloud::Common::AbstractModel
|
7819
|
+
# @param Summary: 基于搜索结果的总结
|
7820
|
+
# @type Summary: String
|
7821
|
+
# @param Targets: 视频结果集
|
7822
|
+
# @type Targets: Array
|
7823
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7824
|
+
# @type RequestId: String
|
7825
|
+
|
7826
|
+
attr_accessor :Summary, :Targets, :RequestId
|
7827
|
+
|
7828
|
+
def initialize(summary=nil, targets=nil, requestid=nil)
|
7829
|
+
@Summary = summary
|
7830
|
+
@Targets = targets
|
7831
|
+
@RequestId = requestid
|
7832
|
+
end
|
7833
|
+
|
7834
|
+
def deserialize(params)
|
7835
|
+
@Summary = params['Summary']
|
7836
|
+
unless params['Targets'].nil?
|
7837
|
+
@Targets = []
|
7838
|
+
params['Targets'].each do |i|
|
7839
|
+
targetinfo_tmp = TargetInfo.new
|
7840
|
+
targetinfo_tmp.deserialize(i)
|
7841
|
+
@Targets << targetinfo_tmp
|
7842
|
+
end
|
7843
|
+
end
|
7844
|
+
@RequestId = params['RequestId']
|
7845
|
+
end
|
7846
|
+
end
|
7847
|
+
|
7733
7848
|
# InvokeCloudStorageAIServiceTask请求参数结构体
|
7734
7849
|
class InvokeCloudStorageAIServiceTaskRequest < TencentCloud::Common::AbstractModel
|
7735
7850
|
# @param ProductId: 产品 ID
|
@@ -9148,6 +9263,62 @@ module TencentCloud
|
|
9148
9263
|
end
|
9149
9264
|
end
|
9150
9265
|
|
9266
|
+
# ModifyTWeSeeConfig请求参数结构体
|
9267
|
+
class ModifyTWeSeeConfigRequest < TencentCloud::Common::AbstractModel
|
9268
|
+
# @param ProductId: 产品ID
|
9269
|
+
# @type ProductId: String
|
9270
|
+
# @param DeviceName: 设备名称
|
9271
|
+
# @type DeviceName: String
|
9272
|
+
# @param UserId: 用户ID
|
9273
|
+
# @type UserId: String
|
9274
|
+
# @param ChannelId: 通道ID
|
9275
|
+
# @type ChannelId: Integer
|
9276
|
+
# @param EnableSummary: 是否开启视频摘要,不传则不修改
|
9277
|
+
# @type EnableSummary: Boolean
|
9278
|
+
# @param EnableSearch: 是否开启视频搜索,不传则不修改
|
9279
|
+
# @type EnableSearch: Boolean
|
9280
|
+
# @param Config: 配置参数,不传则不修改
|
9281
|
+
# @type Config: String
|
9282
|
+
|
9283
|
+
attr_accessor :ProductId, :DeviceName, :UserId, :ChannelId, :EnableSummary, :EnableSearch, :Config
|
9284
|
+
|
9285
|
+
def initialize(productid=nil, devicename=nil, userid=nil, channelid=nil, enablesummary=nil, enablesearch=nil, config=nil)
|
9286
|
+
@ProductId = productid
|
9287
|
+
@DeviceName = devicename
|
9288
|
+
@UserId = userid
|
9289
|
+
@ChannelId = channelid
|
9290
|
+
@EnableSummary = enablesummary
|
9291
|
+
@EnableSearch = enablesearch
|
9292
|
+
@Config = config
|
9293
|
+
end
|
9294
|
+
|
9295
|
+
def deserialize(params)
|
9296
|
+
@ProductId = params['ProductId']
|
9297
|
+
@DeviceName = params['DeviceName']
|
9298
|
+
@UserId = params['UserId']
|
9299
|
+
@ChannelId = params['ChannelId']
|
9300
|
+
@EnableSummary = params['EnableSummary']
|
9301
|
+
@EnableSearch = params['EnableSearch']
|
9302
|
+
@Config = params['Config']
|
9303
|
+
end
|
9304
|
+
end
|
9305
|
+
|
9306
|
+
# ModifyTWeSeeConfig返回参数结构体
|
9307
|
+
class ModifyTWeSeeConfigResponse < TencentCloud::Common::AbstractModel
|
9308
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9309
|
+
# @type RequestId: String
|
9310
|
+
|
9311
|
+
attr_accessor :RequestId
|
9312
|
+
|
9313
|
+
def initialize(requestid=nil)
|
9314
|
+
@RequestId = requestid
|
9315
|
+
end
|
9316
|
+
|
9317
|
+
def deserialize(params)
|
9318
|
+
@RequestId = params['RequestId']
|
9319
|
+
end
|
9320
|
+
end
|
9321
|
+
|
9151
9322
|
# ModifyTopicPolicy请求参数结构体
|
9152
9323
|
class ModifyTopicPolicyRequest < TencentCloud::Common::AbstractModel
|
9153
9324
|
# @param ProductId: 产品ID
|
@@ -10631,6 +10802,46 @@ module TencentCloud
|
|
10631
10802
|
end
|
10632
10803
|
end
|
10633
10804
|
|
10805
|
+
# 视频语义搜索结果
|
10806
|
+
class TargetInfo < TencentCloud::Common::AbstractModel
|
10807
|
+
# @param Id: 视频唯一ID
|
10808
|
+
# @type Id: String
|
10809
|
+
# @param ProductId: 产品ID
|
10810
|
+
# @type ProductId: String
|
10811
|
+
# @param DeviceName: 设备名称
|
10812
|
+
# @type DeviceName: String
|
10813
|
+
# @param StartTimeMs: 视频起始时间(毫秒级Unix时间戳)
|
10814
|
+
# @type StartTimeMs: Integer
|
10815
|
+
# @param EndTimeMs: 视频结束时间(毫秒级Unix时间戳)
|
10816
|
+
# @type EndTimeMs: Integer
|
10817
|
+
# @param EventId: 用户自定义事件ID,后续扩展使用
|
10818
|
+
# @type EventId: String
|
10819
|
+
# @param Summary: 视频内容摘要
|
10820
|
+
# @type Summary: String
|
10821
|
+
|
10822
|
+
attr_accessor :Id, :ProductId, :DeviceName, :StartTimeMs, :EndTimeMs, :EventId, :Summary
|
10823
|
+
|
10824
|
+
def initialize(id=nil, productid=nil, devicename=nil, starttimems=nil, endtimems=nil, eventid=nil, summary=nil)
|
10825
|
+
@Id = id
|
10826
|
+
@ProductId = productid
|
10827
|
+
@DeviceName = devicename
|
10828
|
+
@StartTimeMs = starttimems
|
10829
|
+
@EndTimeMs = endtimems
|
10830
|
+
@EventId = eventid
|
10831
|
+
@Summary = summary
|
10832
|
+
end
|
10833
|
+
|
10834
|
+
def deserialize(params)
|
10835
|
+
@Id = params['Id']
|
10836
|
+
@ProductId = params['ProductId']
|
10837
|
+
@DeviceName = params['DeviceName']
|
10838
|
+
@StartTimeMs = params['StartTimeMs']
|
10839
|
+
@EndTimeMs = params['EndTimeMs']
|
10840
|
+
@EventId = params['EventId']
|
10841
|
+
@Summary = params['Summary']
|
10842
|
+
end
|
10843
|
+
end
|
10844
|
+
|
10634
10845
|
# 缩略图信息
|
10635
10846
|
class ThumbnailURLInfoList < TencentCloud::Common::AbstractModel
|
10636
10847
|
# @param ThumbnailURL: 缩略图访问地址
|
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.1042
|
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-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|