tencentcloud-sdk-python 3.0.1426__py2.py3-none-any.whl → 3.0.1428__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/apm/v20210622/models.py +60 -0
- tencentcloud/autoscaling/v20180419/models.py +108 -0
- tencentcloud/billing/v20180709/models.py +2 -2
- tencentcloud/ccc/v20200210/models.py +166 -0
- tencentcloud/cdb/v20170320/cdb_client.py +23 -0
- tencentcloud/cdb/v20170320/models.py +104 -10
- tencentcloud/cdwch/v20200915/errorcodes.py +3 -0
- tencentcloud/cdwch/v20200915/models.py +42 -64
- tencentcloud/clb/v20180317/models.py +2 -2
- tencentcloud/ctsdb/__init__.py +0 -0
- tencentcloud/ctsdb/v20230202/__init__.py +0 -0
- tencentcloud/ctsdb/v20230202/ctsdb_client.py +79 -0
- tencentcloud/ctsdb/v20230202/errorcodes.py +24 -0
- tencentcloud/ctsdb/v20230202/models.py +1256 -0
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +23 -0
- tencentcloud/cynosdb/v20190107/errorcodes.py +12 -0
- tencentcloud/cynosdb/v20190107/models.py +186 -0
- tencentcloud/essbasic/v20210526/models.py +107 -4
- tencentcloud/gs/v20191118/models.py +15 -0
- tencentcloud/hunyuan/v20230901/models.py +120 -0
- tencentcloud/igtm/v20231024/models.py +2 -40
- tencentcloud/lke/v20231130/models.py +8 -2
- tencentcloud/monitor/v20180724/models.py +2 -2
- tencentcloud/mps/v20190612/models.py +19 -0
- tencentcloud/ocr/v20181119/models.py +17 -0
- tencentcloud/securitylake/v20240117/models.py +0 -2
- tencentcloud/ssl/v20191205/models.py +75 -0
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py +3 -1
- tencentcloud/teo/v20220901/errorcodes.py +6 -0
- tencentcloud/teo/v20220901/models.py +391 -55
- tencentcloud/teo/v20220901/teo_client.py +46 -0
- tencentcloud/tts/v20190823/models.py +4 -6
- tencentcloud/tts/v20190823/tts_client.py +1 -0
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +8 -8
- {tencentcloud_sdk_python-3.0.1426.dist-info → tencentcloud_sdk_python-3.0.1428.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1426.dist-info → tencentcloud_sdk_python-3.0.1428.dist-info}/RECORD +41 -36
- {tencentcloud_sdk_python-3.0.1426.dist-info → tencentcloud_sdk_python-3.0.1428.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1426.dist-info → tencentcloud_sdk_python-3.0.1428.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1426.dist-info → tencentcloud_sdk_python-3.0.1428.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -788,6 +788,10 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
788
788
|
:type IsDeserializationAnalysis: int
|
|
789
789
|
:param _Token: 业务系统鉴权 token
|
|
790
790
|
:type Token: str
|
|
791
|
+
:param _UrlLongSegmentThreshold: URL长分段收敛阈值
|
|
792
|
+
:type UrlLongSegmentThreshold: int
|
|
793
|
+
:param _UrlNumberSegmentThreshold: URL数字分段收敛阈值
|
|
794
|
+
:type UrlNumberSegmentThreshold: int
|
|
791
795
|
"""
|
|
792
796
|
self._InstanceId = None
|
|
793
797
|
self._Name = None
|
|
@@ -843,6 +847,8 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
843
847
|
self._IsWebshellBackdoorAnalysis = None
|
|
844
848
|
self._IsDeserializationAnalysis = None
|
|
845
849
|
self._Token = None
|
|
850
|
+
self._UrlLongSegmentThreshold = None
|
|
851
|
+
self._UrlNumberSegmentThreshold = None
|
|
846
852
|
|
|
847
853
|
@property
|
|
848
854
|
def InstanceId(self):
|
|
@@ -1444,6 +1450,28 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
1444
1450
|
def Token(self, Token):
|
|
1445
1451
|
self._Token = Token
|
|
1446
1452
|
|
|
1453
|
+
@property
|
|
1454
|
+
def UrlLongSegmentThreshold(self):
|
|
1455
|
+
"""URL长分段收敛阈值
|
|
1456
|
+
:rtype: int
|
|
1457
|
+
"""
|
|
1458
|
+
return self._UrlLongSegmentThreshold
|
|
1459
|
+
|
|
1460
|
+
@UrlLongSegmentThreshold.setter
|
|
1461
|
+
def UrlLongSegmentThreshold(self, UrlLongSegmentThreshold):
|
|
1462
|
+
self._UrlLongSegmentThreshold = UrlLongSegmentThreshold
|
|
1463
|
+
|
|
1464
|
+
@property
|
|
1465
|
+
def UrlNumberSegmentThreshold(self):
|
|
1466
|
+
"""URL数字分段收敛阈值
|
|
1467
|
+
:rtype: int
|
|
1468
|
+
"""
|
|
1469
|
+
return self._UrlNumberSegmentThreshold
|
|
1470
|
+
|
|
1471
|
+
@UrlNumberSegmentThreshold.setter
|
|
1472
|
+
def UrlNumberSegmentThreshold(self, UrlNumberSegmentThreshold):
|
|
1473
|
+
self._UrlNumberSegmentThreshold = UrlNumberSegmentThreshold
|
|
1474
|
+
|
|
1447
1475
|
|
|
1448
1476
|
def _deserialize(self, params):
|
|
1449
1477
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -1505,6 +1533,8 @@ class ApmInstanceDetail(AbstractModel):
|
|
|
1505
1533
|
self._IsWebshellBackdoorAnalysis = params.get("IsWebshellBackdoorAnalysis")
|
|
1506
1534
|
self._IsDeserializationAnalysis = params.get("IsDeserializationAnalysis")
|
|
1507
1535
|
self._Token = params.get("Token")
|
|
1536
|
+
self._UrlLongSegmentThreshold = params.get("UrlLongSegmentThreshold")
|
|
1537
|
+
self._UrlNumberSegmentThreshold = params.get("UrlNumberSegmentThreshold")
|
|
1508
1538
|
memeber_set = set(params.keys())
|
|
1509
1539
|
for name, value in vars(self).items():
|
|
1510
1540
|
property_name = name[1:]
|
|
@@ -4198,6 +4228,10 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
4198
4228
|
:type IsWebshellBackdoorAnalysis: int
|
|
4199
4229
|
:param _IsDeserializationAnalysis: 是否开启反序列化检测(0-关闭,1-开启)
|
|
4200
4230
|
:type IsDeserializationAnalysis: int
|
|
4231
|
+
:param _UrlLongSegmentThreshold: URL长分段收敛阈值
|
|
4232
|
+
:type UrlLongSegmentThreshold: int
|
|
4233
|
+
:param _UrlNumberSegmentThreshold: URL数字分段收敛阈值
|
|
4234
|
+
:type UrlNumberSegmentThreshold: int
|
|
4201
4235
|
"""
|
|
4202
4236
|
self._InstanceId = None
|
|
4203
4237
|
self._Name = None
|
|
@@ -4239,6 +4273,8 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
4239
4273
|
self._IsJNIInjectionAnalysis = None
|
|
4240
4274
|
self._IsWebshellBackdoorAnalysis = None
|
|
4241
4275
|
self._IsDeserializationAnalysis = None
|
|
4276
|
+
self._UrlLongSegmentThreshold = None
|
|
4277
|
+
self._UrlNumberSegmentThreshold = None
|
|
4242
4278
|
|
|
4243
4279
|
@property
|
|
4244
4280
|
def InstanceId(self):
|
|
@@ -4680,6 +4716,28 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
4680
4716
|
def IsDeserializationAnalysis(self, IsDeserializationAnalysis):
|
|
4681
4717
|
self._IsDeserializationAnalysis = IsDeserializationAnalysis
|
|
4682
4718
|
|
|
4719
|
+
@property
|
|
4720
|
+
def UrlLongSegmentThreshold(self):
|
|
4721
|
+
"""URL长分段收敛阈值
|
|
4722
|
+
:rtype: int
|
|
4723
|
+
"""
|
|
4724
|
+
return self._UrlLongSegmentThreshold
|
|
4725
|
+
|
|
4726
|
+
@UrlLongSegmentThreshold.setter
|
|
4727
|
+
def UrlLongSegmentThreshold(self, UrlLongSegmentThreshold):
|
|
4728
|
+
self._UrlLongSegmentThreshold = UrlLongSegmentThreshold
|
|
4729
|
+
|
|
4730
|
+
@property
|
|
4731
|
+
def UrlNumberSegmentThreshold(self):
|
|
4732
|
+
"""URL数字分段收敛阈值
|
|
4733
|
+
:rtype: int
|
|
4734
|
+
"""
|
|
4735
|
+
return self._UrlNumberSegmentThreshold
|
|
4736
|
+
|
|
4737
|
+
@UrlNumberSegmentThreshold.setter
|
|
4738
|
+
def UrlNumberSegmentThreshold(self, UrlNumberSegmentThreshold):
|
|
4739
|
+
self._UrlNumberSegmentThreshold = UrlNumberSegmentThreshold
|
|
4740
|
+
|
|
4683
4741
|
|
|
4684
4742
|
def _deserialize(self, params):
|
|
4685
4743
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -4727,6 +4785,8 @@ class ModifyApmInstanceRequest(AbstractModel):
|
|
|
4727
4785
|
self._IsJNIInjectionAnalysis = params.get("IsJNIInjectionAnalysis")
|
|
4728
4786
|
self._IsWebshellBackdoorAnalysis = params.get("IsWebshellBackdoorAnalysis")
|
|
4729
4787
|
self._IsDeserializationAnalysis = params.get("IsDeserializationAnalysis")
|
|
4788
|
+
self._UrlLongSegmentThreshold = params.get("UrlLongSegmentThreshold")
|
|
4789
|
+
self._UrlNumberSegmentThreshold = params.get("UrlNumberSegmentThreshold")
|
|
4730
4790
|
memeber_set = set(params.keys())
|
|
4731
4791
|
for name, value in vars(self).items():
|
|
4732
4792
|
property_name = name[1:]
|
|
@@ -5180,6 +5180,7 @@ class DescribeAutoScalingInstancesRequest(AbstractModel):
|
|
|
5180
5180
|
:param _Filters: 过滤条件。
|
|
5181
5181
|
<li> instance-id - String - 是否必填:否 -(过滤条件)按照实例ID过滤。可通过登录[控制台](https://console.cloud.tencent.com/cvm/index)或调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。</li>
|
|
5182
5182
|
<li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
|
5183
|
+
<li> private-ip-address - String - 是否必填:否 -(过滤条件)按照实例内网IP过滤。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `PrivateIpAddresses`获取实例内网IP。</li>
|
|
5183
5184
|
每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`InstanceIds`和`Filters`。
|
|
5184
5185
|
:type Filters: list of Filter
|
|
5185
5186
|
:param _Offset: 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
|
@@ -5211,6 +5212,7 @@ class DescribeAutoScalingInstancesRequest(AbstractModel):
|
|
|
5211
5212
|
"""过滤条件。
|
|
5212
5213
|
<li> instance-id - String - 是否必填:否 -(过滤条件)按照实例ID过滤。可通过登录[控制台](https://console.cloud.tencent.com/cvm/index)或调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `InstanceId` 获取实例ID。</li>
|
|
5213
5214
|
<li> auto-scaling-group-id - String - 是否必填:否 -(过滤条件)按照伸缩组ID过滤。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li>
|
|
5215
|
+
<li> private-ip-address - String - 是否必填:否 -(过滤条件)按照实例内网IP过滤。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) ,取返回信息中的 `PrivateIpAddresses`获取实例内网IP。</li>
|
|
5214
5216
|
每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`InstanceIds`和`Filters`。
|
|
5215
5217
|
:rtype: list of Filter
|
|
5216
5218
|
"""
|
|
@@ -8155,11 +8157,46 @@ class InternetAccessible(AbstractModel):
|
|
|
8155
8157
|
:param _BandwidthPackageId: 带宽包ID。可通过[DescribeBandwidthPackages](https://cloud.tencent.com/document/api/215/19209)接口返回值中的`BandwidthPackageId`获取。
|
|
8156
8158
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8157
8159
|
:type BandwidthPackageId: str
|
|
8160
|
+
:param _InternetServiceProvider: 线路类型。各种线路类型详情可参考:[EIP 的 IP 地址类型](https://cloud.tencent.com/document/product/1199/41646)。默认值:BGP。
|
|
8161
|
+
|
|
8162
|
+
<li>BGP:常规 BGP 线路</li>
|
|
8163
|
+
已开通静态单线IP白名单的用户,可选值:
|
|
8164
|
+
|
|
8165
|
+
<li>CMCC:中国移动</li>
|
|
8166
|
+
<li>CTCC:中国电信</li>
|
|
8167
|
+
<li>CUCC:中国联通</li>
|
|
8168
|
+
注意:仅部分地域支持静态单线IP。
|
|
8169
|
+
|
|
8170
|
+
:type InternetServiceProvider: str
|
|
8171
|
+
:param _IPv4AddressType: 公网 IP 类型。
|
|
8172
|
+
|
|
8173
|
+
<li> WanIP:普通公网IP。</li>
|
|
8174
|
+
<li> HighQualityEIP:精品 IP。仅新加坡和中国香港支持精品IP。</li>
|
|
8175
|
+
<li> AntiDDoSEIP:高防 IP。仅部分地域支持高防IP,详情可见[弹性公网IP产品概述](https://cloud.tencent.com/document/product/1199/41646) 。 </li>
|
|
8176
|
+
如需为资源分配公网IPv4地址,请指定公网IPv4地址类型。
|
|
8177
|
+
|
|
8178
|
+
精品IP 高防IP功能仅部分地区灰度开放,如需使用[请提交工单咨询](https://console.cloud.tencent.com/workorder/category)
|
|
8179
|
+
:type IPv4AddressType: str
|
|
8180
|
+
:param _AntiDDoSPackageId: 高防包唯一ID,申请高防IP时,该字段必传。
|
|
8181
|
+
:type AntiDDoSPackageId: str
|
|
8182
|
+
:param _IsKeepEIP: 实例销毁时是否一并销毁绑定的弹性IP。
|
|
8183
|
+
|
|
8184
|
+
取值范围:
|
|
8185
|
+
<li>TRUE:表示保留EIP</li>
|
|
8186
|
+
<li>FALSE:表示不保留</li>
|
|
8187
|
+
请注意,当IPv4AddressType字段指定EIP类型时,默认不保留EIP。WanIP不受此字段影响始终随实例销毁。
|
|
8188
|
+
变更配置此字段,已绑定伸缩组会立刻生效。
|
|
8189
|
+
|
|
8190
|
+
:type IsKeepEIP: bool
|
|
8158
8191
|
"""
|
|
8159
8192
|
self._InternetChargeType = None
|
|
8160
8193
|
self._InternetMaxBandwidthOut = None
|
|
8161
8194
|
self._PublicIpAssigned = None
|
|
8162
8195
|
self._BandwidthPackageId = None
|
|
8196
|
+
self._InternetServiceProvider = None
|
|
8197
|
+
self._IPv4AddressType = None
|
|
8198
|
+
self._AntiDDoSPackageId = None
|
|
8199
|
+
self._IsKeepEIP = None
|
|
8163
8200
|
|
|
8164
8201
|
@property
|
|
8165
8202
|
def InternetChargeType(self):
|
|
@@ -8209,12 +8246,83 @@ class InternetAccessible(AbstractModel):
|
|
|
8209
8246
|
def BandwidthPackageId(self, BandwidthPackageId):
|
|
8210
8247
|
self._BandwidthPackageId = BandwidthPackageId
|
|
8211
8248
|
|
|
8249
|
+
@property
|
|
8250
|
+
def InternetServiceProvider(self):
|
|
8251
|
+
"""线路类型。各种线路类型详情可参考:[EIP 的 IP 地址类型](https://cloud.tencent.com/document/product/1199/41646)。默认值:BGP。
|
|
8252
|
+
|
|
8253
|
+
<li>BGP:常规 BGP 线路</li>
|
|
8254
|
+
已开通静态单线IP白名单的用户,可选值:
|
|
8255
|
+
|
|
8256
|
+
<li>CMCC:中国移动</li>
|
|
8257
|
+
<li>CTCC:中国电信</li>
|
|
8258
|
+
<li>CUCC:中国联通</li>
|
|
8259
|
+
注意:仅部分地域支持静态单线IP。
|
|
8260
|
+
|
|
8261
|
+
:rtype: str
|
|
8262
|
+
"""
|
|
8263
|
+
return self._InternetServiceProvider
|
|
8264
|
+
|
|
8265
|
+
@InternetServiceProvider.setter
|
|
8266
|
+
def InternetServiceProvider(self, InternetServiceProvider):
|
|
8267
|
+
self._InternetServiceProvider = InternetServiceProvider
|
|
8268
|
+
|
|
8269
|
+
@property
|
|
8270
|
+
def IPv4AddressType(self):
|
|
8271
|
+
"""公网 IP 类型。
|
|
8272
|
+
|
|
8273
|
+
<li> WanIP:普通公网IP。</li>
|
|
8274
|
+
<li> HighQualityEIP:精品 IP。仅新加坡和中国香港支持精品IP。</li>
|
|
8275
|
+
<li> AntiDDoSEIP:高防 IP。仅部分地域支持高防IP,详情可见[弹性公网IP产品概述](https://cloud.tencent.com/document/product/1199/41646) 。 </li>
|
|
8276
|
+
如需为资源分配公网IPv4地址,请指定公网IPv4地址类型。
|
|
8277
|
+
|
|
8278
|
+
精品IP 高防IP功能仅部分地区灰度开放,如需使用[请提交工单咨询](https://console.cloud.tencent.com/workorder/category)
|
|
8279
|
+
:rtype: str
|
|
8280
|
+
"""
|
|
8281
|
+
return self._IPv4AddressType
|
|
8282
|
+
|
|
8283
|
+
@IPv4AddressType.setter
|
|
8284
|
+
def IPv4AddressType(self, IPv4AddressType):
|
|
8285
|
+
self._IPv4AddressType = IPv4AddressType
|
|
8286
|
+
|
|
8287
|
+
@property
|
|
8288
|
+
def AntiDDoSPackageId(self):
|
|
8289
|
+
"""高防包唯一ID,申请高防IP时,该字段必传。
|
|
8290
|
+
:rtype: str
|
|
8291
|
+
"""
|
|
8292
|
+
return self._AntiDDoSPackageId
|
|
8293
|
+
|
|
8294
|
+
@AntiDDoSPackageId.setter
|
|
8295
|
+
def AntiDDoSPackageId(self, AntiDDoSPackageId):
|
|
8296
|
+
self._AntiDDoSPackageId = AntiDDoSPackageId
|
|
8297
|
+
|
|
8298
|
+
@property
|
|
8299
|
+
def IsKeepEIP(self):
|
|
8300
|
+
"""实例销毁时是否一并销毁绑定的弹性IP。
|
|
8301
|
+
|
|
8302
|
+
取值范围:
|
|
8303
|
+
<li>TRUE:表示保留EIP</li>
|
|
8304
|
+
<li>FALSE:表示不保留</li>
|
|
8305
|
+
请注意,当IPv4AddressType字段指定EIP类型时,默认不保留EIP。WanIP不受此字段影响始终随实例销毁。
|
|
8306
|
+
变更配置此字段,已绑定伸缩组会立刻生效。
|
|
8307
|
+
|
|
8308
|
+
:rtype: bool
|
|
8309
|
+
"""
|
|
8310
|
+
return self._IsKeepEIP
|
|
8311
|
+
|
|
8312
|
+
@IsKeepEIP.setter
|
|
8313
|
+
def IsKeepEIP(self, IsKeepEIP):
|
|
8314
|
+
self._IsKeepEIP = IsKeepEIP
|
|
8315
|
+
|
|
8212
8316
|
|
|
8213
8317
|
def _deserialize(self, params):
|
|
8214
8318
|
self._InternetChargeType = params.get("InternetChargeType")
|
|
8215
8319
|
self._InternetMaxBandwidthOut = params.get("InternetMaxBandwidthOut")
|
|
8216
8320
|
self._PublicIpAssigned = params.get("PublicIpAssigned")
|
|
8217
8321
|
self._BandwidthPackageId = params.get("BandwidthPackageId")
|
|
8322
|
+
self._InternetServiceProvider = params.get("InternetServiceProvider")
|
|
8323
|
+
self._IPv4AddressType = params.get("IPv4AddressType")
|
|
8324
|
+
self._AntiDDoSPackageId = params.get("AntiDDoSPackageId")
|
|
8325
|
+
self._IsKeepEIP = params.get("IsKeepEIP")
|
|
8218
8326
|
memeber_set = set(params.keys())
|
|
8219
8327
|
for name, value in vars(self).items():
|
|
8220
8328
|
property_name = name[1:]
|
|
@@ -21053,7 +21053,7 @@ class DescribeCostDetailRequest(AbstractModel):
|
|
|
21053
21053
|
:type NeedRecordNum: int
|
|
21054
21054
|
:param _Month: 月份,格式为yyyy-mm,Month和BeginTime&EndTime必传一个,如果有传BeginTime&EndTime则Month字段无效。不能早于开通成本分析的月份,最多可拉取24个月内的数据。
|
|
21055
21055
|
:type Month: str
|
|
21056
|
-
:param _ProductCode:
|
|
21056
|
+
:param _ProductCode: 查询指定产品信息
|
|
21057
21057
|
:type ProductCode: str
|
|
21058
21058
|
:param _PayMode: 付费模式 prePay/postPay
|
|
21059
21059
|
:type PayMode: str
|
|
@@ -21139,7 +21139,7 @@ class DescribeCostDetailRequest(AbstractModel):
|
|
|
21139
21139
|
|
|
21140
21140
|
@property
|
|
21141
21141
|
def ProductCode(self):
|
|
21142
|
-
"""
|
|
21142
|
+
"""查询指定产品信息
|
|
21143
21143
|
:rtype: str
|
|
21144
21144
|
"""
|
|
21145
21145
|
return self._ProductCode
|
|
@@ -3212,6 +3212,12 @@ HoaiMy
|
|
|
3212
3212
|
2. dify-inputs-user 为dify的user值
|
|
3213
3213
|
3. dify-inputs-conversation_id 为dify的conversation_id值
|
|
3214
3214
|
:type Variables: list of Variable
|
|
3215
|
+
:param _TopP: 模型topP
|
|
3216
|
+
:type TopP: float
|
|
3217
|
+
:param _VadLevel: vad的远场人声抑制能力(不会对asr识别效果造成影响),范围为[0, 3],默认为0。推荐设置为2,有较好的远场人声抑制能力。
|
|
3218
|
+
:type VadLevel: int
|
|
3219
|
+
:param _ToneWord: 衔接语
|
|
3220
|
+
:type ToneWord: :class:`tencentcloud.ccc.v20200210.models.ToneWordInfo`
|
|
3215
3221
|
"""
|
|
3216
3222
|
self._SdkAppId = None
|
|
3217
3223
|
self._Callee = None
|
|
@@ -3242,6 +3248,9 @@ HoaiMy
|
|
|
3242
3248
|
self._ExtractConfig = None
|
|
3243
3249
|
self._Temperature = None
|
|
3244
3250
|
self._Variables = None
|
|
3251
|
+
self._TopP = None
|
|
3252
|
+
self._VadLevel = None
|
|
3253
|
+
self._ToneWord = None
|
|
3245
3254
|
|
|
3246
3255
|
@property
|
|
3247
3256
|
def SdkAppId(self):
|
|
@@ -3737,6 +3746,39 @@ HoaiMy
|
|
|
3737
3746
|
def Variables(self, Variables):
|
|
3738
3747
|
self._Variables = Variables
|
|
3739
3748
|
|
|
3749
|
+
@property
|
|
3750
|
+
def TopP(self):
|
|
3751
|
+
"""模型topP
|
|
3752
|
+
:rtype: float
|
|
3753
|
+
"""
|
|
3754
|
+
return self._TopP
|
|
3755
|
+
|
|
3756
|
+
@TopP.setter
|
|
3757
|
+
def TopP(self, TopP):
|
|
3758
|
+
self._TopP = TopP
|
|
3759
|
+
|
|
3760
|
+
@property
|
|
3761
|
+
def VadLevel(self):
|
|
3762
|
+
"""vad的远场人声抑制能力(不会对asr识别效果造成影响),范围为[0, 3],默认为0。推荐设置为2,有较好的远场人声抑制能力。
|
|
3763
|
+
:rtype: int
|
|
3764
|
+
"""
|
|
3765
|
+
return self._VadLevel
|
|
3766
|
+
|
|
3767
|
+
@VadLevel.setter
|
|
3768
|
+
def VadLevel(self, VadLevel):
|
|
3769
|
+
self._VadLevel = VadLevel
|
|
3770
|
+
|
|
3771
|
+
@property
|
|
3772
|
+
def ToneWord(self):
|
|
3773
|
+
"""衔接语
|
|
3774
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.ToneWordInfo`
|
|
3775
|
+
"""
|
|
3776
|
+
return self._ToneWord
|
|
3777
|
+
|
|
3778
|
+
@ToneWord.setter
|
|
3779
|
+
def ToneWord(self, ToneWord):
|
|
3780
|
+
self._ToneWord = ToneWord
|
|
3781
|
+
|
|
3740
3782
|
|
|
3741
3783
|
def _deserialize(self, params):
|
|
3742
3784
|
self._SdkAppId = params.get("SdkAppId")
|
|
@@ -3788,6 +3830,11 @@ HoaiMy
|
|
|
3788
3830
|
obj = Variable()
|
|
3789
3831
|
obj._deserialize(item)
|
|
3790
3832
|
self._Variables.append(obj)
|
|
3833
|
+
self._TopP = params.get("TopP")
|
|
3834
|
+
self._VadLevel = params.get("VadLevel")
|
|
3835
|
+
if params.get("ToneWord") is not None:
|
|
3836
|
+
self._ToneWord = ToneWordInfo()
|
|
3837
|
+
self._ToneWord._deserialize(params.get("ToneWord"))
|
|
3791
3838
|
memeber_set = set(params.keys())
|
|
3792
3839
|
for name, value in vars(self).items():
|
|
3793
3840
|
property_name = name[1:]
|
|
@@ -17101,6 +17148,59 @@ class TimeRange(AbstractModel):
|
|
|
17101
17148
|
|
|
17102
17149
|
|
|
17103
17150
|
|
|
17151
|
+
class ToneWordInfo(AbstractModel):
|
|
17152
|
+
"""承接语气词信息
|
|
17153
|
+
|
|
17154
|
+
"""
|
|
17155
|
+
|
|
17156
|
+
def __init__(self):
|
|
17157
|
+
r"""
|
|
17158
|
+
:param _FirstSentenceTimeout: 首句超时时间,单位秒
|
|
17159
|
+
:type FirstSentenceTimeout: float
|
|
17160
|
+
:param _ZHToneWords: 承接语气词
|
|
17161
|
+
:type ZHToneWords: :class:`tencentcloud.ccc.v20200210.models.ZHToneWordsInfo`
|
|
17162
|
+
"""
|
|
17163
|
+
self._FirstSentenceTimeout = None
|
|
17164
|
+
self._ZHToneWords = None
|
|
17165
|
+
|
|
17166
|
+
@property
|
|
17167
|
+
def FirstSentenceTimeout(self):
|
|
17168
|
+
"""首句超时时间,单位秒
|
|
17169
|
+
:rtype: float
|
|
17170
|
+
"""
|
|
17171
|
+
return self._FirstSentenceTimeout
|
|
17172
|
+
|
|
17173
|
+
@FirstSentenceTimeout.setter
|
|
17174
|
+
def FirstSentenceTimeout(self, FirstSentenceTimeout):
|
|
17175
|
+
self._FirstSentenceTimeout = FirstSentenceTimeout
|
|
17176
|
+
|
|
17177
|
+
@property
|
|
17178
|
+
def ZHToneWords(self):
|
|
17179
|
+
"""承接语气词
|
|
17180
|
+
:rtype: :class:`tencentcloud.ccc.v20200210.models.ZHToneWordsInfo`
|
|
17181
|
+
"""
|
|
17182
|
+
return self._ZHToneWords
|
|
17183
|
+
|
|
17184
|
+
@ZHToneWords.setter
|
|
17185
|
+
def ZHToneWords(self, ZHToneWords):
|
|
17186
|
+
self._ZHToneWords = ZHToneWords
|
|
17187
|
+
|
|
17188
|
+
|
|
17189
|
+
def _deserialize(self, params):
|
|
17190
|
+
self._FirstSentenceTimeout = params.get("FirstSentenceTimeout")
|
|
17191
|
+
if params.get("ZHToneWords") is not None:
|
|
17192
|
+
self._ZHToneWords = ZHToneWordsInfo()
|
|
17193
|
+
self._ZHToneWords._deserialize(params.get("ZHToneWords"))
|
|
17194
|
+
memeber_set = set(params.keys())
|
|
17195
|
+
for name, value in vars(self).items():
|
|
17196
|
+
property_name = name[1:]
|
|
17197
|
+
if property_name in memeber_set:
|
|
17198
|
+
memeber_set.remove(property_name)
|
|
17199
|
+
if len(memeber_set) > 0:
|
|
17200
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
17201
|
+
|
|
17202
|
+
|
|
17203
|
+
|
|
17104
17204
|
class TransferToManualRequest(AbstractModel):
|
|
17105
17205
|
"""TransferToManual请求参数结构体
|
|
17106
17206
|
|
|
@@ -18095,4 +18195,70 @@ class Variable(AbstractModel):
|
|
|
18095
18195
|
memeber_set.remove(property_name)
|
|
18096
18196
|
if len(memeber_set) > 0:
|
|
18097
18197
|
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18198
|
+
|
|
18199
|
+
|
|
18200
|
+
|
|
18201
|
+
class ZHToneWordsInfo(AbstractModel):
|
|
18202
|
+
"""承接语气词
|
|
18203
|
+
|
|
18204
|
+
"""
|
|
18205
|
+
|
|
18206
|
+
def __init__(self):
|
|
18207
|
+
r"""
|
|
18208
|
+
:param _Neutral: 中性词列表
|
|
18209
|
+
:type Neutral: list of str
|
|
18210
|
+
:param _Positive: 正面词列表
|
|
18211
|
+
:type Positive: list of str
|
|
18212
|
+
:param _Negative: 负面词列表
|
|
18213
|
+
:type Negative: list of str
|
|
18214
|
+
"""
|
|
18215
|
+
self._Neutral = None
|
|
18216
|
+
self._Positive = None
|
|
18217
|
+
self._Negative = None
|
|
18218
|
+
|
|
18219
|
+
@property
|
|
18220
|
+
def Neutral(self):
|
|
18221
|
+
"""中性词列表
|
|
18222
|
+
:rtype: list of str
|
|
18223
|
+
"""
|
|
18224
|
+
return self._Neutral
|
|
18225
|
+
|
|
18226
|
+
@Neutral.setter
|
|
18227
|
+
def Neutral(self, Neutral):
|
|
18228
|
+
self._Neutral = Neutral
|
|
18229
|
+
|
|
18230
|
+
@property
|
|
18231
|
+
def Positive(self):
|
|
18232
|
+
"""正面词列表
|
|
18233
|
+
:rtype: list of str
|
|
18234
|
+
"""
|
|
18235
|
+
return self._Positive
|
|
18236
|
+
|
|
18237
|
+
@Positive.setter
|
|
18238
|
+
def Positive(self, Positive):
|
|
18239
|
+
self._Positive = Positive
|
|
18240
|
+
|
|
18241
|
+
@property
|
|
18242
|
+
def Negative(self):
|
|
18243
|
+
"""负面词列表
|
|
18244
|
+
:rtype: list of str
|
|
18245
|
+
"""
|
|
18246
|
+
return self._Negative
|
|
18247
|
+
|
|
18248
|
+
@Negative.setter
|
|
18249
|
+
def Negative(self, Negative):
|
|
18250
|
+
self._Negative = Negative
|
|
18251
|
+
|
|
18252
|
+
|
|
18253
|
+
def _deserialize(self, params):
|
|
18254
|
+
self._Neutral = params.get("Neutral")
|
|
18255
|
+
self._Positive = params.get("Positive")
|
|
18256
|
+
self._Negative = params.get("Negative")
|
|
18257
|
+
memeber_set = set(params.keys())
|
|
18258
|
+
for name, value in vars(self).items():
|
|
18259
|
+
property_name = name[1:]
|
|
18260
|
+
if property_name in memeber_set:
|
|
18261
|
+
memeber_set.remove(property_name)
|
|
18262
|
+
if len(memeber_set) > 0:
|
|
18263
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18098
18264
|
|
|
@@ -3375,6 +3375,29 @@ class CdbClient(AbstractClient):
|
|
|
3375
3375
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3376
3376
|
|
|
3377
3377
|
|
|
3378
|
+
def ModifyRoGroupVipVport(self, request):
|
|
3379
|
+
"""该接口(ModifyRoGroupVipVport)用于修改Ro组的vip和vport。
|
|
3380
|
+
|
|
3381
|
+
:param request: Request instance for ModifyRoGroupVipVport.
|
|
3382
|
+
:type request: :class:`tencentcloud.cdb.v20170320.models.ModifyRoGroupVipVportRequest`
|
|
3383
|
+
:rtype: :class:`tencentcloud.cdb.v20170320.models.ModifyRoGroupVipVportResponse`
|
|
3384
|
+
|
|
3385
|
+
"""
|
|
3386
|
+
try:
|
|
3387
|
+
params = request._serialize()
|
|
3388
|
+
headers = request.headers
|
|
3389
|
+
body = self.call("ModifyRoGroupVipVport", params, headers=headers)
|
|
3390
|
+
response = json.loads(body)
|
|
3391
|
+
model = models.ModifyRoGroupVipVportResponse()
|
|
3392
|
+
model._deserialize(response["Response"])
|
|
3393
|
+
return model
|
|
3394
|
+
except Exception as e:
|
|
3395
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3396
|
+
raise
|
|
3397
|
+
else:
|
|
3398
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3399
|
+
|
|
3400
|
+
|
|
3378
3401
|
def ModifyTimeWindow(self, request):
|
|
3379
3402
|
"""本接口(ModifyTimeWindow)用于更新云数据库实例的维护时间窗口。
|
|
3380
3403
|
|