tencentcloud-sdk-python 3.0.1429__py2.py3-none-any.whl → 3.0.1431__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/cdb/v20170320/cdb_client.py +6 -6
- tencentcloud/cdb/v20170320/models.py +132 -108
- tencentcloud/cdn/v20180606/cdn_client.py +12 -4
- tencentcloud/clb/v20180317/models.py +2 -2
- tencentcloud/cloudaudit/v20190319/models.py +15 -0
- tencentcloud/ctem/v20231128/ctem_client.py +23 -0
- tencentcloud/ctem/v20231128/models.py +124 -0
- tencentcloud/cwp/v20180228/models.py +17 -0
- tencentcloud/dnspod/v20210323/dnspod_client.py +23 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +24 -0
- tencentcloud/dnspod/v20210323/models.py +401 -0
- tencentcloud/dsgc/v20190723/models.py +2 -2
- tencentcloud/emr/v20190103/models.py +15 -0
- tencentcloud/ess/v20201111/ess_client.py +42 -0
- tencentcloud/ess/v20201111/models.py +755 -54
- tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
- tencentcloud/gs/v20191118/models.py +57 -4
- tencentcloud/igtm/v20231024/models.py +2 -2
- tencentcloud/lcic/v20220817/lcic_client.py +3 -0
- tencentcloud/lcic/v20220817/models.py +10 -10
- tencentcloud/live/v20180801/models.py +70 -0
- tencentcloud/lke/v20231130/models.py +2 -2
- tencentcloud/oceanus/v20190422/models.py +36 -2
- tencentcloud/ocr/v20181119/models.py +147 -0
- tencentcloud/ocr/v20181119/ocr_client.py +25 -0
- tencentcloud/postgres/v20170312/models.py +284 -258
- tencentcloud/postgres/v20170312/postgres_client.py +9 -9
- tencentcloud/ssl/v20191205/models.py +32 -2
- tencentcloud/tat/v20201028/models.py +15 -0
- tencentcloud/trtc/v20190722/models.py +19 -0
- tencentcloud/tsf/v20180326/errorcodes.py +1 -1
- tencentcloud/vclm/v20240523/models.py +15 -0
- tencentcloud/vod/v20180717/models.py +78 -6
- tencentcloud/wsa/__init__.py +0 -0
- tencentcloud/wsa/v20250508/__init__.py +0 -0
- tencentcloud/wsa/v20250508/errorcodes.py +27 -0
- tencentcloud/wsa/v20250508/models.py +187 -0
- tencentcloud/wsa/v20250508/wsa_client.py +49 -0
- {tencentcloud_sdk_python-3.0.1429.dist-info → tencentcloud_sdk_python-3.0.1431.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1429.dist-info → tencentcloud_sdk_python-3.0.1431.dist-info}/RECORD +44 -39
- {tencentcloud_sdk_python-3.0.1429.dist-info → tencentcloud_sdk_python-3.0.1431.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1429.dist-info → tencentcloud_sdk_python-3.0.1431.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1429.dist-info → tencentcloud_sdk_python-3.0.1431.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: 类型,默认
|
|
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
|
-
"""类型,默认
|
|
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:]
|
|
@@ -3829,6 +3829,8 @@ class Invocation(AbstractModel):
|
|
|
3829
3829
|
:type InvocationId: str
|
|
3830
3830
|
:param _CommandId: 命令ID。
|
|
3831
3831
|
:type CommandId: str
|
|
3832
|
+
:param _CommandName: 执行的命令的名称
|
|
3833
|
+
:type CommandName: str
|
|
3832
3834
|
:param _InvocationStatus: 执行任务状态。取值范围:
|
|
3833
3835
|
|
|
3834
3836
|
- PENDING:等待下发
|
|
@@ -3881,6 +3883,7 @@ class Invocation(AbstractModel):
|
|
|
3881
3883
|
"""
|
|
3882
3884
|
self._InvocationId = None
|
|
3883
3885
|
self._CommandId = None
|
|
3886
|
+
self._CommandName = None
|
|
3884
3887
|
self._InvocationStatus = None
|
|
3885
3888
|
self._InvocationTaskBasicInfoSet = None
|
|
3886
3889
|
self._Description = None
|
|
@@ -3922,6 +3925,17 @@ class Invocation(AbstractModel):
|
|
|
3922
3925
|
def CommandId(self, CommandId):
|
|
3923
3926
|
self._CommandId = CommandId
|
|
3924
3927
|
|
|
3928
|
+
@property
|
|
3929
|
+
def CommandName(self):
|
|
3930
|
+
"""执行的命令的名称
|
|
3931
|
+
:rtype: str
|
|
3932
|
+
"""
|
|
3933
|
+
return self._CommandName
|
|
3934
|
+
|
|
3935
|
+
@CommandName.setter
|
|
3936
|
+
def CommandName(self, CommandName):
|
|
3937
|
+
self._CommandName = CommandName
|
|
3938
|
+
|
|
3925
3939
|
@property
|
|
3926
3940
|
def InvocationStatus(self):
|
|
3927
3941
|
"""执行任务状态。取值范围:
|
|
@@ -4137,6 +4151,7 @@ class Invocation(AbstractModel):
|
|
|
4137
4151
|
def _deserialize(self, params):
|
|
4138
4152
|
self._InvocationId = params.get("InvocationId")
|
|
4139
4153
|
self._CommandId = params.get("CommandId")
|
|
4154
|
+
self._CommandName = params.get("CommandName")
|
|
4140
4155
|
self._InvocationStatus = params.get("InvocationStatus")
|
|
4141
4156
|
if params.get("InvocationTaskBasicInfoSet") is not None:
|
|
4142
4157
|
self._InvocationTaskBasicInfoSet = []
|
|
@@ -213,6 +213,10 @@ class AgentConfig(AbstractModel):
|
|
|
213
213
|
:type VoicePrint: :class:`tencentcloud.trtc.v20190722.models.VoicePrint`
|
|
214
214
|
:param _TurnDetection: 语义断句检测
|
|
215
215
|
:type TurnDetection: :class:`tencentcloud.trtc.v20190722.models.TurnDetection`
|
|
216
|
+
:param _SubtitleMode: 机器人字幕显示模式。
|
|
217
|
+
- 0表示尽快显示,不会和音频播放进行同步。此时字幕全量下发,后面的字幕会包含前面的字幕。
|
|
218
|
+
- 1表示句子级别的实时显示,会和音频播放进行同步,只有当前句子对应的音频播放完后,下一条字幕才会下发。此时字幕增量下发,端上需要把前后的字幕进行拼接才是完整字幕。
|
|
219
|
+
:type SubtitleMode: int
|
|
216
220
|
"""
|
|
217
221
|
self._UserId = None
|
|
218
222
|
self._UserSig = None
|
|
@@ -228,6 +232,7 @@ class AgentConfig(AbstractModel):
|
|
|
228
232
|
self._AmbientSound = None
|
|
229
233
|
self._VoicePrint = None
|
|
230
234
|
self._TurnDetection = None
|
|
235
|
+
self._SubtitleMode = None
|
|
231
236
|
|
|
232
237
|
@property
|
|
233
238
|
def UserId(self):
|
|
@@ -391,6 +396,19 @@ class AgentConfig(AbstractModel):
|
|
|
391
396
|
def TurnDetection(self, TurnDetection):
|
|
392
397
|
self._TurnDetection = TurnDetection
|
|
393
398
|
|
|
399
|
+
@property
|
|
400
|
+
def SubtitleMode(self):
|
|
401
|
+
"""机器人字幕显示模式。
|
|
402
|
+
- 0表示尽快显示,不会和音频播放进行同步。此时字幕全量下发,后面的字幕会包含前面的字幕。
|
|
403
|
+
- 1表示句子级别的实时显示,会和音频播放进行同步,只有当前句子对应的音频播放完后,下一条字幕才会下发。此时字幕增量下发,端上需要把前后的字幕进行拼接才是完整字幕。
|
|
404
|
+
:rtype: int
|
|
405
|
+
"""
|
|
406
|
+
return self._SubtitleMode
|
|
407
|
+
|
|
408
|
+
@SubtitleMode.setter
|
|
409
|
+
def SubtitleMode(self, SubtitleMode):
|
|
410
|
+
self._SubtitleMode = SubtitleMode
|
|
411
|
+
|
|
394
412
|
|
|
395
413
|
def _deserialize(self, params):
|
|
396
414
|
self._UserId = params.get("UserId")
|
|
@@ -413,6 +431,7 @@ class AgentConfig(AbstractModel):
|
|
|
413
431
|
if params.get("TurnDetection") is not None:
|
|
414
432
|
self._TurnDetection = TurnDetection()
|
|
415
433
|
self._TurnDetection._deserialize(params.get("TurnDetection"))
|
|
434
|
+
self._SubtitleMode = params.get("SubtitleMode")
|
|
416
435
|
memeber_set = set(params.keys())
|
|
417
436
|
for name, value in vars(self).items():
|
|
418
437
|
property_name = name[1:]
|
|
@@ -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。
|
|
@@ -1426,11 +1426,14 @@ class SubmitTemplateToVideoJobRequest(AbstractModel):
|
|
|
1426
1426
|
:param _LogoParam: 标识内容设置。
|
|
1427
1427
|
默认在生成视频的右下角添加“视频由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。
|
|
1428
1428
|
:type LogoParam: :class:`tencentcloud.vclm.v20240523.models.LogoParam`
|
|
1429
|
+
:param _Resolution: 视频输出分辨率,默认值:360p - 枚举值: 720p 360p。
|
|
1430
|
+
:type Resolution: str
|
|
1429
1431
|
"""
|
|
1430
1432
|
self._Template = None
|
|
1431
1433
|
self._Images = None
|
|
1432
1434
|
self._LogoAdd = None
|
|
1433
1435
|
self._LogoParam = None
|
|
1436
|
+
self._Resolution = None
|
|
1434
1437
|
|
|
1435
1438
|
@property
|
|
1436
1439
|
def Template(self):
|
|
@@ -1485,6 +1488,17 @@ class SubmitTemplateToVideoJobRequest(AbstractModel):
|
|
|
1485
1488
|
def LogoParam(self, LogoParam):
|
|
1486
1489
|
self._LogoParam = LogoParam
|
|
1487
1490
|
|
|
1491
|
+
@property
|
|
1492
|
+
def Resolution(self):
|
|
1493
|
+
"""视频输出分辨率,默认值:360p - 枚举值: 720p 360p。
|
|
1494
|
+
:rtype: str
|
|
1495
|
+
"""
|
|
1496
|
+
return self._Resolution
|
|
1497
|
+
|
|
1498
|
+
@Resolution.setter
|
|
1499
|
+
def Resolution(self, Resolution):
|
|
1500
|
+
self._Resolution = Resolution
|
|
1501
|
+
|
|
1488
1502
|
|
|
1489
1503
|
def _deserialize(self, params):
|
|
1490
1504
|
self._Template = params.get("Template")
|
|
@@ -1498,6 +1512,7 @@ class SubmitTemplateToVideoJobRequest(AbstractModel):
|
|
|
1498
1512
|
if params.get("LogoParam") is not None:
|
|
1499
1513
|
self._LogoParam = LogoParam()
|
|
1500
1514
|
self._LogoParam._deserialize(params.get("LogoParam"))
|
|
1515
|
+
self._Resolution = params.get("Resolution")
|
|
1501
1516
|
memeber_set = set(params.keys())
|
|
1502
1517
|
for name, value in vars(self).items():
|
|
1503
1518
|
property_name = name[1:]
|
|
@@ -19109,7 +19109,9 @@ class CreateProcedureTemplateRequest(AbstractModel):
|
|
|
19109
19109
|
:type AiContentReviewTask: :class:`tencentcloud.vod.v20180717.models.AiContentReviewTaskInput`
|
|
19110
19110
|
:param _AiAnalysisTask: AI 内容分析类型任务参数。
|
|
19111
19111
|
:type AiAnalysisTask: :class:`tencentcloud.vod.v20180717.models.AiAnalysisTaskInput`
|
|
19112
|
-
:param
|
|
19112
|
+
:param _AiRecognitionTaskSet: AI 内容识别类型任务参数。
|
|
19113
|
+
:type AiRecognitionTaskSet: list of AiRecognitionTaskInput
|
|
19114
|
+
:param _AiRecognitionTask: 该参数已不推荐使用,建议使用 AiRecognitionTaskSet。
|
|
19113
19115
|
:type AiRecognitionTask: :class:`tencentcloud.vod.v20180717.models.AiRecognitionTaskInput`
|
|
19114
19116
|
:param _ReviewAudioVideoTask: 音视频审核类型任务参数。
|
|
19115
19117
|
:type ReviewAudioVideoTask: :class:`tencentcloud.vod.v20180717.models.ProcedureReviewAudioVideoTaskInput`
|
|
@@ -19120,6 +19122,7 @@ class CreateProcedureTemplateRequest(AbstractModel):
|
|
|
19120
19122
|
self._MediaProcessTask = None
|
|
19121
19123
|
self._AiContentReviewTask = None
|
|
19122
19124
|
self._AiAnalysisTask = None
|
|
19125
|
+
self._AiRecognitionTaskSet = None
|
|
19123
19126
|
self._AiRecognitionTask = None
|
|
19124
19127
|
self._ReviewAudioVideoTask = None
|
|
19125
19128
|
|
|
@@ -19191,14 +19194,29 @@ class CreateProcedureTemplateRequest(AbstractModel):
|
|
|
19191
19194
|
self._AiAnalysisTask = AiAnalysisTask
|
|
19192
19195
|
|
|
19193
19196
|
@property
|
|
19194
|
-
def
|
|
19197
|
+
def AiRecognitionTaskSet(self):
|
|
19195
19198
|
"""AI 内容识别类型任务参数。
|
|
19199
|
+
:rtype: list of AiRecognitionTaskInput
|
|
19200
|
+
"""
|
|
19201
|
+
return self._AiRecognitionTaskSet
|
|
19202
|
+
|
|
19203
|
+
@AiRecognitionTaskSet.setter
|
|
19204
|
+
def AiRecognitionTaskSet(self, AiRecognitionTaskSet):
|
|
19205
|
+
self._AiRecognitionTaskSet = AiRecognitionTaskSet
|
|
19206
|
+
|
|
19207
|
+
@property
|
|
19208
|
+
def AiRecognitionTask(self):
|
|
19209
|
+
warnings.warn("parameter `AiRecognitionTask` is deprecated", DeprecationWarning)
|
|
19210
|
+
|
|
19211
|
+
"""该参数已不推荐使用,建议使用 AiRecognitionTaskSet。
|
|
19196
19212
|
:rtype: :class:`tencentcloud.vod.v20180717.models.AiRecognitionTaskInput`
|
|
19197
19213
|
"""
|
|
19198
19214
|
return self._AiRecognitionTask
|
|
19199
19215
|
|
|
19200
19216
|
@AiRecognitionTask.setter
|
|
19201
19217
|
def AiRecognitionTask(self, AiRecognitionTask):
|
|
19218
|
+
warnings.warn("parameter `AiRecognitionTask` is deprecated", DeprecationWarning)
|
|
19219
|
+
|
|
19202
19220
|
self._AiRecognitionTask = AiRecognitionTask
|
|
19203
19221
|
|
|
19204
19222
|
@property
|
|
@@ -19226,6 +19244,12 @@ class CreateProcedureTemplateRequest(AbstractModel):
|
|
|
19226
19244
|
if params.get("AiAnalysisTask") is not None:
|
|
19227
19245
|
self._AiAnalysisTask = AiAnalysisTaskInput()
|
|
19228
19246
|
self._AiAnalysisTask._deserialize(params.get("AiAnalysisTask"))
|
|
19247
|
+
if params.get("AiRecognitionTaskSet") is not None:
|
|
19248
|
+
self._AiRecognitionTaskSet = []
|
|
19249
|
+
for item in params.get("AiRecognitionTaskSet"):
|
|
19250
|
+
obj = AiRecognitionTaskInput()
|
|
19251
|
+
obj._deserialize(item)
|
|
19252
|
+
self._AiRecognitionTaskSet.append(obj)
|
|
19229
19253
|
if params.get("AiRecognitionTask") is not None:
|
|
19230
19254
|
self._AiRecognitionTask = AiRecognitionTaskInput()
|
|
19231
19255
|
self._AiRecognitionTask._deserialize(params.get("AiRecognitionTask"))
|
|
@@ -55669,7 +55693,9 @@ class ProcedureTemplate(AbstractModel):
|
|
|
55669
55693
|
:param _AiAnalysisTask: AI 智能内容分析类型任务参数。
|
|
55670
55694
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
55671
55695
|
:type AiAnalysisTask: :class:`tencentcloud.vod.v20180717.models.AiAnalysisTaskInput`
|
|
55672
|
-
:param
|
|
55696
|
+
:param _AiRecognitionTaskSet: AI 内容识别类型任务参数。
|
|
55697
|
+
:type AiRecognitionTaskSet: list of AiRecognitionTaskInput
|
|
55698
|
+
:param _AiRecognitionTask: 该参数已不推荐使用,建议使用 AiRecognitionTaskSet。
|
|
55673
55699
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
55674
55700
|
:type AiRecognitionTask: :class:`tencentcloud.vod.v20180717.models.AiRecognitionTaskInput`
|
|
55675
55701
|
:param _MiniProgramPublishTask: 微信小程序发布任务参数。
|
|
@@ -55689,6 +55715,7 @@ class ProcedureTemplate(AbstractModel):
|
|
|
55689
55715
|
self._MediaProcessTask = None
|
|
55690
55716
|
self._AiContentReviewTask = None
|
|
55691
55717
|
self._AiAnalysisTask = None
|
|
55718
|
+
self._AiRecognitionTaskSet = None
|
|
55692
55719
|
self._AiRecognitionTask = None
|
|
55693
55720
|
self._MiniProgramPublishTask = None
|
|
55694
55721
|
self._ReviewAudioVideoTask = None
|
|
@@ -55768,8 +55795,21 @@ class ProcedureTemplate(AbstractModel):
|
|
|
55768
55795
|
self._AiAnalysisTask = AiAnalysisTask
|
|
55769
55796
|
|
|
55770
55797
|
@property
|
|
55771
|
-
def
|
|
55798
|
+
def AiRecognitionTaskSet(self):
|
|
55772
55799
|
"""AI 内容识别类型任务参数。
|
|
55800
|
+
:rtype: list of AiRecognitionTaskInput
|
|
55801
|
+
"""
|
|
55802
|
+
return self._AiRecognitionTaskSet
|
|
55803
|
+
|
|
55804
|
+
@AiRecognitionTaskSet.setter
|
|
55805
|
+
def AiRecognitionTaskSet(self, AiRecognitionTaskSet):
|
|
55806
|
+
self._AiRecognitionTaskSet = AiRecognitionTaskSet
|
|
55807
|
+
|
|
55808
|
+
@property
|
|
55809
|
+
def AiRecognitionTask(self):
|
|
55810
|
+
warnings.warn("parameter `AiRecognitionTask` is deprecated", DeprecationWarning)
|
|
55811
|
+
|
|
55812
|
+
"""该参数已不推荐使用,建议使用 AiRecognitionTaskSet。
|
|
55773
55813
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
55774
55814
|
:rtype: :class:`tencentcloud.vod.v20180717.models.AiRecognitionTaskInput`
|
|
55775
55815
|
"""
|
|
@@ -55777,6 +55817,8 @@ class ProcedureTemplate(AbstractModel):
|
|
|
55777
55817
|
|
|
55778
55818
|
@AiRecognitionTask.setter
|
|
55779
55819
|
def AiRecognitionTask(self, AiRecognitionTask):
|
|
55820
|
+
warnings.warn("parameter `AiRecognitionTask` is deprecated", DeprecationWarning)
|
|
55821
|
+
|
|
55780
55822
|
self._AiRecognitionTask = AiRecognitionTask
|
|
55781
55823
|
|
|
55782
55824
|
@property
|
|
@@ -55839,6 +55881,12 @@ class ProcedureTemplate(AbstractModel):
|
|
|
55839
55881
|
if params.get("AiAnalysisTask") is not None:
|
|
55840
55882
|
self._AiAnalysisTask = AiAnalysisTaskInput()
|
|
55841
55883
|
self._AiAnalysisTask._deserialize(params.get("AiAnalysisTask"))
|
|
55884
|
+
if params.get("AiRecognitionTaskSet") is not None:
|
|
55885
|
+
self._AiRecognitionTaskSet = []
|
|
55886
|
+
for item in params.get("AiRecognitionTaskSet"):
|
|
55887
|
+
obj = AiRecognitionTaskInput()
|
|
55888
|
+
obj._deserialize(item)
|
|
55889
|
+
self._AiRecognitionTaskSet.append(obj)
|
|
55842
55890
|
if params.get("AiRecognitionTask") is not None:
|
|
55843
55891
|
self._AiRecognitionTask = AiRecognitionTaskInput()
|
|
55844
55892
|
self._AiRecognitionTask._deserialize(params.get("AiRecognitionTask"))
|
|
@@ -63118,7 +63166,9 @@ class ResetProcedureTemplateRequest(AbstractModel):
|
|
|
63118
63166
|
:type AiContentReviewTask: :class:`tencentcloud.vod.v20180717.models.AiContentReviewTaskInput`
|
|
63119
63167
|
:param _AiAnalysisTask: AI 智能内容分析类型任务参数。
|
|
63120
63168
|
:type AiAnalysisTask: :class:`tencentcloud.vod.v20180717.models.AiAnalysisTaskInput`
|
|
63121
|
-
:param
|
|
63169
|
+
:param _AiRecognitionTaskSet: AI 内容识别类型任务参数。
|
|
63170
|
+
:type AiRecognitionTaskSet: list of AiRecognitionTaskInput
|
|
63171
|
+
:param _AiRecognitionTask: 该参数已不推荐使用,建议使用 AiRecognitionTaskSet。
|
|
63122
63172
|
:type AiRecognitionTask: :class:`tencentcloud.vod.v20180717.models.AiRecognitionTaskInput`
|
|
63123
63173
|
:param _ReviewAudioVideoTask: 音视频审核类型任务参数。
|
|
63124
63174
|
:type ReviewAudioVideoTask: :class:`tencentcloud.vod.v20180717.models.ProcedureReviewAudioVideoTaskInput`
|
|
@@ -63129,6 +63179,7 @@ class ResetProcedureTemplateRequest(AbstractModel):
|
|
|
63129
63179
|
self._MediaProcessTask = None
|
|
63130
63180
|
self._AiContentReviewTask = None
|
|
63131
63181
|
self._AiAnalysisTask = None
|
|
63182
|
+
self._AiRecognitionTaskSet = None
|
|
63132
63183
|
self._AiRecognitionTask = None
|
|
63133
63184
|
self._ReviewAudioVideoTask = None
|
|
63134
63185
|
|
|
@@ -63200,14 +63251,29 @@ class ResetProcedureTemplateRequest(AbstractModel):
|
|
|
63200
63251
|
self._AiAnalysisTask = AiAnalysisTask
|
|
63201
63252
|
|
|
63202
63253
|
@property
|
|
63203
|
-
def
|
|
63254
|
+
def AiRecognitionTaskSet(self):
|
|
63204
63255
|
"""AI 内容识别类型任务参数。
|
|
63256
|
+
:rtype: list of AiRecognitionTaskInput
|
|
63257
|
+
"""
|
|
63258
|
+
return self._AiRecognitionTaskSet
|
|
63259
|
+
|
|
63260
|
+
@AiRecognitionTaskSet.setter
|
|
63261
|
+
def AiRecognitionTaskSet(self, AiRecognitionTaskSet):
|
|
63262
|
+
self._AiRecognitionTaskSet = AiRecognitionTaskSet
|
|
63263
|
+
|
|
63264
|
+
@property
|
|
63265
|
+
def AiRecognitionTask(self):
|
|
63266
|
+
warnings.warn("parameter `AiRecognitionTask` is deprecated", DeprecationWarning)
|
|
63267
|
+
|
|
63268
|
+
"""该参数已不推荐使用,建议使用 AiRecognitionTaskSet。
|
|
63205
63269
|
:rtype: :class:`tencentcloud.vod.v20180717.models.AiRecognitionTaskInput`
|
|
63206
63270
|
"""
|
|
63207
63271
|
return self._AiRecognitionTask
|
|
63208
63272
|
|
|
63209
63273
|
@AiRecognitionTask.setter
|
|
63210
63274
|
def AiRecognitionTask(self, AiRecognitionTask):
|
|
63275
|
+
warnings.warn("parameter `AiRecognitionTask` is deprecated", DeprecationWarning)
|
|
63276
|
+
|
|
63211
63277
|
self._AiRecognitionTask = AiRecognitionTask
|
|
63212
63278
|
|
|
63213
63279
|
@property
|
|
@@ -63235,6 +63301,12 @@ class ResetProcedureTemplateRequest(AbstractModel):
|
|
|
63235
63301
|
if params.get("AiAnalysisTask") is not None:
|
|
63236
63302
|
self._AiAnalysisTask = AiAnalysisTaskInput()
|
|
63237
63303
|
self._AiAnalysisTask._deserialize(params.get("AiAnalysisTask"))
|
|
63304
|
+
if params.get("AiRecognitionTaskSet") is not None:
|
|
63305
|
+
self._AiRecognitionTaskSet = []
|
|
63306
|
+
for item in params.get("AiRecognitionTaskSet"):
|
|
63307
|
+
obj = AiRecognitionTaskInput()
|
|
63308
|
+
obj._deserialize(item)
|
|
63309
|
+
self._AiRecognitionTaskSet.append(obj)
|
|
63238
63310
|
if params.get("AiRecognitionTask") is not None:
|
|
63239
63311
|
self._AiRecognitionTask = AiRecognitionTaskInput()
|
|
63240
63312
|
self._AiRecognitionTask._deserialize(params.get("AiRecognitionTask"))
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# 内部错误。
|
|
18
|
+
INTERNALERROR = 'InternalError'
|
|
19
|
+
|
|
20
|
+
# 参数错误。
|
|
21
|
+
INVALIDPARAMETER = 'InvalidParameter'
|
|
22
|
+
|
|
23
|
+
# 请求的次数超过了频率限制。
|
|
24
|
+
REQUESTLIMITEXCEEDED = 'RequestLimitExceeded'
|
|
25
|
+
|
|
26
|
+
# 未授权操作。
|
|
27
|
+
UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
|