tencentcloud-sdk-python 3.0.1369__py2.py3-none-any.whl → 3.0.1371__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/ams/v20201229/ams_client.py +17 -6
- tencentcloud/ams/v20201229/models.py +8 -6
- tencentcloud/bi/v20220105/models.py +15 -0
- tencentcloud/cdb/v20170320/cdb_client.py +2 -2
- tencentcloud/cdb/v20170320/models.py +10 -10
- tencentcloud/cdn/v20180606/cdn_client.py +25 -9
- tencentcloud/cdn/v20180606/models.py +4 -4
- tencentcloud/cdwch/v20200915/errorcodes.py +15 -0
- tencentcloud/chc/v20230418/models.py +15 -0
- tencentcloud/ckafka/v20190819/models.py +0 -8
- tencentcloud/cynosdb/v20190107/models.py +0 -6
- tencentcloud/dc/v20180410/models.py +25 -12
- tencentcloud/domain/v20180808/models.py +330 -34
- tencentcloud/dsgc/v20190723/models.py +15 -0
- tencentcloud/dts/v20211206/models.py +0 -15
- tencentcloud/ecdn/v20191012/ecdn_client.py +18 -6
- tencentcloud/gs/v20191118/models.py +51 -6
- tencentcloud/gwlb/v20240906/models.py +0 -24
- tencentcloud/hai/v20230812/errorcodes.py +6 -0
- tencentcloud/hai/v20230812/hai_client.py +23 -0
- tencentcloud/hai/v20230812/models.py +109 -0
- tencentcloud/ims/v20201229/models.py +25 -4
- tencentcloud/iss/v20230517/errorcodes.py +6 -0
- tencentcloud/iss/v20230517/iss_client.py +115 -0
- tencentcloud/iss/v20230517/models.py +1095 -12
- tencentcloud/lighthouse/v20200324/models.py +2 -0
- tencentcloud/lke/v20231130/models.py +70 -4
- tencentcloud/lkeap/v20240522/models.py +191 -0
- tencentcloud/ocr/v20181119/models.py +15 -0
- tencentcloud/postgres/v20170312/models.py +36 -106
- tencentcloud/postgres/v20170312/postgres_client.py +15 -5
- tencentcloud/ses/v20201002/models.py +15 -0
- tencentcloud/soe/v20180724/models.py +4 -2
- tencentcloud/tione/v20211111/models.py +84 -0
- tencentcloud/tione/v20211111/tione_client.py +23 -0
- tencentcloud/trtc/v20190722/models.py +0 -4
- tencentcloud/tse/v20201207/models.py +45 -0
- tencentcloud/tts/v20190823/tts_client.py +2 -2
- tencentcloud/vm/v20210922/models.py +2 -2
- tencentcloud/vm/v20210922/vm_client.py +16 -8
- tencentcloud/vod/v20180717/models.py +12 -0
- tencentcloud/vpc/v20170312/models.py +0 -2
- tencentcloud/wedata/v20210820/models.py +69 -26
- {tencentcloud_sdk_python-3.0.1369.dist-info → tencentcloud_sdk_python-3.0.1371.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1369.dist-info → tencentcloud_sdk_python-3.0.1371.dist-info}/RECORD +49 -49
- {tencentcloud_sdk_python-3.0.1369.dist-info → tencentcloud_sdk_python-3.0.1371.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1369.dist-info → tencentcloud_sdk_python-3.0.1371.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1369.dist-info → tencentcloud_sdk_python-3.0.1371.dist-info}/top_level.txt +0 -0
@@ -96,7 +96,9 @@ class PostgresClient(AbstractClient):
|
|
96
96
|
|
97
97
|
|
98
98
|
def CloseServerlessDBExtranetAccess(self, request):
|
99
|
-
"""
|
99
|
+
"""该产品形态需要下线,已完成客户实例全部下线、后端服务下线等
|
100
|
+
|
101
|
+
【接口下线中,请勿使用】本接口(CloseServerlessDBExtranetAccess)用于关闭serverlessDB实例公网地址
|
100
102
|
|
101
103
|
:param request: Request instance for CloseServerlessDBExtranetAccess.
|
102
104
|
:type request: :class:`tencentcloud.postgres.v20170312.models.CloseServerlessDBExtranetAccessRequest`
|
@@ -374,7 +376,9 @@ class PostgresClient(AbstractClient):
|
|
374
376
|
|
375
377
|
|
376
378
|
def CreateServerlessDBInstance(self, request):
|
377
|
-
"""
|
379
|
+
"""该产品形态需要下线,已完成客户实例全部下线、后端服务下线等
|
380
|
+
|
381
|
+
【接口下线中,请勿使用】本接口 (CreateServerlessDBInstance) 用于创建一个ServerlessDB实例,创建成功返回实例ID。
|
378
382
|
|
379
383
|
:param request: Request instance for CreateServerlessDBInstance.
|
380
384
|
:type request: :class:`tencentcloud.postgres.v20170312.models.CreateServerlessDBInstanceRequest`
|
@@ -581,7 +585,9 @@ class PostgresClient(AbstractClient):
|
|
581
585
|
|
582
586
|
|
583
587
|
def DeleteServerlessDBInstance(self, request):
|
584
|
-
"""
|
588
|
+
"""该产品形态需要下线,已完成客户实例全部下线、后端服务下线等
|
589
|
+
|
590
|
+
【接口下线中,请勿使用】本接口 (DeleteServerlessDBInstance) 用于删除一个ServerlessDB实例。
|
585
591
|
|
586
592
|
:param request: Request instance for DeleteServerlessDBInstance.
|
587
593
|
:type request: :class:`tencentcloud.postgres.v20170312.models.DeleteServerlessDBInstanceRequest`
|
@@ -1434,7 +1440,9 @@ class PostgresClient(AbstractClient):
|
|
1434
1440
|
|
1435
1441
|
|
1436
1442
|
def DescribeServerlessDBInstances(self, request):
|
1437
|
-
"""
|
1443
|
+
"""该产品形态需要下线,已完成客户实例全部下线、后端服务下线等
|
1444
|
+
|
1445
|
+
【接口下线中,请勿使用】用于查询一个或多个serverlessDB实例的详细信息
|
1438
1446
|
|
1439
1447
|
:param request: Request instance for DescribeServerlessDBInstances.
|
1440
1448
|
:type request: :class:`tencentcloud.postgres.v20170312.models.DescribeServerlessDBInstancesRequest`
|
@@ -2242,7 +2250,9 @@ class PostgresClient(AbstractClient):
|
|
2242
2250
|
|
2243
2251
|
|
2244
2252
|
def OpenServerlessDBExtranetAccess(self, request):
|
2245
|
-
"""
|
2253
|
+
"""该产品形态需要下线,已完成客户实例全部下线、后端服务下线等
|
2254
|
+
|
2255
|
+
【接口下线中,请勿使用】本接口(OpenServerlessDBExtranetAccess)用于开通serverlessDB实例公网地址。
|
2246
2256
|
|
2247
2257
|
:param request: Request instance for OpenServerlessDBExtranetAccess.
|
2248
2258
|
:type request: :class:`tencentcloud.postgres.v20170312.models.OpenServerlessDBExtranetAccessRequest`
|
@@ -4029,6 +4029,8 @@ class SendEmailRequest(AbstractModel):
|
|
4029
4029
|
:type SmtpMessageId: str
|
4030
4030
|
:param _SmtpHeaders: smtp头中可以设置的其它字段
|
4031
4031
|
:type SmtpHeaders: str
|
4032
|
+
:param _HeaderFrom: smtp头中的from字段,建议域名与FromEmailAddress保持一致
|
4033
|
+
:type HeaderFrom: str
|
4032
4034
|
"""
|
4033
4035
|
self._FromEmailAddress = None
|
4034
4036
|
self._Destination = None
|
@@ -4043,6 +4045,7 @@ class SendEmailRequest(AbstractModel):
|
|
4043
4045
|
self._TriggerType = None
|
4044
4046
|
self._SmtpMessageId = None
|
4045
4047
|
self._SmtpHeaders = None
|
4048
|
+
self._HeaderFrom = None
|
4046
4049
|
|
4047
4050
|
@property
|
4048
4051
|
def FromEmailAddress(self):
|
@@ -4189,6 +4192,17 @@ class SendEmailRequest(AbstractModel):
|
|
4189
4192
|
def SmtpHeaders(self, SmtpHeaders):
|
4190
4193
|
self._SmtpHeaders = SmtpHeaders
|
4191
4194
|
|
4195
|
+
@property
|
4196
|
+
def HeaderFrom(self):
|
4197
|
+
"""smtp头中的from字段,建议域名与FromEmailAddress保持一致
|
4198
|
+
:rtype: str
|
4199
|
+
"""
|
4200
|
+
return self._HeaderFrom
|
4201
|
+
|
4202
|
+
@HeaderFrom.setter
|
4203
|
+
def HeaderFrom(self, HeaderFrom):
|
4204
|
+
self._HeaderFrom = HeaderFrom
|
4205
|
+
|
4192
4206
|
|
4193
4207
|
def _deserialize(self, params):
|
4194
4208
|
self._FromEmailAddress = params.get("FromEmailAddress")
|
@@ -4213,6 +4227,7 @@ class SendEmailRequest(AbstractModel):
|
|
4213
4227
|
self._TriggerType = params.get("TriggerType")
|
4214
4228
|
self._SmtpMessageId = params.get("SmtpMessageId")
|
4215
4229
|
self._SmtpHeaders = params.get("SmtpHeaders")
|
4230
|
+
self._HeaderFrom = params.get("HeaderFrom")
|
4216
4231
|
memeber_set = set(params.keys())
|
4217
4232
|
for name, value in vars(self).items():
|
4218
4233
|
property_name = name[1:]
|
@@ -1213,7 +1213,8 @@ class TransmitOralProcessRequest(AbstractModel):
|
|
1213
1213
|
流式模式下需要将语音数据进行分片处理,参考:[分片大小设置](https://cloud.tencent.com/document/product/884/78985#.E5.88.86.E7.89.87.E5.A4.A7.E5.B0.8F.E8.AE.BE.E7.BD.AE.E4.B8.BA.E5.A4.9A.E5.A4.A7.E6.AF.94.E8.BE.83.E5.90.88.E9.80.82.3F)
|
1214
1214
|
如何进行流式分片参考:[流式评测](https://cloud.tencent.com/document/product/884/78824#.E6.B5.81.E5.BC.8F.E8.AF.84.E6.B5.8B)
|
1215
1215
|
:type UserVoiceData: str
|
1216
|
-
:param _SessionId: 语音段唯一标识,一段完整语音使用一个SessionId,不同语音段的评测需要使用不同的SessionId
|
1216
|
+
:param _SessionId: 语音段唯一标识,一段完整语音使用一个SessionId,不同语音段的评测需要使用不同的SessionId。
|
1217
|
+
一般使用uuid(通用唯一识别码)来作为它的值,要尽量保证SessionId的唯一性。
|
1217
1218
|
:type SessionId: str
|
1218
1219
|
:param _SoeAppId: 业务应用ID,与账号应用APPID无关,是用来方便客户管理服务的参数,新的 SoeAppId 可以在[控制台](https://console.cloud.tencent.com/soe)【应用管理】下新建。如果没有新建SoeAppId,请勿填入该参数,否则会报欠费错误。使用指南:[业务应用](https://cloud.tencent.com/document/product/884/78824#.E4.B8.9A.E5.8A.A1.E5.BA.94.E7.94.A8)
|
1219
1220
|
:type SoeAppId: str
|
@@ -1297,7 +1298,8 @@ class TransmitOralProcessRequest(AbstractModel):
|
|
1297
1298
|
|
1298
1299
|
@property
|
1299
1300
|
def SessionId(self):
|
1300
|
-
"""语音段唯一标识,一段完整语音使用一个SessionId,不同语音段的评测需要使用不同的SessionId
|
1301
|
+
"""语音段唯一标识,一段完整语音使用一个SessionId,不同语音段的评测需要使用不同的SessionId。
|
1302
|
+
一般使用uuid(通用唯一识别码)来作为它的值,要尽量保证SessionId的唯一性。
|
1301
1303
|
:rtype: str
|
1302
1304
|
"""
|
1303
1305
|
return self._SessionId
|
@@ -13543,6 +13543,90 @@ class ModifyModelServiceResponse(AbstractModel):
|
|
13543
13543
|
self._RequestId = params.get("RequestId")
|
13544
13544
|
|
13545
13545
|
|
13546
|
+
class ModifyNotebookTagsRequest(AbstractModel):
|
13547
|
+
"""ModifyNotebookTags请求参数结构体
|
13548
|
+
|
13549
|
+
"""
|
13550
|
+
|
13551
|
+
def __init__(self):
|
13552
|
+
r"""
|
13553
|
+
:param _Id: Notebook Id
|
13554
|
+
:type Id: str
|
13555
|
+
:param _Tags: Notebook修改标签集合
|
13556
|
+
:type Tags: list of Tag
|
13557
|
+
"""
|
13558
|
+
self._Id = None
|
13559
|
+
self._Tags = None
|
13560
|
+
|
13561
|
+
@property
|
13562
|
+
def Id(self):
|
13563
|
+
"""Notebook Id
|
13564
|
+
:rtype: str
|
13565
|
+
"""
|
13566
|
+
return self._Id
|
13567
|
+
|
13568
|
+
@Id.setter
|
13569
|
+
def Id(self, Id):
|
13570
|
+
self._Id = Id
|
13571
|
+
|
13572
|
+
@property
|
13573
|
+
def Tags(self):
|
13574
|
+
"""Notebook修改标签集合
|
13575
|
+
:rtype: list of Tag
|
13576
|
+
"""
|
13577
|
+
return self._Tags
|
13578
|
+
|
13579
|
+
@Tags.setter
|
13580
|
+
def Tags(self, Tags):
|
13581
|
+
self._Tags = Tags
|
13582
|
+
|
13583
|
+
|
13584
|
+
def _deserialize(self, params):
|
13585
|
+
self._Id = params.get("Id")
|
13586
|
+
if params.get("Tags") is not None:
|
13587
|
+
self._Tags = []
|
13588
|
+
for item in params.get("Tags"):
|
13589
|
+
obj = Tag()
|
13590
|
+
obj._deserialize(item)
|
13591
|
+
self._Tags.append(obj)
|
13592
|
+
memeber_set = set(params.keys())
|
13593
|
+
for name, value in vars(self).items():
|
13594
|
+
property_name = name[1:]
|
13595
|
+
if property_name in memeber_set:
|
13596
|
+
memeber_set.remove(property_name)
|
13597
|
+
if len(memeber_set) > 0:
|
13598
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
13599
|
+
|
13600
|
+
|
13601
|
+
|
13602
|
+
class ModifyNotebookTagsResponse(AbstractModel):
|
13603
|
+
"""ModifyNotebookTags返回参数结构体
|
13604
|
+
|
13605
|
+
"""
|
13606
|
+
|
13607
|
+
def __init__(self):
|
13608
|
+
r"""
|
13609
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13610
|
+
:type RequestId: str
|
13611
|
+
"""
|
13612
|
+
self._RequestId = None
|
13613
|
+
|
13614
|
+
@property
|
13615
|
+
def RequestId(self):
|
13616
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13617
|
+
:rtype: str
|
13618
|
+
"""
|
13619
|
+
return self._RequestId
|
13620
|
+
|
13621
|
+
@RequestId.setter
|
13622
|
+
def RequestId(self, RequestId):
|
13623
|
+
self._RequestId = RequestId
|
13624
|
+
|
13625
|
+
|
13626
|
+
def _deserialize(self, params):
|
13627
|
+
self._RequestId = params.get("RequestId")
|
13628
|
+
|
13629
|
+
|
13546
13630
|
class MultiModalContent(AbstractModel):
|
13547
13631
|
"""多模态对话内容,支持图片与文字信息
|
13548
13632
|
|
@@ -902,6 +902,29 @@ class TioneClient(AbstractClient):
|
|
902
902
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
903
903
|
|
904
904
|
|
905
|
+
def ModifyNotebookTags(self, request):
|
906
|
+
"""修改Notebook标签
|
907
|
+
|
908
|
+
:param request: Request instance for ModifyNotebookTags.
|
909
|
+
:type request: :class:`tencentcloud.tione.v20211111.models.ModifyNotebookTagsRequest`
|
910
|
+
:rtype: :class:`tencentcloud.tione.v20211111.models.ModifyNotebookTagsResponse`
|
911
|
+
|
912
|
+
"""
|
913
|
+
try:
|
914
|
+
params = request._serialize()
|
915
|
+
headers = request.headers
|
916
|
+
body = self.call("ModifyNotebookTags", params, headers=headers)
|
917
|
+
response = json.loads(body)
|
918
|
+
model = models.ModifyNotebookTagsResponse()
|
919
|
+
model._deserialize(response["Response"])
|
920
|
+
return model
|
921
|
+
except Exception as e:
|
922
|
+
if isinstance(e, TencentCloudSDKException):
|
923
|
+
raise
|
924
|
+
else:
|
925
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
926
|
+
|
927
|
+
|
905
928
|
def PushTrainingMetrics(self, request):
|
906
929
|
"""上报训练自定义指标
|
907
930
|
|
@@ -5993,12 +5993,10 @@ class EmulateMobileParams(AbstractModel):
|
|
5993
5993
|
:param _MobileDeviceType: 移动设备类型,
|
5994
5994
|
0: 手机
|
5995
5995
|
1: 平板
|
5996
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
5997
5996
|
:type MobileDeviceType: int
|
5998
5997
|
:param _ScreenOrientation: 屏幕方向,
|
5999
5998
|
0: 竖屏,
|
6000
5999
|
1: 横屏
|
6001
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6002
6000
|
:type ScreenOrientation: int
|
6003
6001
|
"""
|
6004
6002
|
self._MobileDeviceType = None
|
@@ -6009,7 +6007,6 @@ class EmulateMobileParams(AbstractModel):
|
|
6009
6007
|
"""移动设备类型,
|
6010
6008
|
0: 手机
|
6011
6009
|
1: 平板
|
6012
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6013
6010
|
:rtype: int
|
6014
6011
|
"""
|
6015
6012
|
return self._MobileDeviceType
|
@@ -6023,7 +6020,6 @@ class EmulateMobileParams(AbstractModel):
|
|
6023
6020
|
"""屏幕方向,
|
6024
6021
|
0: 竖屏,
|
6025
6022
|
1: 横屏
|
6026
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6027
6023
|
:rtype: int
|
6028
6024
|
"""
|
6029
6025
|
return self._ScreenOrientation
|
@@ -1398,6 +1398,8 @@ class CloudNativeAPIGatewayConfig(AbstractModel):
|
|
1398
1398
|
:type SlaveZoneName: str
|
1399
1399
|
:param _NetworkId: 网络 id
|
1400
1400
|
:type NetworkId: str
|
1401
|
+
:param _IPV6FullChain: 是否为新 ipv6 CLB
|
1402
|
+
:type IPV6FullChain: bool
|
1401
1403
|
"""
|
1402
1404
|
self._ConsoleType = None
|
1403
1405
|
self._HttpUrl = None
|
@@ -1420,6 +1422,7 @@ class CloudNativeAPIGatewayConfig(AbstractModel):
|
|
1420
1422
|
self._MasterZoneName = None
|
1421
1423
|
self._SlaveZoneName = None
|
1422
1424
|
self._NetworkId = None
|
1425
|
+
self._IPV6FullChain = None
|
1423
1426
|
|
1424
1427
|
@property
|
1425
1428
|
def ConsoleType(self):
|
@@ -1653,6 +1656,17 @@ class CloudNativeAPIGatewayConfig(AbstractModel):
|
|
1653
1656
|
def NetworkId(self, NetworkId):
|
1654
1657
|
self._NetworkId = NetworkId
|
1655
1658
|
|
1659
|
+
@property
|
1660
|
+
def IPV6FullChain(self):
|
1661
|
+
"""是否为新 ipv6 CLB
|
1662
|
+
:rtype: bool
|
1663
|
+
"""
|
1664
|
+
return self._IPV6FullChain
|
1665
|
+
|
1666
|
+
@IPV6FullChain.setter
|
1667
|
+
def IPV6FullChain(self, IPV6FullChain):
|
1668
|
+
self._IPV6FullChain = IPV6FullChain
|
1669
|
+
|
1656
1670
|
|
1657
1671
|
def _deserialize(self, params):
|
1658
1672
|
self._ConsoleType = params.get("ConsoleType")
|
@@ -1678,6 +1692,7 @@ class CloudNativeAPIGatewayConfig(AbstractModel):
|
|
1678
1692
|
self._MasterZoneName = params.get("MasterZoneName")
|
1679
1693
|
self._SlaveZoneName = params.get("SlaveZoneName")
|
1680
1694
|
self._NetworkId = params.get("NetworkId")
|
1695
|
+
self._IPV6FullChain = params.get("IPV6FullChain")
|
1681
1696
|
memeber_set = set(params.keys())
|
1682
1697
|
for name, value in vars(self).items():
|
1683
1698
|
property_name = name[1:]
|
@@ -26775,6 +26790,10 @@ class NativeGatewayServerGroup(AbstractModel):
|
|
26775
26790
|
:type DefaultWeight: int
|
26776
26791
|
:param _ElasticNumber: 弹性节点
|
26777
26792
|
:type ElasticNumber: int
|
26793
|
+
:param _SupportTOA: 是否支持TOA
|
26794
|
+
:type SupportTOA: bool
|
26795
|
+
:param _SupportIPV6: 是否支持IPV6
|
26796
|
+
:type SupportIPV6: bool
|
26778
26797
|
"""
|
26779
26798
|
self._GroupId = None
|
26780
26799
|
self._Name = None
|
@@ -26790,6 +26809,8 @@ class NativeGatewayServerGroup(AbstractModel):
|
|
26790
26809
|
self._SubnetIds = None
|
26791
26810
|
self._DefaultWeight = None
|
26792
26811
|
self._ElasticNumber = None
|
26812
|
+
self._SupportTOA = None
|
26813
|
+
self._SupportIPV6 = None
|
26793
26814
|
|
26794
26815
|
@property
|
26795
26816
|
def GroupId(self):
|
@@ -26947,6 +26968,28 @@ class NativeGatewayServerGroup(AbstractModel):
|
|
26947
26968
|
def ElasticNumber(self, ElasticNumber):
|
26948
26969
|
self._ElasticNumber = ElasticNumber
|
26949
26970
|
|
26971
|
+
@property
|
26972
|
+
def SupportTOA(self):
|
26973
|
+
"""是否支持TOA
|
26974
|
+
:rtype: bool
|
26975
|
+
"""
|
26976
|
+
return self._SupportTOA
|
26977
|
+
|
26978
|
+
@SupportTOA.setter
|
26979
|
+
def SupportTOA(self, SupportTOA):
|
26980
|
+
self._SupportTOA = SupportTOA
|
26981
|
+
|
26982
|
+
@property
|
26983
|
+
def SupportIPV6(self):
|
26984
|
+
"""是否支持IPV6
|
26985
|
+
:rtype: bool
|
26986
|
+
"""
|
26987
|
+
return self._SupportIPV6
|
26988
|
+
|
26989
|
+
@SupportIPV6.setter
|
26990
|
+
def SupportIPV6(self, SupportIPV6):
|
26991
|
+
self._SupportIPV6 = SupportIPV6
|
26992
|
+
|
26950
26993
|
|
26951
26994
|
def _deserialize(self, params):
|
26952
26995
|
self._GroupId = params.get("GroupId")
|
@@ -26967,6 +27010,8 @@ class NativeGatewayServerGroup(AbstractModel):
|
|
26967
27010
|
self._SubnetIds = params.get("SubnetIds")
|
26968
27011
|
self._DefaultWeight = params.get("DefaultWeight")
|
26969
27012
|
self._ElasticNumber = params.get("ElasticNumber")
|
27013
|
+
self._SupportTOA = params.get("SupportTOA")
|
27014
|
+
self._SupportIPV6 = params.get("SupportIPV6")
|
26970
27015
|
memeber_set = set(params.keys())
|
26971
27016
|
for name, value in vars(self).items():
|
26972
27017
|
property_name = name[1:]
|
@@ -34,8 +34,8 @@ class TtsClient(AbstractClient):
|
|
34
34
|
<li>支持中文普通话、英文、中英文混读、粤语合成</li>
|
35
35
|
<li>支持语速、音量设置</li>
|
36
36
|
<li>支持回调或轮询的方式获取结果,结果获取请参考 长文本语音合成结果查询。</li>
|
37
|
-
<li>提交长文本语音合成请求后,合成结果在3
|
38
|
-
|
37
|
+
<li>提交长文本语音合成请求后,合成结果在3小时内完成。请注意:30分钟内提交任务超过 100 万字符或 200 条任务除外。</li>
|
38
|
+
<li>音频文件在服务端可保存24小时,请及时下载。</li>
|
39
39
|
<p></p>
|
40
40
|
|
41
41
|
长文本合成支持 SSML,语法详见 [SSML 标记语言](https://cloud.tencent.com/document/product/1073/49575),使用时需满足如下使用规范:
|
@@ -959,7 +959,7 @@ class CreateVideoModerationTaskRequest(AbstractModel):
|
|
959
959
|
:type Type: str
|
960
960
|
:param _Tasks: 输入的任务信息,最多可以同时创建10个任务
|
961
961
|
:type Tasks: list of TaskInput
|
962
|
-
:param _Seed:
|
962
|
+
:param _Seed: 可选参数,该字段表示回调签名的key信息,用于保证数据的安全性。 签名方法为在返回的HTTP头部添加 X-Signature 的字段,值为: seed + body 的 SHA256 编码和Hex字符串,在收到回调数据后,可以根据返回的body,用 **sha256(seed + body)**, 计算出 `X-Signature` 进行验证。<br>具体使用实例可参考 [回调签名示例](https://cloud.tencent.com/document/product/1265/104001#42dd87d2-580f-46cf-a953-639a787d1eda)。
|
963
963
|
:type Seed: str
|
964
964
|
:param _CallbackUrl: 接收审核信息回调地址。如果设置了该字段,在审核过程中发现违规音频片段和画面截帧结果将发送至该接口。更多详情请参阅[回调配置说明](https://cloud.tencent.com/document/product/1265/104001)。
|
965
965
|
:type CallbackUrl: str
|
@@ -1011,7 +1011,7 @@ class CreateVideoModerationTaskRequest(AbstractModel):
|
|
1011
1011
|
|
1012
1012
|
@property
|
1013
1013
|
def Seed(self):
|
1014
|
-
"""
|
1014
|
+
"""可选参数,该字段表示回调签名的key信息,用于保证数据的安全性。 签名方法为在返回的HTTP头部添加 X-Signature 的字段,值为: seed + body 的 SHA256 编码和Hex字符串,在收到回调数据后,可以根据返回的body,用 **sha256(seed + body)**, 计算出 `X-Signature` 进行验证。<br>具体使用实例可参考 [回调签名示例](https://cloud.tencent.com/document/product/1265/104001#42dd87d2-580f-46cf-a953-639a787d1eda)。
|
1015
1015
|
:rtype: str
|
1016
1016
|
"""
|
1017
1017
|
return self._Seed
|
@@ -54,12 +54,20 @@ class VmClient(AbstractClient):
|
|
54
54
|
### 功能使用说明:
|
55
55
|
|
56
56
|
- 前往“[内容安全控制台-视频内容安全](https://console.cloud.tencent.com/cms)”开启使用视频内容安全服务,首次开通服务的用户可免费领用试用套餐包,包含200分钟的处理量(换算1s每帧截图,赠送**12000张图**、**200分钟的音频**处理量),有效期为15天。
|
57
|
-
|
58
57
|
- 该接口为收费接口,计费方式敬请参见[腾讯云视频内容安全定价](https://cloud.tencent.com/product/vm/pricing)。
|
59
58
|
|
60
|
-
|
61
|
-
- 默认并发审核路数限制:点播默认10路,异步审核任务(点播视频)数量超过并发审核路数时,将会进入排队;直播默认100路,同步审核任务(直播视频)超过并发审核路数,接口会返回错误。
|
59
|
+
### 审核并发限制说明:
|
62
60
|
|
61
|
+
- **点播视频(异步审核)**
|
62
|
+
- 默认并发路数:10
|
63
|
+
- 队列处理机制:
|
64
|
+
- 当并发任务达到上限时,新任务进入队列等待处理;
|
65
|
+
- 支持通过`Priority`字段配置任务优先级(数值越大优先级越高),默认情况下新送审任务优先处理,旧任务往后排;
|
66
|
+
- **直播视频(异步审核)**
|
67
|
+
- 默认并发路数:100
|
68
|
+
- 队列处理机制:
|
69
|
+
- 运行中的审核任务达到上限时,新请求会提示超频错误:`RequestLimitExceeded`,错误详细为:`You have reached the concurrency limit`;
|
70
|
+
- 不支持排队;
|
63
71
|
|
64
72
|
### 接口功能说明:
|
65
73
|
|
@@ -72,7 +80,7 @@ class VmClient(AbstractClient):
|
|
72
80
|
- 支持用户自定义配置审核任务优先级,当有多个任务排队时,可根据用户配置自动调整任务优先级;
|
73
81
|
- 支持批量提交检测任务,**最多可同时创建10个任务**;
|
74
82
|
|
75
|
-
###
|
83
|
+
### 视频文件流调用说明:
|
76
84
|
|
77
85
|
- 视频文件大小支持:**4K视频文件 < 10GB**;**低于4K视频文件 < 5GB**
|
78
86
|
- 视频文件分辨率支持:**最佳分辨率为1920x1080 (1080p)**,如果视频文件小于300MB,则分辨率可以大于1080p,分辨率最大支持4K,更大视频可以调用[云转码服务](https://cloud.tencent.com/product/mps/details)转码后再送审;
|
@@ -81,18 +89,18 @@ class VmClient(AbstractClient):
|
|
81
89
|
- 若传入视频文件的访问链接,则需要注意视频**头文件的读取时间限制为3秒**,为保障被检测视频的稳定性和可靠性,建议您使用腾讯云COS存储或者CDN缓存等;
|
82
90
|
- 支持用户配置是否需要开启音频审核,若不开启则将仅对视频文件图像内容进行审核。
|
83
91
|
|
84
|
-
###
|
92
|
+
### 直播视频流调用说明:
|
85
93
|
|
86
|
-
- 视频流时长支持:**
|
94
|
+
- 视频流时长支持:**24小时以内**,超过需要重新推送审核任务;
|
87
95
|
- 视频流分辨率支持:支持**1920x1080 (1080p)**,更高分辨率视频可以调用[直播云转码服务](https://cloud.tencent.com/document/product/267/39889)转码后再送审;
|
88
|
-
- 视频流支持格式:
|
96
|
+
- 视频流支持格式:rtmp,flv 等主流视频流编码格式。
|
89
97
|
- 视频流支持的传输协议:HTTP/HTTPS/RTMP;
|
90
98
|
- 支持用户配置是否需要开启音频审核,若不开启则将仅对视频流图像内容进行审核。
|
91
99
|
|
92
100
|
### 直播断流处理说明:
|
93
101
|
- 请确认已对接[取消任务](https://cloud.tencent.com/document/product/1265/80018)。
|
94
102
|
- 如果直播任务取消/结束,则终止直播拉流并退出审核。
|
95
|
-
-
|
103
|
+
- 在直播任务未取消或结束的情况下,若推流中断(例如 `Operation not permitted` 错误),审核服务将在 10分钟内持续尝试重新拉流。检测到有效的图片或音频数据,审核将自动恢复正常;否则,10分钟后终止拉流并退出审核。此时如有需要,请重新提交审核请求。对于因网络问题导致的拉流失败(如 `HTTP 404 Not Found` 错误),系统将进行最多 16次重试。若成功获取有效数据,审核流程即刻恢复;若所有重试均失败,则同样终止拉流并退出审核,需用户重新送审。
|
96
104
|
|
97
105
|
:param request: Request instance for CreateVideoModerationTask.
|
98
106
|
:type request: :class:`tencentcloud.vm.v20210922.models.CreateVideoModerationTaskRequest`
|
@@ -28894,6 +28894,7 @@ class DescribeMediaProcessUsageDataRequest(AbstractModel):
|
|
28894
28894
|
<li>Transcode: 转码,包含普通转码、极速高清和视频编辑(不推荐使用)</li>
|
28895
28895
|
<li>VoiceTranslation: 语音翻译</li>
|
28896
28896
|
<li>JITTranscoding: 即时转码</li>
|
28897
|
+
<li>VideoSnapshot: 视频截图</li>
|
28897
28898
|
:type Type: str
|
28898
28899
|
"""
|
28899
28900
|
self._StartTime = None
|
@@ -28959,6 +28960,7 @@ class DescribeMediaProcessUsageDataRequest(AbstractModel):
|
|
28959
28960
|
<li>Transcode: 转码,包含普通转码、极速高清和视频编辑(不推荐使用)</li>
|
28960
28961
|
<li>VoiceTranslation: 语音翻译</li>
|
28961
28962
|
<li>JITTranscoding: 即时转码</li>
|
28963
|
+
<li>VideoSnapshot: 视频截图</li>
|
28962
28964
|
:rtype: str
|
28963
28965
|
"""
|
28964
28966
|
return self._Type
|
@@ -70038,6 +70040,7 @@ class TaskStatData(AbstractModel):
|
|
70038
70040
|
<li>Transcode: 转码,包含普通转码、极速高清和视频编辑(不推荐使用)</li>
|
70039
70041
|
<li>VoiceTranslation: 语音翻译</li>
|
70040
70042
|
<li>JITTranscoding: 即时转码</li>
|
70043
|
+
<li>VideoSnapshot: 视频截图</li>
|
70041
70044
|
:type TaskType: str
|
70042
70045
|
:param _Summary: 任务数统计数据概览,用量单位为秒。
|
70043
70046
|
:type Summary: list of TaskStatDataItem
|
@@ -70101,6 +70104,10 @@ class TaskStatData(AbstractModel):
|
|
70101
70104
|
<li>JITTranscoding.H264.2K: H.264编码方式2K即时转码</li>
|
70102
70105
|
<li>JITTranscoding.Audio: 音频即时转码</li>
|
70103
70106
|
<li>JITTranscoding.Copy: 转封装即时转码</li>
|
70107
|
+
视频截图规格:
|
70108
|
+
<li>SnapshotByTimeOffset: 时间点截图</li>
|
70109
|
+
<li>SampleSnapshot: 采样截图</li>
|
70110
|
+
<li>ImageSprite: 雪碧图</li>
|
70104
70111
|
:type Details: list of SpecificationDataItem
|
70105
70112
|
"""
|
70106
70113
|
self._TaskType = None
|
@@ -70125,6 +70132,7 @@ class TaskStatData(AbstractModel):
|
|
70125
70132
|
<li>Transcode: 转码,包含普通转码、极速高清和视频编辑(不推荐使用)</li>
|
70126
70133
|
<li>VoiceTranslation: 语音翻译</li>
|
70127
70134
|
<li>JITTranscoding: 即时转码</li>
|
70135
|
+
<li>VideoSnapshot: 视频截图</li>
|
70128
70136
|
:rtype: str
|
70129
70137
|
"""
|
70130
70138
|
return self._TaskType
|
@@ -70206,6 +70214,10 @@ class TaskStatData(AbstractModel):
|
|
70206
70214
|
<li>JITTranscoding.H264.2K: H.264编码方式2K即时转码</li>
|
70207
70215
|
<li>JITTranscoding.Audio: 音频即时转码</li>
|
70208
70216
|
<li>JITTranscoding.Copy: 转封装即时转码</li>
|
70217
|
+
视频截图规格:
|
70218
|
+
<li>SnapshotByTimeOffset: 时间点截图</li>
|
70219
|
+
<li>SampleSnapshot: 采样截图</li>
|
70220
|
+
<li>ImageSprite: 雪碧图</li>
|
70209
70221
|
:rtype: list of SpecificationDataItem
|
70210
70222
|
"""
|
70211
70223
|
return self._Details
|
@@ -29387,7 +29387,6 @@ class DescribeNatGatewaySourceIpTranslationNatRulesResponse(AbstractModel):
|
|
29387
29387
|
def __init__(self):
|
29388
29388
|
r"""
|
29389
29389
|
:param _SourceIpTranslationNatRuleSet: NAT网关SNAT规则对象数组。
|
29390
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29391
29390
|
:type SourceIpTranslationNatRuleSet: list of SourceIpTranslationNatRule
|
29392
29391
|
:param _TotalCount: 符合条件的NAT网关端口转发规则对象数目。
|
29393
29392
|
:type TotalCount: int
|
@@ -29401,7 +29400,6 @@ class DescribeNatGatewaySourceIpTranslationNatRulesResponse(AbstractModel):
|
|
29401
29400
|
@property
|
29402
29401
|
def SourceIpTranslationNatRuleSet(self):
|
29403
29402
|
"""NAT网关SNAT规则对象数组。
|
29404
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29405
29403
|
:rtype: list of SourceIpTranslationNatRule
|
29406
29404
|
"""
|
29407
29405
|
return self._SourceIpTranslationNatRuleSet
|