tencentcloud-sdk-iotexplorer 3.0.962 → 3.0.964
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 +28 -0
- data/lib/v20190423/models.rb +75 -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: cae94414606a7eb29b03e971b14bb98db2e4c437
|
4
|
+
data.tar.gz: d10c759a48561af3c030bad3eb7a32a6f71f76f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 276fa93fb7d35894e0dd498d82a67212d33a1e120a104d8f80c8d3156afe38af59e7efe2c5d8f0b31c7e58e72be3092ddf9ae5c660cddeae2f18baf492a7c4c5
|
7
|
+
data.tar.gz: 41f2c5a4acdd3dc92abe98456753c56bb53349065c7c10002dff6983287ec64961aa0b116f8df75a8e7db78d807ac526ab4227c2f3a30b0fea02d04949f5bf4e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.964
|
data/lib/v20190423/client.rb
CHANGED
@@ -319,6 +319,30 @@ module TencentCloud
|
|
319
319
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
320
320
|
end
|
321
321
|
|
322
|
+
# 创建设备云存 AI 分析任务
|
323
|
+
|
324
|
+
# @param request: Request instance for CreateCloudStorageAIServiceTask.
|
325
|
+
# @type request: :class:`Tencentcloud::iotexplorer::V20190423::CreateCloudStorageAIServiceTaskRequest`
|
326
|
+
# @rtype: :class:`Tencentcloud::iotexplorer::V20190423::CreateCloudStorageAIServiceTaskResponse`
|
327
|
+
def CreateCloudStorageAIServiceTask(request)
|
328
|
+
body = send_request('CreateCloudStorageAIServiceTask', request.serialize)
|
329
|
+
response = JSON.parse(body)
|
330
|
+
if response['Response'].key?('Error') == false
|
331
|
+
model = CreateCloudStorageAIServiceTaskResponse.new
|
332
|
+
model.deserialize(response['Response'])
|
333
|
+
model
|
334
|
+
else
|
335
|
+
code = response['Response']['Error']['Code']
|
336
|
+
message = response['Response']['Error']['Message']
|
337
|
+
reqid = response['Response']['RequestId']
|
338
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
339
|
+
end
|
340
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
341
|
+
raise e
|
342
|
+
rescue StandardError => e
|
343
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
344
|
+
end
|
345
|
+
|
322
346
|
# 创建设备
|
323
347
|
|
324
348
|
# @param request: Request instance for CreateDevice.
|
@@ -3129,6 +3153,8 @@ module TencentCloud
|
|
3129
3153
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3130
3154
|
end
|
3131
3155
|
|
3156
|
+
# 发布广播消息、发布RRPC消息属于早期服务,目前已停止维护,需要从官网下线。
|
3157
|
+
|
3132
3158
|
# 发布广播消息
|
3133
3159
|
|
3134
3160
|
# @param request: Request instance for PublishBroadcastMessage.
|
@@ -3201,6 +3227,8 @@ module TencentCloud
|
|
3201
3227
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3202
3228
|
end
|
3203
3229
|
|
3230
|
+
# 发布广播消息、发布RRPC消息属于早期服务,目前已停止维护,需要从官网下线。
|
3231
|
+
|
3204
3232
|
# 下发RRPC消息
|
3205
3233
|
|
3206
3234
|
# @param request: Request instance for PublishRRPCMessage.
|
data/lib/v20190423/models.rb
CHANGED
@@ -1038,6 +1038,81 @@ module TencentCloud
|
|
1038
1038
|
end
|
1039
1039
|
end
|
1040
1040
|
|
1041
|
+
# CreateCloudStorageAIServiceTask请求参数结构体
|
1042
|
+
class CreateCloudStorageAIServiceTaskRequest < TencentCloud::Common::AbstractModel
|
1043
|
+
# @param ProductId: 产品 ID
|
1044
|
+
# @type ProductId: String
|
1045
|
+
# @param DeviceName: 设备名称
|
1046
|
+
# @type DeviceName: String
|
1047
|
+
# @param ServiceType: 云存 AI 服务类型。可选值:
|
1048
|
+
# - `RealtimeObjectDetect`:目标检测
|
1049
|
+
# - `Highlight`:视频浓缩
|
1050
|
+
# - `VideoToText`:视频语义理解
|
1051
|
+
# @type ServiceType: String
|
1052
|
+
# @param StartTime: 待分析云存的起始时间
|
1053
|
+
# @type StartTime: Integer
|
1054
|
+
# @param EndTime: 待分析云存的结束时间
|
1055
|
+
# @type EndTime: Integer
|
1056
|
+
# @param ChannelId: 通道 ID
|
1057
|
+
# @type ChannelId: Integer
|
1058
|
+
# @param Config: 视频分析配置参数
|
1059
|
+
# @type Config: String
|
1060
|
+
# @param ROI: 视频分析识别区域
|
1061
|
+
# @type ROI: String
|
1062
|
+
# @param VideoURLs: 分析外部传入的视频 URL 列表,支持 HLS 点播(m3u8)及常见视频格式(mp4 等)
|
1063
|
+
# @type VideoURLs: Array
|
1064
|
+
# @param CustomId: 自定义任务 ID
|
1065
|
+
# @type CustomId: String
|
1066
|
+
|
1067
|
+
attr_accessor :ProductId, :DeviceName, :ServiceType, :StartTime, :EndTime, :ChannelId, :Config, :ROI, :VideoURLs, :CustomId
|
1068
|
+
|
1069
|
+
def initialize(productid=nil, devicename=nil, servicetype=nil, starttime=nil, endtime=nil, channelid=nil, config=nil, roi=nil, videourls=nil, customid=nil)
|
1070
|
+
@ProductId = productid
|
1071
|
+
@DeviceName = devicename
|
1072
|
+
@ServiceType = servicetype
|
1073
|
+
@StartTime = starttime
|
1074
|
+
@EndTime = endtime
|
1075
|
+
@ChannelId = channelid
|
1076
|
+
@Config = config
|
1077
|
+
@ROI = roi
|
1078
|
+
@VideoURLs = videourls
|
1079
|
+
@CustomId = customid
|
1080
|
+
end
|
1081
|
+
|
1082
|
+
def deserialize(params)
|
1083
|
+
@ProductId = params['ProductId']
|
1084
|
+
@DeviceName = params['DeviceName']
|
1085
|
+
@ServiceType = params['ServiceType']
|
1086
|
+
@StartTime = params['StartTime']
|
1087
|
+
@EndTime = params['EndTime']
|
1088
|
+
@ChannelId = params['ChannelId']
|
1089
|
+
@Config = params['Config']
|
1090
|
+
@ROI = params['ROI']
|
1091
|
+
@VideoURLs = params['VideoURLs']
|
1092
|
+
@CustomId = params['CustomId']
|
1093
|
+
end
|
1094
|
+
end
|
1095
|
+
|
1096
|
+
# CreateCloudStorageAIServiceTask返回参数结构体
|
1097
|
+
class CreateCloudStorageAIServiceTaskResponse < TencentCloud::Common::AbstractModel
|
1098
|
+
# @param TaskId: 任务 ID
|
1099
|
+
# @type TaskId: String
|
1100
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1101
|
+
# @type RequestId: String
|
1102
|
+
|
1103
|
+
attr_accessor :TaskId, :RequestId
|
1104
|
+
|
1105
|
+
def initialize(taskid=nil, requestid=nil)
|
1106
|
+
@TaskId = taskid
|
1107
|
+
@RequestId = requestid
|
1108
|
+
end
|
1109
|
+
|
1110
|
+
def deserialize(params)
|
1111
|
+
@TaskId = params['TaskId']
|
1112
|
+
@RequestId = params['RequestId']
|
1113
|
+
end
|
1114
|
+
end
|
1115
|
+
|
1041
1116
|
# CreateDeviceChannel请求参数结构体
|
1042
1117
|
class CreateDeviceChannelRequest < TencentCloud::Common::AbstractModel
|
1043
1118
|
# @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.964
|
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-
|
11
|
+
date: 2024-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|