tencentcloud-sdk-python 3.0.1278__py2.py3-none-any.whl → 3.0.1279__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/aiart/v20221229/aiart_client.py +24 -0
- tencentcloud/aiart/v20221229/models.py +201 -0
- tencentcloud/cam/v20190116/cam_client.py +23 -0
- tencentcloud/cam/v20190116/errorcodes.py +3 -0
- tencentcloud/cam/v20190116/models.py +111 -0
- tencentcloud/cfg/v20210820/models.py +15 -0
- tencentcloud/cloudaudit/v20190319/models.py +8 -8
- tencentcloud/cvm/v20170312/models.py +14 -14
- tencentcloud/es/v20180416/models.py +171 -0
- tencentcloud/faceid/v20180301/errorcodes.py +3 -0
- tencentcloud/mps/v20190612/models.py +17 -0
- tencentcloud/mqtt/v20240516/models.py +530 -0
- tencentcloud/mqtt/v20240516/mqtt_client.py +92 -0
- tencentcloud/ocr/v20181119/models.py +253 -0
- tencentcloud/tse/v20201207/errorcodes.py +3 -0
- tencentcloud/tse/v20201207/models.py +923 -37
- tencentcloud/tse/v20201207/tse_client.py +92 -0
- tencentcloud/vdb/v20230616/models.py +12 -0
- tencentcloud/vpc/v20170312/models.py +20 -0
- {tencentcloud_sdk_python-3.0.1278.dist-info → tencentcloud_sdk_python-3.0.1279.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1278.dist-info → tencentcloud_sdk_python-3.0.1279.dist-info}/RECORD +25 -25
- {tencentcloud_sdk_python-3.0.1278.dist-info → tencentcloud_sdk_python-3.0.1279.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1278.dist-info → tencentcloud_sdk_python-3.0.1279.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1278.dist-info → tencentcloud_sdk_python-3.0.1279.dist-info}/top_level.txt +0 -0
@@ -8740,12 +8740,28 @@ class EsDictionaryInfo(AbstractModel):
|
|
8740
8740
|
:type Synonym: list of DictInfo
|
8741
8741
|
:param _UpdateType: 更新词典类型
|
8742
8742
|
:type UpdateType: str
|
8743
|
+
:param _AnsjMain: ansj启用词词典列表
|
8744
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8745
|
+
:type AnsjMain: list of DictInfo
|
8746
|
+
:param _AnsjStop: ansj停用词词典列表
|
8747
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8748
|
+
:type AnsjStop: list of DictInfo
|
8749
|
+
:param _AnsjAmbiguity: ansj歧义词库列表
|
8750
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8751
|
+
:type AnsjAmbiguity: list of DictInfo
|
8752
|
+
:param _AnsjSynonyms: ansj同义词词典列表
|
8753
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8754
|
+
:type AnsjSynonyms: list of DictInfo
|
8743
8755
|
"""
|
8744
8756
|
self._MainDict = None
|
8745
8757
|
self._Stopwords = None
|
8746
8758
|
self._QQDict = None
|
8747
8759
|
self._Synonym = None
|
8748
8760
|
self._UpdateType = None
|
8761
|
+
self._AnsjMain = None
|
8762
|
+
self._AnsjStop = None
|
8763
|
+
self._AnsjAmbiguity = None
|
8764
|
+
self._AnsjSynonyms = None
|
8749
8765
|
|
8750
8766
|
@property
|
8751
8767
|
def MainDict(self):
|
@@ -8802,6 +8818,54 @@ class EsDictionaryInfo(AbstractModel):
|
|
8802
8818
|
def UpdateType(self, UpdateType):
|
8803
8819
|
self._UpdateType = UpdateType
|
8804
8820
|
|
8821
|
+
@property
|
8822
|
+
def AnsjMain(self):
|
8823
|
+
"""ansj启用词词典列表
|
8824
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8825
|
+
:rtype: list of DictInfo
|
8826
|
+
"""
|
8827
|
+
return self._AnsjMain
|
8828
|
+
|
8829
|
+
@AnsjMain.setter
|
8830
|
+
def AnsjMain(self, AnsjMain):
|
8831
|
+
self._AnsjMain = AnsjMain
|
8832
|
+
|
8833
|
+
@property
|
8834
|
+
def AnsjStop(self):
|
8835
|
+
"""ansj停用词词典列表
|
8836
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8837
|
+
:rtype: list of DictInfo
|
8838
|
+
"""
|
8839
|
+
return self._AnsjStop
|
8840
|
+
|
8841
|
+
@AnsjStop.setter
|
8842
|
+
def AnsjStop(self, AnsjStop):
|
8843
|
+
self._AnsjStop = AnsjStop
|
8844
|
+
|
8845
|
+
@property
|
8846
|
+
def AnsjAmbiguity(self):
|
8847
|
+
"""ansj歧义词库列表
|
8848
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8849
|
+
:rtype: list of DictInfo
|
8850
|
+
"""
|
8851
|
+
return self._AnsjAmbiguity
|
8852
|
+
|
8853
|
+
@AnsjAmbiguity.setter
|
8854
|
+
def AnsjAmbiguity(self, AnsjAmbiguity):
|
8855
|
+
self._AnsjAmbiguity = AnsjAmbiguity
|
8856
|
+
|
8857
|
+
@property
|
8858
|
+
def AnsjSynonyms(self):
|
8859
|
+
"""ansj同义词词典列表
|
8860
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8861
|
+
:rtype: list of DictInfo
|
8862
|
+
"""
|
8863
|
+
return self._AnsjSynonyms
|
8864
|
+
|
8865
|
+
@AnsjSynonyms.setter
|
8866
|
+
def AnsjSynonyms(self, AnsjSynonyms):
|
8867
|
+
self._AnsjSynonyms = AnsjSynonyms
|
8868
|
+
|
8805
8869
|
|
8806
8870
|
def _deserialize(self, params):
|
8807
8871
|
if params.get("MainDict") is not None:
|
@@ -8829,6 +8893,30 @@ class EsDictionaryInfo(AbstractModel):
|
|
8829
8893
|
obj._deserialize(item)
|
8830
8894
|
self._Synonym.append(obj)
|
8831
8895
|
self._UpdateType = params.get("UpdateType")
|
8896
|
+
if params.get("AnsjMain") is not None:
|
8897
|
+
self._AnsjMain = []
|
8898
|
+
for item in params.get("AnsjMain"):
|
8899
|
+
obj = DictInfo()
|
8900
|
+
obj._deserialize(item)
|
8901
|
+
self._AnsjMain.append(obj)
|
8902
|
+
if params.get("AnsjStop") is not None:
|
8903
|
+
self._AnsjStop = []
|
8904
|
+
for item in params.get("AnsjStop"):
|
8905
|
+
obj = DictInfo()
|
8906
|
+
obj._deserialize(item)
|
8907
|
+
self._AnsjStop.append(obj)
|
8908
|
+
if params.get("AnsjAmbiguity") is not None:
|
8909
|
+
self._AnsjAmbiguity = []
|
8910
|
+
for item in params.get("AnsjAmbiguity"):
|
8911
|
+
obj = DictInfo()
|
8912
|
+
obj._deserialize(item)
|
8913
|
+
self._AnsjAmbiguity.append(obj)
|
8914
|
+
if params.get("AnsjSynonyms") is not None:
|
8915
|
+
self._AnsjSynonyms = []
|
8916
|
+
for item in params.get("AnsjSynonyms"):
|
8917
|
+
obj = DictInfo()
|
8918
|
+
obj._deserialize(item)
|
8919
|
+
self._AnsjSynonyms.append(obj)
|
8832
8920
|
memeber_set = set(params.keys())
|
8833
8921
|
for name, value in vars(self).items():
|
8834
8922
|
property_name = name[1:]
|
@@ -10353,6 +10441,15 @@ RENEW_FLAG_DEFAULT:不自动续费
|
|
10353
10441
|
:param _ReadWriteMode: 读写分离模式:0-不开启,1-本地读写分离,2-远端读写分离
|
10354
10442
|
注意:此字段可能返回 null,表示取不到有效值。
|
10355
10443
|
:type ReadWriteMode: int
|
10444
|
+
:param _EnableScheduleRecoverGroup: 是否有置放群组异步调度任务
|
10445
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10446
|
+
:type EnableScheduleRecoverGroup: bool
|
10447
|
+
:param _EnableScheduleOperationDuration: 异步调度任务的时间
|
10448
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10449
|
+
:type EnableScheduleOperationDuration: :class:`tencentcloud.es.v20180416.models.EnableScheduleOperationDuration`
|
10450
|
+
:param _EnableDestroyProtection: 开启集群保护:OPEN-开启,CLOSE-关闭
|
10451
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
10452
|
+
:type EnableDestroyProtection: str
|
10356
10453
|
"""
|
10357
10454
|
self._InstanceId = None
|
10358
10455
|
self._InstanceName = None
|
@@ -10445,6 +10542,9 @@ RENEW_FLAG_DEFAULT:不自动续费
|
|
10445
10542
|
self._SubProductCode = None
|
10446
10543
|
self._CosBucketStorageSize = None
|
10447
10544
|
self._ReadWriteMode = None
|
10545
|
+
self._EnableScheduleRecoverGroup = None
|
10546
|
+
self._EnableScheduleOperationDuration = None
|
10547
|
+
self._EnableDestroyProtection = None
|
10448
10548
|
|
10449
10549
|
@property
|
10450
10550
|
def InstanceId(self):
|
@@ -11507,6 +11607,42 @@ RENEW_FLAG_DEFAULT:不自动续费
|
|
11507
11607
|
def ReadWriteMode(self, ReadWriteMode):
|
11508
11608
|
self._ReadWriteMode = ReadWriteMode
|
11509
11609
|
|
11610
|
+
@property
|
11611
|
+
def EnableScheduleRecoverGroup(self):
|
11612
|
+
"""是否有置放群组异步调度任务
|
11613
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11614
|
+
:rtype: bool
|
11615
|
+
"""
|
11616
|
+
return self._EnableScheduleRecoverGroup
|
11617
|
+
|
11618
|
+
@EnableScheduleRecoverGroup.setter
|
11619
|
+
def EnableScheduleRecoverGroup(self, EnableScheduleRecoverGroup):
|
11620
|
+
self._EnableScheduleRecoverGroup = EnableScheduleRecoverGroup
|
11621
|
+
|
11622
|
+
@property
|
11623
|
+
def EnableScheduleOperationDuration(self):
|
11624
|
+
"""异步调度任务的时间
|
11625
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11626
|
+
:rtype: :class:`tencentcloud.es.v20180416.models.EnableScheduleOperationDuration`
|
11627
|
+
"""
|
11628
|
+
return self._EnableScheduleOperationDuration
|
11629
|
+
|
11630
|
+
@EnableScheduleOperationDuration.setter
|
11631
|
+
def EnableScheduleOperationDuration(self, EnableScheduleOperationDuration):
|
11632
|
+
self._EnableScheduleOperationDuration = EnableScheduleOperationDuration
|
11633
|
+
|
11634
|
+
@property
|
11635
|
+
def EnableDestroyProtection(self):
|
11636
|
+
"""开启集群保护:OPEN-开启,CLOSE-关闭
|
11637
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
11638
|
+
:rtype: str
|
11639
|
+
"""
|
11640
|
+
return self._EnableDestroyProtection
|
11641
|
+
|
11642
|
+
@EnableDestroyProtection.setter
|
11643
|
+
def EnableDestroyProtection(self, EnableDestroyProtection):
|
11644
|
+
self._EnableDestroyProtection = EnableDestroyProtection
|
11645
|
+
|
11510
11646
|
|
11511
11647
|
def _deserialize(self, params):
|
11512
11648
|
self._InstanceId = params.get("InstanceId")
|
@@ -11646,6 +11782,11 @@ RENEW_FLAG_DEFAULT:不自动续费
|
|
11646
11782
|
self._SubProductCode = params.get("SubProductCode")
|
11647
11783
|
self._CosBucketStorageSize = params.get("CosBucketStorageSize")
|
11648
11784
|
self._ReadWriteMode = params.get("ReadWriteMode")
|
11785
|
+
self._EnableScheduleRecoverGroup = params.get("EnableScheduleRecoverGroup")
|
11786
|
+
if params.get("EnableScheduleOperationDuration") is not None:
|
11787
|
+
self._EnableScheduleOperationDuration = EnableScheduleOperationDuration()
|
11788
|
+
self._EnableScheduleOperationDuration._deserialize(params.get("EnableScheduleOperationDuration"))
|
11789
|
+
self._EnableDestroyProtection = params.get("EnableDestroyProtection")
|
11649
11790
|
memeber_set = set(params.keys())
|
11650
11791
|
for name, value in vars(self).items():
|
11651
11792
|
property_name = name[1:]
|
@@ -14360,6 +14501,8 @@ class Operation(AbstractModel):
|
|
14360
14501
|
:type Tasks: list of TaskDetail
|
14361
14502
|
:param _Progress: 操作进度
|
14362
14503
|
:type Progress: float
|
14504
|
+
:param _RollbackTag: 回滚标记, 0未回滚 ,1回滚中,2已回滚
|
14505
|
+
:type RollbackTag: int
|
14363
14506
|
:param _SubAccountUin: 操作者Uin
|
14364
14507
|
注意:此字段可能返回 null,表示取不到有效值。
|
14365
14508
|
:type SubAccountUin: str
|
@@ -14371,6 +14514,7 @@ class Operation(AbstractModel):
|
|
14371
14514
|
self._Result = None
|
14372
14515
|
self._Tasks = None
|
14373
14516
|
self._Progress = None
|
14517
|
+
self._RollbackTag = None
|
14374
14518
|
self._SubAccountUin = None
|
14375
14519
|
|
14376
14520
|
@property
|
@@ -14450,6 +14594,17 @@ class Operation(AbstractModel):
|
|
14450
14594
|
def Progress(self, Progress):
|
14451
14595
|
self._Progress = Progress
|
14452
14596
|
|
14597
|
+
@property
|
14598
|
+
def RollbackTag(self):
|
14599
|
+
"""回滚标记, 0未回滚 ,1回滚中,2已回滚
|
14600
|
+
:rtype: int
|
14601
|
+
"""
|
14602
|
+
return self._RollbackTag
|
14603
|
+
|
14604
|
+
@RollbackTag.setter
|
14605
|
+
def RollbackTag(self, RollbackTag):
|
14606
|
+
self._RollbackTag = RollbackTag
|
14607
|
+
|
14453
14608
|
@property
|
14454
14609
|
def SubAccountUin(self):
|
14455
14610
|
"""操作者Uin
|
@@ -14478,6 +14633,7 @@ class Operation(AbstractModel):
|
|
14478
14633
|
obj._deserialize(item)
|
14479
14634
|
self._Tasks.append(obj)
|
14480
14635
|
self._Progress = params.get("Progress")
|
14636
|
+
self._RollbackTag = params.get("RollbackTag")
|
14481
14637
|
self._SubAccountUin = params.get("SubAccountUin")
|
14482
14638
|
memeber_set = set(params.keys())
|
14483
14639
|
for name, value in vars(self).items():
|
@@ -18287,6 +18443,8 @@ CLOSE 关闭
|
|
18287
18443
|
:type EnableScheduleRecoverGroup: bool
|
18288
18444
|
:param _EnableScheduleOperationDuration: 置放群组异步任务可维护时间段
|
18289
18445
|
:type EnableScheduleOperationDuration: :class:`tencentcloud.es.v20180416.models.EnableScheduleOperationDuration`
|
18446
|
+
:param _EnableDestroyProtection: 开启集群保护:OPEN-开启,CLOSE-关闭
|
18447
|
+
:type EnableDestroyProtection: str
|
18290
18448
|
"""
|
18291
18449
|
self._InstanceId = None
|
18292
18450
|
self._InstanceName = None
|
@@ -18331,6 +18489,7 @@ CLOSE 关闭
|
|
18331
18489
|
self._ReadWriteMode = None
|
18332
18490
|
self._EnableScheduleRecoverGroup = None
|
18333
18491
|
self._EnableScheduleOperationDuration = None
|
18492
|
+
self._EnableDestroyProtection = None
|
18334
18493
|
|
18335
18494
|
@property
|
18336
18495
|
def InstanceId(self):
|
@@ -18826,6 +18985,17 @@ CLOSE 关闭
|
|
18826
18985
|
def EnableScheduleOperationDuration(self, EnableScheduleOperationDuration):
|
18827
18986
|
self._EnableScheduleOperationDuration = EnableScheduleOperationDuration
|
18828
18987
|
|
18988
|
+
@property
|
18989
|
+
def EnableDestroyProtection(self):
|
18990
|
+
"""开启集群保护:OPEN-开启,CLOSE-关闭
|
18991
|
+
:rtype: str
|
18992
|
+
"""
|
18993
|
+
return self._EnableDestroyProtection
|
18994
|
+
|
18995
|
+
@EnableDestroyProtection.setter
|
18996
|
+
def EnableDestroyProtection(self, EnableDestroyProtection):
|
18997
|
+
self._EnableDestroyProtection = EnableDestroyProtection
|
18998
|
+
|
18829
18999
|
|
18830
19000
|
def _deserialize(self, params):
|
18831
19001
|
self._InstanceId = params.get("InstanceId")
|
@@ -18900,6 +19070,7 @@ CLOSE 关闭
|
|
18900
19070
|
if params.get("EnableScheduleOperationDuration") is not None:
|
18901
19071
|
self._EnableScheduleOperationDuration = EnableScheduleOperationDuration()
|
18902
19072
|
self._EnableScheduleOperationDuration._deserialize(params.get("EnableScheduleOperationDuration"))
|
19073
|
+
self._EnableDestroyProtection = params.get("EnableDestroyProtection")
|
18903
19074
|
memeber_set = set(params.keys())
|
18904
19075
|
for name, value in vars(self).items():
|
18905
19076
|
property_name = name[1:]
|
@@ -59,6 +59,9 @@ FAILEDOPERATION_COMPARELOWSIMILARITY = 'FailedOperation.CompareLowSimilarity'
|
|
59
59
|
# 调用比对引擎接口出错。
|
60
60
|
FAILEDOPERATION_COMPARESYSTEMERROR = 'FailedOperation.CompareSystemError'
|
61
61
|
|
62
|
+
# The video compression failed. Please try again or reduce the size of the input video.
|
63
|
+
FAILEDOPERATION_COMPRESSVIDEOERROR = 'FailedOperation.CompressVideoError'
|
64
|
+
|
62
65
|
# 图中人脸存在遮挡,请传入无遮挡人脸图片
|
63
66
|
FAILEDOPERATION_COVEREDFACE = 'FailedOperation.CoveredFace'
|
64
67
|
|
@@ -1703,9 +1703,13 @@ class AddOnSubtitle(AbstractModel):
|
|
1703
1703
|
:param _Subtitle: 字幕文件。
|
1704
1704
|
注意:此字段可能返回 null,表示取不到有效值。
|
1705
1705
|
:type Subtitle: :class:`tencentcloud.mps.v20190612.models.MediaInputInfo`
|
1706
|
+
:param _SubtitleName: 字幕名称
|
1707
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1708
|
+
:type SubtitleName: str
|
1706
1709
|
"""
|
1707
1710
|
self._Type = None
|
1708
1711
|
self._Subtitle = None
|
1712
|
+
self._SubtitleName = None
|
1709
1713
|
|
1710
1714
|
@property
|
1711
1715
|
def Type(self):
|
@@ -1734,12 +1738,25 @@ class AddOnSubtitle(AbstractModel):
|
|
1734
1738
|
def Subtitle(self, Subtitle):
|
1735
1739
|
self._Subtitle = Subtitle
|
1736
1740
|
|
1741
|
+
@property
|
1742
|
+
def SubtitleName(self):
|
1743
|
+
"""字幕名称
|
1744
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1745
|
+
:rtype: str
|
1746
|
+
"""
|
1747
|
+
return self._SubtitleName
|
1748
|
+
|
1749
|
+
@SubtitleName.setter
|
1750
|
+
def SubtitleName(self, SubtitleName):
|
1751
|
+
self._SubtitleName = SubtitleName
|
1752
|
+
|
1737
1753
|
|
1738
1754
|
def _deserialize(self, params):
|
1739
1755
|
self._Type = params.get("Type")
|
1740
1756
|
if params.get("Subtitle") is not None:
|
1741
1757
|
self._Subtitle = MediaInputInfo()
|
1742
1758
|
self._Subtitle._deserialize(params.get("Subtitle"))
|
1759
|
+
self._SubtitleName = params.get("SubtitleName")
|
1743
1760
|
memeber_set = set(params.keys())
|
1744
1761
|
for name, value in vars(self).items():
|
1745
1762
|
property_name = name[1:]
|