tencentcloud-sdk-python 3.0.1396__py2.py3-none-any.whl → 3.0.1398__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/autoscaling/v20180419/errorcodes.py +3 -0
- tencentcloud/autoscaling/v20180419/models.py +4 -4
- tencentcloud/btoe/v20210514/btoe_client.py +39 -13
- tencentcloud/cbs/v20170312/cbs_client.py +0 -1
- tencentcloud/cbs/v20170312/models.py +14 -10
- tencentcloud/ccc/v20200210/models.py +71 -0
- tencentcloud/cdwch/v20200915/models.py +0 -2
- tencentcloud/ckafka/v20190819/models.py +15 -0
- tencentcloud/emr/v20190103/models.py +10 -0
- tencentcloud/ess/v20201111/ess_client.py +3 -0
- tencentcloud/ess/v20201111/models.py +17 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +3 -0
- tencentcloud/essbasic/v20210526/models.py +23 -2
- tencentcloud/faceid/v20180301/models.py +92 -0
- tencentcloud/gs/v20191118/gs_client.py +31 -8
- tencentcloud/gs/v20191118/models.py +103 -0
- tencentcloud/hai/v20230812/errorcodes.py +9 -0
- tencentcloud/hai/v20230812/hai_client.py +46 -0
- tencentcloud/hai/v20230812/models.py +188 -0
- tencentcloud/ioa/v20220601/ioa_client.py +23 -0
- tencentcloud/ioa/v20220601/models.py +447 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +1 -1
- tencentcloud/iotexplorer/v20190423/models.py +102 -0
- tencentcloud/lighthouse/v20200324/models.py +6 -2
- tencentcloud/lke/v20231130/models.py +527 -2
- tencentcloud/mps/v20190612/models.py +21 -0
- tencentcloud/ocr/v20181119/models.py +72 -0
- tencentcloud/ocr/v20181119/ocr_client.py +0 -3
- tencentcloud/postgres/v20170312/models.py +2 -2
- tencentcloud/sms/v20190711/models.py +28 -28
- tencentcloud/sms/v20210111/models.py +20 -28
- tencentcloud/sqlserver/v20180328/models.py +47 -2
- tencentcloud/ssl/v20191205/models.py +131 -0
- tencentcloud/tat/v20201028/errorcodes.py +3 -0
- tencentcloud/tcss/v20201101/errorcodes.py +3 -0
- tencentcloud/tcss/v20201101/models.py +153 -0
- tencentcloud/tcss/v20201101/tcss_client.py +23 -0
- tencentcloud/tke/v20180525/models.py +75 -0
- tencentcloud/tke/v20220501/errorcodes.py +3 -0
- tencentcloud/tke/v20220501/models.py +109 -0
- tencentcloud/tke/v20220501/tke_client.py +23 -0
- tencentcloud/trtc/v20190722/errorcodes.py +24 -0
- tencentcloud/trtc/v20190722/models.py +758 -2
- tencentcloud/trtc/v20190722/trtc_client.py +92 -0
- tencentcloud/vm/v20210922/models.py +2 -2
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +30 -22
- tencentcloud/wedata/v20210820/models.py +8919 -2673
- tencentcloud/wedata/v20210820/wedata_client.py +141 -3
- {tencentcloud_sdk_python-3.0.1396.dist-info → tencentcloud_sdk_python-3.0.1398.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1396.dist-info → tencentcloud_sdk_python-3.0.1398.dist-info}/RECORD +55 -55
- {tencentcloud_sdk_python-3.0.1396.dist-info → tencentcloud_sdk_python-3.0.1398.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1396.dist-info → tencentcloud_sdk_python-3.0.1398.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1396.dist-info → tencentcloud_sdk_python-3.0.1398.dist-info}/top_level.txt +0 -0
@@ -207,6 +207,10 @@ class AgentConfig(AbstractModel):
|
|
207
207
|
5:英文花括号{}
|
208
208
|
默认值为空,表示不进行过滤。
|
209
209
|
:type FilterBracketsContent: int
|
210
|
+
:param _AmbientSound: 环境音设置
|
211
|
+
:type AmbientSound: :class:`tencentcloud.trtc.v20190722.models.AmbientSound`
|
212
|
+
:param _VoicePrint: 声纹配置
|
213
|
+
:type VoicePrint: :class:`tencentcloud.trtc.v20190722.models.VoicePrint`
|
210
214
|
"""
|
211
215
|
self._UserId = None
|
212
216
|
self._UserSig = None
|
@@ -219,6 +223,8 @@ class AgentConfig(AbstractModel):
|
|
219
223
|
self._FilterOneWord = None
|
220
224
|
self._WelcomeMessagePriority = None
|
221
225
|
self._FilterBracketsContent = None
|
226
|
+
self._AmbientSound = None
|
227
|
+
self._VoicePrint = None
|
222
228
|
|
223
229
|
@property
|
224
230
|
def UserId(self):
|
@@ -349,6 +355,28 @@ class AgentConfig(AbstractModel):
|
|
349
355
|
def FilterBracketsContent(self, FilterBracketsContent):
|
350
356
|
self._FilterBracketsContent = FilterBracketsContent
|
351
357
|
|
358
|
+
@property
|
359
|
+
def AmbientSound(self):
|
360
|
+
"""环境音设置
|
361
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.AmbientSound`
|
362
|
+
"""
|
363
|
+
return self._AmbientSound
|
364
|
+
|
365
|
+
@AmbientSound.setter
|
366
|
+
def AmbientSound(self, AmbientSound):
|
367
|
+
self._AmbientSound = AmbientSound
|
368
|
+
|
369
|
+
@property
|
370
|
+
def VoicePrint(self):
|
371
|
+
"""声纹配置
|
372
|
+
:rtype: :class:`tencentcloud.trtc.v20190722.models.VoicePrint`
|
373
|
+
"""
|
374
|
+
return self._VoicePrint
|
375
|
+
|
376
|
+
@VoicePrint.setter
|
377
|
+
def VoicePrint(self, VoicePrint):
|
378
|
+
self._VoicePrint = VoicePrint
|
379
|
+
|
352
380
|
|
353
381
|
def _deserialize(self, params):
|
354
382
|
self._UserId = params.get("UserId")
|
@@ -362,6 +390,12 @@ class AgentConfig(AbstractModel):
|
|
362
390
|
self._FilterOneWord = params.get("FilterOneWord")
|
363
391
|
self._WelcomeMessagePriority = params.get("WelcomeMessagePriority")
|
364
392
|
self._FilterBracketsContent = params.get("FilterBracketsContent")
|
393
|
+
if params.get("AmbientSound") is not None:
|
394
|
+
self._AmbientSound = AmbientSound()
|
395
|
+
self._AmbientSound._deserialize(params.get("AmbientSound"))
|
396
|
+
if params.get("VoicePrint") is not None:
|
397
|
+
self._VoicePrint = VoicePrint()
|
398
|
+
self._VoicePrint._deserialize(params.get("VoicePrint"))
|
365
399
|
memeber_set = set(params.keys())
|
366
400
|
for name, value in vars(self).items():
|
367
401
|
property_name = name[1:]
|
@@ -438,6 +472,61 @@ class AgentParams(AbstractModel):
|
|
438
472
|
|
439
473
|
|
440
474
|
|
475
|
+
class AmbientSound(AbstractModel):
|
476
|
+
"""背景音设置,将在通话中添加环境音效,使体验更加逼真。目前支持以下选项:
|
477
|
+
coffee_shop: 咖啡店氛围,背景中有人聊天。
|
478
|
+
busy_office: 客服中心
|
479
|
+
street_traffic: 户外街道
|
480
|
+
evening_mountain: 户外山林
|
481
|
+
|
482
|
+
"""
|
483
|
+
|
484
|
+
def __init__(self):
|
485
|
+
r"""
|
486
|
+
:param _Scene: 环境场景选择
|
487
|
+
:type Scene: str
|
488
|
+
:param _Volume: 控制环境音的音量。取值的范围是 [0,2]。值越低,环境音越小;值越高,环境音越响亮。如果未设置,则使用默认值 1。
|
489
|
+
:type Volume: float
|
490
|
+
"""
|
491
|
+
self._Scene = None
|
492
|
+
self._Volume = None
|
493
|
+
|
494
|
+
@property
|
495
|
+
def Scene(self):
|
496
|
+
"""环境场景选择
|
497
|
+
:rtype: str
|
498
|
+
"""
|
499
|
+
return self._Scene
|
500
|
+
|
501
|
+
@Scene.setter
|
502
|
+
def Scene(self, Scene):
|
503
|
+
self._Scene = Scene
|
504
|
+
|
505
|
+
@property
|
506
|
+
def Volume(self):
|
507
|
+
"""控制环境音的音量。取值的范围是 [0,2]。值越低,环境音越小;值越高,环境音越响亮。如果未设置,则使用默认值 1。
|
508
|
+
:rtype: float
|
509
|
+
"""
|
510
|
+
return self._Volume
|
511
|
+
|
512
|
+
@Volume.setter
|
513
|
+
def Volume(self, Volume):
|
514
|
+
self._Volume = Volume
|
515
|
+
|
516
|
+
|
517
|
+
def _deserialize(self, params):
|
518
|
+
self._Scene = params.get("Scene")
|
519
|
+
self._Volume = params.get("Volume")
|
520
|
+
memeber_set = set(params.keys())
|
521
|
+
for name, value in vars(self).items():
|
522
|
+
property_name = name[1:]
|
523
|
+
if property_name in memeber_set:
|
524
|
+
memeber_set.remove(property_name)
|
525
|
+
if len(memeber_set) > 0:
|
526
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
527
|
+
|
528
|
+
|
529
|
+
|
441
530
|
class AudioEncode(AbstractModel):
|
442
531
|
"""音频编码参数。
|
443
532
|
|
@@ -1942,6 +2031,70 @@ class DeletePictureResponse(AbstractModel):
|
|
1942
2031
|
self._RequestId = params.get("RequestId")
|
1943
2032
|
|
1944
2033
|
|
2034
|
+
class DeleteVoicePrintRequest(AbstractModel):
|
2035
|
+
"""DeleteVoicePrint请求参数结构体
|
2036
|
+
|
2037
|
+
"""
|
2038
|
+
|
2039
|
+
def __init__(self):
|
2040
|
+
r"""
|
2041
|
+
:param _VoicePrintId: 声纹信息ID
|
2042
|
+
:type VoicePrintId: str
|
2043
|
+
"""
|
2044
|
+
self._VoicePrintId = None
|
2045
|
+
|
2046
|
+
@property
|
2047
|
+
def VoicePrintId(self):
|
2048
|
+
"""声纹信息ID
|
2049
|
+
:rtype: str
|
2050
|
+
"""
|
2051
|
+
return self._VoicePrintId
|
2052
|
+
|
2053
|
+
@VoicePrintId.setter
|
2054
|
+
def VoicePrintId(self, VoicePrintId):
|
2055
|
+
self._VoicePrintId = VoicePrintId
|
2056
|
+
|
2057
|
+
|
2058
|
+
def _deserialize(self, params):
|
2059
|
+
self._VoicePrintId = params.get("VoicePrintId")
|
2060
|
+
memeber_set = set(params.keys())
|
2061
|
+
for name, value in vars(self).items():
|
2062
|
+
property_name = name[1:]
|
2063
|
+
if property_name in memeber_set:
|
2064
|
+
memeber_set.remove(property_name)
|
2065
|
+
if len(memeber_set) > 0:
|
2066
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2067
|
+
|
2068
|
+
|
2069
|
+
|
2070
|
+
class DeleteVoicePrintResponse(AbstractModel):
|
2071
|
+
"""DeleteVoicePrint返回参数结构体
|
2072
|
+
|
2073
|
+
"""
|
2074
|
+
|
2075
|
+
def __init__(self):
|
2076
|
+
r"""
|
2077
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2078
|
+
:type RequestId: str
|
2079
|
+
"""
|
2080
|
+
self._RequestId = None
|
2081
|
+
|
2082
|
+
@property
|
2083
|
+
def RequestId(self):
|
2084
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2085
|
+
:rtype: str
|
2086
|
+
"""
|
2087
|
+
return self._RequestId
|
2088
|
+
|
2089
|
+
@RequestId.setter
|
2090
|
+
def RequestId(self, RequestId):
|
2091
|
+
self._RequestId = RequestId
|
2092
|
+
|
2093
|
+
|
2094
|
+
def _deserialize(self, params):
|
2095
|
+
self._RequestId = params.get("RequestId")
|
2096
|
+
|
2097
|
+
|
1945
2098
|
class DescribeAIConversationRequest(AbstractModel):
|
1946
2099
|
"""DescribeAIConversation请求参数结构体
|
1947
2100
|
|
@@ -5684,6 +5837,150 @@ class DescribeUserInfoResponse(AbstractModel):
|
|
5684
5837
|
self._RequestId = params.get("RequestId")
|
5685
5838
|
|
5686
5839
|
|
5840
|
+
class DescribeVoicePrintRequest(AbstractModel):
|
5841
|
+
"""DescribeVoicePrint请求参数结构体
|
5842
|
+
|
5843
|
+
"""
|
5844
|
+
|
5845
|
+
def __init__(self):
|
5846
|
+
r"""
|
5847
|
+
:param _DescribeMode: 查询方式,0表示查询特定VoicePrintId,1表示分页查询
|
5848
|
+
:type DescribeMode: int
|
5849
|
+
:param _VoicePrintIdList: 声纹ID
|
5850
|
+
:type VoicePrintIdList: list of str
|
5851
|
+
:param _PageIndex: 当前页码,从1开始,DescribeMode为1时填写
|
5852
|
+
:type PageIndex: int
|
5853
|
+
:param _PageSize: 每页条数 最少20,DescribeMode为1时填写
|
5854
|
+
:type PageSize: int
|
5855
|
+
"""
|
5856
|
+
self._DescribeMode = None
|
5857
|
+
self._VoicePrintIdList = None
|
5858
|
+
self._PageIndex = None
|
5859
|
+
self._PageSize = None
|
5860
|
+
|
5861
|
+
@property
|
5862
|
+
def DescribeMode(self):
|
5863
|
+
"""查询方式,0表示查询特定VoicePrintId,1表示分页查询
|
5864
|
+
:rtype: int
|
5865
|
+
"""
|
5866
|
+
return self._DescribeMode
|
5867
|
+
|
5868
|
+
@DescribeMode.setter
|
5869
|
+
def DescribeMode(self, DescribeMode):
|
5870
|
+
self._DescribeMode = DescribeMode
|
5871
|
+
|
5872
|
+
@property
|
5873
|
+
def VoicePrintIdList(self):
|
5874
|
+
"""声纹ID
|
5875
|
+
:rtype: list of str
|
5876
|
+
"""
|
5877
|
+
return self._VoicePrintIdList
|
5878
|
+
|
5879
|
+
@VoicePrintIdList.setter
|
5880
|
+
def VoicePrintIdList(self, VoicePrintIdList):
|
5881
|
+
self._VoicePrintIdList = VoicePrintIdList
|
5882
|
+
|
5883
|
+
@property
|
5884
|
+
def PageIndex(self):
|
5885
|
+
"""当前页码,从1开始,DescribeMode为1时填写
|
5886
|
+
:rtype: int
|
5887
|
+
"""
|
5888
|
+
return self._PageIndex
|
5889
|
+
|
5890
|
+
@PageIndex.setter
|
5891
|
+
def PageIndex(self, PageIndex):
|
5892
|
+
self._PageIndex = PageIndex
|
5893
|
+
|
5894
|
+
@property
|
5895
|
+
def PageSize(self):
|
5896
|
+
"""每页条数 最少20,DescribeMode为1时填写
|
5897
|
+
:rtype: int
|
5898
|
+
"""
|
5899
|
+
return self._PageSize
|
5900
|
+
|
5901
|
+
@PageSize.setter
|
5902
|
+
def PageSize(self, PageSize):
|
5903
|
+
self._PageSize = PageSize
|
5904
|
+
|
5905
|
+
|
5906
|
+
def _deserialize(self, params):
|
5907
|
+
self._DescribeMode = params.get("DescribeMode")
|
5908
|
+
self._VoicePrintIdList = params.get("VoicePrintIdList")
|
5909
|
+
self._PageIndex = params.get("PageIndex")
|
5910
|
+
self._PageSize = params.get("PageSize")
|
5911
|
+
memeber_set = set(params.keys())
|
5912
|
+
for name, value in vars(self).items():
|
5913
|
+
property_name = name[1:]
|
5914
|
+
if property_name in memeber_set:
|
5915
|
+
memeber_set.remove(property_name)
|
5916
|
+
if len(memeber_set) > 0:
|
5917
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
5918
|
+
|
5919
|
+
|
5920
|
+
|
5921
|
+
class DescribeVoicePrintResponse(AbstractModel):
|
5922
|
+
"""DescribeVoicePrint返回参数结构体
|
5923
|
+
|
5924
|
+
"""
|
5925
|
+
|
5926
|
+
def __init__(self):
|
5927
|
+
r"""
|
5928
|
+
:param _TotalCount: 总的条数
|
5929
|
+
:type TotalCount: int
|
5930
|
+
:param _Data: 声纹信息
|
5931
|
+
:type Data: list of VoicePrintInfo
|
5932
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5933
|
+
:type RequestId: str
|
5934
|
+
"""
|
5935
|
+
self._TotalCount = None
|
5936
|
+
self._Data = None
|
5937
|
+
self._RequestId = None
|
5938
|
+
|
5939
|
+
@property
|
5940
|
+
def TotalCount(self):
|
5941
|
+
"""总的条数
|
5942
|
+
:rtype: int
|
5943
|
+
"""
|
5944
|
+
return self._TotalCount
|
5945
|
+
|
5946
|
+
@TotalCount.setter
|
5947
|
+
def TotalCount(self, TotalCount):
|
5948
|
+
self._TotalCount = TotalCount
|
5949
|
+
|
5950
|
+
@property
|
5951
|
+
def Data(self):
|
5952
|
+
"""声纹信息
|
5953
|
+
:rtype: list of VoicePrintInfo
|
5954
|
+
"""
|
5955
|
+
return self._Data
|
5956
|
+
|
5957
|
+
@Data.setter
|
5958
|
+
def Data(self, Data):
|
5959
|
+
self._Data = Data
|
5960
|
+
|
5961
|
+
@property
|
5962
|
+
def RequestId(self):
|
5963
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5964
|
+
:rtype: str
|
5965
|
+
"""
|
5966
|
+
return self._RequestId
|
5967
|
+
|
5968
|
+
@RequestId.setter
|
5969
|
+
def RequestId(self, RequestId):
|
5970
|
+
self._RequestId = RequestId
|
5971
|
+
|
5972
|
+
|
5973
|
+
def _deserialize(self, params):
|
5974
|
+
self._TotalCount = params.get("TotalCount")
|
5975
|
+
if params.get("Data") is not None:
|
5976
|
+
self._Data = []
|
5977
|
+
for item in params.get("Data"):
|
5978
|
+
obj = VoicePrintInfo()
|
5979
|
+
obj._deserialize(item)
|
5980
|
+
self._Data.append(obj)
|
5981
|
+
self._RequestId = params.get("RequestId")
|
5982
|
+
|
5983
|
+
|
5687
5984
|
class DescribeWebRecordRequest(AbstractModel):
|
5688
5985
|
"""DescribeWebRecord请求参数结构体
|
5689
5986
|
|
@@ -9994,6 +10291,9 @@ class RecognizeConfig(AbstractModel):
|
|
9994
10291
|
- "zh": 中文(简体)
|
9995
10292
|
- "zh-TW": 中文(繁体)
|
9996
10293
|
- "en": 英语
|
10294
|
+
- "16k_zh_edu":中文教育
|
10295
|
+
- "16k_zh_medical":中文医疗
|
10296
|
+
- "16k_zh_court":中文法庭
|
9997
10297
|
|
9998
10298
|
**标准版:**
|
9999
10299
|
- "8k_zh_large": 普方大模型引擎. 当前模型同时支持中文等语言的识别,模型参数量极大,语言模型性能增强,针对电话音频中各类场景、各类中文方言的识别准确率极大提升.
|
@@ -10026,7 +10326,6 @@ class RecognizeConfig(AbstractModel):
|
|
10026
10326
|
|
10027
10327
|
**注意:**
|
10028
10328
|
如果缺少满足您需求的语言,请联系我们技术人员。
|
10029
|
-
|
10030
10329
|
:type Language: str
|
10031
10330
|
:param _AlternativeLanguage: **发起模糊识别为高级版能力,默认按照高级版收费,仅支持填写基础版和高级版语言.**
|
10032
10331
|
注意:不支持填写"zh-dialect"
|
@@ -10081,6 +10380,9 @@ class RecognizeConfig(AbstractModel):
|
|
10081
10380
|
- "zh": 中文(简体)
|
10082
10381
|
- "zh-TW": 中文(繁体)
|
10083
10382
|
- "en": 英语
|
10383
|
+
- "16k_zh_edu":中文教育
|
10384
|
+
- "16k_zh_medical":中文医疗
|
10385
|
+
- "16k_zh_court":中文法庭
|
10084
10386
|
|
10085
10387
|
**标准版:**
|
10086
10388
|
- "8k_zh_large": 普方大模型引擎. 当前模型同时支持中文等语言的识别,模型参数量极大,语言模型性能增强,针对电话音频中各类场景、各类中文方言的识别准确率极大提升.
|
@@ -10113,7 +10415,6 @@ class RecognizeConfig(AbstractModel):
|
|
10113
10415
|
|
10114
10416
|
**注意:**
|
10115
10417
|
如果缺少满足您需求的语言,请联系我们技术人员。
|
10116
|
-
|
10117
10418
|
:rtype: str
|
10118
10419
|
"""
|
10119
10420
|
return self._Language
|
@@ -10495,6 +10796,145 @@ class RecordUsage(AbstractModel):
|
|
10495
10796
|
|
10496
10797
|
|
10497
10798
|
|
10799
|
+
class RegisterVoicePrintRequest(AbstractModel):
|
10800
|
+
"""RegisterVoicePrint请求参数结构体
|
10801
|
+
|
10802
|
+
"""
|
10803
|
+
|
10804
|
+
def __init__(self):
|
10805
|
+
r"""
|
10806
|
+
:param _Audio: 整个wav音频文件的base64字符串,其中wav文件限定为16k或8k采样率, 16bit位深, 单声道, 8到18秒有效音频时长,编码数据大小不超过2M
|
10807
|
+
:type Audio: str
|
10808
|
+
:param _ReqTimestamp: 毫秒时间戳
|
10809
|
+
:type ReqTimestamp: int
|
10810
|
+
:param _AudioFormat: 音频格式,目前只支持0,代表wav
|
10811
|
+
:type AudioFormat: int
|
10812
|
+
:param _AudioName: 音频名称,长度不要超过32
|
10813
|
+
:type AudioName: str
|
10814
|
+
:param _AudioMetaInfo: 和声纹绑定的MetaInfo,长度最大不超过512
|
10815
|
+
:type AudioMetaInfo: str
|
10816
|
+
"""
|
10817
|
+
self._Audio = None
|
10818
|
+
self._ReqTimestamp = None
|
10819
|
+
self._AudioFormat = None
|
10820
|
+
self._AudioName = None
|
10821
|
+
self._AudioMetaInfo = None
|
10822
|
+
|
10823
|
+
@property
|
10824
|
+
def Audio(self):
|
10825
|
+
"""整个wav音频文件的base64字符串,其中wav文件限定为16k或8k采样率, 16bit位深, 单声道, 8到18秒有效音频时长,编码数据大小不超过2M
|
10826
|
+
:rtype: str
|
10827
|
+
"""
|
10828
|
+
return self._Audio
|
10829
|
+
|
10830
|
+
@Audio.setter
|
10831
|
+
def Audio(self, Audio):
|
10832
|
+
self._Audio = Audio
|
10833
|
+
|
10834
|
+
@property
|
10835
|
+
def ReqTimestamp(self):
|
10836
|
+
"""毫秒时间戳
|
10837
|
+
:rtype: int
|
10838
|
+
"""
|
10839
|
+
return self._ReqTimestamp
|
10840
|
+
|
10841
|
+
@ReqTimestamp.setter
|
10842
|
+
def ReqTimestamp(self, ReqTimestamp):
|
10843
|
+
self._ReqTimestamp = ReqTimestamp
|
10844
|
+
|
10845
|
+
@property
|
10846
|
+
def AudioFormat(self):
|
10847
|
+
"""音频格式,目前只支持0,代表wav
|
10848
|
+
:rtype: int
|
10849
|
+
"""
|
10850
|
+
return self._AudioFormat
|
10851
|
+
|
10852
|
+
@AudioFormat.setter
|
10853
|
+
def AudioFormat(self, AudioFormat):
|
10854
|
+
self._AudioFormat = AudioFormat
|
10855
|
+
|
10856
|
+
@property
|
10857
|
+
def AudioName(self):
|
10858
|
+
"""音频名称,长度不要超过32
|
10859
|
+
:rtype: str
|
10860
|
+
"""
|
10861
|
+
return self._AudioName
|
10862
|
+
|
10863
|
+
@AudioName.setter
|
10864
|
+
def AudioName(self, AudioName):
|
10865
|
+
self._AudioName = AudioName
|
10866
|
+
|
10867
|
+
@property
|
10868
|
+
def AudioMetaInfo(self):
|
10869
|
+
"""和声纹绑定的MetaInfo,长度最大不超过512
|
10870
|
+
:rtype: str
|
10871
|
+
"""
|
10872
|
+
return self._AudioMetaInfo
|
10873
|
+
|
10874
|
+
@AudioMetaInfo.setter
|
10875
|
+
def AudioMetaInfo(self, AudioMetaInfo):
|
10876
|
+
self._AudioMetaInfo = AudioMetaInfo
|
10877
|
+
|
10878
|
+
|
10879
|
+
def _deserialize(self, params):
|
10880
|
+
self._Audio = params.get("Audio")
|
10881
|
+
self._ReqTimestamp = params.get("ReqTimestamp")
|
10882
|
+
self._AudioFormat = params.get("AudioFormat")
|
10883
|
+
self._AudioName = params.get("AudioName")
|
10884
|
+
self._AudioMetaInfo = params.get("AudioMetaInfo")
|
10885
|
+
memeber_set = set(params.keys())
|
10886
|
+
for name, value in vars(self).items():
|
10887
|
+
property_name = name[1:]
|
10888
|
+
if property_name in memeber_set:
|
10889
|
+
memeber_set.remove(property_name)
|
10890
|
+
if len(memeber_set) > 0:
|
10891
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
10892
|
+
|
10893
|
+
|
10894
|
+
|
10895
|
+
class RegisterVoicePrintResponse(AbstractModel):
|
10896
|
+
"""RegisterVoicePrint返回参数结构体
|
10897
|
+
|
10898
|
+
"""
|
10899
|
+
|
10900
|
+
def __init__(self):
|
10901
|
+
r"""
|
10902
|
+
:param _VoicePrintId: 声纹信息ID
|
10903
|
+
:type VoicePrintId: str
|
10904
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10905
|
+
:type RequestId: str
|
10906
|
+
"""
|
10907
|
+
self._VoicePrintId = None
|
10908
|
+
self._RequestId = None
|
10909
|
+
|
10910
|
+
@property
|
10911
|
+
def VoicePrintId(self):
|
10912
|
+
"""声纹信息ID
|
10913
|
+
:rtype: str
|
10914
|
+
"""
|
10915
|
+
return self._VoicePrintId
|
10916
|
+
|
10917
|
+
@VoicePrintId.setter
|
10918
|
+
def VoicePrintId(self, VoicePrintId):
|
10919
|
+
self._VoicePrintId = VoicePrintId
|
10920
|
+
|
10921
|
+
@property
|
10922
|
+
def RequestId(self):
|
10923
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10924
|
+
:rtype: str
|
10925
|
+
"""
|
10926
|
+
return self._RequestId
|
10927
|
+
|
10928
|
+
@RequestId.setter
|
10929
|
+
def RequestId(self, RequestId):
|
10930
|
+
self._RequestId = RequestId
|
10931
|
+
|
10932
|
+
|
10933
|
+
def _deserialize(self, params):
|
10934
|
+
self._VoicePrintId = params.get("VoicePrintId")
|
10935
|
+
self._RequestId = params.get("RequestId")
|
10936
|
+
|
10937
|
+
|
10498
10938
|
class RemoveUserByStrRoomIdRequest(AbstractModel):
|
10499
10939
|
"""RemoveUserByStrRoomId请求参数结构体
|
10500
10940
|
|
@@ -15014,6 +15454,130 @@ class UpdateStreamIngestResponse(AbstractModel):
|
|
15014
15454
|
self._RequestId = params.get("RequestId")
|
15015
15455
|
|
15016
15456
|
|
15457
|
+
class UpdateVoicePrintRequest(AbstractModel):
|
15458
|
+
"""UpdateVoicePrint请求参数结构体
|
15459
|
+
|
15460
|
+
"""
|
15461
|
+
|
15462
|
+
def __init__(self):
|
15463
|
+
r"""
|
15464
|
+
:param _VoicePrintId: 声纹信息ID
|
15465
|
+
:type VoicePrintId: str
|
15466
|
+
:param _ReqTimestamp: 毫秒时间戳
|
15467
|
+
:type ReqTimestamp: int
|
15468
|
+
:param _AudioFormat: 音频格式,目前只支持0,代表wav
|
15469
|
+
:type AudioFormat: int
|
15470
|
+
:param _Audio: 整个wav音频文件的base64字符串,其中wav文件限定为16k或8k采样率, 16bit位深, 单声道, 8到18秒有效音频时长,编码数据大小不超过2M
|
15471
|
+
:type Audio: str
|
15472
|
+
:param _AudioMetaInfo: 和声纹绑定的MetaInfo,长度最大不超过512
|
15473
|
+
:type AudioMetaInfo: str
|
15474
|
+
"""
|
15475
|
+
self._VoicePrintId = None
|
15476
|
+
self._ReqTimestamp = None
|
15477
|
+
self._AudioFormat = None
|
15478
|
+
self._Audio = None
|
15479
|
+
self._AudioMetaInfo = None
|
15480
|
+
|
15481
|
+
@property
|
15482
|
+
def VoicePrintId(self):
|
15483
|
+
"""声纹信息ID
|
15484
|
+
:rtype: str
|
15485
|
+
"""
|
15486
|
+
return self._VoicePrintId
|
15487
|
+
|
15488
|
+
@VoicePrintId.setter
|
15489
|
+
def VoicePrintId(self, VoicePrintId):
|
15490
|
+
self._VoicePrintId = VoicePrintId
|
15491
|
+
|
15492
|
+
@property
|
15493
|
+
def ReqTimestamp(self):
|
15494
|
+
"""毫秒时间戳
|
15495
|
+
:rtype: int
|
15496
|
+
"""
|
15497
|
+
return self._ReqTimestamp
|
15498
|
+
|
15499
|
+
@ReqTimestamp.setter
|
15500
|
+
def ReqTimestamp(self, ReqTimestamp):
|
15501
|
+
self._ReqTimestamp = ReqTimestamp
|
15502
|
+
|
15503
|
+
@property
|
15504
|
+
def AudioFormat(self):
|
15505
|
+
"""音频格式,目前只支持0,代表wav
|
15506
|
+
:rtype: int
|
15507
|
+
"""
|
15508
|
+
return self._AudioFormat
|
15509
|
+
|
15510
|
+
@AudioFormat.setter
|
15511
|
+
def AudioFormat(self, AudioFormat):
|
15512
|
+
self._AudioFormat = AudioFormat
|
15513
|
+
|
15514
|
+
@property
|
15515
|
+
def Audio(self):
|
15516
|
+
"""整个wav音频文件的base64字符串,其中wav文件限定为16k或8k采样率, 16bit位深, 单声道, 8到18秒有效音频时长,编码数据大小不超过2M
|
15517
|
+
:rtype: str
|
15518
|
+
"""
|
15519
|
+
return self._Audio
|
15520
|
+
|
15521
|
+
@Audio.setter
|
15522
|
+
def Audio(self, Audio):
|
15523
|
+
self._Audio = Audio
|
15524
|
+
|
15525
|
+
@property
|
15526
|
+
def AudioMetaInfo(self):
|
15527
|
+
"""和声纹绑定的MetaInfo,长度最大不超过512
|
15528
|
+
:rtype: str
|
15529
|
+
"""
|
15530
|
+
return self._AudioMetaInfo
|
15531
|
+
|
15532
|
+
@AudioMetaInfo.setter
|
15533
|
+
def AudioMetaInfo(self, AudioMetaInfo):
|
15534
|
+
self._AudioMetaInfo = AudioMetaInfo
|
15535
|
+
|
15536
|
+
|
15537
|
+
def _deserialize(self, params):
|
15538
|
+
self._VoicePrintId = params.get("VoicePrintId")
|
15539
|
+
self._ReqTimestamp = params.get("ReqTimestamp")
|
15540
|
+
self._AudioFormat = params.get("AudioFormat")
|
15541
|
+
self._Audio = params.get("Audio")
|
15542
|
+
self._AudioMetaInfo = params.get("AudioMetaInfo")
|
15543
|
+
memeber_set = set(params.keys())
|
15544
|
+
for name, value in vars(self).items():
|
15545
|
+
property_name = name[1:]
|
15546
|
+
if property_name in memeber_set:
|
15547
|
+
memeber_set.remove(property_name)
|
15548
|
+
if len(memeber_set) > 0:
|
15549
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
15550
|
+
|
15551
|
+
|
15552
|
+
|
15553
|
+
class UpdateVoicePrintResponse(AbstractModel):
|
15554
|
+
"""UpdateVoicePrint返回参数结构体
|
15555
|
+
|
15556
|
+
"""
|
15557
|
+
|
15558
|
+
def __init__(self):
|
15559
|
+
r"""
|
15560
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
15561
|
+
:type RequestId: str
|
15562
|
+
"""
|
15563
|
+
self._RequestId = None
|
15564
|
+
|
15565
|
+
@property
|
15566
|
+
def RequestId(self):
|
15567
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
15568
|
+
:rtype: str
|
15569
|
+
"""
|
15570
|
+
return self._RequestId
|
15571
|
+
|
15572
|
+
@RequestId.setter
|
15573
|
+
def RequestId(self, RequestId):
|
15574
|
+
self._RequestId = RequestId
|
15575
|
+
|
15576
|
+
|
15577
|
+
def _deserialize(self, params):
|
15578
|
+
self._RequestId = params.get("RequestId")
|
15579
|
+
|
15580
|
+
|
15017
15581
|
class UserInformation(AbstractModel):
|
15018
15582
|
"""用户信息,包括用户进房时间,退房时间等
|
15019
15583
|
|
@@ -15496,6 +16060,198 @@ class VideoParams(AbstractModel):
|
|
15496
16060
|
|
15497
16061
|
|
15498
16062
|
|
16063
|
+
class VoicePrint(AbstractModel):
|
16064
|
+
"""声纹配置参数
|
16065
|
+
|
16066
|
+
"""
|
16067
|
+
|
16068
|
+
def __init__(self):
|
16069
|
+
r"""
|
16070
|
+
:param _Mode: 默认为0,表示不启用声纹。1表示使用固定声纹,且需要填写voiceprint id。2表示使用动态声纹,不需要使用voiceprint id,内部动态选择主讲人声纹
|
16071
|
+
:type Mode: int
|
16072
|
+
:param _IdList: 只有当VoicePrint Mode为1时需要填写,目前仅支持填写一个声纹id
|
16073
|
+
:type IdList: list of str
|
16074
|
+
"""
|
16075
|
+
self._Mode = None
|
16076
|
+
self._IdList = None
|
16077
|
+
|
16078
|
+
@property
|
16079
|
+
def Mode(self):
|
16080
|
+
"""默认为0,表示不启用声纹。1表示使用固定声纹,且需要填写voiceprint id。2表示使用动态声纹,不需要使用voiceprint id,内部动态选择主讲人声纹
|
16081
|
+
:rtype: int
|
16082
|
+
"""
|
16083
|
+
return self._Mode
|
16084
|
+
|
16085
|
+
@Mode.setter
|
16086
|
+
def Mode(self, Mode):
|
16087
|
+
self._Mode = Mode
|
16088
|
+
|
16089
|
+
@property
|
16090
|
+
def IdList(self):
|
16091
|
+
"""只有当VoicePrint Mode为1时需要填写,目前仅支持填写一个声纹id
|
16092
|
+
:rtype: list of str
|
16093
|
+
"""
|
16094
|
+
return self._IdList
|
16095
|
+
|
16096
|
+
@IdList.setter
|
16097
|
+
def IdList(self, IdList):
|
16098
|
+
self._IdList = IdList
|
16099
|
+
|
16100
|
+
|
16101
|
+
def _deserialize(self, params):
|
16102
|
+
self._Mode = params.get("Mode")
|
16103
|
+
self._IdList = params.get("IdList")
|
16104
|
+
memeber_set = set(params.keys())
|
16105
|
+
for name, value in vars(self).items():
|
16106
|
+
property_name = name[1:]
|
16107
|
+
if property_name in memeber_set:
|
16108
|
+
memeber_set.remove(property_name)
|
16109
|
+
if len(memeber_set) > 0:
|
16110
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
16111
|
+
|
16112
|
+
|
16113
|
+
|
16114
|
+
class VoicePrintInfo(AbstractModel):
|
16115
|
+
"""声纹查询数据
|
16116
|
+
|
16117
|
+
"""
|
16118
|
+
|
16119
|
+
def __init__(self):
|
16120
|
+
r"""
|
16121
|
+
:param _VoicePrintId: 声纹ID
|
16122
|
+
:type VoicePrintId: str
|
16123
|
+
:param _AppId: 应用id
|
16124
|
+
:type AppId: int
|
16125
|
+
:param _VoicePrintMetaInfo: 和声纹绑定的MetaInfo
|
16126
|
+
:type VoicePrintMetaInfo: str
|
16127
|
+
:param _CreateTime: 创建时间
|
16128
|
+
:type CreateTime: str
|
16129
|
+
:param _UpdateTime: 更新时间
|
16130
|
+
:type UpdateTime: str
|
16131
|
+
:param _AudioFormat: 音频格式,当前只有0(代表wav)
|
16132
|
+
:type AudioFormat: int
|
16133
|
+
:param _AudioName: 音频名称
|
16134
|
+
:type AudioName: str
|
16135
|
+
:param _ReqTimestamp: 请求毫秒时间戳
|
16136
|
+
:type ReqTimestamp: int
|
16137
|
+
"""
|
16138
|
+
self._VoicePrintId = None
|
16139
|
+
self._AppId = None
|
16140
|
+
self._VoicePrintMetaInfo = None
|
16141
|
+
self._CreateTime = None
|
16142
|
+
self._UpdateTime = None
|
16143
|
+
self._AudioFormat = None
|
16144
|
+
self._AudioName = None
|
16145
|
+
self._ReqTimestamp = None
|
16146
|
+
|
16147
|
+
@property
|
16148
|
+
def VoicePrintId(self):
|
16149
|
+
"""声纹ID
|
16150
|
+
:rtype: str
|
16151
|
+
"""
|
16152
|
+
return self._VoicePrintId
|
16153
|
+
|
16154
|
+
@VoicePrintId.setter
|
16155
|
+
def VoicePrintId(self, VoicePrintId):
|
16156
|
+
self._VoicePrintId = VoicePrintId
|
16157
|
+
|
16158
|
+
@property
|
16159
|
+
def AppId(self):
|
16160
|
+
"""应用id
|
16161
|
+
:rtype: int
|
16162
|
+
"""
|
16163
|
+
return self._AppId
|
16164
|
+
|
16165
|
+
@AppId.setter
|
16166
|
+
def AppId(self, AppId):
|
16167
|
+
self._AppId = AppId
|
16168
|
+
|
16169
|
+
@property
|
16170
|
+
def VoicePrintMetaInfo(self):
|
16171
|
+
"""和声纹绑定的MetaInfo
|
16172
|
+
:rtype: str
|
16173
|
+
"""
|
16174
|
+
return self._VoicePrintMetaInfo
|
16175
|
+
|
16176
|
+
@VoicePrintMetaInfo.setter
|
16177
|
+
def VoicePrintMetaInfo(self, VoicePrintMetaInfo):
|
16178
|
+
self._VoicePrintMetaInfo = VoicePrintMetaInfo
|
16179
|
+
|
16180
|
+
@property
|
16181
|
+
def CreateTime(self):
|
16182
|
+
"""创建时间
|
16183
|
+
:rtype: str
|
16184
|
+
"""
|
16185
|
+
return self._CreateTime
|
16186
|
+
|
16187
|
+
@CreateTime.setter
|
16188
|
+
def CreateTime(self, CreateTime):
|
16189
|
+
self._CreateTime = CreateTime
|
16190
|
+
|
16191
|
+
@property
|
16192
|
+
def UpdateTime(self):
|
16193
|
+
"""更新时间
|
16194
|
+
:rtype: str
|
16195
|
+
"""
|
16196
|
+
return self._UpdateTime
|
16197
|
+
|
16198
|
+
@UpdateTime.setter
|
16199
|
+
def UpdateTime(self, UpdateTime):
|
16200
|
+
self._UpdateTime = UpdateTime
|
16201
|
+
|
16202
|
+
@property
|
16203
|
+
def AudioFormat(self):
|
16204
|
+
"""音频格式,当前只有0(代表wav)
|
16205
|
+
:rtype: int
|
16206
|
+
"""
|
16207
|
+
return self._AudioFormat
|
16208
|
+
|
16209
|
+
@AudioFormat.setter
|
16210
|
+
def AudioFormat(self, AudioFormat):
|
16211
|
+
self._AudioFormat = AudioFormat
|
16212
|
+
|
16213
|
+
@property
|
16214
|
+
def AudioName(self):
|
16215
|
+
"""音频名称
|
16216
|
+
:rtype: str
|
16217
|
+
"""
|
16218
|
+
return self._AudioName
|
16219
|
+
|
16220
|
+
@AudioName.setter
|
16221
|
+
def AudioName(self, AudioName):
|
16222
|
+
self._AudioName = AudioName
|
16223
|
+
|
16224
|
+
@property
|
16225
|
+
def ReqTimestamp(self):
|
16226
|
+
"""请求毫秒时间戳
|
16227
|
+
:rtype: int
|
16228
|
+
"""
|
16229
|
+
return self._ReqTimestamp
|
16230
|
+
|
16231
|
+
@ReqTimestamp.setter
|
16232
|
+
def ReqTimestamp(self, ReqTimestamp):
|
16233
|
+
self._ReqTimestamp = ReqTimestamp
|
16234
|
+
|
16235
|
+
|
16236
|
+
def _deserialize(self, params):
|
16237
|
+
self._VoicePrintId = params.get("VoicePrintId")
|
16238
|
+
self._AppId = params.get("AppId")
|
16239
|
+
self._VoicePrintMetaInfo = params.get("VoicePrintMetaInfo")
|
16240
|
+
self._CreateTime = params.get("CreateTime")
|
16241
|
+
self._UpdateTime = params.get("UpdateTime")
|
16242
|
+
self._AudioFormat = params.get("AudioFormat")
|
16243
|
+
self._AudioName = params.get("AudioName")
|
16244
|
+
self._ReqTimestamp = params.get("ReqTimestamp")
|
16245
|
+
memeber_set = set(params.keys())
|
16246
|
+
for name, value in vars(self).items():
|
16247
|
+
property_name = name[1:]
|
16248
|
+
if property_name in memeber_set:
|
16249
|
+
memeber_set.remove(property_name)
|
16250
|
+
if len(memeber_set) > 0:
|
16251
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
16252
|
+
|
16253
|
+
|
16254
|
+
|
15499
16255
|
class WaterMark(AbstractModel):
|
15500
16256
|
"""水印布局参数
|
15501
16257
|
|