tencentcloud-sdk-python 3.0.1277__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.
Files changed (45) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aiart/v20221229/aiart_client.py +48 -0
  3. tencentcloud/aiart/v20221229/models.py +402 -21
  4. tencentcloud/batch/v20170312/models.py +19 -19
  5. tencentcloud/cam/v20190116/cam_client.py +23 -0
  6. tencentcloud/cam/v20190116/errorcodes.py +3 -0
  7. tencentcloud/cam/v20190116/models.py +111 -0
  8. tencentcloud/cfg/v20210820/models.py +15 -0
  9. tencentcloud/cfw/v20190904/models.py +2 -2
  10. tencentcloud/cloudapp/v20220530/errorcodes.py +6 -0
  11. tencentcloud/cloudaudit/v20190319/models.py +8 -8
  12. tencentcloud/cvm/v20170312/models.py +14 -14
  13. tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
  14. tencentcloud/cynosdb/v20190107/models.py +311 -30
  15. tencentcloud/dbbrain/v20210527/models.py +2 -2
  16. tencentcloud/emr/v20190103/emr_client.py +46 -0
  17. tencentcloud/emr/v20190103/errorcodes.py +33 -0
  18. tencentcloud/emr/v20190103/models.py +1283 -27
  19. tencentcloud/es/v20180416/models.py +171 -0
  20. tencentcloud/faceid/v20180301/errorcodes.py +3 -0
  21. tencentcloud/iotexplorer/v20190423/models.py +17 -0
  22. tencentcloud/ivld/v20210903/ivld_client.py +0 -1
  23. tencentcloud/lcic/v20220817/models.py +2 -2
  24. tencentcloud/lke/v20231130/lke_client.py +6 -2
  25. tencentcloud/mps/v20190612/models.py +110 -0
  26. tencentcloud/mqtt/v20240516/models.py +530 -0
  27. tencentcloud/mqtt/v20240516/mqtt_client.py +92 -0
  28. tencentcloud/ocr/v20181119/errorcodes.py +6 -0
  29. tencentcloud/ocr/v20181119/models.py +379 -4
  30. tencentcloud/postgres/v20170312/models.py +2 -2
  31. tencentcloud/tdmq/v20200217/tdmq_client.py +3 -1
  32. tencentcloud/tse/v20201207/errorcodes.py +3 -0
  33. tencentcloud/tse/v20201207/models.py +923 -37
  34. tencentcloud/tse/v20201207/tse_client.py +92 -0
  35. tencentcloud/vclm/v20240523/models.py +6 -6
  36. tencentcloud/vdb/v20230616/models.py +12 -0
  37. tencentcloud/vod/v20180717/models.py +41 -26
  38. tencentcloud/vpc/v20170312/errorcodes.py +3 -0
  39. tencentcloud/vpc/v20170312/models.py +1002 -40
  40. tencentcloud/vpc/v20170312/vpc_client.py +181 -3
  41. {tencentcloud_sdk_python-3.0.1277.dist-info → tencentcloud_sdk_python-3.0.1279.dist-info}/METADATA +1 -1
  42. {tencentcloud_sdk_python-3.0.1277.dist-info → tencentcloud_sdk_python-3.0.1279.dist-info}/RECORD +45 -45
  43. {tencentcloud_sdk_python-3.0.1277.dist-info → tencentcloud_sdk_python-3.0.1279.dist-info}/LICENSE +0 -0
  44. {tencentcloud_sdk_python-3.0.1277.dist-info → tencentcloud_sdk_python-3.0.1279.dist-info}/WHEEL +0 -0
  45. {tencentcloud_sdk_python-3.0.1277.dist-info → tencentcloud_sdk_python-3.0.1279.dist-info}/top_level.txt +0 -0
@@ -463,6 +463,29 @@ class TseClient(AbstractClient):
463
463
  raise TencentCloudSDKException(type(e).__name__, str(e))
464
464
 
465
465
 
466
+ def CreateNativeGatewayServiceSource(self, request):
467
+ """创建网关服务来源
468
+
469
+ :param request: Request instance for CreateNativeGatewayServiceSource.
470
+ :type request: :class:`tencentcloud.tse.v20201207.models.CreateNativeGatewayServiceSourceRequest`
471
+ :rtype: :class:`tencentcloud.tse.v20201207.models.CreateNativeGatewayServiceSourceResponse`
472
+
473
+ """
474
+ try:
475
+ params = request._serialize()
476
+ headers = request.headers
477
+ body = self.call("CreateNativeGatewayServiceSource", params, headers=headers)
478
+ response = json.loads(body)
479
+ model = models.CreateNativeGatewayServiceSourceResponse()
480
+ model._deserialize(response["Response"])
481
+ return model
482
+ except Exception as e:
483
+ if isinstance(e, TencentCloudSDKException):
484
+ raise
485
+ else:
486
+ raise TencentCloudSDKException(type(e).__name__, str(e))
487
+
488
+
466
489
  def CreateOrUpdateConfigFileAndRelease(self, request):
467
490
  """创建或更新配置文件并发布配置
468
491
 
@@ -946,6 +969,29 @@ class TseClient(AbstractClient):
946
969
  raise TencentCloudSDKException(type(e).__name__, str(e))
947
970
 
948
971
 
972
+ def DeleteNativeGatewayServiceSource(self, request):
973
+ """删除网关服务来源实例
974
+
975
+ :param request: Request instance for DeleteNativeGatewayServiceSource.
976
+ :type request: :class:`tencentcloud.tse.v20201207.models.DeleteNativeGatewayServiceSourceRequest`
977
+ :rtype: :class:`tencentcloud.tse.v20201207.models.DeleteNativeGatewayServiceSourceResponse`
978
+
979
+ """
980
+ try:
981
+ params = request._serialize()
982
+ headers = request.headers
983
+ body = self.call("DeleteNativeGatewayServiceSource", params, headers=headers)
984
+ response = json.loads(body)
985
+ model = models.DeleteNativeGatewayServiceSourceResponse()
986
+ model._deserialize(response["Response"])
987
+ return model
988
+ except Exception as e:
989
+ if isinstance(e, TencentCloudSDKException):
990
+ raise
991
+ else:
992
+ raise TencentCloudSDKException(type(e).__name__, str(e))
993
+
994
+
949
995
  def DeleteWafDomains(self, request):
950
996
  """删除 WAF 防护域名
951
997
 
@@ -1751,6 +1797,29 @@ class TseClient(AbstractClient):
1751
1797
  raise TencentCloudSDKException(type(e).__name__, str(e))
1752
1798
 
1753
1799
 
1800
+ def DescribeNativeGatewayServiceSources(self, request):
1801
+ """查询网关服务来源实例列表
1802
+
1803
+ :param request: Request instance for DescribeNativeGatewayServiceSources.
1804
+ :type request: :class:`tencentcloud.tse.v20201207.models.DescribeNativeGatewayServiceSourcesRequest`
1805
+ :rtype: :class:`tencentcloud.tse.v20201207.models.DescribeNativeGatewayServiceSourcesResponse`
1806
+
1807
+ """
1808
+ try:
1809
+ params = request._serialize()
1810
+ headers = request.headers
1811
+ body = self.call("DescribeNativeGatewayServiceSources", params, headers=headers)
1812
+ response = json.loads(body)
1813
+ model = models.DescribeNativeGatewayServiceSourcesResponse()
1814
+ model._deserialize(response["Response"])
1815
+ return model
1816
+ except Exception as e:
1817
+ if isinstance(e, TencentCloudSDKException):
1818
+ raise
1819
+ else:
1820
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1821
+
1822
+
1754
1823
  def DescribeOneCloudNativeAPIGatewayService(self, request):
1755
1824
  """获取云原生网关服务详情
1756
1825
 
@@ -2349,6 +2418,29 @@ class TseClient(AbstractClient):
2349
2418
  raise TencentCloudSDKException(type(e).__name__, str(e))
2350
2419
 
2351
2420
 
2421
+ def ModifyNativeGatewayServiceSource(self, request):
2422
+ """修改网关服务来源
2423
+
2424
+ :param request: Request instance for ModifyNativeGatewayServiceSource.
2425
+ :type request: :class:`tencentcloud.tse.v20201207.models.ModifyNativeGatewayServiceSourceRequest`
2426
+ :rtype: :class:`tencentcloud.tse.v20201207.models.ModifyNativeGatewayServiceSourceResponse`
2427
+
2428
+ """
2429
+ try:
2430
+ params = request._serialize()
2431
+ headers = request.headers
2432
+ body = self.call("ModifyNativeGatewayServiceSource", params, headers=headers)
2433
+ response = json.loads(body)
2434
+ model = models.ModifyNativeGatewayServiceSourceResponse()
2435
+ model._deserialize(response["Response"])
2436
+ return model
2437
+ except Exception as e:
2438
+ if isinstance(e, TencentCloudSDKException):
2439
+ raise
2440
+ else:
2441
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2442
+
2443
+
2352
2444
  def ModifyNetworkAccessStrategy(self, request):
2353
2445
  """修改云原生API网关实例Kong访问策略,支持白名单或者黑名单。
2354
2446
 
@@ -1875,11 +1875,11 @@ class SubmitVideoTranslateJobRequest(AbstractModel):
1875
1875
  def __init__(self):
1876
1876
  r"""
1877
1877
  :param _VideoUrl: 视频地址URL。
1878
- 格式要求:支持 mp4、mov 。
1878
+ 格式要求:支持 mp4、mov、avi
1879
1879
  时长要求:【5-600】秒。
1880
1880
  fps 要求:【15-60】fps
1881
1881
  分辨率要求:单边像素要求在 【360~4096】 之间。
1882
- 大小要求:不超过500Mb
1882
+ 大小要求:不超过500MB
1883
1883
 
1884
1884
  :type VideoUrl: str
1885
1885
  :param _SrcLang: 输入视频中音频语种
@@ -1888,7 +1888,7 @@ fps 要求:【15-60】fps
1888
1888
  :param _AudioUrl: 当音频 URL 不为空时,不经过语音AI处理,直接以视频为素材用音频内容做视频口型驱动。
1889
1889
  格式要求:支持 mp3、m4a、aac、wav 格式。
1890
1890
  时长要求:【5~600】秒,音频时长要匹配视频时长。
1891
- 大小要求:不超过 100Mb
1891
+ 大小要求:不超过 100MB
1892
1892
  :type AudioUrl: str
1893
1893
  :param _DstLang: 输出视频中翻译语种
1894
1894
  目前支持语种范围:zh(简体中文)、en(英语)、ar(阿拉伯语)、de(德语)、es(西班牙语)、fr(法语)、id(印尼语)、it(意大利语)、ja(日语)、ko(韩语)、ms(马来语)、pt(葡萄牙语)、ru(俄语)、th(泰语)、tr(土耳其语)、vi(越南语)
@@ -1923,11 +1923,11 @@ fps 要求:【15-60】fps
1923
1923
  @property
1924
1924
  def VideoUrl(self):
1925
1925
  """视频地址URL。
1926
- 格式要求:支持 mp4、mov 。
1926
+ 格式要求:支持 mp4、mov、avi
1927
1927
  时长要求:【5-600】秒。
1928
1928
  fps 要求:【15-60】fps
1929
1929
  分辨率要求:单边像素要求在 【360~4096】 之间。
1930
- 大小要求:不超过500Mb
1930
+ 大小要求:不超过500MB
1931
1931
 
1932
1932
  :rtype: str
1933
1933
  """
@@ -1954,7 +1954,7 @@ fps 要求:【15-60】fps
1954
1954
  """当音频 URL 不为空时,不经过语音AI处理,直接以视频为素材用音频内容做视频口型驱动。
1955
1955
  格式要求:支持 mp3、m4a、aac、wav 格式。
1956
1956
  时长要求:【5~600】秒,音频时长要匹配视频时长。
1957
- 大小要求:不超过 100Mb
1957
+ 大小要求:不超过 100MB
1958
1958
  :rtype: str
1959
1959
  """
1960
1960
  return self._AudioUrl
@@ -1117,6 +1117,8 @@ class InstanceInfo(AbstractModel):
1117
1117
 
1118
1118
  @property
1119
1119
  def HealthScore(self):
1120
+ warnings.warn("parameter `HealthScore` is deprecated", DeprecationWarning)
1121
+
1120
1122
  """健康得分。
1121
1123
  注意:此字段可能返回 null,表示取不到有效值。
1122
1124
  :rtype: float
@@ -1125,10 +1127,14 @@ class InstanceInfo(AbstractModel):
1125
1127
 
1126
1128
  @HealthScore.setter
1127
1129
  def HealthScore(self, HealthScore):
1130
+ warnings.warn("parameter `HealthScore` is deprecated", DeprecationWarning)
1131
+
1128
1132
  self._HealthScore = HealthScore
1129
1133
 
1130
1134
  @property
1131
1135
  def Warning(self):
1136
+ warnings.warn("parameter `Warning` is deprecated", DeprecationWarning)
1137
+
1132
1138
  """异常告警。
1133
1139
  注意:此字段可能返回 null,表示取不到有效值。
1134
1140
  :rtype: int
@@ -1137,10 +1143,14 @@ class InstanceInfo(AbstractModel):
1137
1143
 
1138
1144
  @Warning.setter
1139
1145
  def Warning(self, Warning):
1146
+ warnings.warn("parameter `Warning` is deprecated", DeprecationWarning)
1147
+
1140
1148
  self._Warning = Warning
1141
1149
 
1142
1150
  @property
1143
1151
  def Project(self):
1152
+ warnings.warn("parameter `Project` is deprecated", DeprecationWarning)
1153
+
1144
1154
  """所属项目。
1145
1155
  注意:此字段可能返回 null,表示取不到有效值。
1146
1156
  :rtype: str
@@ -1149,6 +1159,8 @@ class InstanceInfo(AbstractModel):
1149
1159
 
1150
1160
  @Project.setter
1151
1161
  def Project(self, Project):
1162
+ warnings.warn("parameter `Project` is deprecated", DeprecationWarning)
1163
+
1152
1164
  self._Project = Project
1153
1165
 
1154
1166
  @property
@@ -240,12 +240,13 @@ class AIRecognitionTemplateItem(AbstractModel):
240
240
  注意:此字段可能返回 null,表示取不到有效值。
241
241
  :type OcrWordsConfigure: :class:`tencentcloud.vod.v20180717.models.OcrWordsConfigureInfo`
242
242
  :param _AsrFullTextConfigure: 语音全文识别控制参数。
243
+ <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>
243
244
  注意:此字段可能返回 null,表示取不到有效值。
244
245
  :type AsrFullTextConfigure: :class:`tencentcloud.vod.v20180717.models.AsrFullTextConfigureInfo`
245
246
  :param _AsrWordsConfigure: 语音关键词识别控制参数。
246
247
  注意:此字段可能返回 null,表示取不到有效值。
247
248
  :type AsrWordsConfigure: :class:`tencentcloud.vod.v20180717.models.AsrWordsConfigureInfo`
248
- :param _AsrTranslateConfigure: 语音翻译控制参数。
249
+ :param _AsrTranslateConfigure: 语音翻译识别控制参数。
249
250
  注意:此字段可能返回 null,表示取不到有效值。
250
251
  :type AsrTranslateConfigure: :class:`tencentcloud.vod.v20180717.models.AsrTranslateConfigureInfo`
251
252
  :param _ObjectConfigure: 物体识别控制参数。
@@ -384,6 +385,7 @@ class AIRecognitionTemplateItem(AbstractModel):
384
385
  @property
385
386
  def AsrFullTextConfigure(self):
386
387
  """语音全文识别控制参数。
388
+ <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>
387
389
  注意:此字段可能返回 null,表示取不到有效值。
388
390
  :rtype: :class:`tencentcloud.vod.v20180717.models.AsrFullTextConfigureInfo`
389
391
  """
@@ -407,7 +409,7 @@ class AIRecognitionTemplateItem(AbstractModel):
407
409
 
408
410
  @property
409
411
  def AsrTranslateConfigure(self):
410
- """语音翻译控制参数。
412
+ """语音翻译识别控制参数。
411
413
  注意:此字段可能返回 null,表示取不到有效值。
412
414
  :rtype: :class:`tencentcloud.vod.v20180717.models.AsrTranslateConfigureInfo`
413
415
  """
@@ -4161,17 +4163,17 @@ class AiRecognitionTaskAsrTranslateResultOutput(AbstractModel):
4161
4163
 
4162
4164
 
4163
4165
  class AiRecognitionTaskAsrTranslateSegmentItem(AbstractModel):
4164
- """语音翻译片段。
4166
+ """语音翻译识别片段。
4165
4167
 
4166
4168
  """
4167
4169
 
4168
4170
  def __init__(self):
4169
4171
  r"""
4170
- :param _Confidence: 语音翻译片段置信度。取值:0~100。
4172
+ :param _Confidence: 语音翻译识别片段置信度。取值:0~100。
4171
4173
  :type Confidence: float
4172
- :param _StartTimeOffset: 语音翻译片段起始的偏移时间,单位:秒。
4174
+ :param _StartTimeOffset: 语音翻译识别片段起始的偏移时间,单位:秒。
4173
4175
  :type StartTimeOffset: float
4174
- :param _EndTimeOffset: 语音翻译片段终止的偏移时间,单位:秒。
4176
+ :param _EndTimeOffset: 语音翻译识别片段终止的偏移时间,单位:秒。
4175
4177
  :type EndTimeOffset: float
4176
4178
  :param _Text: 识别文本。
4177
4179
  :type Text: str
@@ -4186,7 +4188,7 @@ class AiRecognitionTaskAsrTranslateSegmentItem(AbstractModel):
4186
4188
 
4187
4189
  @property
4188
4190
  def Confidence(self):
4189
- """语音翻译片段置信度。取值:0~100。
4191
+ """语音翻译识别片段置信度。取值:0~100。
4190
4192
  :rtype: float
4191
4193
  """
4192
4194
  return self._Confidence
@@ -4197,7 +4199,7 @@ class AiRecognitionTaskAsrTranslateSegmentItem(AbstractModel):
4197
4199
 
4198
4200
  @property
4199
4201
  def StartTimeOffset(self):
4200
- """语音翻译片段起始的偏移时间,单位:秒。
4202
+ """语音翻译识别片段起始的偏移时间,单位:秒。
4201
4203
  :rtype: float
4202
4204
  """
4203
4205
  return self._StartTimeOffset
@@ -4208,7 +4210,7 @@ class AiRecognitionTaskAsrTranslateSegmentItem(AbstractModel):
4208
4210
 
4209
4211
  @property
4210
4212
  def EndTimeOffset(self):
4211
- """语音翻译片段终止的偏移时间,单位:秒。
4213
+ """语音翻译识别片段终止的偏移时间,单位:秒。
4212
4214
  :rtype: float
4213
4215
  """
4214
4216
  return self._EndTimeOffset
@@ -11300,7 +11302,8 @@ class ArtifactRepairInfo(AbstractModel):
11300
11302
 
11301
11303
 
11302
11304
  class AsrFullTextConfigureInfo(AbstractModel):
11303
- """语音全文识别任务控制参数
11305
+ """语音全文识别任务控制参数。
11306
+ <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>
11304
11307
 
11305
11308
  """
11306
11309
 
@@ -11538,15 +11541,15 @@ class AsrFullTextConfigureInfoForUpdate(AbstractModel):
11538
11541
 
11539
11542
 
11540
11543
  class AsrTranslateConfigureInfo(AbstractModel):
11541
- """语音翻译任务控制参数
11544
+ """语音翻译识别任务控制参数
11542
11545
 
11543
11546
  """
11544
11547
 
11545
11548
  def __init__(self):
11546
11549
  r"""
11547
- :param _Switch: 语音翻译任务开关,可选值:
11550
+ :param _Switch: 语音翻译识别任务开关,可选值:
11548
11551
  <li>ON:开启;</li>
11549
- <li>OFF:关闭。</li><font color=red>注意:</font>语音翻译任务本身会返回 ASR 全文识别结果,为避免重复收费,因此禁止同时开启语音翻译和 ASR 全文识别功能项。
11552
+ <li>OFF:关闭。</li><font color=red>注意:</font>语音翻译识别任务本身会返回 ASR 全文识别结果,为避免重复收费,因此禁止同时开启语音翻译识别和 ASR 全文识别功能项。
11550
11553
 
11551
11554
  :type Switch: str
11552
11555
  :param _SrcLanguage: 媒体源语言,当 Switch 为 ON 时,此参数必填。取值范围:
@@ -11564,7 +11567,9 @@ class AsrTranslateConfigureInfo(AbstractModel):
11564
11567
  <li>hi:印地语;</li>
11565
11568
  <li>fr:法语。</li>
11566
11569
  :type SrcLanguage: str
11567
- :param _DstLanguage: 翻译目标语言,当 Switch 为 ON 时,此参数必填。
11570
+ :param _DstLanguage: 翻译目标语言,当 Switch 为 ON 时,此参数有效。
11571
+ 若此参数不填或者填写空字符串,则表示只进行语音全文识别,不进行翻译(计费项与 AsrFullTextConfigure 语音全文识别一致);
11572
+ 否则,此参数的取值范围分为如下几种情况:
11568
11573
  当 SrcLanguage 为 zh(中文)时,取值范围:
11569
11574
  <li>en:英文;</li>
11570
11575
  <li>ja:日文;</li>
@@ -11664,9 +11669,9 @@ class AsrTranslateConfigureInfo(AbstractModel):
11664
11669
 
11665
11670
  @property
11666
11671
  def Switch(self):
11667
- """语音翻译任务开关,可选值:
11672
+ """语音翻译识别任务开关,可选值:
11668
11673
  <li>ON:开启;</li>
11669
- <li>OFF:关闭。</li><font color=red>注意:</font>语音翻译任务本身会返回 ASR 全文识别结果,为避免重复收费,因此禁止同时开启语音翻译和 ASR 全文识别功能项。
11674
+ <li>OFF:关闭。</li><font color=red>注意:</font>语音翻译识别任务本身会返回 ASR 全文识别结果,为避免重复收费,因此禁止同时开启语音翻译识别和 ASR 全文识别功能项。
11670
11675
 
11671
11676
  :rtype: str
11672
11677
  """
@@ -11702,7 +11707,9 @@ class AsrTranslateConfigureInfo(AbstractModel):
11702
11707
 
11703
11708
  @property
11704
11709
  def DstLanguage(self):
11705
- """翻译目标语言,当 Switch 为 ON 时,此参数必填。
11710
+ """翻译目标语言,当 Switch 为 ON 时,此参数有效。
11711
+ 若此参数不填或者填写空字符串,则表示只进行语音全文识别,不进行翻译(计费项与 AsrFullTextConfigure 语音全文识别一致);
11712
+ 否则,此参数的取值范围分为如下几种情况:
11706
11713
  当 SrcLanguage 为 zh(中文)时,取值范围:
11707
11714
  <li>en:英文;</li>
11708
11715
  <li>ja:日文;</li>
@@ -11836,15 +11843,15 @@ class AsrTranslateConfigureInfo(AbstractModel):
11836
11843
 
11837
11844
 
11838
11845
  class AsrTranslateConfigureInfoForUpdate(AbstractModel):
11839
- """语音翻译控制参数
11846
+ """语音翻译识别控制参数
11840
11847
 
11841
11848
  """
11842
11849
 
11843
11850
  def __init__(self):
11844
11851
  r"""
11845
- :param _Switch: 语音翻译任务开关,可选值:
11852
+ :param _Switch: 语音翻译识别任务开关,可选值:
11846
11853
  <li>ON:开启;</li>
11847
- <li>OFF:关闭。</li>
11854
+ <li>OFF:关闭。</li><font color=red>注意:</font>语音翻译识别任务本身会返回 ASR 全文识别结果,为避免重复收费,因此禁止同时开启语音翻译识别和 ASR 全文识别功能项。
11848
11855
  :type Switch: str
11849
11856
  :param _SrcLanguage: 媒体源语言,取值范围:
11850
11857
  <li>zh:中文;</li>
@@ -11862,6 +11869,8 @@ class AsrTranslateConfigureInfoForUpdate(AbstractModel):
11862
11869
  <li>fr:法语。</li>
11863
11870
  :type SrcLanguage: str
11864
11871
  :param _DstLanguage: 翻译目标语言。
11872
+ 若此参数填写空字符串,则表示只进行语音全文识别,不进行翻译(计费项与 AsrFullTextConfigure 语音全文识别一致);
11873
+ 否则,此参数的取值范围分为如下几种情况:
11865
11874
  当 SrcLanguage 为 zh(中文)时,取值范围:
11866
11875
  <li>en:英文;</li>
11867
11876
  <li>ja:日文;</li>
@@ -11957,9 +11966,9 @@ class AsrTranslateConfigureInfoForUpdate(AbstractModel):
11957
11966
 
11958
11967
  @property
11959
11968
  def Switch(self):
11960
- """语音翻译任务开关,可选值:
11969
+ """语音翻译识别任务开关,可选值:
11961
11970
  <li>ON:开启;</li>
11962
- <li>OFF:关闭。</li>
11971
+ <li>OFF:关闭。</li><font color=red>注意:</font>语音翻译识别任务本身会返回 ASR 全文识别结果,为避免重复收费,因此禁止同时开启语音翻译识别和 ASR 全文识别功能项。
11963
11972
  :rtype: str
11964
11973
  """
11965
11974
  return self._Switch
@@ -11995,6 +12004,8 @@ class AsrTranslateConfigureInfoForUpdate(AbstractModel):
11995
12004
  @property
11996
12005
  def DstLanguage(self):
11997
12006
  """翻译目标语言。
12007
+ 若此参数填写空字符串,则表示只进行语音全文识别,不进行翻译(计费项与 AsrFullTextConfigure 语音全文识别一致);
12008
+ 否则,此参数的取值范围分为如下几种情况:
11998
12009
  当 SrcLanguage 为 zh(中文)时,取值范围:
11999
12010
  <li>en:英文;</li>
12000
12011
  <li>ja:日文;</li>
@@ -16355,10 +16366,11 @@ class CreateAIRecognitionTemplateRequest(AbstractModel):
16355
16366
  :param _OcrWordsConfigure: 文本关键词识别控制参数。
16356
16367
  :type OcrWordsConfigure: :class:`tencentcloud.vod.v20180717.models.OcrWordsConfigureInfo`
16357
16368
  :param _AsrFullTextConfigure: 语音全文识别控制参数。
16369
+ <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>
16358
16370
  :type AsrFullTextConfigure: :class:`tencentcloud.vod.v20180717.models.AsrFullTextConfigureInfo`
16359
16371
  :param _AsrWordsConfigure: 语音关键词识别控制参数。
16360
16372
  :type AsrWordsConfigure: :class:`tencentcloud.vod.v20180717.models.AsrWordsConfigureInfo`
16361
- :param _AsrTranslateConfigure: 语音翻译控制参数。
16373
+ :param _AsrTranslateConfigure: 语音翻译识别控制参数。
16362
16374
  :type AsrTranslateConfigure: :class:`tencentcloud.vod.v20180717.models.AsrTranslateConfigureInfo`
16363
16375
  :param _ObjectConfigure: 物体识别控制参数。
16364
16376
  :type ObjectConfigure: :class:`tencentcloud.vod.v20180717.models.ObjectConfigureInfo`
@@ -16470,6 +16482,7 @@ class CreateAIRecognitionTemplateRequest(AbstractModel):
16470
16482
  @property
16471
16483
  def AsrFullTextConfigure(self):
16472
16484
  """语音全文识别控制参数。
16485
+ <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>
16473
16486
  :rtype: :class:`tencentcloud.vod.v20180717.models.AsrFullTextConfigureInfo`
16474
16487
  """
16475
16488
  return self._AsrFullTextConfigure
@@ -16491,7 +16504,7 @@ class CreateAIRecognitionTemplateRequest(AbstractModel):
16491
16504
 
16492
16505
  @property
16493
16506
  def AsrTranslateConfigure(self):
16494
- """语音翻译控制参数。
16507
+ """语音翻译识别控制参数。
16495
16508
  :rtype: :class:`tencentcloud.vod.v20180717.models.AsrTranslateConfigureInfo`
16496
16509
  """
16497
16510
  return self._AsrTranslateConfigure
@@ -47155,10 +47168,11 @@ class ModifyAIRecognitionTemplateRequest(AbstractModel):
47155
47168
  :param _OcrWordsConfigure: 文本关键词识别控制参数。
47156
47169
  :type OcrWordsConfigure: :class:`tencentcloud.vod.v20180717.models.OcrWordsConfigureInfoForUpdate`
47157
47170
  :param _AsrFullTextConfigure: 语音全文识别控制参数。
47171
+ <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>
47158
47172
  :type AsrFullTextConfigure: :class:`tencentcloud.vod.v20180717.models.AsrFullTextConfigureInfoForUpdate`
47159
47173
  :param _AsrWordsConfigure: 语音关键词识别控制参数。
47160
47174
  :type AsrWordsConfigure: :class:`tencentcloud.vod.v20180717.models.AsrWordsConfigureInfoForUpdate`
47161
- :param _AsrTranslateConfigure: 语音翻译控制参数。
47175
+ :param _AsrTranslateConfigure: 语音翻译识别控制参数。
47162
47176
  :type AsrTranslateConfigure: :class:`tencentcloud.vod.v20180717.models.AsrTranslateConfigureInfoForUpdate`
47163
47177
  :param _ObjectConfigure: 物体识别控制参数。
47164
47178
  :type ObjectConfigure: :class:`tencentcloud.vod.v20180717.models.ObjectConfigureInfoForUpdate`
@@ -47282,6 +47296,7 @@ class ModifyAIRecognitionTemplateRequest(AbstractModel):
47282
47296
  @property
47283
47297
  def AsrFullTextConfigure(self):
47284
47298
  """语音全文识别控制参数。
47299
+ <font color=red>注意:本参数已不再维护,推荐使用 AsrTranslateConfigure 参数发起语音翻译识别(当 DstLanguage 不填或填空字符串时,则不进行翻译,计费项和语音全文识别一致)。</font>
47285
47300
  :rtype: :class:`tencentcloud.vod.v20180717.models.AsrFullTextConfigureInfoForUpdate`
47286
47301
  """
47287
47302
  return self._AsrFullTextConfigure
@@ -47303,7 +47318,7 @@ class ModifyAIRecognitionTemplateRequest(AbstractModel):
47303
47318
 
47304
47319
  @property
47305
47320
  def AsrTranslateConfigure(self):
47306
- """语音翻译控制参数。
47321
+ """语音翻译识别控制参数。
47307
47322
  :rtype: :class:`tencentcloud.vod.v20180717.models.AsrTranslateConfigureInfoForUpdate`
47308
47323
  """
47309
47324
  return self._AsrTranslateConfigure
@@ -341,6 +341,9 @@ INVALIDPARAMETERVALUE_NETDETECTSAMEIP = 'InvalidParameterValue.NetDetectSameIp'
341
341
  # 网络接口ID不正确。
342
342
  INVALIDPARAMETERVALUE_NETWORKINTERFACEIDMALFORMED = 'InvalidParameterValue.NetworkInterfaceIdMalformed'
343
343
 
344
+ # 网卡所绑定实例不支持绑定弹性公网IPv6
345
+ INVALIDPARAMETERVALUE_NETWORKINTERFACEINSTANCENOTSUPPORT = 'InvalidParameterValue.NetworkInterfaceInstanceNotSupport'
346
+
344
347
  # 未找到网络接口ID,或私有IP地址未在网络接口配置。
345
348
  INVALIDPARAMETERVALUE_NETWORKINTERFACENOTFOUND = 'InvalidParameterValue.NetworkInterfaceNotFound'
346
349