tencentcloud-sdk-mps 3.0.966 → 3.0.967

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: 66998b8772e8cc1fec8caf4b0f0bf5ce28858a0c
4
- data.tar.gz: a6457723f32b80af0906bd426a784e5804fbab6f
3
+ metadata.gz: 1e3a9e73b49da88f398a1ccbc26592cacc13246c
4
+ data.tar.gz: 4d9e74a0df31592eac6bc993d996af438822f430
5
5
  SHA512:
6
- metadata.gz: 1337ac0be568424073925bc4bf218ce668f873350e852c72caf5af65f3186e2b3bec5ca0e0ffa9eb74f602c341f470b1ec40a2577a0001e1c94e33ad7bd566af
7
- data.tar.gz: b28e97f921cfac3cf8b8f89d2278bc6b2a6deff9e5b5507e948f1a5ffdbf84961ae2ae3789afbf824e38027c17094f4db2a415bde8ba0a83704ca10a96c9d93e
6
+ metadata.gz: 0d609bb20c2df291474dc20243944b258e23e53ec09e3cd1145082cf4344052adb8116e9d4a4136b47c4797ef454c0e9586d034412434e31f76de1ee6d3b803c
7
+ data.tar.gz: 7305c58192402a9df15d9680b16f77ca1756849bef64e10a6346240aef27c4840a4a139a2cdbfc840f1e5833660be050ee847ae7272109792826d8fb62e7678c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.966
1
+ 3.0.967
@@ -245,6 +245,30 @@ module TencentCloud
245
245
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
246
  end
247
247
 
248
+ # 创建直播录制模板
249
+
250
+ # @param request: Request instance for CreateLiveRecordTemplate.
251
+ # @type request: :class:`Tencentcloud::mps::V20190612::CreateLiveRecordTemplateRequest`
252
+ # @rtype: :class:`Tencentcloud::mps::V20190612::CreateLiveRecordTemplateResponse`
253
+ def CreateLiveRecordTemplate(request)
254
+ body = send_request('CreateLiveRecordTemplate', request.serialize)
255
+ response = JSON.parse(body)
256
+ if response['Response'].key?('Error') == false
257
+ model = CreateLiveRecordTemplateResponse.new
258
+ model.deserialize(response['Response'])
259
+ model
260
+ else
261
+ code = response['Response']['Error']['Code']
262
+ message = response['Response']['Error']['Message']
263
+ reqid = response['Response']['RequestId']
264
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
265
+ end
266
+ rescue TencentCloud::Common::TencentCloudSDKException => e
267
+ raise e
268
+ rescue StandardError => e
269
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
+ end
271
+
248
272
  # 该接口用于创建素材样本,用于通过五官定位等技术,进行内容识别、内容不适宜等视频处理。
249
273
 
250
274
  # @param request: Request instance for CreatePersonSample.
@@ -774,6 +798,30 @@ module TencentCloud
774
798
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
775
799
  end
776
800
 
801
+ # 删除直播录制模板
802
+
803
+ # @param request: Request instance for DeleteLiveRecordTemplate.
804
+ # @type request: :class:`Tencentcloud::mps::V20190612::DeleteLiveRecordTemplateRequest`
805
+ # @rtype: :class:`Tencentcloud::mps::V20190612::DeleteLiveRecordTemplateResponse`
806
+ def DeleteLiveRecordTemplate(request)
807
+ body = send_request('DeleteLiveRecordTemplate', request.serialize)
808
+ response = JSON.parse(body)
809
+ if response['Response'].key?('Error') == false
810
+ model = DeleteLiveRecordTemplateResponse.new
811
+ model.deserialize(response['Response'])
812
+ model
813
+ else
814
+ code = response['Response']['Error']['Code']
815
+ message = response['Response']['Error']['Message']
816
+ reqid = response['Response']['RequestId']
817
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
818
+ end
819
+ rescue TencentCloud::Common::TencentCloudSDKException => e
820
+ raise e
821
+ rescue StandardError => e
822
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
823
+ end
824
+
777
825
  # 该接口用于根据素材 ID,删除素材样本。
778
826
 
779
827
  # @param request: Request instance for DeletePersonSample.
@@ -1206,6 +1254,30 @@ module TencentCloud
1206
1254
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1207
1255
  end
1208
1256
 
1257
+ # 获取直播录制模板
1258
+
1259
+ # @param request: Request instance for DescribeLiveRecordTemplates.
1260
+ # @type request: :class:`Tencentcloud::mps::V20190612::DescribeLiveRecordTemplatesRequest`
1261
+ # @rtype: :class:`Tencentcloud::mps::V20190612::DescribeLiveRecordTemplatesResponse`
1262
+ def DescribeLiveRecordTemplates(request)
1263
+ body = send_request('DescribeLiveRecordTemplates', request.serialize)
1264
+ response = JSON.parse(body)
1265
+ if response['Response'].key?('Error') == false
1266
+ model = DescribeLiveRecordTemplatesResponse.new
1267
+ model.deserialize(response['Response'])
1268
+ model
1269
+ else
1270
+ code = response['Response']['Error']['Code']
1271
+ message = response['Response']['Error']['Message']
1272
+ reqid = response['Response']['RequestId']
1273
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1274
+ end
1275
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1276
+ raise e
1277
+ rescue StandardError => e
1278
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1279
+ end
1280
+
1209
1281
  # 获取媒体的元信息,包括视频画面宽、高、编码格式、时长、帧率等。
1210
1282
 
1211
1283
  # @param request: Request instance for DescribeMediaMetaData.
@@ -2158,6 +2230,30 @@ module TencentCloud
2158
2230
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2159
2231
  end
2160
2232
 
2233
+ # 修改直播录制模板
2234
+
2235
+ # @param request: Request instance for ModifyLiveRecordTemplate.
2236
+ # @type request: :class:`Tencentcloud::mps::V20190612::ModifyLiveRecordTemplateRequest`
2237
+ # @rtype: :class:`Tencentcloud::mps::V20190612::ModifyLiveRecordTemplateResponse`
2238
+ def ModifyLiveRecordTemplate(request)
2239
+ body = send_request('ModifyLiveRecordTemplate', request.serialize)
2240
+ response = JSON.parse(body)
2241
+ if response['Response'].key?('Error') == false
2242
+ model = ModifyLiveRecordTemplateResponse.new
2243
+ model.deserialize(response['Response'])
2244
+ model
2245
+ else
2246
+ code = response['Response']['Error']['Code']
2247
+ message = response['Response']['Error']['Message']
2248
+ reqid = response['Response']['RequestId']
2249
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2250
+ end
2251
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2252
+ raise e
2253
+ rescue StandardError => e
2254
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2255
+ end
2256
+
2161
2257
  # 该接口用于根据素材 ID,修改素材样本信息,包括名称、描述的修改,以及五官、标签的添加、删除、重置操作。五官删除操作需保证至少剩余 1 张图片,否则,请使用重置操作。
2162
2258
 
2163
2259
  # @param request: Request instance for ModifyPersonSample.
@@ -6750,6 +6750,53 @@ module TencentCloud
6750
6750
  end
6751
6751
  end
6752
6752
 
6753
+ # CreateLiveRecordTemplate请求参数结构体
6754
+ class CreateLiveRecordTemplateRequest < TencentCloud::Common::AbstractModel
6755
+ # @param HLSConfigure: HLS 配置参数
6756
+ # @type HLSConfigure: :class:`Tencentcloud::Mps.v20190612.models.HLSConfigureInfo`
6757
+ # @param Name: 录制模板名称,长度限制:64 个字符。
6758
+ # @type Name: String
6759
+ # @param Comment: 模板描述信息,长度限制:256 个字符。
6760
+ # @type Comment: String
6761
+
6762
+ attr_accessor :HLSConfigure, :Name, :Comment
6763
+
6764
+ def initialize(hlsconfigure=nil, name=nil, comment=nil)
6765
+ @HLSConfigure = hlsconfigure
6766
+ @Name = name
6767
+ @Comment = comment
6768
+ end
6769
+
6770
+ def deserialize(params)
6771
+ unless params['HLSConfigure'].nil?
6772
+ @HLSConfigure = HLSConfigureInfo.new
6773
+ @HLSConfigure.deserialize(params['HLSConfigure'])
6774
+ end
6775
+ @Name = params['Name']
6776
+ @Comment = params['Comment']
6777
+ end
6778
+ end
6779
+
6780
+ # CreateLiveRecordTemplate返回参数结构体
6781
+ class CreateLiveRecordTemplateResponse < TencentCloud::Common::AbstractModel
6782
+ # @param Definition: 录制模板唯一标识。
6783
+ # @type Definition: Integer
6784
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6785
+ # @type RequestId: String
6786
+
6787
+ attr_accessor :Definition, :RequestId
6788
+
6789
+ def initialize(definition=nil, requestid=nil)
6790
+ @Definition = definition
6791
+ @RequestId = requestid
6792
+ end
6793
+
6794
+ def deserialize(params)
6795
+ @Definition = params['Definition']
6796
+ @RequestId = params['RequestId']
6797
+ end
6798
+ end
6799
+
6753
6800
  # 创建输出的配置信息。
6754
6801
  class CreateOutputInfo < TencentCloud::Common::AbstractModel
6755
6802
  # @param OutputName: 输出的名称。
@@ -8205,6 +8252,38 @@ module TencentCloud
8205
8252
  end
8206
8253
  end
8207
8254
 
8255
+ # DeleteLiveRecordTemplate请求参数结构体
8256
+ class DeleteLiveRecordTemplateRequest < TencentCloud::Common::AbstractModel
8257
+ # @param Definition: 录制模板唯一标识。
8258
+ # @type Definition: Integer
8259
+
8260
+ attr_accessor :Definition
8261
+
8262
+ def initialize(definition=nil)
8263
+ @Definition = definition
8264
+ end
8265
+
8266
+ def deserialize(params)
8267
+ @Definition = params['Definition']
8268
+ end
8269
+ end
8270
+
8271
+ # DeleteLiveRecordTemplate返回参数结构体
8272
+ class DeleteLiveRecordTemplateResponse < TencentCloud::Common::AbstractModel
8273
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8274
+ # @type RequestId: String
8275
+
8276
+ attr_accessor :RequestId
8277
+
8278
+ def initialize(requestid=nil)
8279
+ @RequestId = requestid
8280
+ end
8281
+
8282
+ def deserialize(params)
8283
+ @RequestId = params['RequestId']
8284
+ end
8285
+ end
8286
+
8208
8287
  # DeletePersonSample请求参数结构体
8209
8288
  class DeletePersonSampleRequest < TencentCloud::Common::AbstractModel
8210
8289
  # @param PersonId: 素材 ID。
@@ -9446,6 +9525,71 @@ module TencentCloud
9446
9525
  end
9447
9526
  end
9448
9527
 
9528
+ # DescribeLiveRecordTemplates请求参数结构体
9529
+ class DescribeLiveRecordTemplatesRequest < TencentCloud::Common::AbstractModel
9530
+ # @param Definitions: 录制模板唯一标识过滤条件,数组长度限制:100。
9531
+ # @type Definitions: Array
9532
+ # @param Offset: 分页偏移量,默认值:0。
9533
+ # @type Offset: Integer
9534
+ # @param Limit: 返回记录条数,默认值:10,最大值:100。
9535
+ # @type Limit: Integer
9536
+ # @param Type: 模板类型过滤条件,不填则返回所有,可选值:
9537
+ # * Preset:系统预置模板;
9538
+ # * Custom:用户自定义模板。
9539
+ # @type Type: String
9540
+ # @param Name: 录制模板标识过滤条件,长度限制:64 个字符。
9541
+ # @type Name: String
9542
+
9543
+ attr_accessor :Definitions, :Offset, :Limit, :Type, :Name
9544
+
9545
+ def initialize(definitions=nil, offset=nil, limit=nil, type=nil, name=nil)
9546
+ @Definitions = definitions
9547
+ @Offset = offset
9548
+ @Limit = limit
9549
+ @Type = type
9550
+ @Name = name
9551
+ end
9552
+
9553
+ def deserialize(params)
9554
+ @Definitions = params['Definitions']
9555
+ @Offset = params['Offset']
9556
+ @Limit = params['Limit']
9557
+ @Type = params['Type']
9558
+ @Name = params['Name']
9559
+ end
9560
+ end
9561
+
9562
+ # DescribeLiveRecordTemplates返回参数结构体
9563
+ class DescribeLiveRecordTemplatesResponse < TencentCloud::Common::AbstractModel
9564
+ # @param TotalCount: 符合过滤条件的记录总数。
9565
+ # @type TotalCount: Integer
9566
+ # @param LiveRecordTemplateSet: 录制模板详情列表。
9567
+ # @type LiveRecordTemplateSet: Array
9568
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9569
+ # @type RequestId: String
9570
+
9571
+ attr_accessor :TotalCount, :LiveRecordTemplateSet, :RequestId
9572
+
9573
+ def initialize(totalcount=nil, liverecordtemplateset=nil, requestid=nil)
9574
+ @TotalCount = totalcount
9575
+ @LiveRecordTemplateSet = liverecordtemplateset
9576
+ @RequestId = requestid
9577
+ end
9578
+
9579
+ def deserialize(params)
9580
+ @TotalCount = params['TotalCount']
9581
+ unless params['LiveRecordTemplateSet'].nil?
9582
+ @LiveRecordTemplateSet = []
9583
+ params['LiveRecordTemplateSet'].each do |i|
9584
+ liverecordtemplate_tmp = LiveRecordTemplate.new
9585
+ liverecordtemplate_tmp.deserialize(i)
9586
+ @LiveRecordTemplateSet << liverecordtemplate_tmp
9587
+ end
9588
+ end
9589
+ @RequestId = params['RequestId']
9590
+ end
9591
+ end
9592
+
9449
9593
  # DescribeMediaMetaData请求参数结构体
9450
9594
  class DescribeMediaMetaDataRequest < TencentCloud::Common::AbstractModel
9451
9595
  # @param InputInfo: 需要获取元信息的文件输入信息。
@@ -12827,6 +12971,38 @@ module TencentCloud
12827
12971
  end
12828
12972
  end
12829
12973
 
12974
+ # HLS配置参数
12975
+ class HLSConfigureInfo < TencentCloud::Common::AbstractModel
12976
+ # @param ItemDuration: 单个 TS 文件时长,单位:秒,取值范围 5-30 秒。
12977
+
12978
+ # 不填默认为 30 秒。
12979
+ # 注意:此字段可能返回 null,表示取不到有效值。
12980
+ # @type ItemDuration: Integer
12981
+ # @param Interval: 录制周期,单位:秒,取值范围 10 分钟到 12 小时。
12982
+
12983
+ # 不填默认为 10分钟(3600 秒)。
12984
+ # 注意:此字段可能返回 null,表示取不到有效值。
12985
+ # @type Interval: Integer
12986
+ # @param ContinueTimeout: 续录等待时间,单位:秒。取值范围为60秒-1800秒。
12987
+ # 不填默认为0(不启用续录)。
12988
+ # 注意:此字段可能返回 null,表示取不到有效值。
12989
+ # @type ContinueTimeout: Integer
12990
+
12991
+ attr_accessor :ItemDuration, :Interval, :ContinueTimeout
12992
+
12993
+ def initialize(itemduration=nil, interval=nil, continuetimeout=nil)
12994
+ @ItemDuration = itemduration
12995
+ @Interval = interval
12996
+ @ContinueTimeout = continuetimeout
12997
+ end
12998
+
12999
+ def deserialize(params)
13000
+ @ItemDuration = params['ItemDuration']
13001
+ @Interval = params['Interval']
13002
+ @ContinueTimeout = params['ContinueTimeout']
13003
+ end
13004
+ end
13005
+
12830
13006
  # 创建的输入HLS拉流源站配置信息。
12831
13007
  class HLSPullSourceAddress < TencentCloud::Common::AbstractModel
12832
13008
  # @param Url: HLS源站的Url地址。
@@ -13477,6 +13653,51 @@ module TencentCloud
13477
13653
  end
13478
13654
  end
13479
13655
 
13656
+ # 直播录制模板详情
13657
+ class LiveRecordTemplate < TencentCloud::Common::AbstractModel
13658
+ # @param Definition: 录制模板唯一标识。
13659
+ # @type Definition: Integer
13660
+ # @param HLSConfigure: HLS 配置参数
13661
+ # @type HLSConfigure: :class:`Tencentcloud::Mps.v20190612.models.HLSConfigureInfo`
13662
+ # @param Name: 录制模板名称。
13663
+ # @type Name: String
13664
+ # @param Comment: 模板描述信息。
13665
+ # @type Comment: String
13666
+ # @param Type: 模板类型,取值:
13667
+ # <li>Preset:系统预置模板;</li>
13668
+ # <li>Custom:用户自定义模板。</li>
13669
+ # @type Type: String
13670
+ # @param CreateTime: 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
13671
+ # @type CreateTime: String
13672
+ # @param UpdateTime: 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
13673
+ # @type UpdateTime: String
13674
+
13675
+ attr_accessor :Definition, :HLSConfigure, :Name, :Comment, :Type, :CreateTime, :UpdateTime
13676
+
13677
+ def initialize(definition=nil, hlsconfigure=nil, name=nil, comment=nil, type=nil, createtime=nil, updatetime=nil)
13678
+ @Definition = definition
13679
+ @HLSConfigure = hlsconfigure
13680
+ @Name = name
13681
+ @Comment = comment
13682
+ @Type = type
13683
+ @CreateTime = createtime
13684
+ @UpdateTime = updatetime
13685
+ end
13686
+
13687
+ def deserialize(params)
13688
+ @Definition = params['Definition']
13689
+ unless params['HLSConfigure'].nil?
13690
+ @HLSConfigure = HLSConfigureInfo.new
13691
+ @HLSConfigure.deserialize(params['HLSConfigure'])
13692
+ end
13693
+ @Name = params['Name']
13694
+ @Comment = params['Comment']
13695
+ @Type = params['Type']
13696
+ @CreateTime = params['CreateTime']
13697
+ @UpdateTime = params['UpdateTime']
13698
+ end
13699
+ end
13700
+
13480
13701
  # 直播编排直播录制任务结果类型
13481
13702
  class LiveScheduleLiveRecordTaskResult < TencentCloud::Common::AbstractModel
13482
13703
  # @param Status: 任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。
@@ -16549,6 +16770,53 @@ module TencentCloud
16549
16770
  end
16550
16771
  end
16551
16772
 
16773
+ # ModifyLiveRecordTemplate请求参数结构体
16774
+ class ModifyLiveRecordTemplateRequest < TencentCloud::Common::AbstractModel
16775
+ # @param Definition: 录制模板唯一标识。
16776
+ # @type Definition: Integer
16777
+ # @param HLSConfigure: HLS 配置参数
16778
+ # @type HLSConfigure: :class:`Tencentcloud::Mps.v20190612.models.HLSConfigureInfo`
16779
+ # @param Name: 录制模板名称,长度限制:64 个字符。
16780
+ # @type Name: String
16781
+ # @param Comment: 模板描述信息,长度限制:256 个字符。
16782
+ # @type Comment: String
16783
+
16784
+ attr_accessor :Definition, :HLSConfigure, :Name, :Comment
16785
+
16786
+ def initialize(definition=nil, hlsconfigure=nil, name=nil, comment=nil)
16787
+ @Definition = definition
16788
+ @HLSConfigure = hlsconfigure
16789
+ @Name = name
16790
+ @Comment = comment
16791
+ end
16792
+
16793
+ def deserialize(params)
16794
+ @Definition = params['Definition']
16795
+ unless params['HLSConfigure'].nil?
16796
+ @HLSConfigure = HLSConfigureInfo.new
16797
+ @HLSConfigure.deserialize(params['HLSConfigure'])
16798
+ end
16799
+ @Name = params['Name']
16800
+ @Comment = params['Comment']
16801
+ end
16802
+ end
16803
+
16804
+ # ModifyLiveRecordTemplate返回参数结构体
16805
+ class ModifyLiveRecordTemplateResponse < TencentCloud::Common::AbstractModel
16806
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16807
+ # @type RequestId: String
16808
+
16809
+ attr_accessor :RequestId
16810
+
16811
+ def initialize(requestid=nil)
16812
+ @RequestId = requestid
16813
+ end
16814
+
16815
+ def deserialize(params)
16816
+ @RequestId = params['RequestId']
16817
+ end
16818
+ end
16819
+
16552
16820
  # 修改Output配置。
16553
16821
  class ModifyOutputInfo < TencentCloud::Common::AbstractModel
16554
16822
  # @param OutputId: 需要修改的Output的Id。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mps
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.966
4
+ version: 3.0.967
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-12-23 00:00:00.000000000 Z
11
+ date: 2024-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common