tencentcloud-sdk-iss 3.0.673 → 3.0.675
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 +85 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c1afa67f4002765fc7c31bbe914d4099230ee92
|
4
|
+
data.tar.gz: 70320248f3ef14fce669e344ee4cae878d5c2de6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15fd26bec747ccd5d20e41b97deee0724fdec40816462b7a6a73bd2ea61b5ba7dbf1dd7b868f29b83737f81fb7c94fbf66806daecb5b61cc9c6e14028426ea77
|
7
|
+
data.tar.gz: 7b1116f64ed5f51bdc27d04a901ff59dff0ef43e7cf1c820ced34dbb56fee19ef7f89533901deffd5e970a07745497fbf398187005d94732473fa7c8567be1bb
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.675
|
data/lib/v20230517/client.rb
CHANGED
@@ -1233,6 +1233,30 @@ module TencentCloud
|
|
1233
1233
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1234
1234
|
end
|
1235
1235
|
|
1236
|
+
# 用于获取视频通道的码率信息
|
1237
|
+
|
1238
|
+
# @param request: Request instance for DescribeVideoBitRate.
|
1239
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DescribeVideoBitRateRequest`
|
1240
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DescribeVideoBitRateResponse`
|
1241
|
+
def DescribeVideoBitRate(request)
|
1242
|
+
body = send_request('DescribeVideoBitRate', request.serialize)
|
1243
|
+
response = JSON.parse(body)
|
1244
|
+
if response['Response'].key?('Error') == false
|
1245
|
+
model = DescribeVideoBitRateResponse.new
|
1246
|
+
model.deserialize(response['Response'])
|
1247
|
+
model
|
1248
|
+
else
|
1249
|
+
code = response['Response']['Error']['Code']
|
1250
|
+
message = response['Response']['Error']['Message']
|
1251
|
+
reqid = response['Response']['RequestId']
|
1252
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1253
|
+
end
|
1254
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1255
|
+
raise e
|
1256
|
+
rescue StandardError => e
|
1257
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1258
|
+
end
|
1259
|
+
|
1236
1260
|
# 用于获取云录像下载 url
|
1237
1261
|
|
1238
1262
|
# @param request: Request instance for DescribeVideoDownloadUrl.
|
data/lib/v20230517/models.rb
CHANGED
@@ -1311,6 +1311,28 @@ module TencentCloud
|
|
1311
1311
|
end
|
1312
1312
|
end
|
1313
1313
|
|
1314
|
+
# 视频通道码率返回结果
|
1315
|
+
class BitRateInfo < TencentCloud::Common::AbstractModel
|
1316
|
+
# @param ChannelId: 通道Id
|
1317
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1318
|
+
# @type ChannelId: String
|
1319
|
+
# @param Bitrate: 码率,单位:kbps
|
1320
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1321
|
+
# @type Bitrate: Float
|
1322
|
+
|
1323
|
+
attr_accessor :ChannelId, :Bitrate
|
1324
|
+
|
1325
|
+
def initialize(channelid=nil, bitrate=nil)
|
1326
|
+
@ChannelId = channelid
|
1327
|
+
@Bitrate = bitrate
|
1328
|
+
end
|
1329
|
+
|
1330
|
+
def deserialize(params)
|
1331
|
+
@ChannelId = params['ChannelId']
|
1332
|
+
@Bitrate = params['Bitrate']
|
1333
|
+
end
|
1334
|
+
end
|
1335
|
+
|
1314
1336
|
# 人体识别结果详情
|
1315
1337
|
class BodyAIResultInfo < TencentCloud::Common::AbstractModel
|
1316
1338
|
# @param Time: 时间字符串
|
@@ -3954,6 +3976,69 @@ module TencentCloud
|
|
3954
3976
|
end
|
3955
3977
|
end
|
3956
3978
|
|
3979
|
+
# 查询视频通道码率的返回结果列表
|
3980
|
+
class DescribeVideoBitRateList < TencentCloud::Common::AbstractModel
|
3981
|
+
# @param BitRates: 通道码率列表
|
3982
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3983
|
+
# @type BitRates: Array
|
3984
|
+
|
3985
|
+
attr_accessor :BitRates
|
3986
|
+
|
3987
|
+
def initialize(bitrates=nil)
|
3988
|
+
@BitRates = bitrates
|
3989
|
+
end
|
3990
|
+
|
3991
|
+
def deserialize(params)
|
3992
|
+
unless params['BitRates'].nil?
|
3993
|
+
@BitRates = []
|
3994
|
+
params['BitRates'].each do |i|
|
3995
|
+
bitrateinfo_tmp = BitRateInfo.new
|
3996
|
+
bitrateinfo_tmp.deserialize(i)
|
3997
|
+
@BitRates << bitrateinfo_tmp
|
3998
|
+
end
|
3999
|
+
end
|
4000
|
+
end
|
4001
|
+
end
|
4002
|
+
|
4003
|
+
# DescribeVideoBitRate请求参数结构体
|
4004
|
+
class DescribeVideoBitRateRequest < TencentCloud::Common::AbstractModel
|
4005
|
+
# @param ChannelIds: 通道ID列表
|
4006
|
+
# @type ChannelIds: Array
|
4007
|
+
|
4008
|
+
attr_accessor :ChannelIds
|
4009
|
+
|
4010
|
+
def initialize(channelids=nil)
|
4011
|
+
@ChannelIds = channelids
|
4012
|
+
end
|
4013
|
+
|
4014
|
+
def deserialize(params)
|
4015
|
+
@ChannelIds = params['ChannelIds']
|
4016
|
+
end
|
4017
|
+
end
|
4018
|
+
|
4019
|
+
# DescribeVideoBitRate返回参数结构体
|
4020
|
+
class DescribeVideoBitRateResponse < TencentCloud::Common::AbstractModel
|
4021
|
+
# @param Data: 无
|
4022
|
+
# @type Data: :class:`Tencentcloud::Iss.v20230517.models.DescribeVideoBitRateList`
|
4023
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4024
|
+
# @type RequestId: String
|
4025
|
+
|
4026
|
+
attr_accessor :Data, :RequestId
|
4027
|
+
|
4028
|
+
def initialize(data=nil, requestid=nil)
|
4029
|
+
@Data = data
|
4030
|
+
@RequestId = requestid
|
4031
|
+
end
|
4032
|
+
|
4033
|
+
def deserialize(params)
|
4034
|
+
unless params['Data'].nil?
|
4035
|
+
@Data = DescribeVideoBitRateList.new
|
4036
|
+
@Data.deserialize(params['Data'])
|
4037
|
+
end
|
4038
|
+
@RequestId = params['RequestId']
|
4039
|
+
end
|
4040
|
+
end
|
4041
|
+
|
3957
4042
|
# 获取云录像下载URL返回的数据
|
3958
4043
|
class DescribeVideoDownloadUrlData < TencentCloud::Common::AbstractModel
|
3959
4044
|
# @param Url: 录像文件下载 URL
|
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.675
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,8 +33,8 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/v20230517/models.rb
|
37
36
|
- lib/v20230517/client.rb
|
37
|
+
- lib/v20230517/models.rb
|
38
38
|
- lib/tencentcloud-sdk-iss.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|