tencentcloud-sdk-iotexplorer 3.0.1127 → 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 +127 -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: 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
@@ -5817,6 +5817,51 @@ module TencentCloud
|
|
5817
5817
|
end
|
5818
5818
|
end
|
5819
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
|
+
|
5820
5865
|
# DescribeTopicPolicy请求参数结构体
|
5821
5866
|
class DescribeTopicPolicyRequest < TencentCloud::Common::AbstractModel
|
5822
5867
|
# @param ProductId: 产品ID
|
@@ -11802,6 +11847,88 @@ module TencentCloud
|
|
11802
11847
|
end
|
11803
11848
|
end
|
11804
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
|
+
|
11805
11932
|
# 视频摘要配置
|
11806
11933
|
class VisionSummaryConfig < TencentCloud::Common::AbstractModel
|
11807
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
|