tencentcloud-sdk-python 3.0.1430__py2.py3-none-any.whl → 3.0.1432__py2.py3-none-any.whl

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.

Potentially problematic release.


This version of tencentcloud-sdk-python might be problematic. Click here for more details.

Files changed (36) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/cbs/v20170312/models.py +15 -0
  3. tencentcloud/cdb/v20170320/cdb_client.py +6 -6
  4. tencentcloud/cdb/v20170320/models.py +132 -108
  5. tencentcloud/cdn/v20180606/cdn_client.py +12 -4
  6. tencentcloud/dsgc/v20190723/models.py +2 -2
  7. tencentcloud/ess/v20201111/models.py +42 -0
  8. tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
  9. tencentcloud/essbasic/v20210526/models.py +58 -22
  10. tencentcloud/gs/v20191118/models.py +57 -4
  11. tencentcloud/lcic/v20220817/lcic_client.py +3 -0
  12. tencentcloud/lcic/v20220817/models.py +10 -10
  13. tencentcloud/live/v20180801/models.py +70 -2
  14. tencentcloud/lke/v20231130/models.py +32 -2
  15. tencentcloud/mps/v20190612/models.py +731 -57
  16. tencentcloud/mps/v20190612/mps_client.py +5 -5
  17. tencentcloud/oceanus/v20190422/models.py +36 -2
  18. tencentcloud/ocr/v20181119/models.py +147 -0
  19. tencentcloud/ocr/v20181119/ocr_client.py +25 -0
  20. tencentcloud/postgres/v20170312/models.py +362 -334
  21. tencentcloud/postgres/v20170312/postgres_client.py +9 -9
  22. tencentcloud/ssl/v20191205/models.py +47 -2
  23. tencentcloud/tsf/v20180326/errorcodes.py +2 -2
  24. tencentcloud/vod/v20180717/models.py +372 -2
  25. tencentcloud/wedata/v20210820/models.py +1524 -2
  26. tencentcloud/wedata/v20210820/wedata_client.py +184 -0
  27. tencentcloud/wsa/__init__.py +0 -0
  28. tencentcloud/wsa/v20250508/__init__.py +0 -0
  29. tencentcloud/wsa/v20250508/errorcodes.py +27 -0
  30. tencentcloud/wsa/v20250508/models.py +187 -0
  31. tencentcloud/wsa/v20250508/wsa_client.py +49 -0
  32. {tencentcloud_sdk_python-3.0.1430.dist-info → tencentcloud_sdk_python-3.0.1432.dist-info}/METADATA +1 -1
  33. {tencentcloud_sdk_python-3.0.1430.dist-info → tencentcloud_sdk_python-3.0.1432.dist-info}/RECORD +36 -31
  34. {tencentcloud_sdk_python-3.0.1430.dist-info → tencentcloud_sdk_python-3.0.1432.dist-info}/LICENSE +0 -0
  35. {tencentcloud_sdk_python-3.0.1430.dist-info → tencentcloud_sdk_python-3.0.1432.dist-info}/WHEEL +0 -0
  36. {tencentcloud_sdk_python-3.0.1430.dist-info → tencentcloud_sdk_python-3.0.1432.dist-info}/top_level.txt +0 -0
@@ -165,7 +165,7 @@ class PostgresClient(AbstractClient):
165
165
 
166
166
 
167
167
  def CreateDBInstanceNetworkAccess(self, request):
168
- """本接口(CreateDBInstanceNetworkAccess)用于创建实例网络。
168
+ """本接口(CreateDBInstanceNetworkAccess)用于创建实例网络。单个实例允许创建的网络配置最多为2套,最少为1套。
169
169
 
170
170
  :param request: Request instance for CreateDBInstanceNetworkAccess.
171
171
  :type request: :class:`tencentcloud.postgres.v20170312.models.CreateDBInstanceNetworkAccessRequest`
@@ -305,7 +305,7 @@ class PostgresClient(AbstractClient):
305
305
 
306
306
 
307
307
  def CreateReadOnlyGroupNetworkAccess(self, request):
308
- """本接口(CreateReadOnlyGroupNetworkAccess)用于创建RO组的网络。
308
+ """本接口(CreateReadOnlyGroupNetworkAccess)用于创建RO组的网络。创建网络的数量最多为2个。
309
309
 
310
310
  :param request: Request instance for CreateReadOnlyGroupNetworkAccess.
311
311
  :type request: :class:`tencentcloud.postgres.v20170312.models.CreateReadOnlyGroupNetworkAccessRequest`
@@ -353,7 +353,7 @@ class PostgresClient(AbstractClient):
353
353
 
354
354
 
355
355
  def DeleteAccount(self, request):
356
- """此接口用于删除数据库账号,需要同时输入Oid与UserName,避免误删。
356
+ """此接口用于删除数据库账号,需要同时输入Oid与UserName,避免误删。注:该接口可重入,如果账号已经不存在,调用此接口进行删除时不会报错。
357
357
 
358
358
  :param request: Request instance for DeleteAccount.
359
359
  :type request: :class:`tencentcloud.postgres.v20170312.models.DeleteAccountRequest`
@@ -1810,8 +1810,8 @@ class PostgresClient(AbstractClient):
1810
1810
 
1811
1811
  def ModifyDBInstanceHAConfig(self, request):
1812
1812
  """本接口(ModifyDBInstanceHAConfig)用于修改实例HA配置信息。其中HA配置信息包括:
1813
- <li>允许备节点切换为主节点的条件配置
1814
- <li>半同步实例使用同步复制或异步复制的条件配置
1813
+ <li>允许备节点切换为主节点的条件配置</li>
1814
+ <li>半同步实例使用同步复制或异步复制的条件配置</li>
1815
1815
 
1816
1816
  :param request: Request instance for ModifyDBInstanceHAConfig.
1817
1817
  :type request: :class:`tencentcloud.postgres.v20170312.models.ModifyDBInstanceHAConfigRequest`
@@ -1949,7 +1949,7 @@ class PostgresClient(AbstractClient):
1949
1949
 
1950
1950
 
1951
1951
  def ModifyDBInstanceSpec(self, request):
1952
- """本接口(ModifyDBInstanceSpec)用于修改实例规格,包括内存、磁盘。
1952
+ """本接口(ModifyDBInstanceSpec)用于修改实例规格,包括内存、磁盘、Cpu。
1953
1953
 
1954
1954
  :param request: Request instance for ModifyDBInstanceSpec.
1955
1955
  :type request: :class:`tencentcloud.postgres.v20170312.models.ModifyDBInstanceSpecRequest`
@@ -2318,9 +2318,9 @@ class PostgresClient(AbstractClient):
2318
2318
 
2319
2319
  def SwitchDBInstancePrimary(self, request):
2320
2320
  """本接口(SwitchDBInstancePrimary)用于切换实例主备关系。
2321
- <li>通过主动发起切换,可以验证业务能否正确处理实例主备切换的场景
2322
- <li>通过使用强制切换,可以在备节点延迟不满足切换条件时,强制发起主从切换
2323
- <li>只有主实例可以执行该操作
2321
+ <li>通过主动发起切换,可以验证业务能否正确处理实例主备切换的场景</li>
2322
+ <li>通过使用强制切换,可以在备节点延迟不满足切换条件时,强制发起主从切换</li>
2323
+ <li>只有主实例可以执行该操作</li>
2324
2324
 
2325
2325
  :param request: Request instance for SwitchDBInstancePrimary.
2326
2326
  :type request: :class:`tencentcloud.postgres.v20170312.models.SwitchDBInstancePrimaryRequest`
@@ -1538,6 +1538,8 @@ FILE:手动添加域名文件验证。 需要用户手动在域名站点根目
1538
1538
  :type Type: int
1539
1539
  :param _CaType: 只针对Dnspod系列证书有效,ca机构类型可为sectigo和digicert
1540
1540
  :type CaType: str
1541
+ :param _SignAlgo: 签名算法
1542
+ :type SignAlgo: str
1541
1543
  """
1542
1544
  self._CertId = None
1543
1545
  self._GenCsrType = None
@@ -1579,6 +1581,7 @@ FILE:手动添加域名文件验证。 需要用户手动在域名站点根目
1579
1581
  self._TechTitle = None
1580
1582
  self._Type = None
1581
1583
  self._CaType = None
1584
+ self._SignAlgo = None
1582
1585
 
1583
1586
  @property
1584
1587
  def CertId(self):
@@ -2045,6 +2048,17 @@ FILE:手动添加域名文件验证。 需要用户手动在域名站点根目
2045
2048
  def CaType(self, CaType):
2046
2049
  self._CaType = CaType
2047
2050
 
2051
+ @property
2052
+ def SignAlgo(self):
2053
+ """签名算法
2054
+ :rtype: str
2055
+ """
2056
+ return self._SignAlgo
2057
+
2058
+ @SignAlgo.setter
2059
+ def SignAlgo(self, SignAlgo):
2060
+ self._SignAlgo = SignAlgo
2061
+
2048
2062
 
2049
2063
  def _deserialize(self, params):
2050
2064
  self._CertId = params.get("CertId")
@@ -2087,6 +2101,7 @@ FILE:手动添加域名文件验证。 需要用户手动在域名站点根目
2087
2101
  self._TechTitle = params.get("TechTitle")
2088
2102
  self._Type = params.get("Type")
2089
2103
  self._CaType = params.get("CaType")
2104
+ self._SignAlgo = params.get("SignAlgo")
2090
2105
  memeber_set = set(params.keys())
2091
2106
  for name, value in vars(self).items():
2092
2107
  property_name = name[1:]
@@ -17455,7 +17470,7 @@ class ReplaceCertificateRequest(AbstractModel):
17455
17470
  :type CertificateId: str
17456
17471
  :param _ValidType: 验证类型:DNS_AUTO = 自动DNS验证(仅支持在腾讯云解析且解析状态正常的域名使用该验证类型),DNS = 手动DNS验证,FILE = 文件验证。
17457
17472
  :type ValidType: str
17458
- :param _CsrType: 类型,默认 Original。可选项:Original = 原证书 CSR,Upload = 手动上传,Online = 在线生成。
17473
+ :param _CsrType: 类型,默认 original。可选项:original = 原证书 CSR,upload = 手动上传,online = 在线生成。
17459
17474
  :type CsrType: str
17460
17475
  :param _CsrContent: CSR 内容,手动上传的时候需要。
17461
17476
  :type CsrContent: str
@@ -17468,6 +17483,8 @@ class ReplaceCertificateRequest(AbstractModel):
17468
17483
  :type CertCSREncryptAlgo: str
17469
17484
  :param _CertCSRKeyParameter: CSR加密参数,CsrEncryptAlgo为RSA时, 可选2048、4096等默认为2048;CsrEncryptAlgo为ECC时,可选prime256v1,secp384r1等,默认为prime256v1;
17470
17485
  :type CertCSRKeyParameter: str
17486
+ :param _SignAlgo: 签名算法
17487
+ :type SignAlgo: str
17471
17488
  """
17472
17489
  self._CertificateId = None
17473
17490
  self._ValidType = None
@@ -17477,6 +17494,7 @@ class ReplaceCertificateRequest(AbstractModel):
17477
17494
  self._Reason = None
17478
17495
  self._CertCSREncryptAlgo = None
17479
17496
  self._CertCSRKeyParameter = None
17497
+ self._SignAlgo = None
17480
17498
 
17481
17499
  @property
17482
17500
  def CertificateId(self):
@@ -17502,7 +17520,7 @@ class ReplaceCertificateRequest(AbstractModel):
17502
17520
 
17503
17521
  @property
17504
17522
  def CsrType(self):
17505
- """类型,默认 Original。可选项:Original = 原证书 CSR,Upload = 手动上传,Online = 在线生成。
17523
+ """类型,默认 original。可选项:original = 原证书 CSR,upload = 手动上传,online = 在线生成。
17506
17524
  :rtype: str
17507
17525
  """
17508
17526
  return self._CsrType
@@ -17567,6 +17585,17 @@ class ReplaceCertificateRequest(AbstractModel):
17567
17585
  def CertCSRKeyParameter(self, CertCSRKeyParameter):
17568
17586
  self._CertCSRKeyParameter = CertCSRKeyParameter
17569
17587
 
17588
+ @property
17589
+ def SignAlgo(self):
17590
+ """签名算法
17591
+ :rtype: str
17592
+ """
17593
+ return self._SignAlgo
17594
+
17595
+ @SignAlgo.setter
17596
+ def SignAlgo(self, SignAlgo):
17597
+ self._SignAlgo = SignAlgo
17598
+
17570
17599
 
17571
17600
  def _deserialize(self, params):
17572
17601
  self._CertificateId = params.get("CertificateId")
@@ -17577,6 +17606,7 @@ class ReplaceCertificateRequest(AbstractModel):
17577
17606
  self._Reason = params.get("Reason")
17578
17607
  self._CertCSREncryptAlgo = params.get("CertCSREncryptAlgo")
17579
17608
  self._CertCSRKeyParameter = params.get("CertCSRKeyParameter")
17609
+ self._SignAlgo = params.get("SignAlgo")
17580
17610
  memeber_set = set(params.keys())
17581
17611
  for name, value in vars(self).items():
17582
17612
  property_name = name[1:]
@@ -21842,6 +21872,8 @@ class UploadCertificateRequest(AbstractModel):
21842
21872
  :type Tags: list of Tags
21843
21873
  :param _Repeatable: 相同的证书是否允许重复上传; true:允许上传相同指纹的证书; false:不允许上传相同指纹的证书; 默认值:true
21844
21874
  :type Repeatable: bool
21875
+ :param _KeyPassword: 私钥密码
21876
+ :type KeyPassword: str
21845
21877
  """
21846
21878
  self._CertificatePublicKey = None
21847
21879
  self._CertificatePrivateKey = None
@@ -21851,6 +21883,7 @@ class UploadCertificateRequest(AbstractModel):
21851
21883
  self._CertificateUse = None
21852
21884
  self._Tags = None
21853
21885
  self._Repeatable = None
21886
+ self._KeyPassword = None
21854
21887
 
21855
21888
  @property
21856
21889
  def CertificatePublicKey(self):
@@ -21940,6 +21973,17 @@ class UploadCertificateRequest(AbstractModel):
21940
21973
  def Repeatable(self, Repeatable):
21941
21974
  self._Repeatable = Repeatable
21942
21975
 
21976
+ @property
21977
+ def KeyPassword(self):
21978
+ """私钥密码
21979
+ :rtype: str
21980
+ """
21981
+ return self._KeyPassword
21982
+
21983
+ @KeyPassword.setter
21984
+ def KeyPassword(self, KeyPassword):
21985
+ self._KeyPassword = KeyPassword
21986
+
21943
21987
 
21944
21988
  def _deserialize(self, params):
21945
21989
  self._CertificatePublicKey = params.get("CertificatePublicKey")
@@ -21955,6 +21999,7 @@ class UploadCertificateRequest(AbstractModel):
21955
21999
  obj._deserialize(item)
21956
22000
  self._Tags.append(obj)
21957
22001
  self._Repeatable = params.get("Repeatable")
22002
+ self._KeyPassword = params.get("KeyPassword")
21958
22003
  memeber_set = set(params.keys())
21959
22004
  for name, value in vars(self).items():
21960
22005
  property_name = name[1:]
@@ -908,7 +908,7 @@ INVALIDPARAMETERVALUE_INVALIDPARAMETERFORMAT = 'InvalidParameterValue.InvalidPar
908
908
  # 数据集名非法。
909
909
  INVALIDPARAMETERVALUE_INVALIDPROGRAMNAME = 'InvalidParameterValue.InvalidProgramName'
910
910
 
911
- # 已经绑定灰度规则,无法删除。
911
+ # 该泳道已关联全链路灰度发布规则,请先从规则中移除后删除
912
912
  INVALIDPARAMETERVALUE_LANEINFOALREADYUSED = 'InvalidParameterValue.LaneInfoAlreadyUsed'
913
913
 
914
914
  # 存在同名的泳道。
@@ -1247,7 +1247,7 @@ UNAUTHORIZEDOPERATION_LICENSEUNAUTHORIZED = 'UnauthorizedOperation.LicenseUnauth
1247
1247
  # 缺少License。。
1248
1248
  UNAUTHORIZEDOPERATION_NOLICENSE = 'UnauthorizedOperation.NoLicense'
1249
1249
 
1250
- # 用户无权限访问该接口。。
1250
+ # 用户无权限访问该接口。
1251
1251
  UNAUTHORIZEDOPERATION_NOPRIVILEGE = 'UnauthorizedOperation.NoPrivilege'
1252
1252
 
1253
1253
  # 批量操作数量超过限制:%s。
@@ -31500,7 +31500,7 @@ class DescribeTaskDetailResponse(AbstractModel):
31500
31500
 
31501
31501
  def __init__(self):
31502
31502
  r"""
31503
- :param _TaskType: 任务类型,取值:<li>Procedure:视频处理任务;</li><li>EditMedia:视频编辑任务;</li><li>SplitMedia:视频拆条任务;</li><li>ComposeMedia:制作媒体文件任务;</li><li>WechatPublish:微信发布任务;</li><li>WechatMiniProgramPublish:微信小程序视频发布任务;</li><li>PullUpload:拉取上传媒体文件任务;</li><li>FastClipMedia:快速剪辑任务;</li><li>RemoveWatermarkTask:智能去除水印任务;</li><li>DescribeFileAttributesTask:获取文件属性任务;</li><li>RebuildMedia:音画质重生任务(不推荐使用);</li><li>ReviewAudioVideo:音视频审核任务;</li><li>ExtractTraceWatermark:提取溯源水印任务;</li><li>ExtractCopyRightWatermark:提取版权水印任务;</li><li>QualityInspect:音画质检测任务;</li><li>QualityEnhance:音画质重生任务;</li><li>ComplexAdaptiveDynamicStreaming:复杂自适应码流任务。</li>
31503
+ :param _TaskType: 任务类型,取值:<li>Procedure:视频处理任务;</li><li>EditMedia:视频编辑任务;</li><li>SplitMedia:视频拆条任务;</li><li>ComposeMedia:制作媒体文件任务;</li><li>WechatPublish:微信发布任务;</li><li>WechatMiniProgramPublish:微信小程序视频发布任务;</li><li>PullUpload:拉取上传媒体文件任务;</li><li>FastClipMedia:快速剪辑任务;</li><li>RemoveWatermarkTask:智能去除水印任务;</li><li>DescribeFileAttributesTask:获取文件属性任务;</li><li>RebuildMedia:音画质重生任务(不推荐使用);</li><li>ReviewAudioVideo:音视频审核任务;</li><li>ExtractTraceWatermark:提取溯源水印任务;</li><li>ExtractCopyRightWatermark:提取版权水印任务;</li><li>QualityInspect:音画质检测任务;</li><li>QualityEnhance:音画质重生任务;</li><li>ComplexAdaptiveDynamicStreaming:复杂自适应码流任务;</li><li>ProcessMediaByMPS:MPS 视频处理任务。</li>
31504
31504
  :type TaskType: str
31505
31505
  :param _Status: 任务状态,取值:
31506
31506
  <li>WAITING:等待中;</li>
@@ -31580,6 +31580,8 @@ class DescribeTaskDetailResponse(AbstractModel):
31580
31580
  :param _ComplexAdaptiveDynamicStreamingTask: 复杂自适应码流任务信息,仅当 TaskType 为 ComplexAdaptiveDynamicStreaming,该字段有值。
31581
31581
  注意:此字段可能返回 null,表示取不到有效值。
31582
31582
  :type ComplexAdaptiveDynamicStreamingTask: :class:`tencentcloud.vod.v20180717.models.ComplexAdaptiveDynamicStreamingTask`
31583
+ :param _ProcessMediaByMPSTask: MPS 视频处理任务信息,仅当 TaskType 为 ProcessMediaByMPS,该字段有值。
31584
+ :type ProcessMediaByMPSTask: :class:`tencentcloud.vod.v20180717.models.ProcessMediaByMPS`
31583
31585
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
31584
31586
  :type RequestId: str
31585
31587
  """
@@ -31610,11 +31612,12 @@ class DescribeTaskDetailResponse(AbstractModel):
31610
31612
  self._QualityInspectTask = None
31611
31613
  self._QualityEnhanceTask = None
31612
31614
  self._ComplexAdaptiveDynamicStreamingTask = None
31615
+ self._ProcessMediaByMPSTask = None
31613
31616
  self._RequestId = None
31614
31617
 
31615
31618
  @property
31616
31619
  def TaskType(self):
31617
- """任务类型,取值:<li>Procedure:视频处理任务;</li><li>EditMedia:视频编辑任务;</li><li>SplitMedia:视频拆条任务;</li><li>ComposeMedia:制作媒体文件任务;</li><li>WechatPublish:微信发布任务;</li><li>WechatMiniProgramPublish:微信小程序视频发布任务;</li><li>PullUpload:拉取上传媒体文件任务;</li><li>FastClipMedia:快速剪辑任务;</li><li>RemoveWatermarkTask:智能去除水印任务;</li><li>DescribeFileAttributesTask:获取文件属性任务;</li><li>RebuildMedia:音画质重生任务(不推荐使用);</li><li>ReviewAudioVideo:音视频审核任务;</li><li>ExtractTraceWatermark:提取溯源水印任务;</li><li>ExtractCopyRightWatermark:提取版权水印任务;</li><li>QualityInspect:音画质检测任务;</li><li>QualityEnhance:音画质重生任务;</li><li>ComplexAdaptiveDynamicStreaming:复杂自适应码流任务。</li>
31620
+ """任务类型,取值:<li>Procedure:视频处理任务;</li><li>EditMedia:视频编辑任务;</li><li>SplitMedia:视频拆条任务;</li><li>ComposeMedia:制作媒体文件任务;</li><li>WechatPublish:微信发布任务;</li><li>WechatMiniProgramPublish:微信小程序视频发布任务;</li><li>PullUpload:拉取上传媒体文件任务;</li><li>FastClipMedia:快速剪辑任务;</li><li>RemoveWatermarkTask:智能去除水印任务;</li><li>DescribeFileAttributesTask:获取文件属性任务;</li><li>RebuildMedia:音画质重生任务(不推荐使用);</li><li>ReviewAudioVideo:音视频审核任务;</li><li>ExtractTraceWatermark:提取溯源水印任务;</li><li>ExtractCopyRightWatermark:提取版权水印任务;</li><li>QualityInspect:音画质检测任务;</li><li>QualityEnhance:音画质重生任务;</li><li>ComplexAdaptiveDynamicStreaming:复杂自适应码流任务;</li><li>ProcessMediaByMPS:MPS 视频处理任务。</li>
31618
31621
  :rtype: str
31619
31622
  """
31620
31623
  return self._TaskType
@@ -31935,6 +31938,17 @@ class DescribeTaskDetailResponse(AbstractModel):
31935
31938
  def ComplexAdaptiveDynamicStreamingTask(self, ComplexAdaptiveDynamicStreamingTask):
31936
31939
  self._ComplexAdaptiveDynamicStreamingTask = ComplexAdaptiveDynamicStreamingTask
31937
31940
 
31941
+ @property
31942
+ def ProcessMediaByMPSTask(self):
31943
+ """MPS 视频处理任务信息,仅当 TaskType 为 ProcessMediaByMPS,该字段有值。
31944
+ :rtype: :class:`tencentcloud.vod.v20180717.models.ProcessMediaByMPS`
31945
+ """
31946
+ return self._ProcessMediaByMPSTask
31947
+
31948
+ @ProcessMediaByMPSTask.setter
31949
+ def ProcessMediaByMPSTask(self, ProcessMediaByMPSTask):
31950
+ self._ProcessMediaByMPSTask = ProcessMediaByMPSTask
31951
+
31938
31952
  @property
31939
31953
  def RequestId(self):
31940
31954
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -32019,6 +32033,9 @@ class DescribeTaskDetailResponse(AbstractModel):
32019
32033
  if params.get("ComplexAdaptiveDynamicStreamingTask") is not None:
32020
32034
  self._ComplexAdaptiveDynamicStreamingTask = ComplexAdaptiveDynamicStreamingTask()
32021
32035
  self._ComplexAdaptiveDynamicStreamingTask._deserialize(params.get("ComplexAdaptiveDynamicStreamingTask"))
32036
+ if params.get("ProcessMediaByMPSTask") is not None:
32037
+ self._ProcessMediaByMPSTask = ProcessMediaByMPS()
32038
+ self._ProcessMediaByMPSTask._deserialize(params.get("ProcessMediaByMPSTask"))
32022
32039
  self._RequestId = params.get("RequestId")
32023
32040
 
32024
32041
 
@@ -40806,6 +40823,258 @@ class LowLightEnhanceInfo(AbstractModel):
40806
40823
 
40807
40824
 
40808
40825
 
40826
+ class MPSOutputFile(AbstractModel):
40827
+ """用于描述 MPS 视频处理任务中的返回文件结果。
40828
+
40829
+ """
40830
+
40831
+ def __init__(self):
40832
+ r"""
40833
+ :param _FileType: 文件类型。用于标识 MPS 视频处理任务执行结果中的特定返回文件。
40834
+ 取值:<li>AiAnalysis.DeLogo.Video: 智能擦除任务中产生的擦除后视频文件;</li><li>AiAnalysis.DeLogo.OriginSubtitle: 智能擦除任务中基于画面提取的字幕文件;</li><li>AiAnalysis.DeLogo.TranslateSubtitle: 智能擦除任务中基于画面提取的字幕翻译文件。</li>
40835
+ :type FileType: str
40836
+ :param _StorageMode: 存储形式。用于表示该结果文件的存储形式,取值有:<li> Permanent:永久存储;</li><li> Temporary:临时存储。</li>
40837
+ :type StorageMode: str
40838
+ :param _FileId: 媒体文件 ID。当 Type 为 Permanent 时有效,表示该结果文件以视频媒资形式存储在点播平台中,字段值为视频媒资的 FileId。
40839
+ :type FileId: str
40840
+ :param _Url: 结果文件的可下载 Url。
40841
+ :type Url: str
40842
+ :param _ExpiredTime: 过期时间。当 StorageMode 为 Temporary 时有效,表示 Url 的过期时间,单位为秒。
40843
+ :type ExpiredTime: int
40844
+ """
40845
+ self._FileType = None
40846
+ self._StorageMode = None
40847
+ self._FileId = None
40848
+ self._Url = None
40849
+ self._ExpiredTime = None
40850
+
40851
+ @property
40852
+ def FileType(self):
40853
+ """文件类型。用于标识 MPS 视频处理任务执行结果中的特定返回文件。
40854
+ 取值:<li>AiAnalysis.DeLogo.Video: 智能擦除任务中产生的擦除后视频文件;</li><li>AiAnalysis.DeLogo.OriginSubtitle: 智能擦除任务中基于画面提取的字幕文件;</li><li>AiAnalysis.DeLogo.TranslateSubtitle: 智能擦除任务中基于画面提取的字幕翻译文件。</li>
40855
+ :rtype: str
40856
+ """
40857
+ return self._FileType
40858
+
40859
+ @FileType.setter
40860
+ def FileType(self, FileType):
40861
+ self._FileType = FileType
40862
+
40863
+ @property
40864
+ def StorageMode(self):
40865
+ """存储形式。用于表示该结果文件的存储形式,取值有:<li> Permanent:永久存储;</li><li> Temporary:临时存储。</li>
40866
+ :rtype: str
40867
+ """
40868
+ return self._StorageMode
40869
+
40870
+ @StorageMode.setter
40871
+ def StorageMode(self, StorageMode):
40872
+ self._StorageMode = StorageMode
40873
+
40874
+ @property
40875
+ def FileId(self):
40876
+ """媒体文件 ID。当 Type 为 Permanent 时有效,表示该结果文件以视频媒资形式存储在点播平台中,字段值为视频媒资的 FileId。
40877
+ :rtype: str
40878
+ """
40879
+ return self._FileId
40880
+
40881
+ @FileId.setter
40882
+ def FileId(self, FileId):
40883
+ self._FileId = FileId
40884
+
40885
+ @property
40886
+ def Url(self):
40887
+ """结果文件的可下载 Url。
40888
+ :rtype: str
40889
+ """
40890
+ return self._Url
40891
+
40892
+ @Url.setter
40893
+ def Url(self, Url):
40894
+ self._Url = Url
40895
+
40896
+ @property
40897
+ def ExpiredTime(self):
40898
+ """过期时间。当 StorageMode 为 Temporary 时有效,表示 Url 的过期时间,单位为秒。
40899
+ :rtype: int
40900
+ """
40901
+ return self._ExpiredTime
40902
+
40903
+ @ExpiredTime.setter
40904
+ def ExpiredTime(self, ExpiredTime):
40905
+ self._ExpiredTime = ExpiredTime
40906
+
40907
+
40908
+ def _deserialize(self, params):
40909
+ self._FileType = params.get("FileType")
40910
+ self._StorageMode = params.get("StorageMode")
40911
+ self._FileId = params.get("FileId")
40912
+ self._Url = params.get("Url")
40913
+ self._ExpiredTime = params.get("ExpiredTime")
40914
+ memeber_set = set(params.keys())
40915
+ for name, value in vars(self).items():
40916
+ property_name = name[1:]
40917
+ if property_name in memeber_set:
40918
+ memeber_set.remove(property_name)
40919
+ if len(memeber_set) > 0:
40920
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
40921
+
40922
+
40923
+
40924
+ class MPSSubTaskResult(AbstractModel):
40925
+ """MPS 具体子任务查询结果类型。
40926
+
40927
+ """
40928
+
40929
+ def __init__(self):
40930
+ r"""
40931
+ :param _TaskType: 任务类型。MPS 的 WorkflowTask 结构中的具体子任务类型。取值:<li>AiAnalysis.DeLogo:智能擦除任务。</li>
40932
+ :type TaskType: str
40933
+ :param _Status: 任务状态。有 PROCESSING,SUCCESS 和 FAIL 三种。
40934
+ :type Status: str
40935
+ :param _ErrCode: 错误码。返回0时成功,其他值为失败。
40936
+ :type ErrCode: str
40937
+ :param _Message: 错误信息。
40938
+ :type Message: str
40939
+ :param _Input: MPS 视频处理任务输入。该字段对应 MPS 任务返回中的 Input 结果,以 JSON 格式返回。
40940
+ :type Input: str
40941
+ :param _Output: MPS 视频处理任务输出。
40942
+ :type Output: :class:`tencentcloud.vod.v20180717.models.MPSTaskOutput`
40943
+ """
40944
+ self._TaskType = None
40945
+ self._Status = None
40946
+ self._ErrCode = None
40947
+ self._Message = None
40948
+ self._Input = None
40949
+ self._Output = None
40950
+
40951
+ @property
40952
+ def TaskType(self):
40953
+ """任务类型。MPS 的 WorkflowTask 结构中的具体子任务类型。取值:<li>AiAnalysis.DeLogo:智能擦除任务。</li>
40954
+ :rtype: str
40955
+ """
40956
+ return self._TaskType
40957
+
40958
+ @TaskType.setter
40959
+ def TaskType(self, TaskType):
40960
+ self._TaskType = TaskType
40961
+
40962
+ @property
40963
+ def Status(self):
40964
+ """任务状态。有 PROCESSING,SUCCESS 和 FAIL 三种。
40965
+ :rtype: str
40966
+ """
40967
+ return self._Status
40968
+
40969
+ @Status.setter
40970
+ def Status(self, Status):
40971
+ self._Status = Status
40972
+
40973
+ @property
40974
+ def ErrCode(self):
40975
+ """错误码。返回0时成功,其他值为失败。
40976
+ :rtype: str
40977
+ """
40978
+ return self._ErrCode
40979
+
40980
+ @ErrCode.setter
40981
+ def ErrCode(self, ErrCode):
40982
+ self._ErrCode = ErrCode
40983
+
40984
+ @property
40985
+ def Message(self):
40986
+ """错误信息。
40987
+ :rtype: str
40988
+ """
40989
+ return self._Message
40990
+
40991
+ @Message.setter
40992
+ def Message(self, Message):
40993
+ self._Message = Message
40994
+
40995
+ @property
40996
+ def Input(self):
40997
+ """MPS 视频处理任务输入。该字段对应 MPS 任务返回中的 Input 结果,以 JSON 格式返回。
40998
+ :rtype: str
40999
+ """
41000
+ return self._Input
41001
+
41002
+ @Input.setter
41003
+ def Input(self, Input):
41004
+ self._Input = Input
41005
+
41006
+ @property
41007
+ def Output(self):
41008
+ """MPS 视频处理任务输出。
41009
+ :rtype: :class:`tencentcloud.vod.v20180717.models.MPSTaskOutput`
41010
+ """
41011
+ return self._Output
41012
+
41013
+ @Output.setter
41014
+ def Output(self, Output):
41015
+ self._Output = Output
41016
+
41017
+
41018
+ def _deserialize(self, params):
41019
+ self._TaskType = params.get("TaskType")
41020
+ self._Status = params.get("Status")
41021
+ self._ErrCode = params.get("ErrCode")
41022
+ self._Message = params.get("Message")
41023
+ self._Input = params.get("Input")
41024
+ if params.get("Output") is not None:
41025
+ self._Output = MPSTaskOutput()
41026
+ self._Output._deserialize(params.get("Output"))
41027
+ memeber_set = set(params.keys())
41028
+ for name, value in vars(self).items():
41029
+ property_name = name[1:]
41030
+ if property_name in memeber_set:
41031
+ memeber_set.remove(property_name)
41032
+ if len(memeber_set) > 0:
41033
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
41034
+
41035
+
41036
+
41037
+ class MPSTaskOutput(AbstractModel):
41038
+ """MPS 子任务输出返回结果。
41039
+
41040
+ """
41041
+
41042
+ def __init__(self):
41043
+ r"""
41044
+ :param _OutputFiles: 任务返回结果中的文件类型结果。如智能擦除中,擦除后的视频文件将被存入媒资,并在此字段中给出 FileId;基于画面提取的字幕文件 Url 将在此字段中给出。
41045
+ :type OutputFiles: list of MPSOutputFile
41046
+ """
41047
+ self._OutputFiles = None
41048
+
41049
+ @property
41050
+ def OutputFiles(self):
41051
+ """任务返回结果中的文件类型结果。如智能擦除中,擦除后的视频文件将被存入媒资,并在此字段中给出 FileId;基于画面提取的字幕文件 Url 将在此字段中给出。
41052
+ :rtype: list of MPSOutputFile
41053
+ """
41054
+ return self._OutputFiles
41055
+
41056
+ @OutputFiles.setter
41057
+ def OutputFiles(self, OutputFiles):
41058
+ self._OutputFiles = OutputFiles
41059
+
41060
+
41061
+ def _deserialize(self, params):
41062
+ if params.get("OutputFiles") is not None:
41063
+ self._OutputFiles = []
41064
+ for item in params.get("OutputFiles"):
41065
+ obj = MPSOutputFile()
41066
+ obj._deserialize(item)
41067
+ self._OutputFiles.append(obj)
41068
+ memeber_set = set(params.keys())
41069
+ for name, value in vars(self).items():
41070
+ property_name = name[1:]
41071
+ if property_name in memeber_set:
41072
+ memeber_set.remove(property_name)
41073
+ if len(memeber_set) > 0:
41074
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
41075
+
41076
+
41077
+
40809
41078
  class ManageTaskRequest(AbstractModel):
40810
41079
  """ManageTask请求参数结构体
40811
41080
 
@@ -56039,6 +56308,107 @@ class ProcessImageResponse(AbstractModel):
56039
56308
  self._RequestId = params.get("RequestId")
56040
56309
 
56041
56310
 
56311
+ class ProcessMediaByMPS(AbstractModel):
56312
+ """MPS 媒体处理任务信息。
56313
+
56314
+ """
56315
+
56316
+ def __init__(self):
56317
+ r"""
56318
+ :param _TaskId: 任务 ID。
56319
+ :type TaskId: str
56320
+ :param _Status: 任务状态,取值:<li>PROCESSING:处理中;</li><li>FINISH:已完成。</li>
56321
+ :type Status: str
56322
+ :param _ErrCode: 错误码。源异常时返回非0错误码,返回0时请使用各个具体任务的 ErrCode。
56323
+ :type ErrCode: int
56324
+ :param _Message: 错误信息。源异常时返回对应异常 Message,否则请使用各个具体任务的 Message。
56325
+ :type Message: str
56326
+ :param _SubTaskSet: MPS 视频处理任务。
56327
+ :type SubTaskSet: list of MPSSubTaskResult
56328
+ """
56329
+ self._TaskId = None
56330
+ self._Status = None
56331
+ self._ErrCode = None
56332
+ self._Message = None
56333
+ self._SubTaskSet = None
56334
+
56335
+ @property
56336
+ def TaskId(self):
56337
+ """任务 ID。
56338
+ :rtype: str
56339
+ """
56340
+ return self._TaskId
56341
+
56342
+ @TaskId.setter
56343
+ def TaskId(self, TaskId):
56344
+ self._TaskId = TaskId
56345
+
56346
+ @property
56347
+ def Status(self):
56348
+ """任务状态,取值:<li>PROCESSING:处理中;</li><li>FINISH:已完成。</li>
56349
+ :rtype: str
56350
+ """
56351
+ return self._Status
56352
+
56353
+ @Status.setter
56354
+ def Status(self, Status):
56355
+ self._Status = Status
56356
+
56357
+ @property
56358
+ def ErrCode(self):
56359
+ """错误码。源异常时返回非0错误码,返回0时请使用各个具体任务的 ErrCode。
56360
+ :rtype: int
56361
+ """
56362
+ return self._ErrCode
56363
+
56364
+ @ErrCode.setter
56365
+ def ErrCode(self, ErrCode):
56366
+ self._ErrCode = ErrCode
56367
+
56368
+ @property
56369
+ def Message(self):
56370
+ """错误信息。源异常时返回对应异常 Message,否则请使用各个具体任务的 Message。
56371
+ :rtype: str
56372
+ """
56373
+ return self._Message
56374
+
56375
+ @Message.setter
56376
+ def Message(self, Message):
56377
+ self._Message = Message
56378
+
56379
+ @property
56380
+ def SubTaskSet(self):
56381
+ """MPS 视频处理任务。
56382
+ :rtype: list of MPSSubTaskResult
56383
+ """
56384
+ return self._SubTaskSet
56385
+
56386
+ @SubTaskSet.setter
56387
+ def SubTaskSet(self, SubTaskSet):
56388
+ self._SubTaskSet = SubTaskSet
56389
+
56390
+
56391
+ def _deserialize(self, params):
56392
+ self._TaskId = params.get("TaskId")
56393
+ self._Status = params.get("Status")
56394
+ self._ErrCode = params.get("ErrCode")
56395
+ self._Message = params.get("Message")
56396
+ if params.get("SubTaskSet") is not None:
56397
+ self._SubTaskSet = []
56398
+ for item in params.get("SubTaskSet"):
56399
+ obj = MPSSubTaskResult()
56400
+ obj._deserialize(item)
56401
+ self._SubTaskSet.append(obj)
56402
+ memeber_set = set(params.keys())
56403
+ for name, value in vars(self).items():
56404
+ property_name = name[1:]
56405
+ if property_name in memeber_set:
56406
+ memeber_set.remove(property_name)
56407
+ if len(memeber_set) > 0:
56408
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
56409
+
56410
+
56411
+
56042
56412
  class ProcessMediaByProcedureRequest(AbstractModel):
56043
56413
  """ProcessMediaByProcedure请求参数结构体
56044
56414