tencentcloud-sdk-iotexplorer 3.0.953 → 3.0.954

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f0861ba3211361078251ab0a87084861aeb8a400
4
- data.tar.gz: ecc269a08c6091729a9583f792cc83399dc0ac08
3
+ metadata.gz: aaf82efcc121396a6bd7a9a87b1f1795f8c0ea74
4
+ data.tar.gz: 6207f674b2ac2059a5abdbfdb582c393fca06128
5
5
  SHA512:
6
- metadata.gz: bb40855aab3d7029e193e0c0e554e5d91c7ed4e361373746240fb76f463be2c08033ff107ebabfbd7b40d1e6885f33aa83bae3311771d69ede0e3d88532e5027
7
- data.tar.gz: 05f50b841f06ea1032e0c47f5d354b985c041a6fb887b1b09a9f83ad909d8c8dedf78f69ccc4ea2533924b97a96e812e9dabaacbdd8d8bc51019bc6c31bf5e8f
6
+ metadata.gz: 225bcc3a7665082af845e9d12d7e2a3995d0628ee0739c5f026aee95d4de8ae964030e8c389336316b251b1f8eff46b1976aafb0c3424dab284342eb0f103686
7
+ data.tar.gz: 541b229f7765c33308a000f1a7c8ac5fb9e2b740b12267302fc74403c37dc2cebd701898e24028cca6be3c9bc92f11556e3dea808a00c7e0e9ae4cdf52c4fc00
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.953
1
+ 3.0.954
@@ -2621,6 +2621,30 @@ module TencentCloud
2621
2621
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2622
2622
  end
2623
2623
 
2624
+ # 同步执行设备云存 AI 分析任务
2625
+
2626
+ # @param request: Request instance for InvokeCloudStorageAIServiceTask.
2627
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::InvokeCloudStorageAIServiceTaskRequest`
2628
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::InvokeCloudStorageAIServiceTaskResponse`
2629
+ def InvokeCloudStorageAIServiceTask(request)
2630
+ body = send_request('InvokeCloudStorageAIServiceTask', request.serialize)
2631
+ response = JSON.parse(body)
2632
+ if response['Response'].key?('Error') == false
2633
+ model = InvokeCloudStorageAIServiceTaskResponse.new
2634
+ model.deserialize(response['Response'])
2635
+ model
2636
+ else
2637
+ code = response['Response']['Error']['Code']
2638
+ message = response['Response']['Error']['Message']
2639
+ reqid = response['Response']['RequestId']
2640
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2641
+ end
2642
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2643
+ raise e
2644
+ rescue StandardError => e
2645
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2646
+ end
2647
+
2624
2648
  # 创建外部视频 AI 分析任务
2625
2649
 
2626
2650
  # @param request: Request instance for InvokeExternalSourceAIServiceTask.
@@ -6946,6 +6946,92 @@ module TencentCloud
6946
6946
  end
6947
6947
  end
6948
6948
 
6949
+ # InvokeCloudStorageAIServiceTask请求参数结构体
6950
+ class InvokeCloudStorageAIServiceTaskRequest < TencentCloud::Common::AbstractModel
6951
+ # @param ProductId: 产品 ID
6952
+ # @type ProductId: String
6953
+ # @param DeviceName: 设备名称
6954
+ # @type DeviceName: String
6955
+ # @param ServiceType: 云存 AI 服务类型。可选值:
6956
+ # - `RealtimeObjectDetect`:目标检测
6957
+ # - `Highlight`:视频浓缩
6958
+ # - `VideoToText`:视频语义理解
6959
+ # @type ServiceType: String
6960
+ # @param StartTime: 待分析云存的起始时间
6961
+ # @type StartTime: Integer
6962
+ # @param EndTime: 待分析云存的结束时间
6963
+ # @type EndTime: Integer
6964
+ # @param ChannelId: 通道 ID
6965
+ # @type ChannelId: Integer
6966
+ # @param Config: 视频分析配置参数
6967
+ # @type Config: String
6968
+ # @param ROI: 视频分析识别区域
6969
+ # @type ROI: String
6970
+ # @param VideoURLs: 分析外部传入的视频 URL 列表,支持 HLS 点播(m3u8)及常见视频格式(mp4 等)
6971
+ # @type VideoURLs: Array
6972
+ # @param CustomId: 自定义任务 ID
6973
+ # @type CustomId: String
6974
+
6975
+ attr_accessor :ProductId, :DeviceName, :ServiceType, :StartTime, :EndTime, :ChannelId, :Config, :ROI, :VideoURLs, :CustomId
6976
+
6977
+ def initialize(productid=nil, devicename=nil, servicetype=nil, starttime=nil, endtime=nil, channelid=nil, config=nil, roi=nil, videourls=nil, customid=nil)
6978
+ @ProductId = productid
6979
+ @DeviceName = devicename
6980
+ @ServiceType = servicetype
6981
+ @StartTime = starttime
6982
+ @EndTime = endtime
6983
+ @ChannelId = channelid
6984
+ @Config = config
6985
+ @ROI = roi
6986
+ @VideoURLs = videourls
6987
+ @CustomId = customid
6988
+ end
6989
+
6990
+ def deserialize(params)
6991
+ @ProductId = params['ProductId']
6992
+ @DeviceName = params['DeviceName']
6993
+ @ServiceType = params['ServiceType']
6994
+ @StartTime = params['StartTime']
6995
+ @EndTime = params['EndTime']
6996
+ @ChannelId = params['ChannelId']
6997
+ @Config = params['Config']
6998
+ @ROI = params['ROI']
6999
+ @VideoURLs = params['VideoURLs']
7000
+ @CustomId = params['CustomId']
7001
+ end
7002
+ end
7003
+
7004
+ # InvokeCloudStorageAIServiceTask返回参数结构体
7005
+ class InvokeCloudStorageAIServiceTaskResponse < TencentCloud::Common::AbstractModel
7006
+ # @param Completed: 任务是否执行完成
7007
+ # @type Completed: Boolean
7008
+ # @param TaskId: 任务 ID
7009
+ # @type TaskId: String
7010
+ # @param TaskInfo: 任务信息
7011
+ # @type TaskInfo: :class:`Tencentcloud::Iotexplorer.v20190423.models.CloudStorageAIServiceTask`
7012
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7013
+ # @type RequestId: String
7014
+
7015
+ attr_accessor :Completed, :TaskId, :TaskInfo, :RequestId
7016
+
7017
+ def initialize(completed=nil, taskid=nil, taskinfo=nil, requestid=nil)
7018
+ @Completed = completed
7019
+ @TaskId = taskid
7020
+ @TaskInfo = taskinfo
7021
+ @RequestId = requestid
7022
+ end
7023
+
7024
+ def deserialize(params)
7025
+ @Completed = params['Completed']
7026
+ @TaskId = params['TaskId']
7027
+ unless params['TaskInfo'].nil?
7028
+ @TaskInfo = CloudStorageAIServiceTask.new
7029
+ @TaskInfo.deserialize(params['TaskInfo'])
7030
+ end
7031
+ @RequestId = params['RequestId']
7032
+ end
7033
+ end
7034
+
6949
7035
  # InvokeExternalSourceAIServiceTask请求参数结构体
6950
7036
  class InvokeExternalSourceAIServiceTaskRequest < TencentCloud::Common::AbstractModel
6951
7037
  # @param ProductId: 产品 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.953
4
+ version: 3.0.954
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-03 00:00:00.000000000 Z
11
+ date: 2024-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common