tencentcloud-sdk-python 3.0.1480__py2.py3-none-any.whl → 3.0.1481__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/autoscaling/v20180419/autoscaling_client.py +2 -2
- tencentcloud/autoscaling/v20180419/models.py +42 -0
- tencentcloud/billing/v20180709/models.py +8 -8
- tencentcloud/cam/v20190116/errorcodes.py +3 -0
- tencentcloud/cam/v20190116/models.py +0 -2
- tencentcloud/ckafka/v20190819/models.py +2 -0
- tencentcloud/cloudaudit/v20190319/models.py +17 -0
- tencentcloud/cls/v20201016/errorcodes.py +9 -0
- tencentcloud/cvm/v20170312/models.py +2 -32
- tencentcloud/dbbrain/v20210527/models.py +18 -3
- tencentcloud/dlc/v20210125/models.py +45 -0
- tencentcloud/ess/v20201111/models.py +101 -2
- tencentcloud/essbasic/v20210526/models.py +139 -10
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +46 -0
- tencentcloud/iotexplorer/v20190423/models.py +162 -0
- tencentcloud/lcic/v20220817/models.py +22 -2
- tencentcloud/lke/v20231130/models.py +4 -2
- tencentcloud/lkeap/v20240522/errorcodes.py +1 -1
- tencentcloud/monitor/v20180724/models.py +30 -0
- tencentcloud/mps/v20190612/errorcodes.py +6 -0
- tencentcloud/mps/v20190612/models.py +231 -4
- tencentcloud/postgres/v20170312/errorcodes.py +9 -0
- tencentcloud/postgres/v20170312/models.py +488 -79
- tencentcloud/redis/v20180412/models.py +213 -24
- tencentcloud/region/v20220627/models.py +0 -2
- tencentcloud/sqlserver/v20180328/models.py +49 -4
- tencentcloud/svp/v20240125/models.py +21 -4
- tencentcloud/tag/v20180813/models.py +5 -5
- tencentcloud/tcss/v20201101/models.py +157 -0
- tencentcloud/teo/v20220901/models.py +32 -30
- tencentcloud/tione/v20211111/models.py +162 -0
- tencentcloud/tione/v20211111/tione_client.py +69 -0
- tencentcloud/tke/v20180525/models.py +20 -18
- tencentcloud/tke/v20220501/models.py +21 -6
- tencentcloud/tms/v20201229/models.py +30 -0
- tencentcloud/tms/v20201229/tms_client.py +2 -1
- tencentcloud/trro/v20220325/errorcodes.py +3 -0
- tencentcloud/trro/v20220325/models.py +739 -0
- tencentcloud/trro/v20220325/trro_client.py +46 -0
- tencentcloud/trtc/v20190722/models.py +32 -36
- tencentcloud/vpc/v20170312/models.py +175 -10
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1480.dist-info → tencentcloud_sdk_python-3.0.1481.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1480.dist-info → tencentcloud_sdk_python-3.0.1481.dist-info}/RECORD +48 -48
- {tencentcloud_sdk_python-3.0.1480.dist-info → tencentcloud_sdk_python-3.0.1481.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1480.dist-info → tencentcloud_sdk_python-3.0.1481.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1480.dist-info → tencentcloud_sdk_python-3.0.1481.dist-info}/top_level.txt +0 -0
|
@@ -572,7 +572,7 @@ class AddVpcCniSubnetsRequest(AbstractModel):
|
|
|
572
572
|
|
|
573
573
|
def __init__(self):
|
|
574
574
|
r"""
|
|
575
|
-
:param _ClusterId: 集群ID
|
|
575
|
+
:param _ClusterId: 集群 ID,请[登录控制台](https://console.cloud.tencent.com/tke2/cluster)在集群列表复制ID
|
|
576
576
|
:type ClusterId: str
|
|
577
577
|
:param _SubnetIds: 为集群容器网络增加的子网列表
|
|
578
578
|
:type SubnetIds: list of str
|
|
@@ -588,7 +588,7 @@ class AddVpcCniSubnetsRequest(AbstractModel):
|
|
|
588
588
|
|
|
589
589
|
@property
|
|
590
590
|
def ClusterId(self):
|
|
591
|
-
r"""集群ID
|
|
591
|
+
r"""集群 ID,请[登录控制台](https://console.cloud.tencent.com/tke2/cluster)在集群列表复制ID
|
|
592
592
|
:rtype: str
|
|
593
593
|
"""
|
|
594
594
|
return self._ClusterId
|
|
@@ -5340,7 +5340,7 @@ class CreateCLSLogConfigRequest(AbstractModel):
|
|
|
5340
5340
|
:type ClusterId: str
|
|
5341
5341
|
:param _LogsetId: CLS日志集ID
|
|
5342
5342
|
:type LogsetId: str
|
|
5343
|
-
:param _ClusterType: 当前集群类型支持tke
|
|
5343
|
+
:param _ClusterType: 当前集群类型支持tke(标准集群)、eks(serverless集群)
|
|
5344
5344
|
:type ClusterType: str
|
|
5345
5345
|
"""
|
|
5346
5346
|
self._LogConfig = None
|
|
@@ -5383,7 +5383,7 @@ class CreateCLSLogConfigRequest(AbstractModel):
|
|
|
5383
5383
|
|
|
5384
5384
|
@property
|
|
5385
5385
|
def ClusterType(self):
|
|
5386
|
-
r"""当前集群类型支持tke
|
|
5386
|
+
r"""当前集群类型支持tke(标准集群)、eks(serverless集群)
|
|
5387
5387
|
:rtype: str
|
|
5388
5388
|
"""
|
|
5389
5389
|
return self._ClusterType
|
|
@@ -16296,7 +16296,7 @@ class DescribeClusterRoutesRequest(AbstractModel):
|
|
|
16296
16296
|
|
|
16297
16297
|
def __init__(self):
|
|
16298
16298
|
r"""
|
|
16299
|
-
:param _RouteTableName:
|
|
16299
|
+
:param _RouteTableName: 路由表名称。与集群 ID 一致,可以到[集群控制台](https://console.cloud.tencent.com/tke2)进行复制。
|
|
16300
16300
|
:type RouteTableName: str
|
|
16301
16301
|
:param _Filters: 过滤条件,当前只支持按照单个条件GatewayIP进行过滤(可选)
|
|
16302
16302
|
:type Filters: list of Filter
|
|
@@ -16306,7 +16306,7 @@ class DescribeClusterRoutesRequest(AbstractModel):
|
|
|
16306
16306
|
|
|
16307
16307
|
@property
|
|
16308
16308
|
def RouteTableName(self):
|
|
16309
|
-
r"""
|
|
16309
|
+
r"""路由表名称。与集群 ID 一致,可以到[集群控制台](https://console.cloud.tencent.com/tke2)进行复制。
|
|
16310
16310
|
:rtype: str
|
|
16311
16311
|
"""
|
|
16312
16312
|
return self._RouteTableName
|
|
@@ -19457,14 +19457,14 @@ class DescribeIPAMDRequest(AbstractModel):
|
|
|
19457
19457
|
|
|
19458
19458
|
def __init__(self):
|
|
19459
19459
|
r"""
|
|
19460
|
-
:param _ClusterId: 集群ID
|
|
19460
|
+
:param _ClusterId: 集群 ID,请[登录控制台](https://console.cloud.tencent.com/tke2/cluster)在集群列表复制ID
|
|
19461
19461
|
:type ClusterId: str
|
|
19462
19462
|
"""
|
|
19463
19463
|
self._ClusterId = None
|
|
19464
19464
|
|
|
19465
19465
|
@property
|
|
19466
19466
|
def ClusterId(self):
|
|
19467
|
-
r"""集群ID
|
|
19467
|
+
r"""集群 ID,请[登录控制台](https://console.cloud.tencent.com/tke2/cluster)在集群列表复制ID
|
|
19468
19468
|
:rtype: str
|
|
19469
19469
|
"""
|
|
19470
19470
|
return self._ClusterId
|
|
@@ -24449,7 +24449,7 @@ class DescribeRouteTableConflictsRequest(AbstractModel):
|
|
|
24449
24449
|
r"""
|
|
24450
24450
|
:param _RouteTableCidrBlock: 路由表CIDR
|
|
24451
24451
|
:type RouteTableCidrBlock: str
|
|
24452
|
-
:param _VpcId: 路由表绑定的VPC
|
|
24452
|
+
:param _VpcId: 路由表绑定的VPC,请到 [VPC 控制台](https://console.cloud.tencent.com/vpc/vpc)复制 VPC ID
|
|
24453
24453
|
:type VpcId: str
|
|
24454
24454
|
"""
|
|
24455
24455
|
self._RouteTableCidrBlock = None
|
|
@@ -24468,7 +24468,7 @@ class DescribeRouteTableConflictsRequest(AbstractModel):
|
|
|
24468
24468
|
|
|
24469
24469
|
@property
|
|
24470
24470
|
def VpcId(self):
|
|
24471
|
-
r"""路由表绑定的VPC
|
|
24471
|
+
r"""路由表绑定的VPC,请到 [VPC 控制台](https://console.cloud.tencent.com/vpc/vpc)复制 VPC ID
|
|
24472
24472
|
:rtype: str
|
|
24473
24473
|
"""
|
|
24474
24474
|
return self._VpcId
|
|
@@ -27865,9 +27865,9 @@ class EnableClusterAuditRequest(AbstractModel):
|
|
|
27865
27865
|
r"""
|
|
27866
27866
|
:param _ClusterId: 集群ID
|
|
27867
27867
|
:type ClusterId: str
|
|
27868
|
-
:param _LogsetId: CLS日志集ID
|
|
27868
|
+
:param _LogsetId: CLS日志集ID,可以通过cls接口或者控制台获取
|
|
27869
27869
|
:type LogsetId: str
|
|
27870
|
-
:param _TopicId: CLS日志主题ID
|
|
27870
|
+
:param _TopicId: CLS日志主题ID,可以通过cls接口或者控制台获取
|
|
27871
27871
|
:type TopicId: str
|
|
27872
27872
|
:param _TopicRegion: topic所在region,默认为集群当前region
|
|
27873
27873
|
:type TopicRegion: str
|
|
@@ -27890,7 +27890,7 @@ class EnableClusterAuditRequest(AbstractModel):
|
|
|
27890
27890
|
|
|
27891
27891
|
@property
|
|
27892
27892
|
def LogsetId(self):
|
|
27893
|
-
r"""CLS日志集ID
|
|
27893
|
+
r"""CLS日志集ID,可以通过cls接口或者控制台获取
|
|
27894
27894
|
:rtype: str
|
|
27895
27895
|
"""
|
|
27896
27896
|
return self._LogsetId
|
|
@@ -27901,7 +27901,7 @@ class EnableClusterAuditRequest(AbstractModel):
|
|
|
27901
27901
|
|
|
27902
27902
|
@property
|
|
27903
27903
|
def TopicId(self):
|
|
27904
|
-
r"""CLS日志主题ID
|
|
27904
|
+
r"""CLS日志主题ID,可以通过cls接口或者控制台获取
|
|
27905
27905
|
:rtype: str
|
|
27906
27906
|
"""
|
|
27907
27907
|
return self._TopicId
|
|
@@ -28119,9 +28119,9 @@ class EnableEventPersistenceRequest(AbstractModel):
|
|
|
28119
28119
|
r"""
|
|
28120
28120
|
:param _ClusterId: 集群ID
|
|
28121
28121
|
:type ClusterId: str
|
|
28122
|
-
:param _LogsetId: cls服务的logsetID
|
|
28122
|
+
:param _LogsetId: cls服务的logsetID,通过cls接口或者控制台获取
|
|
28123
28123
|
:type LogsetId: str
|
|
28124
|
-
:param _TopicId: cls服务的topicID
|
|
28124
|
+
:param _TopicId: cls服务的topicID,通过cls接口或者控制台获取
|
|
28125
28125
|
:type TopicId: str
|
|
28126
28126
|
:param _TopicRegion: topic所在地域,默认为集群所在地域
|
|
28127
28127
|
:type TopicRegion: str
|
|
@@ -28144,7 +28144,7 @@ class EnableEventPersistenceRequest(AbstractModel):
|
|
|
28144
28144
|
|
|
28145
28145
|
@property
|
|
28146
28146
|
def LogsetId(self):
|
|
28147
|
-
r"""cls服务的logsetID
|
|
28147
|
+
r"""cls服务的logsetID,通过cls接口或者控制台获取
|
|
28148
28148
|
:rtype: str
|
|
28149
28149
|
"""
|
|
28150
28150
|
return self._LogsetId
|
|
@@ -28155,7 +28155,7 @@ class EnableEventPersistenceRequest(AbstractModel):
|
|
|
28155
28155
|
|
|
28156
28156
|
@property
|
|
28157
28157
|
def TopicId(self):
|
|
28158
|
-
r"""cls服务的topicID
|
|
28158
|
+
r"""cls服务的topicID,通过cls接口或者控制台获取
|
|
28159
28159
|
:rtype: str
|
|
28160
28160
|
"""
|
|
28161
28161
|
return self._TopicId
|
|
@@ -44188,6 +44188,7 @@ class RouteTableConflict(AbstractModel):
|
|
|
44188
44188
|
def __init__(self):
|
|
44189
44189
|
r"""
|
|
44190
44190
|
:param _RouteTableType: 路由表类型。
|
|
44191
|
+
枚举值:CcsCluster、Vpc、VpcRouteTable、CcsClusterRouteTable
|
|
44191
44192
|
:type RouteTableType: str
|
|
44192
44193
|
:param _RouteTableCidrBlock: 路由表CIDR。
|
|
44193
44194
|
:type RouteTableCidrBlock: str
|
|
@@ -44204,6 +44205,7 @@ class RouteTableConflict(AbstractModel):
|
|
|
44204
44205
|
@property
|
|
44205
44206
|
def RouteTableType(self):
|
|
44206
44207
|
r"""路由表类型。
|
|
44208
|
+
枚举值:CcsCluster、Vpc、VpcRouteTable、CcsClusterRouteTable
|
|
44207
44209
|
:rtype: str
|
|
44208
44210
|
"""
|
|
44209
44211
|
return self._RouteTableType
|
|
@@ -3337,11 +3337,11 @@ class InstanceChargePrepaid(AbstractModel):
|
|
|
3337
3337
|
def __init__(self):
|
|
3338
3338
|
r"""
|
|
3339
3339
|
:param _Period: 后付费计费周期,单位(月):
|
|
3340
|
-
1,2,3,4,5
|
|
3340
|
+
1,2,3,4,5,6,7, 8,9,10,11,12,24,36,48,60
|
|
3341
3341
|
:type Period: int
|
|
3342
3342
|
:param _RenewFlag: 预付费续费方式:
|
|
3343
|
-
- NOTIFY_AND_AUTO_RENEW:通知用户过期,且自动续费
|
|
3344
|
-
- NOTIFY_AND_MANUAL_RENEW:通知用户过期,但不自动续费
|
|
3343
|
+
- NOTIFY_AND_AUTO_RENEW:通知用户过期,且自动续费
|
|
3344
|
+
- NOTIFY_AND_MANUAL_RENEW:通知用户过期,但不自动续费(默认)
|
|
3345
3345
|
- DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知用户过期,也不自动续费
|
|
3346
3346
|
|
|
3347
3347
|
:type RenewFlag: str
|
|
@@ -3352,7 +3352,7 @@ class InstanceChargePrepaid(AbstractModel):
|
|
|
3352
3352
|
@property
|
|
3353
3353
|
def Period(self):
|
|
3354
3354
|
r"""后付费计费周期,单位(月):
|
|
3355
|
-
1,2,3,4,5
|
|
3355
|
+
1,2,3,4,5,6,7, 8,9,10,11,12,24,36,48,60
|
|
3356
3356
|
:rtype: int
|
|
3357
3357
|
"""
|
|
3358
3358
|
return self._Period
|
|
@@ -3364,8 +3364,8 @@ class InstanceChargePrepaid(AbstractModel):
|
|
|
3364
3364
|
@property
|
|
3365
3365
|
def RenewFlag(self):
|
|
3366
3366
|
r"""预付费续费方式:
|
|
3367
|
-
- NOTIFY_AND_AUTO_RENEW:通知用户过期,且自动续费
|
|
3368
|
-
- NOTIFY_AND_MANUAL_RENEW:通知用户过期,但不自动续费
|
|
3367
|
+
- NOTIFY_AND_AUTO_RENEW:通知用户过期,且自动续费
|
|
3368
|
+
- NOTIFY_AND_MANUAL_RENEW:通知用户过期,但不自动续费(默认)
|
|
3369
3369
|
- DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知用户过期,也不自动续费
|
|
3370
3370
|
|
|
3371
3371
|
:rtype: str
|
|
@@ -6801,6 +6801,8 @@ class UpdateNativeNodePoolParam(AbstractModel):
|
|
|
6801
6801
|
:type InstanceTypes: list of str
|
|
6802
6802
|
:param _Replicas: 期望节点数
|
|
6803
6803
|
:type Replicas: int
|
|
6804
|
+
:param _UpdateExistedNode: 是否更新存量节点
|
|
6805
|
+
:type UpdateExistedNode: bool
|
|
6804
6806
|
:param _DataDisks: 数据盘列表
|
|
6805
6807
|
:type DataDisks: list of DataDisk
|
|
6806
6808
|
:param _KeyIds: ssh公钥id数组
|
|
@@ -6825,6 +6827,7 @@ class UpdateNativeNodePoolParam(AbstractModel):
|
|
|
6825
6827
|
self._EnableAutoscaling = None
|
|
6826
6828
|
self._InstanceTypes = None
|
|
6827
6829
|
self._Replicas = None
|
|
6830
|
+
self._UpdateExistedNode = None
|
|
6828
6831
|
self._DataDisks = None
|
|
6829
6832
|
self._KeyIds = None
|
|
6830
6833
|
self._GPUConfigs = None
|
|
@@ -7019,6 +7022,17 @@ class UpdateNativeNodePoolParam(AbstractModel):
|
|
|
7019
7022
|
def Replicas(self, Replicas):
|
|
7020
7023
|
self._Replicas = Replicas
|
|
7021
7024
|
|
|
7025
|
+
@property
|
|
7026
|
+
def UpdateExistedNode(self):
|
|
7027
|
+
r"""是否更新存量节点
|
|
7028
|
+
:rtype: bool
|
|
7029
|
+
"""
|
|
7030
|
+
return self._UpdateExistedNode
|
|
7031
|
+
|
|
7032
|
+
@UpdateExistedNode.setter
|
|
7033
|
+
def UpdateExistedNode(self, UpdateExistedNode):
|
|
7034
|
+
self._UpdateExistedNode = UpdateExistedNode
|
|
7035
|
+
|
|
7022
7036
|
@property
|
|
7023
7037
|
def DataDisks(self):
|
|
7024
7038
|
r"""数据盘列表
|
|
@@ -7083,6 +7097,7 @@ class UpdateNativeNodePoolParam(AbstractModel):
|
|
|
7083
7097
|
self._EnableAutoscaling = params.get("EnableAutoscaling")
|
|
7084
7098
|
self._InstanceTypes = params.get("InstanceTypes")
|
|
7085
7099
|
self._Replicas = params.get("Replicas")
|
|
7100
|
+
self._UpdateExistedNode = params.get("UpdateExistedNode")
|
|
7086
7101
|
if params.get("DataDisks") is not None:
|
|
7087
7102
|
self._DataDisks = []
|
|
7088
7103
|
for item in params.get("DataDisks"):
|
|
@@ -1187,6 +1187,8 @@ class TextModerationRequest(AbstractModel):
|
|
|
1187
1187
|
:type SourceLanguage: str
|
|
1188
1188
|
:param _Type: 审核的业务类型,枚举值包括"TEXT"和"TEXT_AIGC"。其中"TEXT"表示传统文本审核,"TEXT_AIGC"表示AI生成检测(生成检测能力具体能力了解可[参见文档](https://cloud.tencent.com/document/product/1124/118694))。
|
|
1189
1189
|
:type Type: str
|
|
1190
|
+
:param _SessionId: 流式审核策略维度下的唯一会话ID
|
|
1191
|
+
:type SessionId: str
|
|
1190
1192
|
"""
|
|
1191
1193
|
self._Content = None
|
|
1192
1194
|
self._BizType = None
|
|
@@ -1195,6 +1197,7 @@ class TextModerationRequest(AbstractModel):
|
|
|
1195
1197
|
self._Device = None
|
|
1196
1198
|
self._SourceLanguage = None
|
|
1197
1199
|
self._Type = None
|
|
1200
|
+
self._SessionId = None
|
|
1198
1201
|
|
|
1199
1202
|
@property
|
|
1200
1203
|
def Content(self):
|
|
@@ -1274,6 +1277,17 @@ class TextModerationRequest(AbstractModel):
|
|
|
1274
1277
|
def Type(self, Type):
|
|
1275
1278
|
self._Type = Type
|
|
1276
1279
|
|
|
1280
|
+
@property
|
|
1281
|
+
def SessionId(self):
|
|
1282
|
+
r"""流式审核策略维度下的唯一会话ID
|
|
1283
|
+
:rtype: str
|
|
1284
|
+
"""
|
|
1285
|
+
return self._SessionId
|
|
1286
|
+
|
|
1287
|
+
@SessionId.setter
|
|
1288
|
+
def SessionId(self, SessionId):
|
|
1289
|
+
self._SessionId = SessionId
|
|
1290
|
+
|
|
1277
1291
|
|
|
1278
1292
|
def _deserialize(self, params):
|
|
1279
1293
|
self._Content = params.get("Content")
|
|
@@ -1287,6 +1301,7 @@ class TextModerationRequest(AbstractModel):
|
|
|
1287
1301
|
self._Device._deserialize(params.get("Device"))
|
|
1288
1302
|
self._SourceLanguage = params.get("SourceLanguage")
|
|
1289
1303
|
self._Type = params.get("Type")
|
|
1304
|
+
self._SessionId = params.get("SessionId")
|
|
1290
1305
|
memeber_set = set(params.keys())
|
|
1291
1306
|
for name, value in vars(self).items():
|
|
1292
1307
|
property_name = name[1:]
|
|
@@ -1334,6 +1349,8 @@ class TextModerationResponse(AbstractModel):
|
|
|
1334
1349
|
:type SentimentAnalysis: :class:`tencentcloud.tms.v20201229.models.SentimentAnalysis`
|
|
1335
1350
|
:param _HitType: 该字段用于标识本次审核决策归因,比如text_nlp_tianji标识是由nlp tianji模型给出的审核决策,text_keyword_public标识命中了业务的关键词库
|
|
1336
1351
|
:type HitType: str
|
|
1352
|
+
:param _SessionId: 流式审核策略维度下的唯一会话ID
|
|
1353
|
+
:type SessionId: str
|
|
1337
1354
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1338
1355
|
:type RequestId: str
|
|
1339
1356
|
"""
|
|
@@ -1350,6 +1367,7 @@ class TextModerationResponse(AbstractModel):
|
|
|
1350
1367
|
self._ContextText = None
|
|
1351
1368
|
self._SentimentAnalysis = None
|
|
1352
1369
|
self._HitType = None
|
|
1370
|
+
self._SessionId = None
|
|
1353
1371
|
self._RequestId = None
|
|
1354
1372
|
|
|
1355
1373
|
@property
|
|
@@ -1499,6 +1517,17 @@ class TextModerationResponse(AbstractModel):
|
|
|
1499
1517
|
def HitType(self, HitType):
|
|
1500
1518
|
self._HitType = HitType
|
|
1501
1519
|
|
|
1520
|
+
@property
|
|
1521
|
+
def SessionId(self):
|
|
1522
|
+
r"""流式审核策略维度下的唯一会话ID
|
|
1523
|
+
:rtype: str
|
|
1524
|
+
"""
|
|
1525
|
+
return self._SessionId
|
|
1526
|
+
|
|
1527
|
+
@SessionId.setter
|
|
1528
|
+
def SessionId(self, SessionId):
|
|
1529
|
+
self._SessionId = SessionId
|
|
1530
|
+
|
|
1502
1531
|
@property
|
|
1503
1532
|
def RequestId(self):
|
|
1504
1533
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1537,6 +1566,7 @@ class TextModerationResponse(AbstractModel):
|
|
|
1537
1566
|
self._SentimentAnalysis = SentimentAnalysis()
|
|
1538
1567
|
self._SentimentAnalysis._deserialize(params.get("SentimentAnalysis"))
|
|
1539
1568
|
self._HitType = params.get("HitType")
|
|
1569
|
+
self._SessionId = params.get("SessionId")
|
|
1540
1570
|
self._RequestId = params.get("RequestId")
|
|
1541
1571
|
|
|
1542
1572
|
|
|
@@ -84,7 +84,8 @@ class TmsClient(AbstractClient):
|
|
|
84
84
|
- 支持识别多种违规场景,包括:低俗、谩骂、色情、广告等场景;
|
|
85
85
|
- 支持根据不同的业务场景配置自定义的审核策略,可在控制台文本内容安全-策略管理中配置;
|
|
86
86
|
- 支持用户自定义配置词库黑白名单,打击自定义识别类型的违规文本(目前仅支持黑名单配置);
|
|
87
|
-
-
|
|
87
|
+
- 支持在审核文本内容时同时关联账号或设备信息,可识别违规风险账号或设备;
|
|
88
|
+
- 支持大模型、聊天室等场景下的流式上下文审核。
|
|
88
89
|
|
|
89
90
|
### 接口调用说明:
|
|
90
91
|
- 文本内容大小支持:文本原文长度不能超过unicode编码长度10000个字符;
|