tencentcloud-sdk-iss 3.0.903 → 3.0.905
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: 3b9c7c0a4b26fd145e15ecd34d354f0f4bbaed31
|
4
|
+
data.tar.gz: 6e0499fb08f87b41a2ee6c673e6b7f1c2a63d43e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d36b601398db0a8a396b09b1dddda36c91f602b18c13784ef6a4236c0fc5b3bc6416c1f73322fbc2097947f181f47fcc77265f9df5e3b948b353fc6e7226716
|
7
|
+
data.tar.gz: e2eba39aeea627c002b839c74dd166c8d9329721f8ea65d5f5542bff40ed895a5ad0ae61a2785c953591139cbaaac6fe1a9839e0d10a81ed9363f4b5e952d00f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.905
|
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.905
|
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-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|