tencentcloud-sdk-iss 3.0.661 → 3.0.663
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 +25 -0
- data/lib/v20230517/models.rb +79 -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: 5c1659672f97aaf90354986f44f88ad17dab58a9
|
4
|
+
data.tar.gz: 921977013677c04c254a5b0e18f67009aab2a71a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f14e27087634af73cd2fcfae38181257ffd601dcb724179e33d4b2c62d2fbae5d20578448246cbdc12ebe1ff39e4bc6c1f56fbd5aa0546fc1da91284045eaae5
|
7
|
+
data.tar.gz: 24fe6af8724f18d3b1143cf39d74c6a6bedca2640debfa7624a2f69e45f7f5ffca28b234f867408fa90dbfa67b1dd7e7a5359f808db3cc0641abe9ee786f4442
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.663
|
data/lib/v20230517/client.rb
CHANGED
@@ -1112,6 +1112,31 @@ module TencentCloud
|
|
1112
1112
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1113
1113
|
end
|
1114
1114
|
|
1115
|
+
# 平台支持将数据以TS切片的形式存入客户自有COS桶,该接口用于支持客户快捷查询切片信息列表
|
1116
|
+
# (注意:只支持标准存储类型的查询)
|
1117
|
+
|
1118
|
+
# @param request: Request instance for DescribeRecordSlice.
|
1119
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::DescribeRecordSliceRequest`
|
1120
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::DescribeRecordSliceResponse`
|
1121
|
+
def DescribeRecordSlice(request)
|
1122
|
+
body = send_request('DescribeRecordSlice', request.serialize)
|
1123
|
+
response = JSON.parse(body)
|
1124
|
+
if response['Response'].key?('Error') == false
|
1125
|
+
model = DescribeRecordSliceResponse.new
|
1126
|
+
model.deserialize(response['Response'])
|
1127
|
+
model
|
1128
|
+
else
|
1129
|
+
code = response['Response']['Error']['Code']
|
1130
|
+
message = response['Response']['Error']['Message']
|
1131
|
+
reqid = response['Response']['RequestId']
|
1132
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1133
|
+
end
|
1134
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1135
|
+
raise e
|
1136
|
+
rescue StandardError => e
|
1137
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1138
|
+
end
|
1139
|
+
|
1115
1140
|
# 用于查询实时上云模板详情
|
1116
1141
|
|
1117
1142
|
# @param request: Request instance for DescribeRecordTemplate.
|
data/lib/v20230517/models.rb
CHANGED
@@ -3699,6 +3699,58 @@ module TencentCloud
|
|
3699
3699
|
end
|
3700
3700
|
end
|
3701
3701
|
|
3702
|
+
# DescribeRecordSlice请求参数结构体
|
3703
|
+
class DescribeRecordSliceRequest < TencentCloud::Common::AbstractModel
|
3704
|
+
# @param ChannelId: 通道ID
|
3705
|
+
# @type ChannelId: String
|
3706
|
+
# @param StartTime: 检索开始时间,UTC秒数,例如:1662114146,开始和结束时间段最长为一天,且不能跨天
|
3707
|
+
# @type StartTime: Integer
|
3708
|
+
# @param EndTime: 检索结束时间,UTC秒数,例如:1662114246,开始和结束时间段最长为一天,且不能跨天
|
3709
|
+
# @type EndTime: Integer
|
3710
|
+
|
3711
|
+
attr_accessor :ChannelId, :StartTime, :EndTime
|
3712
|
+
|
3713
|
+
def initialize(channelid=nil, starttime=nil, endtime=nil)
|
3714
|
+
@ChannelId = channelid
|
3715
|
+
@StartTime = starttime
|
3716
|
+
@EndTime = endtime
|
3717
|
+
end
|
3718
|
+
|
3719
|
+
def deserialize(params)
|
3720
|
+
@ChannelId = params['ChannelId']
|
3721
|
+
@StartTime = params['StartTime']
|
3722
|
+
@EndTime = params['EndTime']
|
3723
|
+
end
|
3724
|
+
end
|
3725
|
+
|
3726
|
+
# DescribeRecordSlice返回参数结构体
|
3727
|
+
class DescribeRecordSliceResponse < TencentCloud::Common::AbstractModel
|
3728
|
+
# @param Data: 云录像切片信息列表
|
3729
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3730
|
+
# @type Data: Array
|
3731
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3732
|
+
# @type RequestId: String
|
3733
|
+
|
3734
|
+
attr_accessor :Data, :RequestId
|
3735
|
+
|
3736
|
+
def initialize(data=nil, requestid=nil)
|
3737
|
+
@Data = data
|
3738
|
+
@RequestId = requestid
|
3739
|
+
end
|
3740
|
+
|
3741
|
+
def deserialize(params)
|
3742
|
+
unless params['Data'].nil?
|
3743
|
+
@Data = []
|
3744
|
+
params['Data'].each do |i|
|
3745
|
+
recordsliceinfo_tmp = RecordSliceInfo.new
|
3746
|
+
recordsliceinfo_tmp.deserialize(i)
|
3747
|
+
@Data << recordsliceinfo_tmp
|
3748
|
+
end
|
3749
|
+
end
|
3750
|
+
@RequestId = params['RequestId']
|
3751
|
+
end
|
3752
|
+
end
|
3753
|
+
|
3702
3754
|
# DescribeRecordTemplate请求参数结构体
|
3703
3755
|
class DescribeRecordTemplateRequest < TencentCloud::Common::AbstractModel
|
3704
3756
|
# @param TemplateId: 模板ID
|
@@ -5902,6 +5954,33 @@ module TencentCloud
|
|
5902
5954
|
end
|
5903
5955
|
end
|
5904
5956
|
|
5957
|
+
# 录像切片信息
|
5958
|
+
class RecordSliceInfo < TencentCloud::Common::AbstractModel
|
5959
|
+
# @param PlanId: 计划ID
|
5960
|
+
# @type PlanId: String
|
5961
|
+
# @param List: 录像切片开始和结束时间列表
|
5962
|
+
# @type List: Array
|
5963
|
+
|
5964
|
+
attr_accessor :PlanId, :List
|
5965
|
+
|
5966
|
+
def initialize(planid=nil, list=nil)
|
5967
|
+
@PlanId = planid
|
5968
|
+
@List = list
|
5969
|
+
end
|
5970
|
+
|
5971
|
+
def deserialize(params)
|
5972
|
+
@PlanId = params['PlanId']
|
5973
|
+
unless params['List'].nil?
|
5974
|
+
@List = []
|
5975
|
+
params['List'].each do |i|
|
5976
|
+
recordtimeline_tmp = RecordTimeLine.new
|
5977
|
+
recordtimeline_tmp.deserialize(i)
|
5978
|
+
@List << recordtimeline_tmp
|
5979
|
+
end
|
5980
|
+
end
|
5981
|
+
end
|
5982
|
+
end
|
5983
|
+
|
5905
5984
|
# 实时上云模板信息数据
|
5906
5985
|
class RecordTemplateInfo < TencentCloud::Common::AbstractModel
|
5907
5986
|
# @param TemplateId: 模板ID
|
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.663
|
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-09-
|
11
|
+
date: 2023-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|