tencentcloud-sdk-python 3.0.1116__py2.py3-none-any.whl → 3.0.1119__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/asr/v20190614/asr_client.py +1 -1
- tencentcloud/asr/v20190614/models.py +3 -4
- tencentcloud/bi/v20220105/models.py +36 -0
- tencentcloud/billing/v20180709/models.py +334 -17
- tencentcloud/ccc/v20200210/ccc_client.py +69 -0
- tencentcloud/ccc/v20200210/errorcodes.py +9 -0
- tencentcloud/ccc/v20200210/models.py +620 -0
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdwpg/v20201230/models.py +12 -0
- tencentcloud/ckafka/v20190819/ckafka_client.py +46 -0
- tencentcloud/ckafka/v20190819/models.py +300 -13
- tencentcloud/clb/v20180317/models.py +0 -1
- tencentcloud/cloudstudio/v20230508/models.py +52 -4
- tencentcloud/cls/v20201016/cls_client.py +4 -3
- tencentcloud/cls/v20201016/models.py +53 -53
- tencentcloud/csip/v20221121/models.py +10 -9
- tencentcloud/cwp/v20180228/cwp_client.py +6 -2
- tencentcloud/cwp/v20180228/models.py +166 -0
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
- tencentcloud/cynosdb/v20190107/models.py +375 -0
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +161 -0
- tencentcloud/dsgc/v20190723/models.py +24 -0
- tencentcloud/dts/v20211206/models.py +67 -2
- tencentcloud/es/v20180416/models.py +163 -5
- tencentcloud/ess/v20201111/ess_client.py +3 -1
- tencentcloud/ess/v20201111/models.py +51 -34
- tencentcloud/essbasic/v20210526/essbasic_client.py +3 -1
- tencentcloud/essbasic/v20210526/models.py +26 -7
- tencentcloud/faceid/v20180301/models.py +13 -0
- tencentcloud/iotexplorer/v20190423/errorcodes.py +3 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +529 -0
- tencentcloud/iotexplorer/v20190423/models.py +3400 -271
- tencentcloud/lcic/v20220817/models.py +90 -0
- tencentcloud/mps/v20190612/models.py +69 -25
- tencentcloud/ocr/v20181119/errorcodes.py +3 -0
- tencentcloud/ocr/v20181119/models.py +443 -0
- tencentcloud/ocr/v20181119/ocr_client.py +23 -0
- tencentcloud/pts/v20210728/models.py +124 -0
- tencentcloud/pts/v20210728/pts_client.py +92 -0
- tencentcloud/tione/v20211111/models.py +130 -2
- tencentcloud/tms/v20201229/tms_client.py +1 -1
- tencentcloud/tts/v20190823/models.py +13 -0
- tencentcloud/vod/v20180717/models.py +12 -17
- tencentcloud/wedata/v20210820/models.py +516 -21
- {tencentcloud_sdk_python-3.0.1116.dist-info → tencentcloud_sdk_python-3.0.1119.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1116.dist-info → tencentcloud_sdk_python-3.0.1119.dist-info}/RECORD +51 -51
- {tencentcloud_sdk_python-3.0.1116.dist-info → tencentcloud_sdk_python-3.0.1119.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1116.dist-info → tencentcloud_sdk_python-3.0.1119.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1116.dist-info → tencentcloud_sdk_python-3.0.1119.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -446,7 +446,7 @@ class AsrClient(AbstractClient):
|
|
|
446
446
|
|
|
447
447
|
|
|
448
448
|
def SentenceRecognition(self, request):
|
|
449
|
-
"""本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、法语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac。<br>• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:30次/秒,如您有提高请求频率限制的需求,请[前往购买](https://buy.cloud.tencent.com/asr)。
|
|
449
|
+
"""本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、法语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac、 amr。<br>• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:30次/秒,如您有提高请求频率限制的需求,请[前往购买](https://buy.cloud.tencent.com/asr)。
|
|
450
450
|
|
|
451
451
|
:param request: Request instance for SentenceRecognition.
|
|
452
452
|
:type request: :class:`tencentcloud.asr.v20190614.models.SentenceRecognitionRequest`
|
|
@@ -606,9 +606,8 @@ class CreateRecTaskRequest(AbstractModel):
|
|
|
606
606
|
通用场景引擎:
|
|
607
607
|
**注意:除电话通讯场景以外的其它识别场景,请务必使用以下16k引擎**
|
|
608
608
|
• **16k_zh:**中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景;
|
|
609
|
-
• **16k_zh_large
|
|
609
|
+
• **16k_zh_large:**普方英大模型引擎【大模型版】。当前模型同时支持中文、英文、[多种中文方言](https://cloud.tencent.com/document/product/1093/35682)等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远、等低质量音频的识别准确率极大提升,[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比中文普通话常规版本与普方英大模型版本的识别效果;
|
|
610
610
|
• **16k_zh_dialect:**中文普通话+多方言混合引擎,除普通话外支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);
|
|
611
|
-
• **16k_dialect_large:**中文普通话+多方言混合引擎【大模型版】,针对低质量音频、中文普通话的识别准确率极大提升,适合普通话为主、方言识别为辅的应用场景,[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比方言混合引擎常规版本与大模型版本的识别效果;
|
|
612
611
|
• **16k_en:**英语;
|
|
613
612
|
• **16k_yue:**粤语;
|
|
614
613
|
• **16k_zh-PY:**中英粤混合引擎,使用一个引擎同时识别中文普通话、英语、粤语三个语言;
|
|
@@ -674,7 +673,7 @@ class CreateRecTaskRequest(AbstractModel):
|
|
|
674
673
|
:type CallbackUrl: str
|
|
675
674
|
:param _SpeakerDiarization: 是否开启说话人分离
|
|
676
675
|
0:不开启;
|
|
677
|
-
1:开启(仅支持以下引擎:8k_zh/16k_zh/16k_ms/16k_en/16k_id/16k_zh_large/
|
|
676
|
+
1:开启(仅支持以下引擎:8k_zh/16k_zh/16k_ms/16k_en/16k_id/16k_zh_large/16k_zh_dialect,且ChannelNum=1时可用);
|
|
678
677
|
默认值为 0
|
|
679
678
|
|
|
680
679
|
注意:
|
|
@@ -3104,7 +3103,7 @@ class UpdateAsrVocabRequest(AbstractModel):
|
|
|
3104
3103
|
:type VocabId: str
|
|
3105
3104
|
:param _Name: 热词表名称,长度在1-255之间
|
|
3106
3105
|
:type Name: str
|
|
3107
|
-
:param _WordWeights: 词权重数组,包含全部的热词和对应的权重。每个热词的长度不大于10个汉字或30个英文字符,权重为[1,
|
|
3106
|
+
:param _WordWeights: 词权重数组,包含全部的热词和对应的权重。每个热词的长度不大于10个汉字或30个英文字符,权重为[1,11]之间整数,数组长度不大于1000
|
|
3108
3107
|
:type WordWeights: list of HotWord
|
|
3109
3108
|
:param _WordWeightStr: 词权重文件(纯文本文件)的二进制base64编码,以行分隔,每行的格式为word|weight,即以英文符号|为分割,左边为词,右边为权重,如:你好|5。
|
|
3110
3109
|
当用户传此参数(参数长度大于0),即以此参数解析词权重,WordWeights会被忽略
|
|
@@ -828,6 +828,8 @@ class CreateDatasourceRequest(AbstractModel):
|
|
|
828
828
|
:type Vport: str
|
|
829
829
|
:param _VpcId: 腾讯云私有网络标识
|
|
830
830
|
:type VpcId: str
|
|
831
|
+
:param _OperationAuthLimit: 操作权限限制
|
|
832
|
+
:type OperationAuthLimit: list of str
|
|
831
833
|
"""
|
|
832
834
|
self._DbHost = None
|
|
833
835
|
self._DbPort = None
|
|
@@ -848,6 +850,7 @@ class CreateDatasourceRequest(AbstractModel):
|
|
|
848
850
|
self._Vip = None
|
|
849
851
|
self._Vport = None
|
|
850
852
|
self._VpcId = None
|
|
853
|
+
self._OperationAuthLimit = None
|
|
851
854
|
|
|
852
855
|
@property
|
|
853
856
|
def DbHost(self):
|
|
@@ -1001,6 +1004,14 @@ class CreateDatasourceRequest(AbstractModel):
|
|
|
1001
1004
|
def VpcId(self, VpcId):
|
|
1002
1005
|
self._VpcId = VpcId
|
|
1003
1006
|
|
|
1007
|
+
@property
|
|
1008
|
+
def OperationAuthLimit(self):
|
|
1009
|
+
return self._OperationAuthLimit
|
|
1010
|
+
|
|
1011
|
+
@OperationAuthLimit.setter
|
|
1012
|
+
def OperationAuthLimit(self, OperationAuthLimit):
|
|
1013
|
+
self._OperationAuthLimit = OperationAuthLimit
|
|
1014
|
+
|
|
1004
1015
|
|
|
1005
1016
|
def _deserialize(self, params):
|
|
1006
1017
|
self._DbHost = params.get("DbHost")
|
|
@@ -1022,6 +1033,7 @@ class CreateDatasourceRequest(AbstractModel):
|
|
|
1022
1033
|
self._Vip = params.get("Vip")
|
|
1023
1034
|
self._Vport = params.get("Vport")
|
|
1024
1035
|
self._VpcId = params.get("VpcId")
|
|
1036
|
+
self._OperationAuthLimit = params.get("OperationAuthLimit")
|
|
1025
1037
|
memeber_set = set(params.keys())
|
|
1026
1038
|
for name, value in vars(self).items():
|
|
1027
1039
|
property_name = name[1:]
|
|
@@ -1330,6 +1342,8 @@ class CreateProjectRequest(AbstractModel):
|
|
|
1330
1342
|
:type IsApply: bool
|
|
1331
1343
|
:param _DefaultPanelType: 默认看板
|
|
1332
1344
|
:type DefaultPanelType: int
|
|
1345
|
+
:param _ManagePlatform: 管理平台
|
|
1346
|
+
:type ManagePlatform: str
|
|
1333
1347
|
"""
|
|
1334
1348
|
self._Name = None
|
|
1335
1349
|
self._ColorCode = None
|
|
@@ -1337,6 +1351,7 @@ class CreateProjectRequest(AbstractModel):
|
|
|
1337
1351
|
self._Mark = None
|
|
1338
1352
|
self._IsApply = None
|
|
1339
1353
|
self._DefaultPanelType = None
|
|
1354
|
+
self._ManagePlatform = None
|
|
1340
1355
|
|
|
1341
1356
|
@property
|
|
1342
1357
|
def Name(self):
|
|
@@ -1386,6 +1401,14 @@ class CreateProjectRequest(AbstractModel):
|
|
|
1386
1401
|
def DefaultPanelType(self, DefaultPanelType):
|
|
1387
1402
|
self._DefaultPanelType = DefaultPanelType
|
|
1388
1403
|
|
|
1404
|
+
@property
|
|
1405
|
+
def ManagePlatform(self):
|
|
1406
|
+
return self._ManagePlatform
|
|
1407
|
+
|
|
1408
|
+
@ManagePlatform.setter
|
|
1409
|
+
def ManagePlatform(self, ManagePlatform):
|
|
1410
|
+
self._ManagePlatform = ManagePlatform
|
|
1411
|
+
|
|
1389
1412
|
|
|
1390
1413
|
def _deserialize(self, params):
|
|
1391
1414
|
self._Name = params.get("Name")
|
|
@@ -1394,6 +1417,7 @@ class CreateProjectRequest(AbstractModel):
|
|
|
1394
1417
|
self._Mark = params.get("Mark")
|
|
1395
1418
|
self._IsApply = params.get("IsApply")
|
|
1396
1419
|
self._DefaultPanelType = params.get("DefaultPanelType")
|
|
1420
|
+
self._ManagePlatform = params.get("ManagePlatform")
|
|
1397
1421
|
memeber_set = set(params.keys())
|
|
1398
1422
|
for name, value in vars(self).items():
|
|
1399
1423
|
property_name = name[1:]
|
|
@@ -4954,6 +4978,8 @@ class ModifyProjectRequest(AbstractModel):
|
|
|
4954
4978
|
:type DefaultPanelType: int
|
|
4955
4979
|
:param _PanelScope: 2
|
|
4956
4980
|
:type PanelScope: str
|
|
4981
|
+
:param _ManagePlatform: 项目管理平台
|
|
4982
|
+
:type ManagePlatform: str
|
|
4957
4983
|
"""
|
|
4958
4984
|
self._Id = None
|
|
4959
4985
|
self._Name = None
|
|
@@ -4964,6 +4990,7 @@ class ModifyProjectRequest(AbstractModel):
|
|
|
4964
4990
|
self._Seed = None
|
|
4965
4991
|
self._DefaultPanelType = None
|
|
4966
4992
|
self._PanelScope = None
|
|
4993
|
+
self._ManagePlatform = None
|
|
4967
4994
|
|
|
4968
4995
|
@property
|
|
4969
4996
|
def Id(self):
|
|
@@ -5037,6 +5064,14 @@ class ModifyProjectRequest(AbstractModel):
|
|
|
5037
5064
|
def PanelScope(self, PanelScope):
|
|
5038
5065
|
self._PanelScope = PanelScope
|
|
5039
5066
|
|
|
5067
|
+
@property
|
|
5068
|
+
def ManagePlatform(self):
|
|
5069
|
+
return self._ManagePlatform
|
|
5070
|
+
|
|
5071
|
+
@ManagePlatform.setter
|
|
5072
|
+
def ManagePlatform(self, ManagePlatform):
|
|
5073
|
+
self._ManagePlatform = ManagePlatform
|
|
5074
|
+
|
|
5040
5075
|
|
|
5041
5076
|
def _deserialize(self, params):
|
|
5042
5077
|
self._Id = params.get("Id")
|
|
@@ -5048,6 +5083,7 @@ class ModifyProjectRequest(AbstractModel):
|
|
|
5048
5083
|
self._Seed = params.get("Seed")
|
|
5049
5084
|
self._DefaultPanelType = params.get("DefaultPanelType")
|
|
5050
5085
|
self._PanelScope = params.get("PanelScope")
|
|
5086
|
+
self._ManagePlatform = params.get("ManagePlatform")
|
|
5051
5087
|
memeber_set = set(params.keys())
|
|
5052
5088
|
for name, value in vars(self).items():
|
|
5053
5089
|
property_name = name[1:]
|