tencentcloud-sdk-iotexplorer 3.0.1040 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8b4219c5dc21c715da15e05a3d5eb44580e89b9c
4
- data.tar.gz: fbf68043db3036037d587e2b3d376dab6172652b
3
+ metadata.gz: 0f10172f25dc308b021b9c77c43ed1b6b800b78f
4
+ data.tar.gz: 2456059bd2bf6a9453ea19e9f7f9261513feb2b5
5
5
  SHA512:
6
- metadata.gz: c5f1d2771503bef18895df5739ff85b53467fa11d477777d63189dcea039ae72da0255e467c36ff08189cd0483f6685eea4079efc9dab553350225fcb31a1ab5
7
- data.tar.gz: a24074d2147c594719eb9f50df2c7a0464a29a273984c21df23593a527bfe4645620194f0eebf4b57605a2741e1378e48717ccd085cb9a25d1cf8e4198474acd
6
+ metadata.gz: 0b1d0e034a313f432a19e3b1d65a1b22466f35c1a0ed9e63d1b166d77523be0971a41be0379a060bdeb6d02bf35af304c02f3fa3ba280f46732845d7f1bdcb66
7
+ data.tar.gz: a362999a73ff6e5870a222be5db58c465ecf883a8291365591a9f745b9c6dd3d37508be5784dd913d3ecbc74f41e6b0144e902faec76378f2c6c960859aa83f6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1040
1
+ 3.0.1042
@@ -653,6 +653,30 @@ module TencentCloud
653
653
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
654
654
  end
655
655
 
656
+ # 创建 TWeSee 语义理解任务
657
+
658
+ # @param request: Request instance for CreateTWeSeeRecognitionTask.
659
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::CreateTWeSeeRecognitionTaskRequest`
660
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::CreateTWeSeeRecognitionTaskResponse`
661
+ def CreateTWeSeeRecognitionTask(request)
662
+ body = send_request('CreateTWeSeeRecognitionTask', request.serialize)
663
+ response = JSON.parse(body)
664
+ if response['Response'].key?('Error') == false
665
+ model = CreateTWeSeeRecognitionTaskResponse.new
666
+ model.deserialize(response['Response'])
667
+ model
668
+ else
669
+ code = response['Response']['Error']['Code']
670
+ message = response['Response']['Error']['Message']
671
+ reqid = response['Response']['RequestId']
672
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
673
+ end
674
+ rescue TencentCloud::Common::TencentCloudSDKException => e
675
+ raise e
676
+ rescue StandardError => e
677
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
678
+ end
679
+
656
680
  # 本接口(CreateTopicPolicy)用于创建一个Topic
657
681
 
658
682
  # @param request: Request instance for CreateTopicPolicy.
@@ -2213,6 +2237,30 @@ module TencentCloud
2213
2237
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2214
2238
  end
2215
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
+
2216
2264
  # 本接口(DescribeTopicPolicy)用于查看Topic详细信息
2217
2265
 
2218
2266
  # @param request: Request instance for DescribeTopicPolicy.
@@ -2861,6 +2909,30 @@ module TencentCloud
2861
2909
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2862
2910
  end
2863
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
+
2864
2936
  # 同步执行设备云存 AI 分析任务
2865
2937
 
2866
2938
  # @param request: Request instance for InvokeCloudStorageAIServiceTask.
@@ -2909,6 +2981,30 @@ module TencentCloud
2909
2981
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2910
2982
  end
2911
2983
 
2984
+ # 同步执行 TWeSee 语义理解任务
2985
+
2986
+ # @param request: Request instance for InvokeTWeSeeRecognitionTask.
2987
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::InvokeTWeSeeRecognitionTaskRequest`
2988
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::InvokeTWeSeeRecognitionTaskResponse`
2989
+ def InvokeTWeSeeRecognitionTask(request)
2990
+ body = send_request('InvokeTWeSeeRecognitionTask', request.serialize)
2991
+ response = JSON.parse(body)
2992
+ if response['Response'].key?('Error') == false
2993
+ model = InvokeTWeSeeRecognitionTaskResponse.new
2994
+ model.deserialize(response['Response'])
2995
+ model
2996
+ else
2997
+ code = response['Response']['Error']['Code']
2998
+ message = response['Response']['Error']['Message']
2999
+ reqid = response['Response']['RequestId']
3000
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3001
+ end
3002
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3003
+ raise e
3004
+ rescue StandardError => e
3005
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3006
+ end
3007
+
2912
3008
  # 获取设备的历史事件
2913
3009
 
2914
3010
  # @param request: Request instance for ListEventHistory.
@@ -3293,6 +3389,30 @@ module TencentCloud
3293
3389
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3294
3390
  end
3295
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
+
3296
3416
  # 本接口(UpdateTopicPolicy)用于更新Topic信息
3297
3417
 
3298
3418
  # @param request: Request instance for ModifyTopicPolicy.
@@ -2114,6 +2114,88 @@ module TencentCloud
2114
2114
  end
2115
2115
  end
2116
2116
 
2117
+ # CreateTWeSeeRecognitionTask请求参数结构体
2118
+ class CreateTWeSeeRecognitionTaskRequest < TencentCloud::Common::AbstractModel
2119
+ # @param ProductId: 产品ID
2120
+ # @type ProductId: String
2121
+ # @param DeviceName: 设备名称
2122
+ # @type DeviceName: String
2123
+ # @param InputURL: 输入视频 / 图片的 URL
2124
+ # @type InputURL: String
2125
+ # @param CustomId: 自定义事件 ID
2126
+ # @type CustomId: String
2127
+ # @param EnableSearch: 是否保存该事件使其可被搜索
2128
+ # @type EnableSearch: Boolean
2129
+ # @param StartTimeMs: 事件起始时间事件起始时间(毫秒级 UNIX 时间戳,若不传则默认为接口调用时间)
2130
+ # @type StartTimeMs: Integer
2131
+ # @param EndTimeMs: 事件结束时间事件起始时间(毫秒级 UNIX 时间戳,若不传则默认为接口调用时间)
2132
+ # @type EndTimeMs: Integer
2133
+ # @param Config: 算法配置
2134
+ # @type Config: String
2135
+ # @param IsCustomDevice: 是否自定义设备,为 true 时不检查设备存在性,默认为 false
2136
+ # @type IsCustomDevice: Boolean
2137
+ # @param InputType: 输入类型。可选值:
2138
+
2139
+ # - `video`:视频(默认值)
2140
+ # - `image`:图片
2141
+ # @type InputType: String
2142
+ # @param SummaryQOS: 摘要服务质量。可选值:
2143
+
2144
+ # - `minutely`:分钟级(默认值)
2145
+ # - `immediate`:立即
2146
+ # @type SummaryQOS: String
2147
+
2148
+ attr_accessor :ProductId, :DeviceName, :InputURL, :CustomId, :EnableSearch, :StartTimeMs, :EndTimeMs, :Config, :IsCustomDevice, :InputType, :SummaryQOS
2149
+
2150
+ def initialize(productid=nil, devicename=nil, inputurl=nil, customid=nil, enablesearch=nil, starttimems=nil, endtimems=nil, config=nil, iscustomdevice=nil, inputtype=nil, summaryqos=nil)
2151
+ @ProductId = productid
2152
+ @DeviceName = devicename
2153
+ @InputURL = inputurl
2154
+ @CustomId = customid
2155
+ @EnableSearch = enablesearch
2156
+ @StartTimeMs = starttimems
2157
+ @EndTimeMs = endtimems
2158
+ @Config = config
2159
+ @IsCustomDevice = iscustomdevice
2160
+ @InputType = inputtype
2161
+ @SummaryQOS = summaryqos
2162
+ end
2163
+
2164
+ def deserialize(params)
2165
+ @ProductId = params['ProductId']
2166
+ @DeviceName = params['DeviceName']
2167
+ @InputURL = params['InputURL']
2168
+ @CustomId = params['CustomId']
2169
+ @EnableSearch = params['EnableSearch']
2170
+ @StartTimeMs = params['StartTimeMs']
2171
+ @EndTimeMs = params['EndTimeMs']
2172
+ @Config = params['Config']
2173
+ @IsCustomDevice = params['IsCustomDevice']
2174
+ @InputType = params['InputType']
2175
+ @SummaryQOS = params['SummaryQOS']
2176
+ end
2177
+ end
2178
+
2179
+ # CreateTWeSeeRecognitionTask返回参数结构体
2180
+ class CreateTWeSeeRecognitionTaskResponse < TencentCloud::Common::AbstractModel
2181
+ # @param TaskId: 任务 ID
2182
+ # @type TaskId: String
2183
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2184
+ # @type RequestId: String
2185
+
2186
+ attr_accessor :TaskId, :RequestId
2187
+
2188
+ def initialize(taskid=nil, requestid=nil)
2189
+ @TaskId = taskid
2190
+ @RequestId = requestid
2191
+ end
2192
+
2193
+ def deserialize(params)
2194
+ @TaskId = params['TaskId']
2195
+ @RequestId = params['RequestId']
2196
+ end
2197
+ end
2198
+
2117
2199
  # CreateTopicPolicy请求参数结构体
2118
2200
  class CreateTopicPolicyRequest < TencentCloud::Common::AbstractModel
2119
2201
  # @param ProductId: 产品ID
@@ -5521,6 +5603,62 @@ module TencentCloud
5521
5603
  end
5522
5604
  end
5523
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
+
5524
5662
  # DescribeTopicPolicy请求参数结构体
5525
5663
  class DescribeTopicPolicyRequest < TencentCloud::Common::AbstractModel
5526
5664
  # @param ProductId: 产品ID
@@ -7648,6 +7786,65 @@ module TencentCloud
7648
7786
  end
7649
7787
  end
7650
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
+
7651
7848
  # InvokeCloudStorageAIServiceTask请求参数结构体
7652
7849
  class InvokeCloudStorageAIServiceTaskRequest < TencentCloud::Common::AbstractModel
7653
7850
  # @param ProductId: 产品 ID
@@ -7804,6 +8001,99 @@ module TencentCloud
7804
8001
  end
7805
8002
  end
7806
8003
 
8004
+ # InvokeTWeSeeRecognitionTask请求参数结构体
8005
+ class InvokeTWeSeeRecognitionTaskRequest < TencentCloud::Common::AbstractModel
8006
+ # @param ProductId: 产品ID
8007
+ # @type ProductId: String
8008
+ # @param DeviceName: 设备名称
8009
+ # @type DeviceName: String
8010
+ # @param InputURL: 输入视频 / 图片的 URL
8011
+ # @type InputURL: String
8012
+ # @param CustomId: 自定义事件 ID
8013
+ # @type CustomId: String
8014
+ # @param EnableSearch: 是否保存该事件使其可被搜索
8015
+ # @type EnableSearch: Boolean
8016
+ # @param StartTimeMs: 事件起始时间事件起始时间(毫秒级 UNIX 时间戳,若不传则默认为接口调用时间)
8017
+ # @type StartTimeMs: Integer
8018
+ # @param EndTimeMs: 事件结束时间事件起始时间(毫秒级 UNIX 时间戳,若不传则默认为接口调用时间)
8019
+ # @type EndTimeMs: Integer
8020
+ # @param Config: 算法配置
8021
+ # @type Config: String
8022
+ # @param IsCustomDevice: 是否自定义设备,为 true 时不检查设备存在性,默认为 false
8023
+ # @type IsCustomDevice: Boolean
8024
+ # @param InputType: 输入类型。可选值:
8025
+
8026
+ # - `video`:视频(默认值)
8027
+ # - `image`:图片
8028
+ # @type InputType: String
8029
+ # @param SummaryQOS: 摘要服务质量。可选值:
8030
+
8031
+ # - `minutely`:分钟级(默认值)
8032
+ # - `immediate`:立即
8033
+ # @type SummaryQOS: String
8034
+
8035
+ attr_accessor :ProductId, :DeviceName, :InputURL, :CustomId, :EnableSearch, :StartTimeMs, :EndTimeMs, :Config, :IsCustomDevice, :InputType, :SummaryQOS
8036
+
8037
+ def initialize(productid=nil, devicename=nil, inputurl=nil, customid=nil, enablesearch=nil, starttimems=nil, endtimems=nil, config=nil, iscustomdevice=nil, inputtype=nil, summaryqos=nil)
8038
+ @ProductId = productid
8039
+ @DeviceName = devicename
8040
+ @InputURL = inputurl
8041
+ @CustomId = customid
8042
+ @EnableSearch = enablesearch
8043
+ @StartTimeMs = starttimems
8044
+ @EndTimeMs = endtimems
8045
+ @Config = config
8046
+ @IsCustomDevice = iscustomdevice
8047
+ @InputType = inputtype
8048
+ @SummaryQOS = summaryqos
8049
+ end
8050
+
8051
+ def deserialize(params)
8052
+ @ProductId = params['ProductId']
8053
+ @DeviceName = params['DeviceName']
8054
+ @InputURL = params['InputURL']
8055
+ @CustomId = params['CustomId']
8056
+ @EnableSearch = params['EnableSearch']
8057
+ @StartTimeMs = params['StartTimeMs']
8058
+ @EndTimeMs = params['EndTimeMs']
8059
+ @Config = params['Config']
8060
+ @IsCustomDevice = params['IsCustomDevice']
8061
+ @InputType = params['InputType']
8062
+ @SummaryQOS = params['SummaryQOS']
8063
+ end
8064
+ end
8065
+
8066
+ # InvokeTWeSeeRecognitionTask返回参数结构体
8067
+ class InvokeTWeSeeRecognitionTaskResponse < TencentCloud::Common::AbstractModel
8068
+ # @param TaskId: 任务 ID
8069
+ # @type TaskId: String
8070
+ # @param Completed: 任务是否执行完成
8071
+ # @type Completed: Boolean
8072
+ # @param Result: 语义理解任务结果(仅当 Completed 为 true 时包含该出参)
8073
+ # @type Result: :class:`Tencentcloud::Iotexplorer.v20190423.models.VisionRecognitionResult`
8074
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8075
+ # @type RequestId: String
8076
+
8077
+ attr_accessor :TaskId, :Completed, :Result, :RequestId
8078
+
8079
+ def initialize(taskid=nil, completed=nil, result=nil, requestid=nil)
8080
+ @TaskId = taskid
8081
+ @Completed = completed
8082
+ @Result = result
8083
+ @RequestId = requestid
8084
+ end
8085
+
8086
+ def deserialize(params)
8087
+ @TaskId = params['TaskId']
8088
+ @Completed = params['Completed']
8089
+ unless params['Result'].nil?
8090
+ @Result = VisionRecognitionResult.new
8091
+ @Result.deserialize(params['Result'])
8092
+ end
8093
+ @RequestId = params['RequestId']
8094
+ end
8095
+ end
8096
+
7807
8097
  # 应用信息
7808
8098
  class IotApplication < TencentCloud::Common::AbstractModel
7809
8099
  # @param IotAppID: 应用 ID
@@ -8973,6 +9263,62 @@ module TencentCloud
8973
9263
  end
8974
9264
  end
8975
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
+
8976
9322
  # ModifyTopicPolicy请求参数结构体
8977
9323
  class ModifyTopicPolicyRequest < TencentCloud::Common::AbstractModel
8978
9324
  # @param ProductId: 产品ID
@@ -10456,6 +10802,46 @@ module TencentCloud
10456
10802
  end
10457
10803
  end
10458
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
+
10459
10845
  # 缩略图信息
10460
10846
  class ThumbnailURLInfoList < TencentCloud::Common::AbstractModel
10461
10847
  # @param ThumbnailURL: 缩略图访问地址
@@ -11027,6 +11413,39 @@ module TencentCloud
11027
11413
  end
11028
11414
  end
11029
11415
 
11416
+ # TWeSee 语义理解结果
11417
+ class VisionRecognitionResult < TencentCloud::Common::AbstractModel
11418
+ # @param Status: 任务状态(1:失败;2:成功但结果为空;3:成功且结果非空)
11419
+ # @type Status: Integer
11420
+ # @param DetectedClassifications: 识别到的目标类型。可能取值:
11421
+
11422
+ # - `person`:人
11423
+ # - `vehicle`:车辆
11424
+ # - `dog`:狗
11425
+ # - `cat`:猫
11426
+ # - `fire`:火焰
11427
+ # - `smoke`:烟雾
11428
+ # - `package`:快递包裹
11429
+ # - `license_plate`:车牌
11430
+ # @type DetectedClassifications: Array
11431
+ # @param Summary: 视频摘要文本
11432
+ # @type Summary: String
11433
+
11434
+ attr_accessor :Status, :DetectedClassifications, :Summary
11435
+
11436
+ def initialize(status=nil, detectedclassifications=nil, summary=nil)
11437
+ @Status = status
11438
+ @DetectedClassifications = detectedclassifications
11439
+ @Summary = summary
11440
+ end
11441
+
11442
+ def deserialize(params)
11443
+ @Status = params['Status']
11444
+ @DetectedClassifications = params['DetectedClassifications']
11445
+ @Summary = params['Summary']
11446
+ end
11447
+ end
11448
+
11030
11449
  # 微信硬件设备信息
11031
11450
  class WXDeviceInfo < TencentCloud::Common::AbstractModel
11032
11451
  # @param DeviceId: 设备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.1040
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-14 00:00:00.000000000 Z
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