tencentcloud-sdk-mps 3.0.1172 → 3.0.1173

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: cc89518c28dfef897bd768f6fef1e01c3fbd4a48
4
+ data.tar.gz: 118c89c7860f0c434301a828f47d8b6a90aed49c
5
5
  SHA512:
6
- metadata.gz: 1a44cbca769f9dd2b7470688f9a84ff97d37ee4a18c265641f62a59f65f734bea0159fa0b27916dd6240ca6892768690e1ebc65771f688c86206f87c6e9283e7
7
- data.tar.gz: e103d46f4db8eb5811a6718651e3e84563a053ac92466bbb10505d922fd8d626f0ce5658727a6e1e14ec9e18a16c634bf053c0be93e13cdaa075752b9930121e
6
+ metadata.gz: 5eb7182215fb940d0bba40597aec59ff1c018d4cc8d84b38307a5ccaa9974a2a7ab67c06d203292dbe2158643acb2eabcb956aaf7dbf196e9830c194b72c80dd
7
+ data.tar.gz: 57bbb28262b9fea4c0c4080d6603979f4ece4537892a87a4f87a3356074a174a9175cd7bd5babacea7144ea631ec55ace547e617565ce4d637c3d8ece75384f5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1172
1
+ 3.0.1173
@@ -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.
@@ -2523,6 +2667,30 @@ module TencentCloud
2523
2667
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2524
2668
  end
2525
2669
 
2670
+ # 用于发起提取视频数字水印任务,提取结果可以通过DescribeTaskDetail查询。
2671
+
2672
+ # @param request: Request instance for ExtractBlindWatermark.
2673
+ # @type request: :class:`Tencentcloud::mps::V20190612::ExtractBlindWatermarkRequest`
2674
+ # @rtype: :class:`Tencentcloud::mps::V20190612::ExtractBlindWatermarkResponse`
2675
+ def ExtractBlindWatermark(request)
2676
+ body = send_request('ExtractBlindWatermark', request.serialize)
2677
+ response = JSON.parse(body)
2678
+ if response['Response'].key?('Error') == false
2679
+ model = ExtractBlindWatermarkResponse.new
2680
+ model.deserialize(response['Response'])
2681
+ model
2682
+ else
2683
+ code = response['Response']['Error']['Code']
2684
+ message = response['Response']['Error']['Message']
2685
+ reqid = response['Response']['RequestId']
2686
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2687
+ end
2688
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2689
+ raise e
2690
+ rescue StandardError => e
2691
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2692
+ end
2693
+
2526
2694
  # 对已发起的任务进行管理。
2527
2695
 
2528
2696
  # @param request: Request instance for ManageTask.
@@ -2669,6 +2837,30 @@ module TencentCloud
2669
2837
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2670
2838
  end
2671
2839
 
2840
+ # 修改用户自定义数字水印模板,数字水印类型不允许修改。
2841
+
2842
+ # @param request: Request instance for ModifyBlindWatermarkTemplate.
2843
+ # @type request: :class:`Tencentcloud::mps::V20190612::ModifyBlindWatermarkTemplateRequest`
2844
+ # @rtype: :class:`Tencentcloud::mps::V20190612::ModifyBlindWatermarkTemplateResponse`
2845
+ def ModifyBlindWatermarkTemplate(request)
2846
+ body = send_request('ModifyBlindWatermarkTemplate', request.serialize)
2847
+ response = JSON.parse(body)
2848
+ if response['Response'].key?('Error') == false
2849
+ model = ModifyBlindWatermarkTemplateResponse.new
2850
+ model.deserialize(response['Response'])
2851
+ model
2852
+ else
2853
+ code = response['Response']['Error']['Code']
2854
+ message = response['Response']['Error']['Message']
2855
+ reqid = response['Response']['RequestId']
2856
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2857
+ end
2858
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2859
+ raise e
2860
+ rescue StandardError => e
2861
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2862
+ end
2863
+
2672
2864
  # 修改用户自定义内容审核模板。
2673
2865
 
2674
2866
  # @param request: Request instance for ModifyContentReviewTemplate.
@@ -2765,6 +2957,30 @@ module TencentCloud
2765
2957
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2766
2958
  end
2767
2959
 
2960
+ # 修改图片处理模板。
2961
+
2962
+ # @param request: Request instance for ModifyProcessImageTemplate.
2963
+ # @type request: :class:`Tencentcloud::mps::V20190612::ModifyProcessImageTemplateRequest`
2964
+ # @rtype: :class:`Tencentcloud::mps::V20190612::ModifyProcessImageTemplateResponse`
2965
+ def ModifyProcessImageTemplate(request)
2966
+ body = send_request('ModifyProcessImageTemplate', request.serialize)
2967
+ response = JSON.parse(body)
2968
+ if response['Response'].key?('Error') == false
2969
+ model = ModifyProcessImageTemplateResponse.new
2970
+ model.deserialize(response['Response'])
2971
+ model
2972
+ else
2973
+ code = response['Response']['Error']['Code']
2974
+ message = response['Response']['Error']['Message']
2975
+ reqid = response['Response']['RequestId']
2976
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2977
+ end
2978
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2979
+ raise e
2980
+ rescue StandardError => e
2981
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2982
+ end
2983
+
2768
2984
  # 修改媒体质检模板。
2769
2985
 
2770
2986
  # @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。
@@ -14993,6 +15330,67 @@ module TencentCloud
14993
15330
  end
14994
15331
  end
14995
15332
 
15333
+ # ExtractBlindWatermark请求参数结构体
15334
+ class ExtractBlindWatermarkRequest < TencentCloud::Common::AbstractModel
15335
+ # @param Type: 数字水印类型,可选值:<li>blind-basic:基础版权数字水印;</li><li>blind-abseq:ab序列版权数字水印;</li>
15336
+ # @type Type: String
15337
+ # @param InputInfo: 媒体处理的文件输入信息。
15338
+ # @type InputInfo: :class:`Tencentcloud::Mps.v20190612.models.MediaInputInfo`
15339
+ # @param TaskNotifyConfig: 任务的事件通知信息,不填代表不获取事件通知。
15340
+ # @type TaskNotifyConfig: :class:`Tencentcloud::Mps.v20190612.models.TaskNotifyConfig`
15341
+ # @param ExtractBlindWatermarkConfig: 提取数字水印任务配置
15342
+ # @type ExtractBlindWatermarkConfig: :class:`Tencentcloud::Mps.v20190612.models.ExtractBlindWatermarkTaskConfig`
15343
+ # @param ResourceId: 资源ID,需要保证对应资源是开启状态。默认为账号主资源ID。
15344
+ # @type ResourceId: String
15345
+
15346
+ attr_accessor :Type, :InputInfo, :TaskNotifyConfig, :ExtractBlindWatermarkConfig, :ResourceId
15347
+
15348
+ def initialize(type=nil, inputinfo=nil, tasknotifyconfig=nil, extractblindwatermarkconfig=nil, resourceid=nil)
15349
+ @Type = type
15350
+ @InputInfo = inputinfo
15351
+ @TaskNotifyConfig = tasknotifyconfig
15352
+ @ExtractBlindWatermarkConfig = extractblindwatermarkconfig
15353
+ @ResourceId = resourceid
15354
+ end
15355
+
15356
+ def deserialize(params)
15357
+ @Type = params['Type']
15358
+ unless params['InputInfo'].nil?
15359
+ @InputInfo = MediaInputInfo.new
15360
+ @InputInfo.deserialize(params['InputInfo'])
15361
+ end
15362
+ unless params['TaskNotifyConfig'].nil?
15363
+ @TaskNotifyConfig = TaskNotifyConfig.new
15364
+ @TaskNotifyConfig.deserialize(params['TaskNotifyConfig'])
15365
+ end
15366
+ unless params['ExtractBlindWatermarkConfig'].nil?
15367
+ @ExtractBlindWatermarkConfig = ExtractBlindWatermarkTaskConfig.new
15368
+ @ExtractBlindWatermarkConfig.deserialize(params['ExtractBlindWatermarkConfig'])
15369
+ end
15370
+ @ResourceId = params['ResourceId']
15371
+ end
15372
+ end
15373
+
15374
+ # ExtractBlindWatermark返回参数结构体
15375
+ class ExtractBlindWatermarkResponse < TencentCloud::Common::AbstractModel
15376
+ # @param TaskId: 任务 ID。
15377
+ # @type TaskId: String
15378
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
15379
+ # @type RequestId: String
15380
+
15381
+ attr_accessor :TaskId, :RequestId
15382
+
15383
+ def initialize(taskid=nil, requestid=nil)
15384
+ @TaskId = taskid
15385
+ @RequestId = requestid
15386
+ end
15387
+
15388
+ def deserialize(params)
15389
+ @TaskId = params['TaskId']
15390
+ @RequestId = params['RequestId']
15391
+ end
15392
+ end
15393
+
14996
15394
  # 提取视频数字水印任务信息
14997
15395
  class ExtractBlindWatermarkTask < TencentCloud::Common::AbstractModel
14998
15396
  # @param TaskId: 媒体处理任务 ID。
@@ -19843,6 +20241,50 @@ module TencentCloud
19843
20241
  end
19844
20242
  end
19845
20243
 
20244
+ # ModifyBlindWatermarkTemplate请求参数结构体
20245
+ class ModifyBlindWatermarkTemplateRequest < TencentCloud::Common::AbstractModel
20246
+ # @param Definition: 数字水印模板唯一标识。
20247
+ # @type Definition: Integer
20248
+ # @param Name: 数字水印模板名称,支持 中文、英文、数字、_、-和. 六种格式,长度限制:64 个字符。
20249
+ # @type Name: String
20250
+ # @param Comment: 数字水印模板描述信息,长度限制:256 个字符。
20251
+ # @type Comment: String
20252
+ # @param TextContent: 数字水印文字内容,长度不超过64个字符,NAGRA水印类型的模板不支持修改文字内容。
20253
+ # @type TextContent: String
20254
+
20255
+ attr_accessor :Definition, :Name, :Comment, :TextContent
20256
+
20257
+ def initialize(definition=nil, name=nil, comment=nil, textcontent=nil)
20258
+ @Definition = definition
20259
+ @Name = name
20260
+ @Comment = comment
20261
+ @TextContent = textcontent
20262
+ end
20263
+
20264
+ def deserialize(params)
20265
+ @Definition = params['Definition']
20266
+ @Name = params['Name']
20267
+ @Comment = params['Comment']
20268
+ @TextContent = params['TextContent']
20269
+ end
20270
+ end
20271
+
20272
+ # ModifyBlindWatermarkTemplate返回参数结构体
20273
+ class ModifyBlindWatermarkTemplateResponse < TencentCloud::Common::AbstractModel
20274
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
20275
+ # @type RequestId: String
20276
+
20277
+ attr_accessor :RequestId
20278
+
20279
+ def initialize(requestid=nil)
20280
+ @RequestId = requestid
20281
+ end
20282
+
20283
+ def deserialize(params)
20284
+ @RequestId = params['RequestId']
20285
+ end
20286
+ end
20287
+
19846
20288
  # ModifyContentReviewTemplate请求参数结构体
19847
20289
  class ModifyContentReviewTemplateRequest < TencentCloud::Common::AbstractModel
19848
20290
  # @param Definition: 内容审核模板唯一标识。
@@ -20356,6 +20798,53 @@ module TencentCloud
20356
20798
  end
20357
20799
  end
20358
20800
 
20801
+ # ModifyProcessImageTemplate请求参数结构体
20802
+ class ModifyProcessImageTemplateRequest < TencentCloud::Common::AbstractModel
20803
+ # @param Definition: 图片处理模板唯一标识。
20804
+ # @type Definition: Integer
20805
+ # @param Name: 图片处理模板名称,长度限制:64个字符。
20806
+ # @type Name: String
20807
+ # @param Comment: 模板描述信息,长度限制256个字符。
20808
+ # @type Comment: String
20809
+ # @param ProcessImageTemplate: 图片处理模板参数。
20810
+ # @type ProcessImageTemplate: :class:`Tencentcloud::Mps.v20190612.models.ImageTaskInput`
20811
+
20812
+ attr_accessor :Definition, :Name, :Comment, :ProcessImageTemplate
20813
+
20814
+ def initialize(definition=nil, name=nil, comment=nil, processimagetemplate=nil)
20815
+ @Definition = definition
20816
+ @Name = name
20817
+ @Comment = comment
20818
+ @ProcessImageTemplate = processimagetemplate
20819
+ end
20820
+
20821
+ def deserialize(params)
20822
+ @Definition = params['Definition']
20823
+ @Name = params['Name']
20824
+ @Comment = params['Comment']
20825
+ unless params['ProcessImageTemplate'].nil?
20826
+ @ProcessImageTemplate = ImageTaskInput.new
20827
+ @ProcessImageTemplate.deserialize(params['ProcessImageTemplate'])
20828
+ end
20829
+ end
20830
+ end
20831
+
20832
+ # ModifyProcessImageTemplate返回参数结构体
20833
+ class ModifyProcessImageTemplateResponse < TencentCloud::Common::AbstractModel
20834
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
20835
+ # @type RequestId: String
20836
+
20837
+ attr_accessor :RequestId
20838
+
20839
+ def initialize(requestid=nil)
20840
+ @RequestId = requestid
20841
+ end
20842
+
20843
+ def deserialize(params)
20844
+ @RequestId = params['RequestId']
20845
+ end
20846
+ end
20847
+
20359
20848
  # ModifyQualityControlTemplate请求参数结构体
20360
20849
  class ModifyQualityControlTemplateRequest < TencentCloud::Common::AbstractModel
20361
20850
  # @param Definition: 媒体质检模板唯一标识。
@@ -22457,6 +22946,49 @@ module TencentCloud
22457
22946
  end
22458
22947
  end
22459
22948
 
22949
+ # 图片处理模板
22950
+ class ProcessImageTemplate < TencentCloud::Common::AbstractModel
22951
+ # @param Definition: 图片处理模板唯一标识。
22952
+ # @type Definition: Integer
22953
+ # @param Name: 图片处理模板名称。
22954
+ # @type Name: String
22955
+ # @param Comment: 图片处理模板描述信息。
22956
+ # @type Comment: String
22957
+ # @param Type: 模板类型。
22958
+ # @type Type: String
22959
+ # @param ProcessImageConfig: 图片处理模板配置参数。
22960
+ # @type ProcessImageConfig: :class:`Tencentcloud::Mps.v20190612.models.ImageTaskInput`
22961
+ # @param CreateTime: 模板创建时间。
22962
+ # @type CreateTime: String
22963
+ # @param UpdateTime: 模板最后修改时间。
22964
+ # @type UpdateTime: String
22965
+
22966
+ attr_accessor :Definition, :Name, :Comment, :Type, :ProcessImageConfig, :CreateTime, :UpdateTime
22967
+
22968
+ def initialize(definition=nil, name=nil, comment=nil, type=nil, processimageconfig=nil, createtime=nil, updatetime=nil)
22969
+ @Definition = definition
22970
+ @Name = name
22971
+ @Comment = comment
22972
+ @Type = type
22973
+ @ProcessImageConfig = processimageconfig
22974
+ @CreateTime = createtime
22975
+ @UpdateTime = updatetime
22976
+ end
22977
+
22978
+ def deserialize(params)
22979
+ @Definition = params['Definition']
22980
+ @Name = params['Name']
22981
+ @Comment = params['Comment']
22982
+ @Type = params['Type']
22983
+ unless params['ProcessImageConfig'].nil?
22984
+ @ProcessImageConfig = ImageTaskInput.new
22985
+ @ProcessImageConfig.deserialize(params['ProcessImageConfig'])
22986
+ end
22987
+ @CreateTime = params['CreateTime']
22988
+ @UpdateTime = params['UpdateTime']
22989
+ end
22990
+ end
22991
+
22460
22992
  # ProcessLiveStream请求参数结构体
22461
22993
  class ProcessLiveStreamRequest < TencentCloud::Common::AbstractModel
22462
22994
  # @param Url: 直播流 URL(必须是直播文件地址,支持 rtmp,hls 和 flv, trtc 等)。
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.1173
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-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common