tencentcloud-sdk-iotexplorer 3.0.1117 → 3.0.1128
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 +24 -0
- data/lib/v20190423/models.rb +175 -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: 61405ce673c716eba52f06e404311c524a358307
|
4
|
+
data.tar.gz: d615f32bdf99b5913de8bc712e97856364872a13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c0e53b9035985965a3ab21e7d35e9ffe8c52b1a6d667117474ed3029b19c15ef3a3929cae087ea95fb38a76c5bf55bc14126525337c514ffc4640692eca86aa
|
7
|
+
data.tar.gz: b23a1f379cb46bcbdbf0b3d1667048bb5989eb3ca92ff94ae95f72b6ee5c600daaf2430de2c3ce84bd0479f251d2fb5d99a67e50706921cd16c89ece47a5ff26
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1128
|
data/lib/v20190423/client.rb
CHANGED
@@ -2313,6 +2313,30 @@ module TencentCloud
|
|
2313
2313
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2314
2314
|
end
|
2315
2315
|
|
2316
|
+
# 查询 TWeSee 语义理解任务
|
2317
|
+
|
2318
|
+
# @param request: Request instance for DescribeTWeSeeRecognitionTask.
|
2319
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeTWeSeeRecognitionTaskRequest`
|
2320
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeTWeSeeRecognitionTaskResponse`
|
2321
|
+
def DescribeTWeSeeRecognitionTask(request)
|
2322
|
+
body = send_request('DescribeTWeSeeRecognitionTask', request.serialize)
|
2323
|
+
response = JSON.parse(body)
|
2324
|
+
if response['Response'].key?('Error') == false
|
2325
|
+
model = DescribeTWeSeeRecognitionTaskResponse.new
|
2326
|
+
model.deserialize(response['Response'])
|
2327
|
+
model
|
2328
|
+
else
|
2329
|
+
code = response['Response']['Error']['Code']
|
2330
|
+
message = response['Response']['Error']['Message']
|
2331
|
+
reqid = response['Response']['RequestId']
|
2332
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2333
|
+
end
|
2334
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2335
|
+
raise e
|
2336
|
+
rescue StandardError => e
|
2337
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2338
|
+
end
|
2339
|
+
|
2316
2340
|
# 本接口(DescribeTopicPolicy)用于查看Topic详细信息
|
2317
2341
|
|
2318
2342
|
# @param request: Request instance for DescribeTopicPolicy.
|
data/lib/v20190423/models.rb
CHANGED
@@ -2237,10 +2237,16 @@ module TencentCloud
|
|
2237
2237
|
# @type SummaryQOS: String
|
2238
2238
|
# @param SummaryConfig: 摘要输出配置
|
2239
2239
|
# @type SummaryConfig: :class:`Tencentcloud::Iotexplorer.v20190423.models.VisionSummaryConfig`
|
2240
|
+
# @param ServiceType: 算法类型,可能取值:
|
2241
|
+
# - `Summary`:视频/图片摘要
|
2242
|
+
# - `ObjectDetect`:目标检测
|
2243
|
+
# @type ServiceType: String
|
2244
|
+
# @param ObjectDetectConfig: 目标检测配置
|
2245
|
+
# @type ObjectDetectConfig: :class:`Tencentcloud::Iotexplorer.v20190423.models.VisionObjectDetectConfig`
|
2240
2246
|
|
2241
|
-
attr_accessor :ProductId, :DeviceName, :InputURL, :CustomId, :EnableSearch, :StartTimeMs, :EndTimeMs, :Config, :IsCustomDevice, :InputType, :SummaryQOS, :SummaryConfig
|
2247
|
+
attr_accessor :ProductId, :DeviceName, :InputURL, :CustomId, :EnableSearch, :StartTimeMs, :EndTimeMs, :Config, :IsCustomDevice, :InputType, :SummaryQOS, :SummaryConfig, :ServiceType, :ObjectDetectConfig
|
2242
2248
|
|
2243
|
-
def initialize(productid=nil, devicename=nil, inputurl=nil, customid=nil, enablesearch=nil, starttimems=nil, endtimems=nil, config=nil, iscustomdevice=nil, inputtype=nil, summaryqos=nil, summaryconfig=nil)
|
2249
|
+
def initialize(productid=nil, devicename=nil, inputurl=nil, customid=nil, enablesearch=nil, starttimems=nil, endtimems=nil, config=nil, iscustomdevice=nil, inputtype=nil, summaryqos=nil, summaryconfig=nil, servicetype=nil, objectdetectconfig=nil)
|
2244
2250
|
@ProductId = productid
|
2245
2251
|
@DeviceName = devicename
|
2246
2252
|
@InputURL = inputurl
|
@@ -2253,6 +2259,8 @@ module TencentCloud
|
|
2253
2259
|
@InputType = inputtype
|
2254
2260
|
@SummaryQOS = summaryqos
|
2255
2261
|
@SummaryConfig = summaryconfig
|
2262
|
+
@ServiceType = servicetype
|
2263
|
+
@ObjectDetectConfig = objectdetectconfig
|
2256
2264
|
end
|
2257
2265
|
|
2258
2266
|
def deserialize(params)
|
@@ -2271,6 +2279,11 @@ module TencentCloud
|
|
2271
2279
|
@SummaryConfig = VisionSummaryConfig.new
|
2272
2280
|
@SummaryConfig.deserialize(params['SummaryConfig'])
|
2273
2281
|
end
|
2282
|
+
@ServiceType = params['ServiceType']
|
2283
|
+
unless params['ObjectDetectConfig'].nil?
|
2284
|
+
@ObjectDetectConfig = VisionObjectDetectConfig.new
|
2285
|
+
@ObjectDetectConfig.deserialize(params['ObjectDetectConfig'])
|
2286
|
+
end
|
2274
2287
|
end
|
2275
2288
|
end
|
2276
2289
|
|
@@ -5804,6 +5817,51 @@ module TencentCloud
|
|
5804
5817
|
end
|
5805
5818
|
end
|
5806
5819
|
|
5820
|
+
# DescribeTWeSeeRecognitionTask请求参数结构体
|
5821
|
+
class DescribeTWeSeeRecognitionTaskRequest < TencentCloud::Common::AbstractModel
|
5822
|
+
# @param TaskId: 任务 ID
|
5823
|
+
# @type TaskId: String
|
5824
|
+
# @param FileURLExpireTime: 下载 URL 的过期时间。
|
5825
|
+
|
5826
|
+
# 若传入该参数,则响应中将包含所有文件的下载 URL
|
5827
|
+
# @type FileURLExpireTime: Integer
|
5828
|
+
|
5829
|
+
attr_accessor :TaskId, :FileURLExpireTime
|
5830
|
+
|
5831
|
+
def initialize(taskid=nil, fileurlexpiretime=nil)
|
5832
|
+
@TaskId = taskid
|
5833
|
+
@FileURLExpireTime = fileurlexpiretime
|
5834
|
+
end
|
5835
|
+
|
5836
|
+
def deserialize(params)
|
5837
|
+
@TaskId = params['TaskId']
|
5838
|
+
@FileURLExpireTime = params['FileURLExpireTime']
|
5839
|
+
end
|
5840
|
+
end
|
5841
|
+
|
5842
|
+
# DescribeTWeSeeRecognitionTask返回参数结构体
|
5843
|
+
class DescribeTWeSeeRecognitionTaskResponse < TencentCloud::Common::AbstractModel
|
5844
|
+
# @param TaskInfo: 任务信息
|
5845
|
+
# @type TaskInfo: :class:`Tencentcloud::Iotexplorer.v20190423.models.VisionRecognitionTask`
|
5846
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5847
|
+
# @type RequestId: String
|
5848
|
+
|
5849
|
+
attr_accessor :TaskInfo, :RequestId
|
5850
|
+
|
5851
|
+
def initialize(taskinfo=nil, requestid=nil)
|
5852
|
+
@TaskInfo = taskinfo
|
5853
|
+
@RequestId = requestid
|
5854
|
+
end
|
5855
|
+
|
5856
|
+
def deserialize(params)
|
5857
|
+
unless params['TaskInfo'].nil?
|
5858
|
+
@TaskInfo = VisionRecognitionTask.new
|
5859
|
+
@TaskInfo.deserialize(params['TaskInfo'])
|
5860
|
+
end
|
5861
|
+
@RequestId = params['RequestId']
|
5862
|
+
end
|
5863
|
+
end
|
5864
|
+
|
5807
5865
|
# DescribeTopicPolicy请求参数结构体
|
5808
5866
|
class DescribeTopicPolicyRequest < TencentCloud::Common::AbstractModel
|
5809
5867
|
# @param ProductId: 产品ID
|
@@ -8244,10 +8302,16 @@ module TencentCloud
|
|
8244
8302
|
# @type SummaryQOS: String
|
8245
8303
|
# @param SummaryConfig: 摘要输出配置
|
8246
8304
|
# @type SummaryConfig: :class:`Tencentcloud::Iotexplorer.v20190423.models.VisionSummaryConfig`
|
8305
|
+
# @param ServiceType: 算法类型,可能取值:
|
8306
|
+
# - `Summary`:视频/图片摘要
|
8307
|
+
# - `ObjectDetect`:目标检测
|
8308
|
+
# @type ServiceType: String
|
8309
|
+
# @param ObjectDetectConfig: 目标检测配置
|
8310
|
+
# @type ObjectDetectConfig: :class:`Tencentcloud::Iotexplorer.v20190423.models.VisionObjectDetectConfig`
|
8247
8311
|
|
8248
|
-
attr_accessor :ProductId, :DeviceName, :InputURL, :CustomId, :EnableSearch, :StartTimeMs, :EndTimeMs, :Config, :IsCustomDevice, :InputType, :SummaryQOS, :SummaryConfig
|
8312
|
+
attr_accessor :ProductId, :DeviceName, :InputURL, :CustomId, :EnableSearch, :StartTimeMs, :EndTimeMs, :Config, :IsCustomDevice, :InputType, :SummaryQOS, :SummaryConfig, :ServiceType, :ObjectDetectConfig
|
8249
8313
|
|
8250
|
-
def initialize(productid=nil, devicename=nil, inputurl=nil, customid=nil, enablesearch=nil, starttimems=nil, endtimems=nil, config=nil, iscustomdevice=nil, inputtype=nil, summaryqos=nil, summaryconfig=nil)
|
8314
|
+
def initialize(productid=nil, devicename=nil, inputurl=nil, customid=nil, enablesearch=nil, starttimems=nil, endtimems=nil, config=nil, iscustomdevice=nil, inputtype=nil, summaryqos=nil, summaryconfig=nil, servicetype=nil, objectdetectconfig=nil)
|
8251
8315
|
@ProductId = productid
|
8252
8316
|
@DeviceName = devicename
|
8253
8317
|
@InputURL = inputurl
|
@@ -8260,6 +8324,8 @@ module TencentCloud
|
|
8260
8324
|
@InputType = inputtype
|
8261
8325
|
@SummaryQOS = summaryqos
|
8262
8326
|
@SummaryConfig = summaryconfig
|
8327
|
+
@ServiceType = servicetype
|
8328
|
+
@ObjectDetectConfig = objectdetectconfig
|
8263
8329
|
end
|
8264
8330
|
|
8265
8331
|
def deserialize(params)
|
@@ -8278,6 +8344,11 @@ module TencentCloud
|
|
8278
8344
|
@SummaryConfig = VisionSummaryConfig.new
|
8279
8345
|
@SummaryConfig.deserialize(params['SummaryConfig'])
|
8280
8346
|
end
|
8347
|
+
@ServiceType = params['ServiceType']
|
8348
|
+
unless params['ObjectDetectConfig'].nil?
|
8349
|
+
@ObjectDetectConfig = VisionObjectDetectConfig.new
|
8350
|
+
@ObjectDetectConfig.deserialize(params['ObjectDetectConfig'])
|
8351
|
+
end
|
8281
8352
|
end
|
8282
8353
|
end
|
8283
8354
|
|
@@ -11714,6 +11785,24 @@ module TencentCloud
|
|
11714
11785
|
end
|
11715
11786
|
end
|
11716
11787
|
|
11788
|
+
# 目标检测配置
|
11789
|
+
class VisionObjectDetectConfig < TencentCloud::Common::AbstractModel
|
11790
|
+
# @param DetectTypes: 检测类别,可选值:
|
11791
|
+
# - `adult`:成年人
|
11792
|
+
# - `child`:儿童
|
11793
|
+
# @type DetectTypes: Array
|
11794
|
+
|
11795
|
+
attr_accessor :DetectTypes
|
11796
|
+
|
11797
|
+
def initialize(detecttypes=nil)
|
11798
|
+
@DetectTypes = detecttypes
|
11799
|
+
end
|
11800
|
+
|
11801
|
+
def deserialize(params)
|
11802
|
+
@DetectTypes = params['DetectTypes']
|
11803
|
+
end
|
11804
|
+
end
|
11805
|
+
|
11717
11806
|
# TWeSee 语义理解结果
|
11718
11807
|
class VisionRecognitionResult < TencentCloud::Common::AbstractModel
|
11719
11808
|
# @param Status: 任务状态(1:分析失败;2:下载/读取视频/图片失败;3:成功;4:执行中)
|
@@ -11758,6 +11847,88 @@ module TencentCloud
|
|
11758
11847
|
end
|
11759
11848
|
end
|
11760
11849
|
|
11850
|
+
# TWeSee 语义理解任务信息
|
11851
|
+
class VisionRecognitionTask < TencentCloud::Common::AbstractModel
|
11852
|
+
# @param TaskId: 云存 AI 服务任务 ID
|
11853
|
+
# @type TaskId: String
|
11854
|
+
# @param ProductId: 产品 ID
|
11855
|
+
# @type ProductId: String
|
11856
|
+
# @param DeviceName: 设备名称
|
11857
|
+
# @type DeviceName: String
|
11858
|
+
# @param ChannelId: 通道 ID
|
11859
|
+
# @type ChannelId: Integer
|
11860
|
+
# @param StartTime: 对应云存视频的起始时间(秒级 UNIX 时间戳)
|
11861
|
+
# @type StartTime: Integer
|
11862
|
+
# @param StartTimeMs: 对应云存视频的起始时间(毫秒级 UNIX 时间戳)
|
11863
|
+
# @type StartTimeMs: Integer
|
11864
|
+
# @param EndTime: 对应云存视频的结束时间(秒级 UNIX 时间戳)
|
11865
|
+
# @type EndTime: Integer
|
11866
|
+
# @param EndTimeMs: 对应云存视频的结束时间(毫秒级 UNIX 时间戳)
|
11867
|
+
# @type EndTimeMs: Integer
|
11868
|
+
# @param Status: 任务状态(1:分析失败;2:下载/读取视频/图片失败;3:成功;4:执行中)
|
11869
|
+
# @type Status: Integer
|
11870
|
+
# @param Result: 任务结果
|
11871
|
+
# @type Result: :class:`Tencentcloud::Iotexplorer.v20190423.models.VisionRecognitionResult`
|
11872
|
+
# @param CreateTime: 创建时间
|
11873
|
+
# @type CreateTime: Integer
|
11874
|
+
# @param UpdateTime: 最后更新时间
|
11875
|
+
# @type UpdateTime: Integer
|
11876
|
+
# @param CustomId: 自定义任务 ID
|
11877
|
+
# @type CustomId: String
|
11878
|
+
# @param Files: 任务输出文件列表
|
11879
|
+
# @type Files: Array
|
11880
|
+
# @param FilesInfo: 任务输出文件信息列表
|
11881
|
+
# @type FilesInfo: Array
|
11882
|
+
|
11883
|
+
attr_accessor :TaskId, :ProductId, :DeviceName, :ChannelId, :StartTime, :StartTimeMs, :EndTime, :EndTimeMs, :Status, :Result, :CreateTime, :UpdateTime, :CustomId, :Files, :FilesInfo
|
11884
|
+
|
11885
|
+
def initialize(taskid=nil, productid=nil, devicename=nil, channelid=nil, starttime=nil, starttimems=nil, endtime=nil, endtimems=nil, status=nil, result=nil, createtime=nil, updatetime=nil, customid=nil, files=nil, filesinfo=nil)
|
11886
|
+
@TaskId = taskid
|
11887
|
+
@ProductId = productid
|
11888
|
+
@DeviceName = devicename
|
11889
|
+
@ChannelId = channelid
|
11890
|
+
@StartTime = starttime
|
11891
|
+
@StartTimeMs = starttimems
|
11892
|
+
@EndTime = endtime
|
11893
|
+
@EndTimeMs = endtimems
|
11894
|
+
@Status = status
|
11895
|
+
@Result = result
|
11896
|
+
@CreateTime = createtime
|
11897
|
+
@UpdateTime = updatetime
|
11898
|
+
@CustomId = customid
|
11899
|
+
@Files = files
|
11900
|
+
@FilesInfo = filesinfo
|
11901
|
+
end
|
11902
|
+
|
11903
|
+
def deserialize(params)
|
11904
|
+
@TaskId = params['TaskId']
|
11905
|
+
@ProductId = params['ProductId']
|
11906
|
+
@DeviceName = params['DeviceName']
|
11907
|
+
@ChannelId = params['ChannelId']
|
11908
|
+
@StartTime = params['StartTime']
|
11909
|
+
@StartTimeMs = params['StartTimeMs']
|
11910
|
+
@EndTime = params['EndTime']
|
11911
|
+
@EndTimeMs = params['EndTimeMs']
|
11912
|
+
@Status = params['Status']
|
11913
|
+
unless params['Result'].nil?
|
11914
|
+
@Result = VisionRecognitionResult.new
|
11915
|
+
@Result.deserialize(params['Result'])
|
11916
|
+
end
|
11917
|
+
@CreateTime = params['CreateTime']
|
11918
|
+
@UpdateTime = params['UpdateTime']
|
11919
|
+
@CustomId = params['CustomId']
|
11920
|
+
@Files = params['Files']
|
11921
|
+
unless params['FilesInfo'].nil?
|
11922
|
+
@FilesInfo = []
|
11923
|
+
params['FilesInfo'].each do |i|
|
11924
|
+
cloudstorageaiservicetaskfileinfo_tmp = CloudStorageAIServiceTaskFileInfo.new
|
11925
|
+
cloudstorageaiservicetaskfileinfo_tmp.deserialize(i)
|
11926
|
+
@FilesInfo << cloudstorageaiservicetaskfileinfo_tmp
|
11927
|
+
end
|
11928
|
+
end
|
11929
|
+
end
|
11930
|
+
end
|
11931
|
+
|
11761
11932
|
# 视频摘要配置
|
11762
11933
|
class VisionSummaryConfig < TencentCloud::Common::AbstractModel
|
11763
11934
|
# @param OutputLang: 主输出语言
|
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.1128
|
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-08-
|
11
|
+
date: 2025-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|