tencentcloud-sdk-mps 3.0.1172 → 3.0.1174

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c54d09b9ea03825b624996353327743b37056cb6
4
- data.tar.gz: afec8fa3eb3d1d775cd7f68a4673041d2b00999f
3
+ metadata.gz: 7ea9f9c7e403a9665490e46fbab83a1bd9f7a529
4
+ data.tar.gz: fc8e84941146fd3c20e36ac262559d728fad3e70
5
5
  SHA512:
6
- metadata.gz: 1a44cbca769f9dd2b7470688f9a84ff97d37ee4a18c265641f62a59f65f734bea0159fa0b27916dd6240ca6892768690e1ebc65771f688c86206f87c6e9283e7
7
- data.tar.gz: e103d46f4db8eb5811a6718651e3e84563a053ac92466bbb10505d922fd8d626f0ce5658727a6e1e14ec9e18a16c634bf053c0be93e13cdaa075752b9930121e
6
+ metadata.gz: f914f241f68f06cfdef91f259d277a76068710f9960c10a39fdc3d67f17b7c8d60512ade29189030df7e0a413eec8c6d1c47122628020650c29c8abbe062bff4
7
+ data.tar.gz: a5b3bda3c2208588fb77d2395c59a7f6a41d123856489ec90042d1fd17ca7622dbbc257e3333d5eca2e4f47e649e9411f6ffde0e03e50543db9a9f8a01a299dc
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1172
1
+ 3.0.1174
@@ -246,6 +246,30 @@ module TencentCloud
246
246
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
247
247
  end
248
248
 
249
+ # 创建用户自定义数字水印模板,数量上限:1000。
250
+
251
+ # @param request: Request instance for CreateBlindWatermarkTemplate.
252
+ # @type request: :class:`Tencentcloud::mps::V20190612::CreateBlindWatermarkTemplateRequest`
253
+ # @rtype: :class:`Tencentcloud::mps::V20190612::CreateBlindWatermarkTemplateResponse`
254
+ def CreateBlindWatermarkTemplate(request)
255
+ body = send_request('CreateBlindWatermarkTemplate', request.serialize)
256
+ response = JSON.parse(body)
257
+ if response['Response'].key?('Error') == false
258
+ model = CreateBlindWatermarkTemplateResponse.new
259
+ model.deserialize(response['Response'])
260
+ model
261
+ else
262
+ code = response['Response']['Error']['Code']
263
+ message = response['Response']['Error']['Message']
264
+ reqid = response['Response']['RequestId']
265
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
266
+ end
267
+ rescue TencentCloud::Common::TencentCloudSDKException => e
268
+ raise e
269
+ rescue StandardError => e
270
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
271
+ end
272
+
249
273
  # 创建用户自定义内容审核模板,数量上限:50。
250
274
 
251
275
  # @param request: Request instance for CreateContentReviewTemplate.
@@ -369,6 +393,30 @@ module TencentCloud
369
393
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
370
394
  end
371
395
 
396
+ # 创建图片处理模板
397
+
398
+ # @param request: Request instance for CreateProcessImageTemplate.
399
+ # @type request: :class:`Tencentcloud::mps::V20190612::CreateProcessImageTemplateRequest`
400
+ # @rtype: :class:`Tencentcloud::mps::V20190612::CreateProcessImageTemplateResponse`
401
+ def CreateProcessImageTemplate(request)
402
+ body = send_request('CreateProcessImageTemplate', request.serialize)
403
+ response = JSON.parse(body)
404
+ if response['Response'].key?('Error') == false
405
+ model = CreateProcessImageTemplateResponse.new
406
+ model.deserialize(response['Response'])
407
+ model
408
+ else
409
+ code = response['Response']['Error']['Code']
410
+ message = response['Response']['Error']['Message']
411
+ reqid = response['Response']['RequestId']
412
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
413
+ end
414
+ rescue TencentCloud::Common::TencentCloudSDKException => e
415
+ raise e
416
+ rescue StandardError => e
417
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
418
+ end
419
+
372
420
  # 创建媒体质检模板,数量上限:50。
373
421
 
374
422
  # @param request: Request instance for CreateQualityControlTemplate.
@@ -925,6 +973,30 @@ module TencentCloud
925
973
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
926
974
  end
927
975
 
976
+ # 删除用户自定义数字水印模板。
977
+
978
+ # @param request: Request instance for DeleteBlindWatermarkTemplate.
979
+ # @type request: :class:`Tencentcloud::mps::V20190612::DeleteBlindWatermarkTemplateRequest`
980
+ # @rtype: :class:`Tencentcloud::mps::V20190612::DeleteBlindWatermarkTemplateResponse`
981
+ def DeleteBlindWatermarkTemplate(request)
982
+ body = send_request('DeleteBlindWatermarkTemplate', request.serialize)
983
+ response = JSON.parse(body)
984
+ if response['Response'].key?('Error') == false
985
+ model = DeleteBlindWatermarkTemplateResponse.new
986
+ model.deserialize(response['Response'])
987
+ model
988
+ else
989
+ code = response['Response']['Error']['Code']
990
+ message = response['Response']['Error']['Message']
991
+ reqid = response['Response']['RequestId']
992
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
993
+ end
994
+ rescue TencentCloud::Common::TencentCloudSDKException => e
995
+ raise e
996
+ rescue StandardError => e
997
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
998
+ end
999
+
928
1000
  # 删除用户自定义内容审核模板。
929
1001
 
930
1002
  # @param request: Request instance for DeleteContentReviewTemplate.
@@ -1021,6 +1093,30 @@ module TencentCloud
1021
1093
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1022
1094
  end
1023
1095
 
1096
+ # 删除图片处理模板
1097
+
1098
+ # @param request: Request instance for DeleteProcessImageTemplate.
1099
+ # @type request: :class:`Tencentcloud::mps::V20190612::DeleteProcessImageTemplateRequest`
1100
+ # @rtype: :class:`Tencentcloud::mps::V20190612::DeleteProcessImageTemplateResponse`
1101
+ def DeleteProcessImageTemplate(request)
1102
+ body = send_request('DeleteProcessImageTemplate', request.serialize)
1103
+ response = JSON.parse(body)
1104
+ if response['Response'].key?('Error') == false
1105
+ model = DeleteProcessImageTemplateResponse.new
1106
+ model.deserialize(response['Response'])
1107
+ model
1108
+ else
1109
+ code = response['Response']['Error']['Code']
1110
+ message = response['Response']['Error']['Message']
1111
+ reqid = response['Response']['RequestId']
1112
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1113
+ end
1114
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1115
+ raise e
1116
+ rescue StandardError => e
1117
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1118
+ end
1119
+
1024
1120
  # 删除媒体质检模板
1025
1121
 
1026
1122
  # @param request: Request instance for DeleteQualityControlTemplate.
@@ -1525,6 +1621,30 @@ module TencentCloud
1525
1621
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1526
1622
  end
1527
1623
 
1624
+ # 查询用户自定义数字水印模板,支持根据条件,分页查询。
1625
+
1626
+ # @param request: Request instance for DescribeBlindWatermarkTemplates.
1627
+ # @type request: :class:`Tencentcloud::mps::V20190612::DescribeBlindWatermarkTemplatesRequest`
1628
+ # @rtype: :class:`Tencentcloud::mps::V20190612::DescribeBlindWatermarkTemplatesResponse`
1629
+ def DescribeBlindWatermarkTemplates(request)
1630
+ body = send_request('DescribeBlindWatermarkTemplates', request.serialize)
1631
+ response = JSON.parse(body)
1632
+ if response['Response'].key?('Error') == false
1633
+ model = DescribeBlindWatermarkTemplatesResponse.new
1634
+ model.deserialize(response['Response'])
1635
+ model
1636
+ else
1637
+ code = response['Response']['Error']['Code']
1638
+ message = response['Response']['Error']['Message']
1639
+ reqid = response['Response']['RequestId']
1640
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1641
+ end
1642
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1643
+ raise e
1644
+ rescue StandardError => e
1645
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1646
+ end
1647
+
1528
1648
  # 根据智能审核模板唯一标识,获取智能审核模板详情列表。返回结果包含符合条件的所有用户自定义模板及系统预置智能审核模板。
1529
1649
 
1530
1650
  # @param request: Request instance for DescribeContentReviewTemplates.
@@ -1693,6 +1813,30 @@ module TencentCloud
1693
1813
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1694
1814
  end
1695
1815
 
1816
+ # 查询图片处理模板列表。
1817
+
1818
+ # @param request: Request instance for DescribeProcessImageTemplates.
1819
+ # @type request: :class:`Tencentcloud::mps::V20190612::DescribeProcessImageTemplatesRequest`
1820
+ # @rtype: :class:`Tencentcloud::mps::V20190612::DescribeProcessImageTemplatesResponse`
1821
+ def DescribeProcessImageTemplates(request)
1822
+ body = send_request('DescribeProcessImageTemplates', request.serialize)
1823
+ response = JSON.parse(body)
1824
+ if response['Response'].key?('Error') == false
1825
+ model = DescribeProcessImageTemplatesResponse.new
1826
+ model.deserialize(response['Response'])
1827
+ model
1828
+ else
1829
+ code = response['Response']['Error']['Code']
1830
+ message = response['Response']['Error']['Message']
1831
+ reqid = response['Response']['RequestId']
1832
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1833
+ end
1834
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1835
+ raise e
1836
+ rescue StandardError => e
1837
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1838
+ end
1839
+
1696
1840
  # 查询用户自定义媒体质检模板,支持根据条件,分页查询。
1697
1841
 
1698
1842
  # @param request: Request instance for DescribeQualityControlTemplates.
@@ -2223,6 +2367,32 @@ module TencentCloud
2223
2367
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2224
2368
  end
2225
2369
 
2370
+ # 该接口返回查询时间范围内每天使用的媒体处理用量信息。
2371
+ # 1. 可以查询最近365天内的媒体处理统计数据。
2372
+ # 2. 查询时间跨度不超过90天。
2373
+
2374
+ # @param request: Request instance for DescribeUsageData.
2375
+ # @type request: :class:`Tencentcloud::mps::V20190612::DescribeUsageDataRequest`
2376
+ # @rtype: :class:`Tencentcloud::mps::V20190612::DescribeUsageDataResponse`
2377
+ def DescribeUsageData(request)
2378
+ body = send_request('DescribeUsageData', request.serialize)
2379
+ response = JSON.parse(body)
2380
+ if response['Response'].key?('Error') == false
2381
+ model = DescribeUsageDataResponse.new
2382
+ model.deserialize(response['Response'])
2383
+ model
2384
+ else
2385
+ code = response['Response']['Error']['Code']
2386
+ message = response['Response']['Error']['Message']
2387
+ reqid = response['Response']['RequestId']
2388
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2389
+ end
2390
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2391
+ raise e
2392
+ rescue StandardError => e
2393
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2394
+ end
2395
+
2226
2396
  # 根据任务ID查询视频入库任务的状态。
2227
2397
 
2228
2398
  # @param request: Request instance for DescribeVideoDatabaseEntryTaskDetail.
@@ -2523,6 +2693,30 @@ module TencentCloud
2523
2693
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2524
2694
  end
2525
2695
 
2696
+ # 用于发起提取视频数字水印任务,提取结果可以通过DescribeTaskDetail查询。
2697
+
2698
+ # @param request: Request instance for ExtractBlindWatermark.
2699
+ # @type request: :class:`Tencentcloud::mps::V20190612::ExtractBlindWatermarkRequest`
2700
+ # @rtype: :class:`Tencentcloud::mps::V20190612::ExtractBlindWatermarkResponse`
2701
+ def ExtractBlindWatermark(request)
2702
+ body = send_request('ExtractBlindWatermark', request.serialize)
2703
+ response = JSON.parse(body)
2704
+ if response['Response'].key?('Error') == false
2705
+ model = ExtractBlindWatermarkResponse.new
2706
+ model.deserialize(response['Response'])
2707
+ model
2708
+ else
2709
+ code = response['Response']['Error']['Code']
2710
+ message = response['Response']['Error']['Message']
2711
+ reqid = response['Response']['RequestId']
2712
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2713
+ end
2714
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2715
+ raise e
2716
+ rescue StandardError => e
2717
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2718
+ end
2719
+
2526
2720
  # 对已发起的任务进行管理。
2527
2721
 
2528
2722
  # @param request: Request instance for ManageTask.
@@ -2669,6 +2863,30 @@ module TencentCloud
2669
2863
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2670
2864
  end
2671
2865
 
2866
+ # 修改用户自定义数字水印模板,数字水印类型不允许修改。
2867
+
2868
+ # @param request: Request instance for ModifyBlindWatermarkTemplate.
2869
+ # @type request: :class:`Tencentcloud::mps::V20190612::ModifyBlindWatermarkTemplateRequest`
2870
+ # @rtype: :class:`Tencentcloud::mps::V20190612::ModifyBlindWatermarkTemplateResponse`
2871
+ def ModifyBlindWatermarkTemplate(request)
2872
+ body = send_request('ModifyBlindWatermarkTemplate', request.serialize)
2873
+ response = JSON.parse(body)
2874
+ if response['Response'].key?('Error') == false
2875
+ model = ModifyBlindWatermarkTemplateResponse.new
2876
+ model.deserialize(response['Response'])
2877
+ model
2878
+ else
2879
+ code = response['Response']['Error']['Code']
2880
+ message = response['Response']['Error']['Message']
2881
+ reqid = response['Response']['RequestId']
2882
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2883
+ end
2884
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2885
+ raise e
2886
+ rescue StandardError => e
2887
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2888
+ end
2889
+
2672
2890
  # 修改用户自定义内容审核模板。
2673
2891
 
2674
2892
  # @param request: Request instance for ModifyContentReviewTemplate.
@@ -2765,6 +2983,30 @@ module TencentCloud
2765
2983
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2766
2984
  end
2767
2985
 
2986
+ # 修改图片处理模板。
2987
+
2988
+ # @param request: Request instance for ModifyProcessImageTemplate.
2989
+ # @type request: :class:`Tencentcloud::mps::V20190612::ModifyProcessImageTemplateRequest`
2990
+ # @rtype: :class:`Tencentcloud::mps::V20190612::ModifyProcessImageTemplateResponse`
2991
+ def ModifyProcessImageTemplate(request)
2992
+ body = send_request('ModifyProcessImageTemplate', request.serialize)
2993
+ response = JSON.parse(body)
2994
+ if response['Response'].key?('Error') == false
2995
+ model = ModifyProcessImageTemplateResponse.new
2996
+ model.deserialize(response['Response'])
2997
+ model
2998
+ else
2999
+ code = response['Response']['Error']['Code']
3000
+ message = response['Response']['Error']['Message']
3001
+ reqid = response['Response']['RequestId']
3002
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3003
+ end
3004
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3005
+ raise e
3006
+ rescue StandardError => e
3007
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3008
+ end
3009
+
2768
3010
  # 修改媒体质检模板。
2769
3011
 
2770
3012
  # @param request: Request instance for ModifyQualityControlTemplate.
@@ -5798,6 +5798,46 @@ module TencentCloud
5798
5798
  end
5799
5799
  end
5800
5800
 
5801
+ # 数字水印模板详情
5802
+ class BlindWatermarkTemplate < TencentCloud::Common::AbstractModel
5803
+ # @param Definition: 数字水印模板唯一标识。
5804
+ # @type Definition: Integer
5805
+ # @param Type: 数字水印类型,可选值:<li>blind-basic:基础版权数字水印;</li><li>blind-nagra:NAGRA取证水印;</li>
5806
+ # @type Type: String
5807
+ # @param Name: 数字水印模板名称。
5808
+ # @type Name: String
5809
+ # @param TextContent: 数字水印模板文本内容,长度不超过64个字符。
5810
+ # @type TextContent: String
5811
+ # @param Comment: 数字水印模板描述信息。
5812
+ # @type Comment: String
5813
+ # @param CreateTime: 数字水印模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
5814
+ # @type CreateTime: String
5815
+ # @param UpdateTime: 数字水印模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
5816
+ # @type UpdateTime: String
5817
+
5818
+ attr_accessor :Definition, :Type, :Name, :TextContent, :Comment, :CreateTime, :UpdateTime
5819
+
5820
+ def initialize(definition=nil, type=nil, name=nil, textcontent=nil, comment=nil, createtime=nil, updatetime=nil)
5821
+ @Definition = definition
5822
+ @Type = type
5823
+ @Name = name
5824
+ @TextContent = textcontent
5825
+ @Comment = comment
5826
+ @CreateTime = createtime
5827
+ @UpdateTime = updatetime
5828
+ end
5829
+
5830
+ def deserialize(params)
5831
+ @Definition = params['Definition']
5832
+ @Type = params['Type']
5833
+ @Name = params['Name']
5834
+ @TextContent = params['TextContent']
5835
+ @Comment = params['Comment']
5836
+ @CreateTime = params['CreateTime']
5837
+ @UpdateTime = params['UpdateTime']
5838
+ end
5839
+ end
5840
+
5801
5841
  # 智能分类任务控制参数
5802
5842
  class ClassificationConfigureInfo < TencentCloud::Common::AbstractModel
5803
5843
  # @param Switch: 智能分类任务开关,可选值:
@@ -7367,6 +7407,54 @@ module TencentCloud
7367
7407
  end
7368
7408
  end
7369
7409
 
7410
+ # CreateBlindWatermarkTemplate请求参数结构体
7411
+ class CreateBlindWatermarkTemplateRequest < TencentCloud::Common::AbstractModel
7412
+ # @param Type: 数字水印类型,可选值:<li>blind-basic:基础版权数字水印;</li><li>blind-nagra:NAGRA水印;</li>
7413
+ # @type Type: String
7414
+ # @param TextContent: 数字水印文字内容,长度不超过64个字符,NAGRA水印类型的模板创建后不支持修改文字内容。
7415
+ # @type TextContent: String
7416
+ # @param Name: 数字水印模板名称,支持中文、英文、数字、_、-和. 六种格式,长度限制:64 个字符。
7417
+ # @type Name: String
7418
+ # @param Comment: 数字水印模板描述信息,长度限制:256 个字符。
7419
+ # @type Comment: String
7420
+
7421
+ attr_accessor :Type, :TextContent, :Name, :Comment
7422
+
7423
+ def initialize(type=nil, textcontent=nil, name=nil, comment=nil)
7424
+ @Type = type
7425
+ @TextContent = textcontent
7426
+ @Name = name
7427
+ @Comment = comment
7428
+ end
7429
+
7430
+ def deserialize(params)
7431
+ @Type = params['Type']
7432
+ @TextContent = params['TextContent']
7433
+ @Name = params['Name']
7434
+ @Comment = params['Comment']
7435
+ end
7436
+ end
7437
+
7438
+ # CreateBlindWatermarkTemplate返回参数结构体
7439
+ class CreateBlindWatermarkTemplateResponse < TencentCloud::Common::AbstractModel
7440
+ # @param Definition: 数字水印模板唯一标识。
7441
+ # @type Definition: Integer
7442
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7443
+ # @type RequestId: String
7444
+
7445
+ attr_accessor :Definition, :RequestId
7446
+
7447
+ def initialize(definition=nil, requestid=nil)
7448
+ @Definition = definition
7449
+ @RequestId = requestid
7450
+ end
7451
+
7452
+ def deserialize(params)
7453
+ @Definition = params['Definition']
7454
+ @RequestId = params['RequestId']
7455
+ end
7456
+ end
7457
+
7370
7458
  # CreateContentReviewTemplate请求参数结构体
7371
7459
  class CreateContentReviewTemplateRequest < TencentCloud::Common::AbstractModel
7372
7460
  # @param Name: 内容审核模板名称,长度限制:64 个字符。
@@ -8324,6 +8412,53 @@ module TencentCloud
8324
8412
  end
8325
8413
  end
8326
8414
 
8415
+ # CreateProcessImageTemplate请求参数结构体
8416
+ class CreateProcessImageTemplateRequest < TencentCloud::Common::AbstractModel
8417
+ # @param ProcessImageTemplate: 图片处理模板。
8418
+ # @type ProcessImageTemplate: :class:`Tencentcloud::Mps.v20190612.models.ImageTaskInput`
8419
+ # @param Name: 图片处理模板名称,长度限制:64个字符。
8420
+ # @type Name: String
8421
+ # @param Comment: 图片处理模板描述信息,长度限制:256个字符。
8422
+ # @type Comment: String
8423
+
8424
+ attr_accessor :ProcessImageTemplate, :Name, :Comment
8425
+
8426
+ def initialize(processimagetemplate=nil, name=nil, comment=nil)
8427
+ @ProcessImageTemplate = processimagetemplate
8428
+ @Name = name
8429
+ @Comment = comment
8430
+ end
8431
+
8432
+ def deserialize(params)
8433
+ unless params['ProcessImageTemplate'].nil?
8434
+ @ProcessImageTemplate = ImageTaskInput.new
8435
+ @ProcessImageTemplate.deserialize(params['ProcessImageTemplate'])
8436
+ end
8437
+ @Name = params['Name']
8438
+ @Comment = params['Comment']
8439
+ end
8440
+ end
8441
+
8442
+ # CreateProcessImageTemplate返回参数结构体
8443
+ class CreateProcessImageTemplateResponse < TencentCloud::Common::AbstractModel
8444
+ # @param Definition: 图片处理模板唯一标识
8445
+ # @type Definition: Integer
8446
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8447
+ # @type RequestId: String
8448
+
8449
+ attr_accessor :Definition, :RequestId
8450
+
8451
+ def initialize(definition=nil, requestid=nil)
8452
+ @Definition = definition
8453
+ @RequestId = requestid
8454
+ end
8455
+
8456
+ def deserialize(params)
8457
+ @Definition = params['Definition']
8458
+ @RequestId = params['RequestId']
8459
+ end
8460
+ end
8461
+
8327
8462
  # CreateQualityControlTemplate请求参数结构体
8328
8463
  class CreateQualityControlTemplateRequest < TencentCloud::Common::AbstractModel
8329
8464
  # @param Name: 媒体质检模板名称,长度限制:64 个字符。
@@ -9685,6 +9820,38 @@ module TencentCloud
9685
9820
  end
9686
9821
  end
9687
9822
 
9823
+ # DeleteBlindWatermarkTemplate请求参数结构体
9824
+ class DeleteBlindWatermarkTemplateRequest < TencentCloud::Common::AbstractModel
9825
+ # @param Definition: 数字水印模板唯一标识。
9826
+ # @type Definition: Integer
9827
+
9828
+ attr_accessor :Definition
9829
+
9830
+ def initialize(definition=nil)
9831
+ @Definition = definition
9832
+ end
9833
+
9834
+ def deserialize(params)
9835
+ @Definition = params['Definition']
9836
+ end
9837
+ end
9838
+
9839
+ # DeleteBlindWatermarkTemplate返回参数结构体
9840
+ class DeleteBlindWatermarkTemplateResponse < TencentCloud::Common::AbstractModel
9841
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9842
+ # @type RequestId: String
9843
+
9844
+ attr_accessor :RequestId
9845
+
9846
+ def initialize(requestid=nil)
9847
+ @RequestId = requestid
9848
+ end
9849
+
9850
+ def deserialize(params)
9851
+ @RequestId = params['RequestId']
9852
+ end
9853
+ end
9854
+
9688
9855
  # DeleteContentReviewTemplate请求参数结构体
9689
9856
  class DeleteContentReviewTemplateRequest < TencentCloud::Common::AbstractModel
9690
9857
  # @param Definition: 内容审核模板唯一标识。
@@ -9813,6 +9980,38 @@ module TencentCloud
9813
9980
  end
9814
9981
  end
9815
9982
 
9983
+ # DeleteProcessImageTemplate请求参数结构体
9984
+ class DeleteProcessImageTemplateRequest < TencentCloud::Common::AbstractModel
9985
+ # @param Definition: 图片处理模板唯一标识。
9986
+ # @type Definition: Integer
9987
+
9988
+ attr_accessor :Definition
9989
+
9990
+ def initialize(definition=nil)
9991
+ @Definition = definition
9992
+ end
9993
+
9994
+ def deserialize(params)
9995
+ @Definition = params['Definition']
9996
+ end
9997
+ end
9998
+
9999
+ # DeleteProcessImageTemplate返回参数结构体
10000
+ class DeleteProcessImageTemplateResponse < TencentCloud::Common::AbstractModel
10001
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10002
+ # @type RequestId: String
10003
+
10004
+ attr_accessor :RequestId
10005
+
10006
+ def initialize(requestid=nil)
10007
+ @RequestId = requestid
10008
+ end
10009
+
10010
+ def deserialize(params)
10011
+ @RequestId = params['RequestId']
10012
+ end
10013
+ end
10014
+
9816
10015
  # DeleteQualityControlTemplate请求参数结构体
9817
10016
  class DeleteQualityControlTemplateRequest < TencentCloud::Common::AbstractModel
9818
10017
  # @param Definition: 媒体质检模板唯一标识。
@@ -10826,6 +11025,71 @@ module TencentCloud
10826
11025
  end
10827
11026
  end
10828
11027
 
11028
+ # DescribeBlindWatermarkTemplates请求参数结构体
11029
+ class DescribeBlindWatermarkTemplatesRequest < TencentCloud::Common::AbstractModel
11030
+ # @param Definitions: 数字水印模板唯一标识过滤条件,数组长度限制:100。
11031
+ # @type Definitions: Array
11032
+ # @param Name: 数字水印模板标识过滤条件,长度限制:64 个字符。
11033
+ # @type Name: String
11034
+ # @param Type: 数字水印类型,可选值:<li>blind-basic:基础版权数字水印;</li><li>blind-nagra:Nagra取证水印;</li>
11035
+ # @type Type: String
11036
+ # @param Offset: 分页偏移量,默认值:0。
11037
+ # @type Offset: Integer
11038
+ # @param Limit: 返回记录条数
11039
+ # <li>默认值:10;</li>
11040
+ # <li>最大值:100。</li>
11041
+ # @type Limit: Integer
11042
+
11043
+ attr_accessor :Definitions, :Name, :Type, :Offset, :Limit
11044
+
11045
+ def initialize(definitions=nil, name=nil, type=nil, offset=nil, limit=nil)
11046
+ @Definitions = definitions
11047
+ @Name = name
11048
+ @Type = type
11049
+ @Offset = offset
11050
+ @Limit = limit
11051
+ end
11052
+
11053
+ def deserialize(params)
11054
+ @Definitions = params['Definitions']
11055
+ @Name = params['Name']
11056
+ @Type = params['Type']
11057
+ @Offset = params['Offset']
11058
+ @Limit = params['Limit']
11059
+ end
11060
+ end
11061
+
11062
+ # DescribeBlindWatermarkTemplates返回参数结构体
11063
+ class DescribeBlindWatermarkTemplatesResponse < TencentCloud::Common::AbstractModel
11064
+ # @param TotalCount: 符合过滤条件的记录总数。
11065
+ # @type TotalCount: Integer
11066
+ # @param BlindWatermarkTemplateSet: 数字水印模板详情列表。
11067
+ # @type BlindWatermarkTemplateSet: Array
11068
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11069
+ # @type RequestId: String
11070
+
11071
+ attr_accessor :TotalCount, :BlindWatermarkTemplateSet, :RequestId
11072
+
11073
+ def initialize(totalcount=nil, blindwatermarktemplateset=nil, requestid=nil)
11074
+ @TotalCount = totalcount
11075
+ @BlindWatermarkTemplateSet = blindwatermarktemplateset
11076
+ @RequestId = requestid
11077
+ end
11078
+
11079
+ def deserialize(params)
11080
+ @TotalCount = params['TotalCount']
11081
+ unless params['BlindWatermarkTemplateSet'].nil?
11082
+ @BlindWatermarkTemplateSet = []
11083
+ params['BlindWatermarkTemplateSet'].each do |i|
11084
+ blindwatermarktemplate_tmp = BlindWatermarkTemplate.new
11085
+ blindwatermarktemplate_tmp.deserialize(i)
11086
+ @BlindWatermarkTemplateSet << blindwatermarktemplate_tmp
11087
+ end
11088
+ end
11089
+ @RequestId = params['RequestId']
11090
+ end
11091
+ end
11092
+
10829
11093
  # DescribeContentReviewTemplates请求参数结构体
10830
11094
  class DescribeContentReviewTemplatesRequest < TencentCloud::Common::AbstractModel
10831
11095
  # @param Definitions: 智能审核模板唯一标识过滤条件,数组长度限制:50。
@@ -12210,6 +12474,79 @@ module TencentCloud
12210
12474
  end
12211
12475
  end
12212
12476
 
12477
+ # DescribeProcessImageTemplates请求参数结构体
12478
+ class DescribeProcessImageTemplatesRequest < TencentCloud::Common::AbstractModel
12479
+ # @param Definitions: 图片处理模板唯一标识过滤条件,数组长度限制:100。
12480
+ # @type Definitions: Array
12481
+ # @param Offset: 分页偏移量,默认值:0。
12482
+ # @type Offset: Integer
12483
+ # @param Limit: 返回记录条数 默认值:10;最大值:100。
12484
+ # @type Limit: Integer
12485
+ # @param Name: 图片处理模板标识过滤条件。
12486
+ # @type Name: String
12487
+ # @param OrderType: 排序方式,OrderBy设置后才有效,可选值: 0:升序 1:降序 默认 0。
12488
+ # @type OrderType: Integer
12489
+ # @param OrderBy: 排序字段,可选值:
12490
+ # Definition:模板唯一标识;
12491
+ # 默认值:创建时间。
12492
+ # @type OrderBy: String
12493
+ # @param Type: 模板类型过滤条件,可选值: <li>Preset:系统预置模板;</li> <li>Custom:用户自定义模板。</li>
12494
+ # @type Type: String
12495
+
12496
+ attr_accessor :Definitions, :Offset, :Limit, :Name, :OrderType, :OrderBy, :Type
12497
+
12498
+ def initialize(definitions=nil, offset=nil, limit=nil, name=nil, ordertype=nil, orderby=nil, type=nil)
12499
+ @Definitions = definitions
12500
+ @Offset = offset
12501
+ @Limit = limit
12502
+ @Name = name
12503
+ @OrderType = ordertype
12504
+ @OrderBy = orderby
12505
+ @Type = type
12506
+ end
12507
+
12508
+ def deserialize(params)
12509
+ @Definitions = params['Definitions']
12510
+ @Offset = params['Offset']
12511
+ @Limit = params['Limit']
12512
+ @Name = params['Name']
12513
+ @OrderType = params['OrderType']
12514
+ @OrderBy = params['OrderBy']
12515
+ @Type = params['Type']
12516
+ end
12517
+ end
12518
+
12519
+ # DescribeProcessImageTemplates返回参数结构体
12520
+ class DescribeProcessImageTemplatesResponse < TencentCloud::Common::AbstractModel
12521
+ # @param TotalCount: 符合过滤条件的记录总数。
12522
+ # @type TotalCount: Integer
12523
+ # @param ProcessImageTemplateSet: 图片处理模板详情列表。
12524
+ # @type ProcessImageTemplateSet: Array
12525
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12526
+ # @type RequestId: String
12527
+
12528
+ attr_accessor :TotalCount, :ProcessImageTemplateSet, :RequestId
12529
+
12530
+ def initialize(totalcount=nil, processimagetemplateset=nil, requestid=nil)
12531
+ @TotalCount = totalcount
12532
+ @ProcessImageTemplateSet = processimagetemplateset
12533
+ @RequestId = requestid
12534
+ end
12535
+
12536
+ def deserialize(params)
12537
+ @TotalCount = params['TotalCount']
12538
+ unless params['ProcessImageTemplateSet'].nil?
12539
+ @ProcessImageTemplateSet = []
12540
+ params['ProcessImageTemplateSet'].each do |i|
12541
+ processimagetemplate_tmp = ProcessImageTemplate.new
12542
+ processimagetemplate_tmp.deserialize(i)
12543
+ @ProcessImageTemplateSet << processimagetemplate_tmp
12544
+ end
12545
+ end
12546
+ @RequestId = params['RequestId']
12547
+ end
12548
+ end
12549
+
12213
12550
  # DescribeQualityControlTemplates请求参数结构体
12214
12551
  class DescribeQualityControlTemplatesRequest < TencentCloud::Common::AbstractModel
12215
12552
  # @param Definitions: 媒体质检模板唯一标识过滤条件,数组长度限制:100。
@@ -13716,6 +14053,90 @@ module TencentCloud
13716
14053
  end
13717
14054
  end
13718
14055
 
14056
+ # DescribeUsageData请求参数结构体
14057
+ class DescribeUsageDataRequest < TencentCloud::Common::AbstractModel
14058
+ # @param StartTime: 起始日期。使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。
14059
+ # @type StartTime: String
14060
+ # @param EndTime: 结束日期,需大于等于起始日期。使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。
14061
+ # @type EndTime: String
14062
+ # @param Types: 查询媒体处理任务类型,默认查询转码。
14063
+ # <li>Transcode:转码</li>
14064
+ # <li>Enhance:增强</li>
14065
+ # <li>AIAnalysis:智能分析</li>
14066
+ # <li>AIRecognition:智能识别</li>
14067
+ # <li>AIReview:内容审核</li>
14068
+ # <li>Snapshot:截图</li>
14069
+ # <li>AnimatedGraphics:转动图</li>
14070
+ # <li>AiQualityControl:质检</li>
14071
+ # <li>Evaluation:视频评测</li>
14072
+ # <li>ImageProcess: 图片处理</li>
14073
+ # <li>AddBlindWatermark: 添加基础版权数字水印</li>
14074
+ # <li>AddNagraWatermark: 添加NAGRA数字水印</li>
14075
+ # <li>ExtractBlindWatermark: 提取基础版权数字水印</li>
14076
+ # @type Types: Array
14077
+ # @param ProcessRegions: 媒体处理园区,默认返回 ap-guangzhou 园区。
14078
+ # <li>ap-guangzhou:广州</li>
14079
+ # <li>ap-hongkong:中国香港</li>
14080
+ # <li>ap-taipei:中国台北</li>
14081
+ # <li>ap-singapore:新加坡</li>
14082
+ # <li>ap-mumbai:印度</li>
14083
+ # <li>ap-jakarta:雅加达</li>
14084
+ # <li>ap-seoul:首尔</li>
14085
+ # <li>ap-bangkok:泰国</li>
14086
+ # <li>ap-tokyo:日本</li>
14087
+ # <li>na-siliconvalley:美国硅谷</li>
14088
+ # <li>na-ashburn:弗吉尼亚</li>
14089
+ # <li>na-toronto:多伦多</li>
14090
+ # <li>sa-saopaulo:圣保罗</li>
14091
+ # <li>eu-frankfurt:法兰克福</li>
14092
+ # <li>eu-moscow:俄罗斯</li>
14093
+ # <li>aws:AWS</li>
14094
+ # @type ProcessRegions: Array
14095
+
14096
+ attr_accessor :StartTime, :EndTime, :Types, :ProcessRegions
14097
+
14098
+ def initialize(starttime=nil, endtime=nil, types=nil, processregions=nil)
14099
+ @StartTime = starttime
14100
+ @EndTime = endtime
14101
+ @Types = types
14102
+ @ProcessRegions = processregions
14103
+ end
14104
+
14105
+ def deserialize(params)
14106
+ @StartTime = params['StartTime']
14107
+ @EndTime = params['EndTime']
14108
+ @Types = params['Types']
14109
+ @ProcessRegions = params['ProcessRegions']
14110
+ end
14111
+ end
14112
+
14113
+ # DescribeUsageData返回参数结构体
14114
+ class DescribeUsageDataResponse < TencentCloud::Common::AbstractModel
14115
+ # @param Data: 媒体处理统计数据概览,展示所查询任务的概览以及详细数据。
14116
+ # @type Data: Array
14117
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
14118
+ # @type RequestId: String
14119
+
14120
+ attr_accessor :Data, :RequestId
14121
+
14122
+ def initialize(data=nil, requestid=nil)
14123
+ @Data = data
14124
+ @RequestId = requestid
14125
+ end
14126
+
14127
+ def deserialize(params)
14128
+ unless params['Data'].nil?
14129
+ @Data = []
14130
+ params['Data'].each do |i|
14131
+ taskstatdata_tmp = TaskStatData.new
14132
+ taskstatdata_tmp.deserialize(i)
14133
+ @Data << taskstatdata_tmp
14134
+ end
14135
+ end
14136
+ @RequestId = params['RequestId']
14137
+ end
14138
+ end
14139
+
13719
14140
  # DescribeVideoDatabaseEntryTaskDetail请求参数结构体
13720
14141
  class DescribeVideoDatabaseEntryTaskDetailRequest < TencentCloud::Common::AbstractModel
13721
14142
  # @param TaskId: 待查询的任务Id
@@ -14993,6 +15414,67 @@ module TencentCloud
14993
15414
  end
14994
15415
  end
14995
15416
 
15417
+ # ExtractBlindWatermark请求参数结构体
15418
+ class ExtractBlindWatermarkRequest < TencentCloud::Common::AbstractModel
15419
+ # @param Type: 数字水印类型,可选值:<li>blind-basic:基础版权数字水印;</li><li>blind-abseq:ab序列版权数字水印;</li>
15420
+ # @type Type: String
15421
+ # @param InputInfo: 媒体处理的文件输入信息。
15422
+ # @type InputInfo: :class:`Tencentcloud::Mps.v20190612.models.MediaInputInfo`
15423
+ # @param TaskNotifyConfig: 任务的事件通知信息,不填代表不获取事件通知。
15424
+ # @type TaskNotifyConfig: :class:`Tencentcloud::Mps.v20190612.models.TaskNotifyConfig`
15425
+ # @param ExtractBlindWatermarkConfig: 提取数字水印任务配置
15426
+ # @type ExtractBlindWatermarkConfig: :class:`Tencentcloud::Mps.v20190612.models.ExtractBlindWatermarkTaskConfig`
15427
+ # @param ResourceId: 资源ID,需要保证对应资源是开启状态。默认为账号主资源ID。
15428
+ # @type ResourceId: String
15429
+
15430
+ attr_accessor :Type, :InputInfo, :TaskNotifyConfig, :ExtractBlindWatermarkConfig, :ResourceId
15431
+
15432
+ def initialize(type=nil, inputinfo=nil, tasknotifyconfig=nil, extractblindwatermarkconfig=nil, resourceid=nil)
15433
+ @Type = type
15434
+ @InputInfo = inputinfo
15435
+ @TaskNotifyConfig = tasknotifyconfig
15436
+ @ExtractBlindWatermarkConfig = extractblindwatermarkconfig
15437
+ @ResourceId = resourceid
15438
+ end
15439
+
15440
+ def deserialize(params)
15441
+ @Type = params['Type']
15442
+ unless params['InputInfo'].nil?
15443
+ @InputInfo = MediaInputInfo.new
15444
+ @InputInfo.deserialize(params['InputInfo'])
15445
+ end
15446
+ unless params['TaskNotifyConfig'].nil?
15447
+ @TaskNotifyConfig = TaskNotifyConfig.new
15448
+ @TaskNotifyConfig.deserialize(params['TaskNotifyConfig'])
15449
+ end
15450
+ unless params['ExtractBlindWatermarkConfig'].nil?
15451
+ @ExtractBlindWatermarkConfig = ExtractBlindWatermarkTaskConfig.new
15452
+ @ExtractBlindWatermarkConfig.deserialize(params['ExtractBlindWatermarkConfig'])
15453
+ end
15454
+ @ResourceId = params['ResourceId']
15455
+ end
15456
+ end
15457
+
15458
+ # ExtractBlindWatermark返回参数结构体
15459
+ class ExtractBlindWatermarkResponse < TencentCloud::Common::AbstractModel
15460
+ # @param TaskId: 任务 ID。
15461
+ # @type TaskId: String
15462
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
15463
+ # @type RequestId: String
15464
+
15465
+ attr_accessor :TaskId, :RequestId
15466
+
15467
+ def initialize(taskid=nil, requestid=nil)
15468
+ @TaskId = taskid
15469
+ @RequestId = requestid
15470
+ end
15471
+
15472
+ def deserialize(params)
15473
+ @TaskId = params['TaskId']
15474
+ @RequestId = params['RequestId']
15475
+ end
15476
+ end
15477
+
14996
15478
  # 提取视频数字水印任务信息
14997
15479
  class ExtractBlindWatermarkTask < TencentCloud::Common::AbstractModel
14998
15480
  # @param TaskId: 媒体处理任务 ID。
@@ -19843,6 +20325,50 @@ module TencentCloud
19843
20325
  end
19844
20326
  end
19845
20327
 
20328
+ # ModifyBlindWatermarkTemplate请求参数结构体
20329
+ class ModifyBlindWatermarkTemplateRequest < TencentCloud::Common::AbstractModel
20330
+ # @param Definition: 数字水印模板唯一标识。
20331
+ # @type Definition: Integer
20332
+ # @param Name: 数字水印模板名称,支持 中文、英文、数字、_、-和. 六种格式,长度限制:64 个字符。
20333
+ # @type Name: String
20334
+ # @param Comment: 数字水印模板描述信息,长度限制:256 个字符。
20335
+ # @type Comment: String
20336
+ # @param TextContent: 数字水印文字内容,长度不超过64个字符,NAGRA水印类型的模板不支持修改文字内容。
20337
+ # @type TextContent: String
20338
+
20339
+ attr_accessor :Definition, :Name, :Comment, :TextContent
20340
+
20341
+ def initialize(definition=nil, name=nil, comment=nil, textcontent=nil)
20342
+ @Definition = definition
20343
+ @Name = name
20344
+ @Comment = comment
20345
+ @TextContent = textcontent
20346
+ end
20347
+
20348
+ def deserialize(params)
20349
+ @Definition = params['Definition']
20350
+ @Name = params['Name']
20351
+ @Comment = params['Comment']
20352
+ @TextContent = params['TextContent']
20353
+ end
20354
+ end
20355
+
20356
+ # ModifyBlindWatermarkTemplate返回参数结构体
20357
+ class ModifyBlindWatermarkTemplateResponse < TencentCloud::Common::AbstractModel
20358
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
20359
+ # @type RequestId: String
20360
+
20361
+ attr_accessor :RequestId
20362
+
20363
+ def initialize(requestid=nil)
20364
+ @RequestId = requestid
20365
+ end
20366
+
20367
+ def deserialize(params)
20368
+ @RequestId = params['RequestId']
20369
+ end
20370
+ end
20371
+
19846
20372
  # ModifyContentReviewTemplate请求参数结构体
19847
20373
  class ModifyContentReviewTemplateRequest < TencentCloud::Common::AbstractModel
19848
20374
  # @param Definition: 内容审核模板唯一标识。
@@ -20356,6 +20882,53 @@ module TencentCloud
20356
20882
  end
20357
20883
  end
20358
20884
 
20885
+ # ModifyProcessImageTemplate请求参数结构体
20886
+ class ModifyProcessImageTemplateRequest < TencentCloud::Common::AbstractModel
20887
+ # @param Definition: 图片处理模板唯一标识。
20888
+ # @type Definition: Integer
20889
+ # @param Name: 图片处理模板名称,长度限制:64个字符。
20890
+ # @type Name: String
20891
+ # @param Comment: 模板描述信息,长度限制256个字符。
20892
+ # @type Comment: String
20893
+ # @param ProcessImageTemplate: 图片处理模板参数。
20894
+ # @type ProcessImageTemplate: :class:`Tencentcloud::Mps.v20190612.models.ImageTaskInput`
20895
+
20896
+ attr_accessor :Definition, :Name, :Comment, :ProcessImageTemplate
20897
+
20898
+ def initialize(definition=nil, name=nil, comment=nil, processimagetemplate=nil)
20899
+ @Definition = definition
20900
+ @Name = name
20901
+ @Comment = comment
20902
+ @ProcessImageTemplate = processimagetemplate
20903
+ end
20904
+
20905
+ def deserialize(params)
20906
+ @Definition = params['Definition']
20907
+ @Name = params['Name']
20908
+ @Comment = params['Comment']
20909
+ unless params['ProcessImageTemplate'].nil?
20910
+ @ProcessImageTemplate = ImageTaskInput.new
20911
+ @ProcessImageTemplate.deserialize(params['ProcessImageTemplate'])
20912
+ end
20913
+ end
20914
+ end
20915
+
20916
+ # ModifyProcessImageTemplate返回参数结构体
20917
+ class ModifyProcessImageTemplateResponse < TencentCloud::Common::AbstractModel
20918
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
20919
+ # @type RequestId: String
20920
+
20921
+ attr_accessor :RequestId
20922
+
20923
+ def initialize(requestid=nil)
20924
+ @RequestId = requestid
20925
+ end
20926
+
20927
+ def deserialize(params)
20928
+ @RequestId = params['RequestId']
20929
+ end
20930
+ end
20931
+
20359
20932
  # ModifyQualityControlTemplate请求参数结构体
20360
20933
  class ModifyQualityControlTemplateRequest < TencentCloud::Common::AbstractModel
20361
20934
  # @param Definition: 媒体质检模板唯一标识。
@@ -22457,6 +23030,49 @@ module TencentCloud
22457
23030
  end
22458
23031
  end
22459
23032
 
23033
+ # 图片处理模板
23034
+ class ProcessImageTemplate < TencentCloud::Common::AbstractModel
23035
+ # @param Definition: 图片处理模板唯一标识。
23036
+ # @type Definition: Integer
23037
+ # @param Name: 图片处理模板名称。
23038
+ # @type Name: String
23039
+ # @param Comment: 图片处理模板描述信息。
23040
+ # @type Comment: String
23041
+ # @param Type: 模板类型。
23042
+ # @type Type: String
23043
+ # @param ProcessImageConfig: 图片处理模板配置参数。
23044
+ # @type ProcessImageConfig: :class:`Tencentcloud::Mps.v20190612.models.ImageTaskInput`
23045
+ # @param CreateTime: 模板创建时间。
23046
+ # @type CreateTime: String
23047
+ # @param UpdateTime: 模板最后修改时间。
23048
+ # @type UpdateTime: String
23049
+
23050
+ attr_accessor :Definition, :Name, :Comment, :Type, :ProcessImageConfig, :CreateTime, :UpdateTime
23051
+
23052
+ def initialize(definition=nil, name=nil, comment=nil, type=nil, processimageconfig=nil, createtime=nil, updatetime=nil)
23053
+ @Definition = definition
23054
+ @Name = name
23055
+ @Comment = comment
23056
+ @Type = type
23057
+ @ProcessImageConfig = processimageconfig
23058
+ @CreateTime = createtime
23059
+ @UpdateTime = updatetime
23060
+ end
23061
+
23062
+ def deserialize(params)
23063
+ @Definition = params['Definition']
23064
+ @Name = params['Name']
23065
+ @Comment = params['Comment']
23066
+ @Type = params['Type']
23067
+ unless params['ProcessImageConfig'].nil?
23068
+ @ProcessImageConfig = ImageTaskInput.new
23069
+ @ProcessImageConfig.deserialize(params['ProcessImageConfig'])
23070
+ end
23071
+ @CreateTime = params['CreateTime']
23072
+ @UpdateTime = params['UpdateTime']
23073
+ end
23074
+ end
23075
+
22460
23076
  # ProcessLiveStream请求参数结构体
22461
23077
  class ProcessLiveStreamRequest < TencentCloud::Common::AbstractModel
22462
23078
  # @param Url: 直播流 URL(必须是直播文件地址,支持 rtmp,hls 和 flv, trtc 等)。
@@ -26062,6 +26678,33 @@ module TencentCloud
26062
26678
  end
26063
26679
  end
26064
26680
 
26681
+ # 指定规格任务统计数据。
26682
+ class SpecificationDataItem < TencentCloud::Common::AbstractModel
26683
+ # @param Specification: 任务规格。
26684
+ # @type Specification: String
26685
+ # @param Data: 统计数据。
26686
+ # @type Data: Array
26687
+
26688
+ attr_accessor :Specification, :Data
26689
+
26690
+ def initialize(specification=nil, data=nil)
26691
+ @Specification = specification
26692
+ @Data = data
26693
+ end
26694
+
26695
+ def deserialize(params)
26696
+ @Specification = params['Specification']
26697
+ unless params['Data'].nil?
26698
+ @Data = []
26699
+ params['Data'].each do |i|
26700
+ taskstatdataitem_tmp = TaskStatDataItem.new
26701
+ taskstatdataitem_tmp.deserialize(i)
26702
+ @Data << taskstatdataitem_tmp
26703
+ end
26704
+ end
26705
+ end
26706
+ end
26707
+
26065
26708
  # FairPlay,WideVine,PlayReady 等Drm加密方式。
26066
26709
  class SpekeDrm < TencentCloud::Common::AbstractModel
26067
26710
  # @param ResourceId: 资源标记,该字段内容为用户自定义;
@@ -26797,6 +27440,155 @@ module TencentCloud
26797
27440
  end
26798
27441
  end
26799
27442
 
27443
+ # 任务统计数据。
27444
+ class TaskStatData < TencentCloud::Common::AbstractModel
27445
+ # @param TaskType: 任务类型。
27446
+ # <li>Transcode: 转码</li>
27447
+ # <li>Enhance: 增强</li>
27448
+ # <li>AIAnalysis: 智能分析</li>
27449
+ # <li>AIRecognition: 智能识别</li>
27450
+ # <li>AIReview: 内容审核</li>
27451
+ # <li>Snapshot: 截图</li>
27452
+ # <li>AnimatedGraphics: 转动图</li>
27453
+ # <li>ImageProcess: 图片处理</li>
27454
+ # @type TaskType: String
27455
+ # @param Summary: 任务数统计数据概览。
27456
+ # <li>Transcode:用量单位为秒</li>
27457
+ # <li>Enhance:用量单位为秒</li>
27458
+ # <li>AIAnalysis:用量单位为秒</li>
27459
+ # <li>AIRecognition:用量单位为秒</li>
27460
+ # <li>AIReview:用量单位为秒</li>
27461
+ # <li>Snapshot:用量单位为张</li>
27462
+ # <li>AnimatedGraphics: 用量单位为秒</li>
27463
+ # <li>ImageProcess: 用量单位为张</li>
27464
+ # @type Summary: Array
27465
+ # @param Details: 不同规格任务统计数据详情。
27466
+
27467
+ # 1、转码规格:
27468
+ # <li>Audio:纯音频</li>
27469
+ # <li>Remuxing:转封装</li>
27470
+ # <li>其他转码规格:{TYPE}.{CODEC}.{SPECIFICATION}</li>  其中 TYPE 取值
27471
+ #     Standard:普通转码
27472
+ #     TESHD-10:视频极速高清
27473
+ #     TESHD-20:音频极速高清
27474
+ #     TESHD-30:音视频极速高清
27475
+ #     TESHD-30-SDK:音视频极速高清SDK按时长计费
27476
+ #     TESHD-30-SDKCores:音视频极速高清SDK按核心数计费
27477
+ #     Edit:视频编辑
27478
+ #   其中 CODEC 取值
27479
+ #     H264:H.264 编码
27480
+ #     H265:H.265 编码
27481
+ #     AV1:AV1 编码
27482
+ #     MV-HEVC:MV-HEVC 编码
27483
+ #   其中 SPECIFICATION 取值
27484
+ #     SD:标清
27485
+ #     HD:高清
27486
+ #     FHD:全高清
27487
+ #     2K:2K
27488
+ #     4K:4K
27489
+ # 例如 TESHD-10.H265.HD 表示 H.265 编码方式高清极速高清转码
27490
+
27491
+ # 2、增强规格:视频增强格式:{TYPE}.{CODEC}.{SPECIFICATION}.{FPS},其中 CODEC 和 SPECIFICATION 同转码,FPS在原子类型时才存在;音频增强格式:{TYPE}。
27492
+ # 增强TYPE 取值:
27493
+ # <li>Enhance:通用增强类型,可能是任意一种原子增强类型</li>
27494
+ # <li>原子增强类型</li>  视频原子增强类型取值:
27495
+ #     Sdr2hdr:SDR2HDR
27496
+ #     SuperResolution:超分
27497
+ #     InsertFrame:插帧
27498
+ #     ComprehensiveEnhancement:综合增强
27499
+ #     NoiseReduction:视频降噪
27500
+ #     ColorEnhancement:色彩增强
27501
+ #     RemoveScratches:去划痕
27502
+ #     Deburr:去毛刺
27503
+ #     DetailEnhancement:细节增强
27504
+ #     LightEnhancement:低光照增强
27505
+ #     FaceEnhancement:人脸增强
27506
+ #   音频原子增强类型取值:
27507
+ #     AudioNoiseReduction
27508
+ #     VolumeBalance
27509
+ #     AudioBeautify
27510
+ #     AudioSeparation
27511
+
27512
+ # 3、截图规格:
27513
+ # <li>ImageSprite:雪碧图</li>
27514
+ # <li>SampleSnapshot:采样截图</li>
27515
+ # <li>SnapshotByTime:时间点截图</li>
27516
+ # 4、图片处理规格:{TYPE}.{CODEC}.{SPECIFICATION}
27517
+ # <li> ImageCompression:图片编码</li>
27518
+ # <li> ImageSuperResolution:图片超分</li>
27519
+ # <li> EnhanceImageColor:图片色彩增强</li>
27520
+ # 5、智能分析规格:
27521
+ # <li>AIAnalysis:分析大类,对于未拆分的</li>
27522
+ # <li>VideoTag:视频标签</li>
27523
+ # <li>VideoClassification:视频分类</li>
27524
+ # <li>SmartCover:智能封面</li>
27525
+ # <li>FrameLabel:帧标签</li>
27526
+ # <li>VideoSplit:视频拆条</li>
27527
+ # <li>Highlights:精彩集锦</li>
27528
+ # <li>OpeningAndEnding:片头片尾</li>
27529
+ # 6、智能识别规格:
27530
+ # <li>AIRecognition:识别大类,对于未拆分的</li>
27531
+ # <li>FaceRecognition:人脸识别</li>
27532
+ # <li>TextRecognition:文字识别</li>
27533
+ # <li>ObjectRecognition:物体识别</li>
27534
+ # <li>VoiceRecognition:语音识别</li>
27535
+ # <li>VoiceTranslation:语音翻译</li>
27536
+ # 7、内容审核、转动图无细分规格。
27537
+ # @type Details: Array
27538
+
27539
+ attr_accessor :TaskType, :Summary, :Details
27540
+
27541
+ def initialize(tasktype=nil, summary=nil, details=nil)
27542
+ @TaskType = tasktype
27543
+ @Summary = summary
27544
+ @Details = details
27545
+ end
27546
+
27547
+ def deserialize(params)
27548
+ @TaskType = params['TaskType']
27549
+ unless params['Summary'].nil?
27550
+ @Summary = []
27551
+ params['Summary'].each do |i|
27552
+ taskstatdataitem_tmp = TaskStatDataItem.new
27553
+ taskstatdataitem_tmp.deserialize(i)
27554
+ @Summary << taskstatdataitem_tmp
27555
+ end
27556
+ end
27557
+ unless params['Details'].nil?
27558
+ @Details = []
27559
+ params['Details'].each do |i|
27560
+ specificationdataitem_tmp = SpecificationDataItem.new
27561
+ specificationdataitem_tmp.deserialize(i)
27562
+ @Details << specificationdataitem_tmp
27563
+ end
27564
+ end
27565
+ end
27566
+ end
27567
+
27568
+ # 任务统计数据,包括任务数和用量。
27569
+ class TaskStatDataItem < TencentCloud::Common::AbstractModel
27570
+ # @param Time: 数据所在时间区间的开始时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F)。如:当时间粒度为天,2018-12-01T00:00:00+08:00,表示2018年12月1日(含)到2018年12月2日(不含)区间。
27571
+ # @type Time: String
27572
+ # @param Count: 任务数。
27573
+ # @type Count: Integer
27574
+ # @param Usage: 任务用量。
27575
+ # @type Usage: Integer
27576
+
27577
+ attr_accessor :Time, :Count, :Usage
27578
+
27579
+ def initialize(time=nil, count=nil, usage=nil)
27580
+ @Time = time
27581
+ @Count = count
27582
+ @Usage = usage
27583
+ end
27584
+
27585
+ def deserialize(params)
27586
+ @Time = params['Time']
27587
+ @Count = params['Count']
27588
+ @Usage = params['Usage']
27589
+ end
27590
+ end
27591
+
26800
27592
  # 涉敏任务控制参数
26801
27593
  class TerrorismConfigureInfo < TencentCloud::Common::AbstractModel
26802
27594
  # @param ImgReviewInfo: 画面涉敏任务控制参数。
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.1172
4
+ version: 3.0.1174
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-11-23 00:00:00.000000000 Z
11
+ date: 2025-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -34,8 +34,8 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - lib/tencentcloud-sdk-mps.rb
37
- - lib/v20190612/client.rb
38
37
  - lib/v20190612/models.rb
38
+ - lib/v20190612/client.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: