tencentcloud-sdk-python 3.0.1174__py2.py3-none-any.whl → 3.0.1175__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/asr/v20190614/asr_client.py +23 -0
- tencentcloud/asr/v20190614/errorcodes.py +3 -0
- tencentcloud/asr/v20190614/models.py +317 -0
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +225 -0
- tencentcloud/ess/v20201111/models.py +4 -0
- tencentcloud/essbasic/v20210526/models.py +8 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +23 -0
- tencentcloud/iotexplorer/v20190423/models.py +184 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +15 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +1 -1
- tencentcloud/lighthouse/v20200324/models.py +11 -8
- tencentcloud/lke/v20231130/errorcodes.py +3 -0
- tencentcloud/lke/v20231130/lke_client.py +69 -0
- tencentcloud/lke/v20231130/models.py +605 -5
- tencentcloud/ocr/v20181119/ocr_client.py +1 -1
- tencentcloud/tdmq/v20200217/models.py +427 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +23 -0
- tencentcloud/trocket/v20230308/models.py +290 -0
- tencentcloud/trocket/v20230308/trocket_client.py +23 -0
- tencentcloud/trtc/v20190722/models.py +25 -5
- tencentcloud/tsi/__init__.py +0 -0
- tencentcloud/tsi/v20210325/__init__.py +0 -0
- tencentcloud/tsi/v20210325/errorcodes.py +33 -0
- tencentcloud/tsi/v20210325/models.py +547 -0
- tencentcloud/tsi/v20210325/tsi_client.py +95 -0
- tencentcloud/vpc/v20170312/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +26 -2
- tencentcloud/vpc/v20170312/vpc_client.py +4 -4
- tencentcloud/waf/v20180125/models.py +108 -0
- tencentcloud/waf/v20180125/waf_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1174.dist-info → tencentcloud_sdk_python-3.0.1175.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1174.dist-info → tencentcloud_sdk_python-3.0.1175.dist-info}/RECORD +37 -32
- {tencentcloud_sdk_python-3.0.1174.dist-info → tencentcloud_sdk_python-3.0.1175.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1174.dist-info → tencentcloud_sdk_python-3.0.1175.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1174.dist-info → tencentcloud_sdk_python-3.0.1175.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -613,6 +613,29 @@ class AsrClient(AbstractClient):
|
|
613
613
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
614
614
|
|
615
615
|
|
616
|
+
def VoicePrintGroupVerify(self, request):
|
617
|
+
"""说话人验证1:N接口,可以通过传入一段说话人音频,并且指定已存在的groupId, 和返回topN, 接口返回groupId内所有声纹和传入音频声纹比对打分TopN的结果。
|
618
|
+
|
619
|
+
:param request: Request instance for VoicePrintGroupVerify.
|
620
|
+
:type request: :class:`tencentcloud.asr.v20190614.models.VoicePrintGroupVerifyRequest`
|
621
|
+
:rtype: :class:`tencentcloud.asr.v20190614.models.VoicePrintGroupVerifyResponse`
|
622
|
+
|
623
|
+
"""
|
624
|
+
try:
|
625
|
+
params = request._serialize()
|
626
|
+
headers = request.headers
|
627
|
+
body = self.call("VoicePrintGroupVerify", params, headers=headers)
|
628
|
+
response = json.loads(body)
|
629
|
+
model = models.VoicePrintGroupVerifyResponse()
|
630
|
+
model._deserialize(response["Response"])
|
631
|
+
return model
|
632
|
+
except Exception as e:
|
633
|
+
if isinstance(e, TencentCloudSDKException):
|
634
|
+
raise
|
635
|
+
else:
|
636
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
637
|
+
|
638
|
+
|
616
639
|
def VoicePrintUpdate(self, request):
|
617
640
|
"""本接口用于更新和覆盖已注册的音频数据和说话人昵称,更新后原有的音频数据将失效。
|
618
641
|
|
@@ -128,6 +128,9 @@ INVALIDPARAMETER_ERRORPARAMSMISSING = 'InvalidParameter.ErrorParamsMissing'
|
|
128
128
|
# 解析请求数据失败。
|
129
129
|
INVALIDPARAMETER_ERRORPARSEQUEST = 'InvalidParameter.ErrorParsequest'
|
130
130
|
|
131
|
+
# 音频解码失败,请检查音频格式是否正确
|
132
|
+
INVALIDPARAMETER_FAILEDVOICEPRINTDECODE = 'InvalidParameter.FailedVoicePrintDecode'
|
133
|
+
|
131
134
|
# 文件编码错误。
|
132
135
|
INVALIDPARAMETER_FILEENCODE = 'InvalidParameter.FileEncode'
|
133
136
|
|
@@ -3238,6 +3238,105 @@ class UpdateAsrVocabResponse(AbstractModel):
|
|
3238
3238
|
self._RequestId = params.get("RequestId")
|
3239
3239
|
|
3240
3240
|
|
3241
|
+
class VerifyTop(AbstractModel):
|
3242
|
+
"""声纹组对比结果top数据
|
3243
|
+
|
3244
|
+
"""
|
3245
|
+
|
3246
|
+
def __init__(self):
|
3247
|
+
r"""
|
3248
|
+
:param _Score: 相似度打分
|
3249
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3250
|
+
:type Score: str
|
3251
|
+
:param _VoicePrintId: 说话人id
|
3252
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3253
|
+
:type VoicePrintId: str
|
3254
|
+
:param _SpeakerId: 说话人昵称
|
3255
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3256
|
+
:type SpeakerId: str
|
3257
|
+
"""
|
3258
|
+
self._Score = None
|
3259
|
+
self._VoicePrintId = None
|
3260
|
+
self._SpeakerId = None
|
3261
|
+
|
3262
|
+
@property
|
3263
|
+
def Score(self):
|
3264
|
+
return self._Score
|
3265
|
+
|
3266
|
+
@Score.setter
|
3267
|
+
def Score(self, Score):
|
3268
|
+
self._Score = Score
|
3269
|
+
|
3270
|
+
@property
|
3271
|
+
def VoicePrintId(self):
|
3272
|
+
return self._VoicePrintId
|
3273
|
+
|
3274
|
+
@VoicePrintId.setter
|
3275
|
+
def VoicePrintId(self, VoicePrintId):
|
3276
|
+
self._VoicePrintId = VoicePrintId
|
3277
|
+
|
3278
|
+
@property
|
3279
|
+
def SpeakerId(self):
|
3280
|
+
return self._SpeakerId
|
3281
|
+
|
3282
|
+
@SpeakerId.setter
|
3283
|
+
def SpeakerId(self, SpeakerId):
|
3284
|
+
self._SpeakerId = SpeakerId
|
3285
|
+
|
3286
|
+
|
3287
|
+
def _deserialize(self, params):
|
3288
|
+
self._Score = params.get("Score")
|
3289
|
+
self._VoicePrintId = params.get("VoicePrintId")
|
3290
|
+
self._SpeakerId = params.get("SpeakerId")
|
3291
|
+
memeber_set = set(params.keys())
|
3292
|
+
for name, value in vars(self).items():
|
3293
|
+
property_name = name[1:]
|
3294
|
+
if property_name in memeber_set:
|
3295
|
+
memeber_set.remove(property_name)
|
3296
|
+
if len(memeber_set) > 0:
|
3297
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
3298
|
+
|
3299
|
+
|
3300
|
+
|
3301
|
+
class VerifyTopResult(AbstractModel):
|
3302
|
+
"""说话人验证1:N返回结果
|
3303
|
+
|
3304
|
+
"""
|
3305
|
+
|
3306
|
+
def __init__(self):
|
3307
|
+
r"""
|
3308
|
+
:param _VerifyTops: 对比打分结果,按照打分降序排列返回
|
3309
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3310
|
+
:type VerifyTops: list of VerifyTop
|
3311
|
+
"""
|
3312
|
+
self._VerifyTops = None
|
3313
|
+
|
3314
|
+
@property
|
3315
|
+
def VerifyTops(self):
|
3316
|
+
return self._VerifyTops
|
3317
|
+
|
3318
|
+
@VerifyTops.setter
|
3319
|
+
def VerifyTops(self, VerifyTops):
|
3320
|
+
self._VerifyTops = VerifyTops
|
3321
|
+
|
3322
|
+
|
3323
|
+
def _deserialize(self, params):
|
3324
|
+
if params.get("VerifyTops") is not None:
|
3325
|
+
self._VerifyTops = []
|
3326
|
+
for item in params.get("VerifyTops"):
|
3327
|
+
obj = VerifyTop()
|
3328
|
+
obj._deserialize(item)
|
3329
|
+
self._VerifyTops.append(obj)
|
3330
|
+
memeber_set = set(params.keys())
|
3331
|
+
for name, value in vars(self).items():
|
3332
|
+
property_name = name[1:]
|
3333
|
+
if property_name in memeber_set:
|
3334
|
+
memeber_set.remove(property_name)
|
3335
|
+
if len(memeber_set) > 0:
|
3336
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
3337
|
+
|
3338
|
+
|
3339
|
+
|
3241
3340
|
class Vocab(AbstractModel):
|
3242
3341
|
"""[词表内容](https://cloud.tencent.com/document/product/1093/41484#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)
|
3243
3342
|
|
@@ -3573,8 +3672,12 @@ class VoicePrintCountData(AbstractModel):
|
|
3573
3672
|
:param _Total: 总数
|
3574
3673
|
注意:此字段可能返回 null,表示取不到有效值。
|
3575
3674
|
:type Total: int
|
3675
|
+
:param _VoicePrintList: 说话人id列表
|
3676
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3677
|
+
:type VoicePrintList: list of VoicePrintBaseData
|
3576
3678
|
"""
|
3577
3679
|
self._Total = None
|
3680
|
+
self._VoicePrintList = None
|
3578
3681
|
|
3579
3682
|
@property
|
3580
3683
|
def Total(self):
|
@@ -3584,9 +3687,23 @@ class VoicePrintCountData(AbstractModel):
|
|
3584
3687
|
def Total(self, Total):
|
3585
3688
|
self._Total = Total
|
3586
3689
|
|
3690
|
+
@property
|
3691
|
+
def VoicePrintList(self):
|
3692
|
+
return self._VoicePrintList
|
3693
|
+
|
3694
|
+
@VoicePrintList.setter
|
3695
|
+
def VoicePrintList(self, VoicePrintList):
|
3696
|
+
self._VoicePrintList = VoicePrintList
|
3697
|
+
|
3587
3698
|
|
3588
3699
|
def _deserialize(self, params):
|
3589
3700
|
self._Total = params.get("Total")
|
3701
|
+
if params.get("VoicePrintList") is not None:
|
3702
|
+
self._VoicePrintList = []
|
3703
|
+
for item in params.get("VoicePrintList"):
|
3704
|
+
obj = VoicePrintBaseData()
|
3705
|
+
obj._deserialize(item)
|
3706
|
+
self._VoicePrintList.append(obj)
|
3590
3707
|
memeber_set = set(params.keys())
|
3591
3708
|
for name, value in vars(self).items():
|
3592
3709
|
property_name = name[1:]
|
@@ -3602,6 +3719,47 @@ class VoicePrintCountRequest(AbstractModel):
|
|
3602
3719
|
|
3603
3720
|
"""
|
3604
3721
|
|
3722
|
+
def __init__(self):
|
3723
|
+
r"""
|
3724
|
+
:param _GroupId: 分组ID,仅支持大小写字母和下划线的组合,不超过128个字符
|
3725
|
+
:type GroupId: str
|
3726
|
+
:param _CountMod: 统计模式
|
3727
|
+
0: 统计所有声纹数量
|
3728
|
+
1: 统计指定分组下的声纹数量
|
3729
|
+
:type CountMod: int
|
3730
|
+
"""
|
3731
|
+
self._GroupId = None
|
3732
|
+
self._CountMod = None
|
3733
|
+
|
3734
|
+
@property
|
3735
|
+
def GroupId(self):
|
3736
|
+
return self._GroupId
|
3737
|
+
|
3738
|
+
@GroupId.setter
|
3739
|
+
def GroupId(self, GroupId):
|
3740
|
+
self._GroupId = GroupId
|
3741
|
+
|
3742
|
+
@property
|
3743
|
+
def CountMod(self):
|
3744
|
+
return self._CountMod
|
3745
|
+
|
3746
|
+
@CountMod.setter
|
3747
|
+
def CountMod(self, CountMod):
|
3748
|
+
self._CountMod = CountMod
|
3749
|
+
|
3750
|
+
|
3751
|
+
def _deserialize(self, params):
|
3752
|
+
self._GroupId = params.get("GroupId")
|
3753
|
+
self._CountMod = params.get("CountMod")
|
3754
|
+
memeber_set = set(params.keys())
|
3755
|
+
for name, value in vars(self).items():
|
3756
|
+
property_name = name[1:]
|
3757
|
+
if property_name in memeber_set:
|
3758
|
+
memeber_set.remove(property_name)
|
3759
|
+
if len(memeber_set) > 0:
|
3760
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
3761
|
+
|
3762
|
+
|
3605
3763
|
|
3606
3764
|
class VoicePrintCountResponse(AbstractModel):
|
3607
3765
|
"""VoicePrintCount返回参数结构体
|
@@ -3651,8 +3809,17 @@ class VoicePrintDeleteRequest(AbstractModel):
|
|
3651
3809
|
r"""
|
3652
3810
|
:param _VoicePrintId: 说话人id,说话人唯一标识
|
3653
3811
|
:type VoicePrintId: str
|
3812
|
+
:param _GroupId: 说话人分组ID,仅支持大小写字母和下划线的组合,不超过128个字符
|
3813
|
+
:type GroupId: str
|
3814
|
+
:param _DelMod: 删除模式:
|
3815
|
+
0.默认值,删除该条声纹
|
3816
|
+
1.从分组中删除该条声纹,声纹本身不删除
|
3817
|
+
2.从声纹库中删除分组,仅删除分组信息,不会真正删除分组中的声纹
|
3818
|
+
:type DelMod: int
|
3654
3819
|
"""
|
3655
3820
|
self._VoicePrintId = None
|
3821
|
+
self._GroupId = None
|
3822
|
+
self._DelMod = None
|
3656
3823
|
|
3657
3824
|
@property
|
3658
3825
|
def VoicePrintId(self):
|
@@ -3662,9 +3829,27 @@ class VoicePrintDeleteRequest(AbstractModel):
|
|
3662
3829
|
def VoicePrintId(self, VoicePrintId):
|
3663
3830
|
self._VoicePrintId = VoicePrintId
|
3664
3831
|
|
3832
|
+
@property
|
3833
|
+
def GroupId(self):
|
3834
|
+
return self._GroupId
|
3835
|
+
|
3836
|
+
@GroupId.setter
|
3837
|
+
def GroupId(self, GroupId):
|
3838
|
+
self._GroupId = GroupId
|
3839
|
+
|
3840
|
+
@property
|
3841
|
+
def DelMod(self):
|
3842
|
+
return self._DelMod
|
3843
|
+
|
3844
|
+
@DelMod.setter
|
3845
|
+
def DelMod(self, DelMod):
|
3846
|
+
self._DelMod = DelMod
|
3847
|
+
|
3665
3848
|
|
3666
3849
|
def _deserialize(self, params):
|
3667
3850
|
self._VoicePrintId = params.get("VoicePrintId")
|
3851
|
+
self._GroupId = params.get("GroupId")
|
3852
|
+
self._DelMod = params.get("DelMod")
|
3668
3853
|
memeber_set = set(params.keys())
|
3669
3854
|
for name, value in vars(self).items():
|
3670
3855
|
property_name = name[1:]
|
@@ -3729,11 +3914,14 @@ class VoicePrintEnrollRequest(AbstractModel):
|
|
3729
3914
|
:type Data: str
|
3730
3915
|
:param _SpeakerNick: 说话人昵称 不超过32字节
|
3731
3916
|
:type SpeakerNick: str
|
3917
|
+
:param _GroupId: 分组id, 仅支持大小写字母和下划线的组合,不超过128个字符
|
3918
|
+
:type GroupId: str
|
3732
3919
|
"""
|
3733
3920
|
self._VoiceFormat = None
|
3734
3921
|
self._SampleRate = None
|
3735
3922
|
self._Data = None
|
3736
3923
|
self._SpeakerNick = None
|
3924
|
+
self._GroupId = None
|
3737
3925
|
|
3738
3926
|
@property
|
3739
3927
|
def VoiceFormat(self):
|
@@ -3767,12 +3955,21 @@ class VoicePrintEnrollRequest(AbstractModel):
|
|
3767
3955
|
def SpeakerNick(self, SpeakerNick):
|
3768
3956
|
self._SpeakerNick = SpeakerNick
|
3769
3957
|
|
3958
|
+
@property
|
3959
|
+
def GroupId(self):
|
3960
|
+
return self._GroupId
|
3961
|
+
|
3962
|
+
@GroupId.setter
|
3963
|
+
def GroupId(self, GroupId):
|
3964
|
+
self._GroupId = GroupId
|
3965
|
+
|
3770
3966
|
|
3771
3967
|
def _deserialize(self, params):
|
3772
3968
|
self._VoiceFormat = params.get("VoiceFormat")
|
3773
3969
|
self._SampleRate = params.get("SampleRate")
|
3774
3970
|
self._Data = params.get("Data")
|
3775
3971
|
self._SpeakerNick = params.get("SpeakerNick")
|
3972
|
+
self._GroupId = params.get("GroupId")
|
3776
3973
|
memeber_set = set(params.keys())
|
3777
3974
|
for name, value in vars(self).items():
|
3778
3975
|
property_name = name[1:]
|
@@ -3822,6 +4019,126 @@ class VoicePrintEnrollResponse(AbstractModel):
|
|
3822
4019
|
self._RequestId = params.get("RequestId")
|
3823
4020
|
|
3824
4021
|
|
4022
|
+
class VoicePrintGroupVerifyRequest(AbstractModel):
|
4023
|
+
"""VoicePrintGroupVerify请求参数结构体
|
4024
|
+
|
4025
|
+
"""
|
4026
|
+
|
4027
|
+
def __init__(self):
|
4028
|
+
r"""
|
4029
|
+
:param _VoiceFormat: 音频格式 0: pcm, 1: wav
|
4030
|
+
:type VoiceFormat: int
|
4031
|
+
:param _SampleRate: 音频采样率,目前支持16000,单位:Hz,必填
|
4032
|
+
:type SampleRate: int
|
4033
|
+
:param _Data: 音频数据, base64 编码, 音频时长不能超过30s,数据大小不超过2M
|
4034
|
+
:type Data: str
|
4035
|
+
:param _GroupId: 分组id, 支持数字,字母,下划线,长度不超过128
|
4036
|
+
:type GroupId: str
|
4037
|
+
:param _TopN: 返回打分结果降序排列topN, TopN大于0, 小于可创建声纹最大数量
|
4038
|
+
:type TopN: int
|
4039
|
+
"""
|
4040
|
+
self._VoiceFormat = None
|
4041
|
+
self._SampleRate = None
|
4042
|
+
self._Data = None
|
4043
|
+
self._GroupId = None
|
4044
|
+
self._TopN = None
|
4045
|
+
|
4046
|
+
@property
|
4047
|
+
def VoiceFormat(self):
|
4048
|
+
return self._VoiceFormat
|
4049
|
+
|
4050
|
+
@VoiceFormat.setter
|
4051
|
+
def VoiceFormat(self, VoiceFormat):
|
4052
|
+
self._VoiceFormat = VoiceFormat
|
4053
|
+
|
4054
|
+
@property
|
4055
|
+
def SampleRate(self):
|
4056
|
+
return self._SampleRate
|
4057
|
+
|
4058
|
+
@SampleRate.setter
|
4059
|
+
def SampleRate(self, SampleRate):
|
4060
|
+
self._SampleRate = SampleRate
|
4061
|
+
|
4062
|
+
@property
|
4063
|
+
def Data(self):
|
4064
|
+
return self._Data
|
4065
|
+
|
4066
|
+
@Data.setter
|
4067
|
+
def Data(self, Data):
|
4068
|
+
self._Data = Data
|
4069
|
+
|
4070
|
+
@property
|
4071
|
+
def GroupId(self):
|
4072
|
+
return self._GroupId
|
4073
|
+
|
4074
|
+
@GroupId.setter
|
4075
|
+
def GroupId(self, GroupId):
|
4076
|
+
self._GroupId = GroupId
|
4077
|
+
|
4078
|
+
@property
|
4079
|
+
def TopN(self):
|
4080
|
+
return self._TopN
|
4081
|
+
|
4082
|
+
@TopN.setter
|
4083
|
+
def TopN(self, TopN):
|
4084
|
+
self._TopN = TopN
|
4085
|
+
|
4086
|
+
|
4087
|
+
def _deserialize(self, params):
|
4088
|
+
self._VoiceFormat = params.get("VoiceFormat")
|
4089
|
+
self._SampleRate = params.get("SampleRate")
|
4090
|
+
self._Data = params.get("Data")
|
4091
|
+
self._GroupId = params.get("GroupId")
|
4092
|
+
self._TopN = params.get("TopN")
|
4093
|
+
memeber_set = set(params.keys())
|
4094
|
+
for name, value in vars(self).items():
|
4095
|
+
property_name = name[1:]
|
4096
|
+
if property_name in memeber_set:
|
4097
|
+
memeber_set.remove(property_name)
|
4098
|
+
if len(memeber_set) > 0:
|
4099
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
4100
|
+
|
4101
|
+
|
4102
|
+
|
4103
|
+
class VoicePrintGroupVerifyResponse(AbstractModel):
|
4104
|
+
"""VoicePrintGroupVerify返回参数结构体
|
4105
|
+
|
4106
|
+
"""
|
4107
|
+
|
4108
|
+
def __init__(self):
|
4109
|
+
r"""
|
4110
|
+
:param _Data: TopN 返回结果;系统建议打分70分以上为同一个人音色,评分也取决于音频质量、长度等其他原因影响,您可以按照业务需求适当提高或降低分数要求
|
4111
|
+
:type Data: :class:`tencentcloud.asr.v20190614.models.VerifyTopResult`
|
4112
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4113
|
+
:type RequestId: str
|
4114
|
+
"""
|
4115
|
+
self._Data = None
|
4116
|
+
self._RequestId = None
|
4117
|
+
|
4118
|
+
@property
|
4119
|
+
def Data(self):
|
4120
|
+
return self._Data
|
4121
|
+
|
4122
|
+
@Data.setter
|
4123
|
+
def Data(self, Data):
|
4124
|
+
self._Data = Data
|
4125
|
+
|
4126
|
+
@property
|
4127
|
+
def RequestId(self):
|
4128
|
+
return self._RequestId
|
4129
|
+
|
4130
|
+
@RequestId.setter
|
4131
|
+
def RequestId(self, RequestId):
|
4132
|
+
self._RequestId = RequestId
|
4133
|
+
|
4134
|
+
|
4135
|
+
def _deserialize(self, params):
|
4136
|
+
if params.get("Data") is not None:
|
4137
|
+
self._Data = VerifyTopResult()
|
4138
|
+
self._Data._deserialize(params.get("Data"))
|
4139
|
+
self._RequestId = params.get("RequestId")
|
4140
|
+
|
4141
|
+
|
3825
4142
|
class VoicePrintUpdateRequest(AbstractModel):
|
3826
4143
|
"""VoicePrintUpdate请求参数结构体
|
3827
4144
|
|
@@ -1429,6 +1429,29 @@ class DlcClient(AbstractClient):
|
|
1429
1429
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1430
1430
|
|
1431
1431
|
|
1432
|
+
def DescribeDataEnginesScaleDetail(self, request):
|
1433
|
+
"""查询引擎规格详情
|
1434
|
+
|
1435
|
+
:param request: Request instance for DescribeDataEnginesScaleDetail.
|
1436
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeDataEnginesScaleDetailRequest`
|
1437
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeDataEnginesScaleDetailResponse`
|
1438
|
+
|
1439
|
+
"""
|
1440
|
+
try:
|
1441
|
+
params = request._serialize()
|
1442
|
+
headers = request.headers
|
1443
|
+
body = self.call("DescribeDataEnginesScaleDetail", params, headers=headers)
|
1444
|
+
response = json.loads(body)
|
1445
|
+
model = models.DescribeDataEnginesScaleDetailResponse()
|
1446
|
+
model._deserialize(response["Response"])
|
1447
|
+
return model
|
1448
|
+
except Exception as e:
|
1449
|
+
if isinstance(e, TencentCloudSDKException):
|
1450
|
+
raise
|
1451
|
+
else:
|
1452
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1453
|
+
|
1454
|
+
|
1432
1455
|
def DescribeDatabases(self, request):
|
1433
1456
|
"""本接口(DescribeDatabases)用于查询数据库列表。
|
1434
1457
|
|