tencentcloud-sdk-iotexplorer 3.0.922 → 3.0.923
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190423/client.rb +48 -0
- data/lib/v20190423/models.rb +130 -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: 904667caa0237e6e3d5fa227f54de7dd4b3a73a1
|
4
|
+
data.tar.gz: d98bc8305044560669f1172fda66763e2584749e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72806033abfcb1810ec90aa8af292fefd0c7dd66b44786d077cedb3592db57012345d852836aa647c8073c4d1e220cefc06b409503f01a77c6d10623b7957e75
|
7
|
+
data.tar.gz: 776ce75ec980a87763366b28058a886e94eeed52f08866dcb07d7a5b983e232327244e630924b1bb2085b173176284be65fd6acfd990859cad21a565f5b4b7c5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.923
|
data/lib/v20190423/client.rb
CHANGED
@@ -341,6 +341,30 @@ module TencentCloud
|
|
341
341
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
342
342
|
end
|
343
343
|
|
344
|
+
# 创建外部视频 AI 分析任务
|
345
|
+
|
346
|
+
# @param request: Request instance for CreateExternalSourceAIServiceTask.
|
347
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::CreateExternalSourceAIServiceTaskRequest`
|
348
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::CreateExternalSourceAIServiceTaskResponse`
|
349
|
+
def CreateExternalSourceAIServiceTask(request)
|
350
|
+
body = send_request('CreateExternalSourceAIServiceTask', request.serialize)
|
351
|
+
response = JSON.parse(body)
|
352
|
+
if response['Response'].key?('Error') == false
|
353
|
+
model = CreateExternalSourceAIServiceTaskResponse.new
|
354
|
+
model.deserialize(response['Response'])
|
355
|
+
model
|
356
|
+
else
|
357
|
+
code = response['Response']['Error']['Code']
|
358
|
+
message = response['Response']['Error']['Message']
|
359
|
+
reqid = response['Response']['RequestId']
|
360
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
361
|
+
end
|
362
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
363
|
+
raise e
|
364
|
+
rescue StandardError => e
|
365
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
366
|
+
end
|
367
|
+
|
344
368
|
# 创建围栏绑定信息
|
345
369
|
|
346
370
|
# @param request: Request instance for CreateFenceBind.
|
@@ -2597,6 +2621,30 @@ module TencentCloud
|
|
2597
2621
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2598
2622
|
end
|
2599
2623
|
|
2624
|
+
# 创建外部视频 AI 分析任务
|
2625
|
+
|
2626
|
+
# @param request: Request instance for InvokeExternalSourceAIServiceTask.
|
2627
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::InvokeExternalSourceAIServiceTaskRequest`
|
2628
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::InvokeExternalSourceAIServiceTaskResponse`
|
2629
|
+
def InvokeExternalSourceAIServiceTask(request)
|
2630
|
+
body = send_request('InvokeExternalSourceAIServiceTask', request.serialize)
|
2631
|
+
response = JSON.parse(body)
|
2632
|
+
if response['Response'].key?('Error') == false
|
2633
|
+
model = InvokeExternalSourceAIServiceTaskResponse.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
|
+
|
2600
2648
|
# 获取设备的历史事件
|
2601
2649
|
|
2602
2650
|
# @param request: Request instance for ListEventHistory.
|
data/lib/v20190423/models.rb
CHANGED
@@ -1102,6 +1102,65 @@ module TencentCloud
|
|
1102
1102
|
end
|
1103
1103
|
end
|
1104
1104
|
|
1105
|
+
# CreateExternalSourceAIServiceTask请求参数结构体
|
1106
|
+
class CreateExternalSourceAIServiceTaskRequest < TencentCloud::Common::AbstractModel
|
1107
|
+
# @param ProductId: 产品 ID
|
1108
|
+
# @type ProductId: String
|
1109
|
+
# @param ServiceType: 云存 AI 服务类型。可选值:
|
1110
|
+
# - `RealtimeObjectDetect`:目标检测
|
1111
|
+
# - `Highlight`:视频浓缩
|
1112
|
+
# - `VideoToText`:视频语义理解
|
1113
|
+
# @type ServiceType: String
|
1114
|
+
# @param VideoURLs: 分析外部传入的视频 URL 列表,支持 HLS 点播(m3u8)及常见视频格式(mp4 等)
|
1115
|
+
# @type VideoURLs: Array
|
1116
|
+
# @param CustomId: 自定义任务 ID
|
1117
|
+
# @type CustomId: String
|
1118
|
+
# @param Config: 视频分析配置参数
|
1119
|
+
# @type Config: String
|
1120
|
+
# @param ROI: 视频分析识别区域
|
1121
|
+
# @type ROI: String
|
1122
|
+
|
1123
|
+
attr_accessor :ProductId, :ServiceType, :VideoURLs, :CustomId, :Config, :ROI
|
1124
|
+
|
1125
|
+
def initialize(productid=nil, servicetype=nil, videourls=nil, customid=nil, config=nil, roi=nil)
|
1126
|
+
@ProductId = productid
|
1127
|
+
@ServiceType = servicetype
|
1128
|
+
@VideoURLs = videourls
|
1129
|
+
@CustomId = customid
|
1130
|
+
@Config = config
|
1131
|
+
@ROI = roi
|
1132
|
+
end
|
1133
|
+
|
1134
|
+
def deserialize(params)
|
1135
|
+
@ProductId = params['ProductId']
|
1136
|
+
@ServiceType = params['ServiceType']
|
1137
|
+
@VideoURLs = params['VideoURLs']
|
1138
|
+
@CustomId = params['CustomId']
|
1139
|
+
@Config = params['Config']
|
1140
|
+
@ROI = params['ROI']
|
1141
|
+
end
|
1142
|
+
end
|
1143
|
+
|
1144
|
+
# CreateExternalSourceAIServiceTask返回参数结构体
|
1145
|
+
class CreateExternalSourceAIServiceTaskResponse < TencentCloud::Common::AbstractModel
|
1146
|
+
# @param TaskId: 任务 ID
|
1147
|
+
# @type TaskId: String
|
1148
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1149
|
+
# @type RequestId: String
|
1150
|
+
|
1151
|
+
attr_accessor :TaskId, :RequestId
|
1152
|
+
|
1153
|
+
def initialize(taskid=nil, requestid=nil)
|
1154
|
+
@TaskId = taskid
|
1155
|
+
@RequestId = requestid
|
1156
|
+
end
|
1157
|
+
|
1158
|
+
def deserialize(params)
|
1159
|
+
@TaskId = params['TaskId']
|
1160
|
+
@RequestId = params['RequestId']
|
1161
|
+
end
|
1162
|
+
end
|
1163
|
+
|
1105
1164
|
# CreateFenceBind请求参数结构体
|
1106
1165
|
class CreateFenceBindRequest < TencentCloud::Common::AbstractModel
|
1107
1166
|
# @param FenceId: 围栏Id
|
@@ -6845,6 +6904,77 @@ module TencentCloud
|
|
6845
6904
|
end
|
6846
6905
|
end
|
6847
6906
|
|
6907
|
+
# InvokeExternalSourceAIServiceTask请求参数结构体
|
6908
|
+
class InvokeExternalSourceAIServiceTaskRequest < TencentCloud::Common::AbstractModel
|
6909
|
+
# @param ProductId: 产品 ID
|
6910
|
+
# @type ProductId: String
|
6911
|
+
# @param ServiceType: 云存 AI 服务类型。可选值:
|
6912
|
+
# - `RealtimeObjectDetect`:目标检测
|
6913
|
+
# - `Highlight`:视频浓缩
|
6914
|
+
# - `VideoToText`:视频语义理解
|
6915
|
+
# @type ServiceType: String
|
6916
|
+
# @param VideoURLs: 分析外部传入的视频 URL 列表,支持 HLS 点播(m3u8)及常见视频格式(mp4 等)
|
6917
|
+
# @type VideoURLs: Array
|
6918
|
+
# @param CustomId: 自定义任务 ID
|
6919
|
+
# @type CustomId: String
|
6920
|
+
# @param Config: 视频分析配置参数
|
6921
|
+
# @type Config: String
|
6922
|
+
# @param ROI: 视频分析识别区域
|
6923
|
+
# @type ROI: String
|
6924
|
+
|
6925
|
+
attr_accessor :ProductId, :ServiceType, :VideoURLs, :CustomId, :Config, :ROI
|
6926
|
+
|
6927
|
+
def initialize(productid=nil, servicetype=nil, videourls=nil, customid=nil, config=nil, roi=nil)
|
6928
|
+
@ProductId = productid
|
6929
|
+
@ServiceType = servicetype
|
6930
|
+
@VideoURLs = videourls
|
6931
|
+
@CustomId = customid
|
6932
|
+
@Config = config
|
6933
|
+
@ROI = roi
|
6934
|
+
end
|
6935
|
+
|
6936
|
+
def deserialize(params)
|
6937
|
+
@ProductId = params['ProductId']
|
6938
|
+
@ServiceType = params['ServiceType']
|
6939
|
+
@VideoURLs = params['VideoURLs']
|
6940
|
+
@CustomId = params['CustomId']
|
6941
|
+
@Config = params['Config']
|
6942
|
+
@ROI = params['ROI']
|
6943
|
+
end
|
6944
|
+
end
|
6945
|
+
|
6946
|
+
# InvokeExternalSourceAIServiceTask返回参数结构体
|
6947
|
+
class InvokeExternalSourceAIServiceTaskResponse < TencentCloud::Common::AbstractModel
|
6948
|
+
# @param Completed: 任务是否执行完成
|
6949
|
+
# @type Completed: Boolean
|
6950
|
+
# @param TaskId: 任务 ID
|
6951
|
+
# @type TaskId: String
|
6952
|
+
# @param TaskInfo: 任务信息
|
6953
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6954
|
+
# @type TaskInfo: :class:`Tencentcloud::Iotexplorer.v20190423.models.CloudStorageAIServiceTask`
|
6955
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6956
|
+
# @type RequestId: String
|
6957
|
+
|
6958
|
+
attr_accessor :Completed, :TaskId, :TaskInfo, :RequestId
|
6959
|
+
|
6960
|
+
def initialize(completed=nil, taskid=nil, taskinfo=nil, requestid=nil)
|
6961
|
+
@Completed = completed
|
6962
|
+
@TaskId = taskid
|
6963
|
+
@TaskInfo = taskinfo
|
6964
|
+
@RequestId = requestid
|
6965
|
+
end
|
6966
|
+
|
6967
|
+
def deserialize(params)
|
6968
|
+
@Completed = params['Completed']
|
6969
|
+
@TaskId = params['TaskId']
|
6970
|
+
unless params['TaskInfo'].nil?
|
6971
|
+
@TaskInfo = CloudStorageAIServiceTask.new
|
6972
|
+
@TaskInfo.deserialize(params['TaskInfo'])
|
6973
|
+
end
|
6974
|
+
@RequestId = params['RequestId']
|
6975
|
+
end
|
6976
|
+
end
|
6977
|
+
|
6848
6978
|
# ListEventHistory请求参数结构体
|
6849
6979
|
class ListEventHistoryRequest < TencentCloud::Common::AbstractModel
|
6850
6980
|
# @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.
|
4
|
+
version: 3.0.923
|
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-10-
|
11
|
+
date: 2024-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|