tencentcloud-sdk-python 3.0.1254__py2.py3-none-any.whl → 3.0.1256__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/captcha/v20190722/models.py +16 -3
- tencentcloud/cdb/v20170320/models.py +14 -0
- tencentcloud/cfw/v20190904/cfw_client.py +6 -2
- tencentcloud/cfw/v20190904/models.py +83 -28
- tencentcloud/clb/v20180317/models.py +25 -1
- tencentcloud/cvm/v20170312/models.py +0 -1
- tencentcloud/cwp/v20180228/cwp_client.py +6 -2
- tencentcloud/cwp/v20180228/models.py +75 -26
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +39 -39
- tencentcloud/cynosdb/v20190107/models.py +27 -0
- tencentcloud/emr/v20190103/emr_client.py +1 -1
- tencentcloud/ess/v20201111/ess_client.py +9 -8
- tencentcloud/ess/v20201111/models.py +26 -0
- tencentcloud/essbasic/v20210526/models.py +26 -0
- tencentcloud/gaap/v20180529/gaap_client.py +1 -1
- tencentcloud/gaap/v20180529/models.py +67 -39
- tencentcloud/hunyuan/v20230901/models.py +1 -1
- tencentcloud/lcic/v20220817/models.py +4 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +6 -0
- tencentcloud/monitor/v20180724/models.py +25 -0
- tencentcloud/mqtt/v20240516/models.py +4 -2
- tencentcloud/ocr/v20181119/models.py +1 -0
- tencentcloud/pts/v20210728/models.py +13 -0
- tencentcloud/redis/v20180412/models.py +3 -1
- tencentcloud/redis/v20180412/redis_client.py +1 -1
- tencentcloud/ses/v20201002/models.py +0 -10
- tencentcloud/sms/v20190711/models.py +8 -10
- tencentcloud/sms/v20210111/models.py +10 -13
- tencentcloud/sms/v20210111/sms_client.py +1 -1
- tencentcloud/taf/v20200210/models.py +63 -0
- tencentcloud/tdmq/v20200217/models.py +600 -55
- tencentcloud/tdmq/v20200217/tdmq_client.py +69 -0
- tencentcloud/trocket/v20230308/models.py +185 -115
- tencentcloud/trocket/v20230308/trocket_client.py +8 -8
- tencentcloud/tsi/v20210325/models.py +135 -0
- tencentcloud/vod/v20180717/models.py +878 -7
- tencentcloud/vpc/v20170312/models.py +12 -12
- tencentcloud/waf/v20180125/models.py +134 -0
- tencentcloud/waf/v20180125/waf_client.py +23 -0
- tencentcloud/wedata/v20210820/models.py +592 -0
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1254.dist-info → tencentcloud_sdk_python-3.0.1256.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1254.dist-info → tencentcloud_sdk_python-3.0.1256.dist-info}/RECORD +47 -47
- {tencentcloud_sdk_python-3.0.1254.dist-info → tencentcloud_sdk_python-3.0.1256.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1254.dist-info → tencentcloud_sdk_python-3.0.1256.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1254.dist-info → tencentcloud_sdk_python-3.0.1256.dist-info}/top_level.txt +0 -0
@@ -234,7 +234,7 @@ class TrocketClient(AbstractClient):
|
|
234
234
|
|
235
235
|
|
236
236
|
def DeleteInstance(self, request):
|
237
|
-
"""
|
237
|
+
"""删除 RocketMQ 5.x 集群。
|
238
238
|
|
239
239
|
:param request: Request instance for DeleteInstance.
|
240
240
|
:type request: :class:`tencentcloud.trocket.v20230308.models.DeleteInstanceRequest`
|
@@ -467,11 +467,11 @@ class TrocketClient(AbstractClient):
|
|
467
467
|
|
468
468
|
|
469
469
|
def DescribeFusionInstanceList(self, request):
|
470
|
-
"""
|
470
|
+
"""查询集群列表,支持 4.x 和 5.x 集群,其中 Filters 参数使用说明如下:
|
471
471
|
1. InstanceName, 名称模糊查询
|
472
|
-
2. InstanceId
|
473
|
-
3. InstanceType,
|
474
|
-
4. Version
|
472
|
+
2. InstanceId,集群ID查询
|
473
|
+
3. InstanceType, 集群类型查询,支持多选
|
474
|
+
4. Version,集群版本查询
|
475
475
|
当使用TagFilters查询时,Filters参数失效。
|
476
476
|
|
477
477
|
:param request: Request instance for DescribeFusionInstanceList.
|
@@ -495,7 +495,7 @@ class TrocketClient(AbstractClient):
|
|
495
495
|
|
496
496
|
|
497
497
|
def DescribeInstance(self, request):
|
498
|
-
"""
|
498
|
+
"""查询 RocketMQ 5.x 集群信息。
|
499
499
|
|
500
500
|
:param request: Request instance for DescribeInstance.
|
501
501
|
:type request: :class:`tencentcloud.trocket.v20230308.models.DescribeInstanceRequest`
|
@@ -518,7 +518,7 @@ class TrocketClient(AbstractClient):
|
|
518
518
|
|
519
519
|
|
520
520
|
def DescribeInstanceList(self, request):
|
521
|
-
"""
|
521
|
+
"""查询集群列表,仅支持 5.x 集群。Filters参数使用说明如下:
|
522
522
|
1. InstanceName, 名称模糊查询
|
523
523
|
2. InstanceId,集群ID查询
|
524
524
|
3. InstanceType, 集群类型查询,支持多选
|
@@ -1002,7 +1002,7 @@ class TrocketClient(AbstractClient):
|
|
1002
1002
|
|
1003
1003
|
|
1004
1004
|
def ModifyInstance(self, request):
|
1005
|
-
"""
|
1005
|
+
"""修改 RocketMQ 5.x 集群属性。
|
1006
1006
|
|
1007
1007
|
:param request: Request instance for ModifyInstance.
|
1008
1008
|
:type request: :class:`tencentcloud.trocket.v20230308.models.ModifyInstanceRequest`
|
@@ -39,6 +39,8 @@ class DisplayInfo(AbstractModel):
|
|
39
39
|
:type EndTime: int
|
40
40
|
:param _IsEnd: 当前句子是否已结束
|
41
41
|
:type IsEnd: bool
|
42
|
+
:param _Audio: base64编码的wav/mp3音频数据
|
43
|
+
:type Audio: str
|
42
44
|
"""
|
43
45
|
self._SeId = None
|
44
46
|
self._SeVer = None
|
@@ -47,6 +49,7 @@ class DisplayInfo(AbstractModel):
|
|
47
49
|
self._StartTime = None
|
48
50
|
self._EndTime = None
|
49
51
|
self._IsEnd = None
|
52
|
+
self._Audio = None
|
50
53
|
|
51
54
|
@property
|
52
55
|
def SeId(self):
|
@@ -104,6 +107,14 @@ class DisplayInfo(AbstractModel):
|
|
104
107
|
def IsEnd(self, IsEnd):
|
105
108
|
self._IsEnd = IsEnd
|
106
109
|
|
110
|
+
@property
|
111
|
+
def Audio(self):
|
112
|
+
return self._Audio
|
113
|
+
|
114
|
+
@Audio.setter
|
115
|
+
def Audio(self, Audio):
|
116
|
+
self._Audio = Audio
|
117
|
+
|
107
118
|
|
108
119
|
def _deserialize(self, params):
|
109
120
|
self._SeId = params.get("SeId")
|
@@ -113,6 +124,102 @@ class DisplayInfo(AbstractModel):
|
|
113
124
|
self._StartTime = params.get("StartTime")
|
114
125
|
self._EndTime = params.get("EndTime")
|
115
126
|
self._IsEnd = params.get("IsEnd")
|
127
|
+
self._Audio = params.get("Audio")
|
128
|
+
memeber_set = set(params.keys())
|
129
|
+
for name, value in vars(self).items():
|
130
|
+
property_name = name[1:]
|
131
|
+
if property_name in memeber_set:
|
132
|
+
memeber_set.remove(property_name)
|
133
|
+
if len(memeber_set) > 0:
|
134
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
class TTS(AbstractModel):
|
139
|
+
"""同传TTS请求参数
|
140
|
+
|
141
|
+
"""
|
142
|
+
|
143
|
+
def __init__(self):
|
144
|
+
r"""
|
145
|
+
:param _Codec: 返回音频格式,可取值:wav,mp3,pcm
|
146
|
+
:type Codec: str
|
147
|
+
:param _VoiceType: 音色 ID,只包括标准音色(注,日文只有一个固定音色)。
|
148
|
+
完整的音色 ID 列表请参见[音色列表](https://cloud.tencent.com/document/product/1073/92668)。
|
149
|
+
:type VoiceType: int
|
150
|
+
:param _Volume: 音量大小,范围[-10,10],对应音量大小。默认为0,代表正常音量,值越大音量越高。
|
151
|
+
:type Volume: float
|
152
|
+
:param _Speed: 语速,范围:[-2,6],分别对应不同语速:
|
153
|
+
|
154
|
+
- -2代表0.6倍
|
155
|
+
- -1代表0.8倍
|
156
|
+
- 0代表1.0倍(默认)
|
157
|
+
- 1代表1.2倍
|
158
|
+
- 2代表1.5倍
|
159
|
+
- 6代表2.5倍
|
160
|
+
|
161
|
+
如果需要更细化的语速,可以保留小数点后 2 位,例如0.5/1.25/2.81等。
|
162
|
+
参数值与实际语速转换,可参考[代码示例](https://sdk-1300466766.cos.ap-shanghai.myqcloud.com/sample/speed_sample.tar.gz)
|
163
|
+
:type Speed: float
|
164
|
+
:param _SampleRate: 音频采样率:
|
165
|
+
|
166
|
+
- 16000:16k(默认)
|
167
|
+
- 8000:8k
|
168
|
+
:type SampleRate: int
|
169
|
+
"""
|
170
|
+
self._Codec = None
|
171
|
+
self._VoiceType = None
|
172
|
+
self._Volume = None
|
173
|
+
self._Speed = None
|
174
|
+
self._SampleRate = None
|
175
|
+
|
176
|
+
@property
|
177
|
+
def Codec(self):
|
178
|
+
return self._Codec
|
179
|
+
|
180
|
+
@Codec.setter
|
181
|
+
def Codec(self, Codec):
|
182
|
+
self._Codec = Codec
|
183
|
+
|
184
|
+
@property
|
185
|
+
def VoiceType(self):
|
186
|
+
return self._VoiceType
|
187
|
+
|
188
|
+
@VoiceType.setter
|
189
|
+
def VoiceType(self, VoiceType):
|
190
|
+
self._VoiceType = VoiceType
|
191
|
+
|
192
|
+
@property
|
193
|
+
def Volume(self):
|
194
|
+
return self._Volume
|
195
|
+
|
196
|
+
@Volume.setter
|
197
|
+
def Volume(self, Volume):
|
198
|
+
self._Volume = Volume
|
199
|
+
|
200
|
+
@property
|
201
|
+
def Speed(self):
|
202
|
+
return self._Speed
|
203
|
+
|
204
|
+
@Speed.setter
|
205
|
+
def Speed(self, Speed):
|
206
|
+
self._Speed = Speed
|
207
|
+
|
208
|
+
@property
|
209
|
+
def SampleRate(self):
|
210
|
+
return self._SampleRate
|
211
|
+
|
212
|
+
@SampleRate.setter
|
213
|
+
def SampleRate(self, SampleRate):
|
214
|
+
self._SampleRate = SampleRate
|
215
|
+
|
216
|
+
|
217
|
+
def _deserialize(self, params):
|
218
|
+
self._Codec = params.get("Codec")
|
219
|
+
self._VoiceType = params.get("VoiceType")
|
220
|
+
self._Volume = params.get("Volume")
|
221
|
+
self._Speed = params.get("Speed")
|
222
|
+
self._SampleRate = params.get("SampleRate")
|
116
223
|
memeber_set = set(params.keys())
|
117
224
|
for name, value in vars(self).items():
|
118
225
|
property_name = name[1:]
|
@@ -257,6 +364,8 @@ yue:粤语
|
|
257
364
|
:type TranslateTime: int
|
258
365
|
:param _Data: 语音分片内容进行 Base64 编码后的字符串。音频内容需包含有效并可识别的文本信息。
|
259
366
|
:type Data: str
|
367
|
+
:param _TTS: TTS播报控制参数
|
368
|
+
:type TTS: :class:`tencentcloud.tsi.v20210325.models.TTS`
|
260
369
|
"""
|
261
370
|
self._SessionUuid = None
|
262
371
|
self._Source = None
|
@@ -267,6 +376,7 @@ yue:粤语
|
|
267
376
|
self._IsEnd = None
|
268
377
|
self._TranslateTime = None
|
269
378
|
self._Data = None
|
379
|
+
self._TTS = None
|
270
380
|
|
271
381
|
@property
|
272
382
|
def SessionUuid(self):
|
@@ -340,6 +450,14 @@ yue:粤语
|
|
340
450
|
def Data(self, Data):
|
341
451
|
self._Data = Data
|
342
452
|
|
453
|
+
@property
|
454
|
+
def TTS(self):
|
455
|
+
return self._TTS
|
456
|
+
|
457
|
+
@TTS.setter
|
458
|
+
def TTS(self, TTS):
|
459
|
+
self._TTS = TTS
|
460
|
+
|
343
461
|
|
344
462
|
def _deserialize(self, params):
|
345
463
|
self._SessionUuid = params.get("SessionUuid")
|
@@ -351,6 +469,9 @@ yue:粤语
|
|
351
469
|
self._IsEnd = params.get("IsEnd")
|
352
470
|
self._TranslateTime = params.get("TranslateTime")
|
353
471
|
self._Data = params.get("Data")
|
472
|
+
if params.get("TTS") is not None:
|
473
|
+
self._TTS = TTS()
|
474
|
+
self._TTS._deserialize(params.get("TTS"))
|
354
475
|
memeber_set = set(params.keys())
|
355
476
|
for name, value in vars(self).items():
|
356
477
|
property_name = name[1:]
|
@@ -421,6 +542,8 @@ yue:粤语
|
|
421
542
|
:type TranslateTime: int
|
422
543
|
:param _Data: 语音分片内容进行 Base64 编码后的字符串。音频内容需包含有效并可识别的文本信息。
|
423
544
|
:type Data: str
|
545
|
+
:param _TTS: TTS播报控制参数
|
546
|
+
:type TTS: :class:`tencentcloud.tsi.v20210325.models.TTS`
|
424
547
|
"""
|
425
548
|
self._SessionUuid = None
|
426
549
|
self._Source = None
|
@@ -431,6 +554,7 @@ yue:粤语
|
|
431
554
|
self._IsEnd = None
|
432
555
|
self._TranslateTime = None
|
433
556
|
self._Data = None
|
557
|
+
self._TTS = None
|
434
558
|
|
435
559
|
@property
|
436
560
|
def SessionUuid(self):
|
@@ -504,6 +628,14 @@ yue:粤语
|
|
504
628
|
def Data(self, Data):
|
505
629
|
self._Data = Data
|
506
630
|
|
631
|
+
@property
|
632
|
+
def TTS(self):
|
633
|
+
return self._TTS
|
634
|
+
|
635
|
+
@TTS.setter
|
636
|
+
def TTS(self, TTS):
|
637
|
+
self._TTS = TTS
|
638
|
+
|
507
639
|
|
508
640
|
def _deserialize(self, params):
|
509
641
|
self._SessionUuid = params.get("SessionUuid")
|
@@ -515,6 +647,9 @@ yue:粤语
|
|
515
647
|
self._IsEnd = params.get("IsEnd")
|
516
648
|
self._TranslateTime = params.get("TranslateTime")
|
517
649
|
self._Data = params.get("Data")
|
650
|
+
if params.get("TTS") is not None:
|
651
|
+
self._TTS = TTS()
|
652
|
+
self._TTS._deserialize(params.get("TTS"))
|
518
653
|
memeber_set = set(params.keys())
|
519
654
|
for name, value in vars(self).items():
|
520
655
|
property_name = name[1:]
|