tencentcloud-sdk-iss 3.0.903 → 3.0.904
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/v20230517/client.rb +24 -0
- data/lib/v20230517/models.rb +64 -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: 03234201a9e2f228a040b56ce5cd62263772e897
|
4
|
+
data.tar.gz: 2b57c4c5cf446c732dbbdd0fbef0d3783429e221
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41cea93bca1b0cac04249cfcb224804490a9160eba32269536765ef0bc9c40caae3a8cb382b765ac4b8fcbed5aad9dfba7d17f8f3197cfcc9191306121274ab4
|
7
|
+
data.tar.gz: b24a5d95aa30228a0615b938c064afccdde95547bff275cfa1caf7c68495466639789fd01a3d7a0b4d2ea931f82781f5887ef9e505b53a1bbe0f3591b853b5af
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.904
|
data/lib/v20230517/client.rb
CHANGED
@@ -272,6 +272,30 @@ module TencentCloud
|
|
272
272
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
273
273
|
end
|
274
274
|
|
275
|
+
# 本接口可基于海康ISUP 5.0协议实现透传ISAPI的请求数据,调用接口前需确保设备采用ISUP协议成功注册至本平台
|
276
|
+
|
277
|
+
# @param request: Request instance for CallISAPI.
|
278
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::CallISAPIRequest`
|
279
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::CallISAPIResponse`
|
280
|
+
def CallISAPI(request)
|
281
|
+
body = send_request('CallISAPI', request.serialize)
|
282
|
+
response = JSON.parse(body)
|
283
|
+
if response['Response'].key?('Error') == false
|
284
|
+
model = CallISAPIResponse.new
|
285
|
+
model.deserialize(response['Response'])
|
286
|
+
model
|
287
|
+
else
|
288
|
+
code = response['Response']['Error']['Code']
|
289
|
+
message = response['Response']['Error']['Message']
|
290
|
+
reqid = response['Response']['RequestId']
|
291
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
292
|
+
end
|
293
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
294
|
+
raise e
|
295
|
+
rescue StandardError => e
|
296
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
297
|
+
end
|
298
|
+
|
275
299
|
# 用于检测域名是否备案。
|
276
300
|
|
277
301
|
# @param request: Request instance for CheckDomain.
|
data/lib/v20230517/models.rb
CHANGED
@@ -1376,6 +1376,53 @@ module TencentCloud
|
|
1376
1376
|
end
|
1377
1377
|
end
|
1378
1378
|
|
1379
|
+
# CallISAPI请求参数结构体
|
1380
|
+
class CallISAPIRequest < TencentCloud::Common::AbstractModel
|
1381
|
+
# @param DeviceId: 设备ID
|
1382
|
+
# @type DeviceId: String
|
1383
|
+
# @param Url: url 资源
|
1384
|
+
# @type Url: String
|
1385
|
+
# @param InputData: 输入参数
|
1386
|
+
# @type InputData: String
|
1387
|
+
|
1388
|
+
attr_accessor :DeviceId, :Url, :InputData
|
1389
|
+
|
1390
|
+
def initialize(deviceid=nil, url=nil, inputdata=nil)
|
1391
|
+
@DeviceId = deviceid
|
1392
|
+
@Url = url
|
1393
|
+
@InputData = inputdata
|
1394
|
+
end
|
1395
|
+
|
1396
|
+
def deserialize(params)
|
1397
|
+
@DeviceId = params['DeviceId']
|
1398
|
+
@Url = params['Url']
|
1399
|
+
@InputData = params['InputData']
|
1400
|
+
end
|
1401
|
+
end
|
1402
|
+
|
1403
|
+
# CallISAPI返回参数结构体
|
1404
|
+
class CallISAPIResponse < TencentCloud::Common::AbstractModel
|
1405
|
+
# @param Data: 返回数据
|
1406
|
+
# @type Data: :class:`Tencentcloud::Iss.v20230517.models.ISAPIOutputData`
|
1407
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1408
|
+
# @type RequestId: String
|
1409
|
+
|
1410
|
+
attr_accessor :Data, :RequestId
|
1411
|
+
|
1412
|
+
def initialize(data=nil, requestid=nil)
|
1413
|
+
@Data = data
|
1414
|
+
@RequestId = requestid
|
1415
|
+
end
|
1416
|
+
|
1417
|
+
def deserialize(params)
|
1418
|
+
unless params['Data'].nil?
|
1419
|
+
@Data = ISAPIOutputData.new
|
1420
|
+
@Data.deserialize(params['Data'])
|
1421
|
+
end
|
1422
|
+
@RequestId = params['RequestId']
|
1423
|
+
end
|
1424
|
+
end
|
1425
|
+
|
1379
1426
|
# 车辆车牌识别结果信息
|
1380
1427
|
class CarAIResultInfo < TencentCloud::Common::AbstractModel
|
1381
1428
|
# @param Serial: 车系
|
@@ -4398,6 +4445,23 @@ module TencentCloud
|
|
4398
4445
|
end
|
4399
4446
|
end
|
4400
4447
|
|
4448
|
+
# ISUP智能安全接入 API返回数据
|
4449
|
+
class ISAPIOutputData < TencentCloud::Common::AbstractModel
|
4450
|
+
# @param OutputData: 输出参数
|
4451
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4452
|
+
# @type OutputData: String
|
4453
|
+
|
4454
|
+
attr_accessor :OutputData
|
4455
|
+
|
4456
|
+
def initialize(outputdata=nil)
|
4457
|
+
@OutputData = outputdata
|
4458
|
+
end
|
4459
|
+
|
4460
|
+
def deserialize(params)
|
4461
|
+
@OutputData = params['OutputData']
|
4462
|
+
end
|
4463
|
+
end
|
4464
|
+
|
4401
4465
|
# 生命周期,云文件生命周期设置,管理文件冷、热存储的时间
|
4402
4466
|
class LifeCycleData < TencentCloud::Common::AbstractModel
|
4403
4467
|
# @param Transition: 云文件热存储时长,单位天,最小1天,最大3650天
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-iss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.904
|
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-09-
|
11
|
+
date: 2024-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|