tencentcloud-sdk-iss 3.0.662 → 3.0.664

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1cbae0a7e54c28b478f2e09bbec3fe4faab0905d
4
- data.tar.gz: 3dc0f3b902107e83de00b2819306f4e3d2288fa8
3
+ metadata.gz: 094d6ba43f02e3f93cac9b63185b2420c2dc8b9f
4
+ data.tar.gz: 5750471c924fed0829ff603d79e3f85cfa6c0230
5
5
  SHA512:
6
- metadata.gz: 262cdc9d0370e0979cfb3879269c38a32b43c1a380232793cfbc8618d2cf35f1c4412b9e56164c07c01be90f48206fe3582b2ad53133f40ea79afdfc81ec0cb6
7
- data.tar.gz: 918c2e9ab20635a6017e2acea70c199802b8c66748a1053dd5c6c7e56d36d0659da219b4b9d2f7ad31cdb7b1ebf44b1931a315bff9f81438abba949049a14dd4
6
+ metadata.gz: aafba0ca29c7039a2e3dc18a3a3aed671d606e7214504d8e0ec97dfa88ac2d3e75f011d68d50a1c3ffc4fe2931cb0666f7ecc2e6064fc9d8bebb4c6bf36a407d
7
+ data.tar.gz: 2992a530bdc26ec5e4dadfa72805ac865d38d5652f410ef366dc54899ef6b29a0e0e8f7aab43adc6e6dcd44856a5275463018a9a7f37c21281aaa3cbfd5bced9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.662
1
+ 3.0.664
@@ -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.
@@ -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.662
4
+ version: 3.0.664
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-19 00:00:00.000000000 Z
11
+ date: 2023-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common