tencentcloud-sdk-python 3.1.13__py2.py3-none-any.whl → 3.1.33__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/ags/v20250920/ags_client.py +46 -0
- tencentcloud/ags/v20250920/ags_client_async.py +36 -0
- tencentcloud/ags/v20250920/errorcodes.py +45 -0
- tencentcloud/ags/v20250920/models.py +1704 -110
- tencentcloud/ai3d/v20250513/ai3d_client.py +4 -4
- tencentcloud/ai3d/v20250513/ai3d_client_async.py +4 -4
- tencentcloud/ai3d/v20250513/models.py +78 -36
- tencentcloud/aiart/v20221229/aiart_client.py +46 -0
- tencentcloud/aiart/v20221229/aiart_client_async.py +36 -0
- tencentcloud/aiart/v20221229/models.py +289 -0
- tencentcloud/ams/v20201229/models.py +101 -0
- tencentcloud/antiddos/v20200309/antiddos_client.py +69 -0
- tencentcloud/antiddos/v20200309/antiddos_client_async.py +54 -0
- tencentcloud/antiddos/v20200309/errorcodes.py +27 -0
- tencentcloud/antiddos/v20200309/models.py +1671 -97
- tencentcloud/apm/v20210622/apm_client.py +23 -0
- tencentcloud/apm/v20210622/apm_client_async.py +18 -0
- tencentcloud/apm/v20210622/errorcodes.py +3 -0
- tencentcloud/apm/v20210622/models.py +1678 -78
- tencentcloud/asr/v20190614/models.py +100 -2
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +475 -338
- tencentcloud/bh/v20230418/models.py +179 -6
- tencentcloud/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/billing_client_async.py +18 -0
- tencentcloud/billing/v20180709/models.py +328 -6
- tencentcloud/cam/v20190116/models.py +111 -2
- tencentcloud/car/v20220110/car_client.py +23 -0
- tencentcloud/car/v20220110/car_client_async.py +18 -0
- tencentcloud/car/v20220110/models.py +109 -0
- tencentcloud/cbs/v20170312/models.py +14 -14
- tencentcloud/ccc/v20200210/ccc_client.py +42 -13
- tencentcloud/ccc/v20200210/ccc_client_async.py +37 -13
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +256 -4
- tencentcloud/cdb/v20170320/models.py +37 -16
- tencentcloud/cdc/v20201214/models.py +92 -124
- tencentcloud/cdn/v20180606/cdn_client.py +0 -78
- tencentcloud/cdn/v20180606/cdn_client_async.py +0 -63
- tencentcloud/cdn/v20180606/errorcodes.py +3 -0
- tencentcloud/cdn/v20180606/models.py +464 -1028
- tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
- tencentcloud/cdwch/v20200915/cdwch_client_async.py +18 -0
- tencentcloud/cdwch/v20200915/models.py +555 -0
- tencentcloud/cdwdoris/v20211228/models.py +505 -0
- tencentcloud/cfs/v20190719/errorcodes.py +1 -1
- tencentcloud/cfs/v20190719/models.py +2 -2
- tencentcloud/cfw/v20190904/cfw_client.py +278 -23
- tencentcloud/cfw/v20190904/cfw_client_async.py +218 -18
- tencentcloud/cfw/v20190904/models.py +3319 -1154
- tencentcloud/chdfs/v20201112/models.py +150 -0
- tencentcloud/ckafka/v20190819/models.py +458 -282
- tencentcloud/clb/v20180317/clb_client.py +23 -0
- tencentcloud/clb/v20180317/clb_client_async.py +18 -0
- tencentcloud/clb/v20180317/models.py +230 -130
- tencentcloud/cloudapp/v20220530/models.py +190 -36
- tencentcloud/cloudaudit/v20190319/models.py +32 -4
- tencentcloud/cloudmate/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client.py +45 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client_async.py +45 -0
- tencentcloud/cloudmate/v20251030/errorcodes.py +30 -0
- tencentcloud/cloudmate/v20251030/models.py +387 -0
- tencentcloud/cls/v20201016/cls_client.py +1064 -0
- tencentcloud/cls/v20201016/cls_client_async.py +860 -26
- tencentcloud/cls/v20201016/models.py +10246 -384
- tencentcloud/cme/v20191029/models.py +23 -0
- tencentcloud/csip/v20221121/models.py +317 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client_async.py +1 -1
- tencentcloud/cvm/v20170312/errorcodes.py +9 -0
- tencentcloud/cvm/v20170312/models.py +28 -8
- tencentcloud/cwp/v20180228/cwp_client.py +0 -188
- tencentcloud/cwp/v20180228/cwp_client_async.py +0 -148
- tencentcloud/cwp/v20180228/models.py +1097 -1814
- tencentcloud/cynosdb/v20190107/models.py +181 -48
- tencentcloud/dataagent/v20250513/dataagent_client.py +161 -0
- tencentcloud/dataagent/v20250513/dataagent_client_async.py +126 -0
- tencentcloud/dataagent/v20250513/models.py +1477 -52
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +18 -0
- tencentcloud/dbbrain/v20210527/models.py +261 -15
- tencentcloud/dbs/v20211108/dbs_client.py +69 -0
- tencentcloud/dbs/v20211108/dbs_client_async.py +54 -0
- tencentcloud/dbs/v20211108/errorcodes.py +15 -0
- tencentcloud/dbs/v20211108/models.py +1173 -27
- tencentcloud/dlc/v20210125/dlc_client.py +69 -0
- tencentcloud/dlc/v20210125/dlc_client_async.py +54 -0
- tencentcloud/dlc/v20210125/errorcodes.py +15 -0
- tencentcloud/dlc/v20210125/models.py +1016 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +6 -0
- tencentcloud/dnspod/v20210323/models.py +4 -4
- tencentcloud/emr/v20190103/emr_client.py +46 -0
- tencentcloud/emr/v20190103/emr_client_async.py +36 -0
- tencentcloud/emr/v20190103/models.py +625 -2
- tencentcloud/es/v20180416/errorcodes.py +15 -0
- tencentcloud/es/v20180416/es_client.py +115 -0
- tencentcloud/es/v20180416/es_client_async.py +90 -0
- tencentcloud/es/v20180416/models.py +498 -4
- tencentcloud/ess/v20201111/ess_client.py +153 -6
- tencentcloud/ess/v20201111/ess_client_async.py +128 -6
- tencentcloud/ess/v20201111/models.py +1496 -58
- tencentcloud/essbasic/v20210526/models.py +129 -23
- tencentcloud/evt/v20250217/evt_client.py +46 -0
- tencentcloud/evt/v20250217/evt_client_async.py +36 -0
- tencentcloud/evt/v20250217/models.py +188 -0
- tencentcloud/faceid/v20180301/models.py +10 -4
- tencentcloud/gaap/v20180529/models.py +260 -352
- tencentcloud/gs/v20191118/models.py +150 -4
- tencentcloud/gwlb/v20240906/models.py +48 -70
- tencentcloud/iai/v20180301/models.py +4 -4
- tencentcloud/iai/v20200303/models.py +4 -4
- tencentcloud/igtm/v20231024/errorcodes.py +1 -1
- tencentcloud/ims/v20201229/ims_client.py +1 -1
- tencentcloud/ims/v20201229/ims_client_async.py +1 -1
- tencentcloud/ioa/v20220601/models.py +60 -0
- tencentcloud/keewidb/v20220308/models.py +52 -68
- tencentcloud/lcic/v20220817/models.py +15 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +2 -2
- tencentcloud/lighthouse/v20200324/models.py +8 -0
- tencentcloud/live/v20180801/errorcodes.py +6 -0
- tencentcloud/live/v20180801/live_client.py +143 -0
- tencentcloud/live/v20180801/live_client_async.py +113 -0
- tencentcloud/live/v20180801/models.py +914 -311
- tencentcloud/lke/v20231130/lke_client.py +48 -1
- tencentcloud/lke/v20231130/lke_client_async.py +43 -1
- tencentcloud/lke/v20231130/models.py +2940 -459
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/lkeap/v20240522/lkeap_client_async.py +1 -1
- tencentcloud/lkeap/v20240522/models.py +2 -6
- tencentcloud/lowcode/v20210108/models.py +30 -0
- tencentcloud/mna/v20210119/models.py +18 -2
- tencentcloud/mongodb/v20190725/models.py +2 -2
- tencentcloud/monitor/v20180724/models.py +258 -0
- tencentcloud/mps/v20190612/errorcodes.py +9 -0
- tencentcloud/mps/v20190612/models.py +3007 -140
- tencentcloud/mps/v20190612/mps_client.py +115 -0
- tencentcloud/mps/v20190612/mps_client_async.py +90 -0
- tencentcloud/oceanus/v20190422/errorcodes.py +9 -0
- tencentcloud/oceanus/v20190422/models.py +210 -4
- tencentcloud/ocr/v20181119/models.py +72 -4
- tencentcloud/ocr/v20181119/ocr_client.py +12 -8
- tencentcloud/ocr/v20181119/ocr_client_async.py +11 -7
- tencentcloud/partners/v20180321/models.py +88 -92
- tencentcloud/pts/v20210728/models.py +206 -0
- tencentcloud/rce/v20250425/__init__.py +0 -0
- tencentcloud/rce/v20250425/errorcodes.py +15 -0
- tencentcloud/rce/v20250425/models.py +301 -0
- tencentcloud/rce/v20250425/rce_client.py +49 -0
- tencentcloud/rce/v20250425/rce_client_async.py +44 -0
- tencentcloud/redis/v20180412/models.py +65 -70
- tencentcloud/rum/v20210622/models.py +548 -0
- tencentcloud/rum/v20210622/rum_client.py +23 -0
- tencentcloud/rum/v20210622/rum_client_async.py +18 -0
- tencentcloud/scf/v20180416/models.py +28 -2
- tencentcloud/ses/v20201002/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/models.py +991 -70
- tencentcloud/ssl/v20191205/ssl_client.py +2 -2
- tencentcloud/ssl/v20191205/ssl_client_async.py +2 -2
- tencentcloud/ssm/v20190923/models.py +134 -0
- tencentcloud/svp/v20240125/models.py +35 -20
- tencentcloud/tag/v20180813/models.py +34 -54
- tencentcloud/tat/v20201028/models.py +2 -0
- tencentcloud/tcaplusdb/v20190823/models.py +0 -337
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py +0 -25
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +0 -20
- tencentcloud/tcb/v20180608/errorcodes.py +15 -12
- tencentcloud/tcb/v20180608/models.py +5761 -8383
- tencentcloud/tcb/v20180608/tcb_client.py +0 -276
- tencentcloud/tcb/v20180608/tcb_client_async.py +0 -216
- tencentcloud/tcbr/v20220217/errorcodes.py +27 -0
- tencentcloud/tcbr/v20220217/models.py +4193 -1389
- tencentcloud/tcbr/v20220217/tcbr_client.py +207 -0
- tencentcloud/tcbr/v20220217/tcbr_client_async.py +162 -0
- tencentcloud/tcr/v20190924/models.py +727 -61
- tencentcloud/tcr/v20190924/tcr_client.py +92 -0
- tencentcloud/tcr/v20190924/tcr_client_async.py +72 -0
- tencentcloud/tcss/v20201101/models.py +30 -0
- tencentcloud/tdai/v20250717/models.py +440 -2
- tencentcloud/tdai/v20250717/tdai_client.py +23 -0
- tencentcloud/tdai/v20250717/tdai_client_async.py +18 -0
- tencentcloud/tdmq/v20200217/errorcodes.py +1 -1
- tencentcloud/tdmq/v20200217/models.py +432 -4
- tencentcloud/tdmq/v20200217/tdmq_client.py +24 -0
- tencentcloud/tdmq/v20200217/tdmq_client_async.py +19 -0
- tencentcloud/teo/v20220901/errorcodes.py +39 -0
- tencentcloud/teo/v20220901/models.py +596 -79
- tencentcloud/teo/v20220901/teo_client.py +107 -1
- tencentcloud/teo/v20220901/teo_client_async.py +97 -1
- tencentcloud/thpc/v20211109/models.py +14 -14
- tencentcloud/thpc/v20220401/models.py +14 -14
- tencentcloud/thpc/v20230321/models.py +20 -54
- tencentcloud/tione/v20211111/errorcodes.py +9 -0
- tencentcloud/tione/v20211111/models.py +910 -73
- tencentcloud/tione/v20211111/tione_client.py +69 -0
- tencentcloud/tione/v20211111/tione_client_async.py +54 -0
- tencentcloud/tke/v20180525/models.py +468 -18
- tencentcloud/tke/v20180525/tke_client.py +69 -0
- tencentcloud/tke/v20180525/tke_client_async.py +54 -0
- tencentcloud/tke/v20220501/models.py +539 -0
- tencentcloud/tke/v20220501/tke_client.py +23 -0
- tencentcloud/tke/v20220501/tke_client_async.py +18 -0
- tencentcloud/trocket/v20230308/models.py +42 -21
- tencentcloud/trocket/v20230308/trocket_client.py +2 -1
- tencentcloud/trocket/v20230308/trocket_client_async.py +2 -1
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +173 -30
- tencentcloud/tse/v20201207/models.py +42 -0
- tencentcloud/tsf/v20180326/errorcodes.py +4 -4
- tencentcloud/tsf/v20180326/models.py +15 -510
- tencentcloud/tsf/v20180326/tsf_client.py +66 -47
- tencentcloud/tsf/v20180326/tsf_client_async.py +44 -20
- tencentcloud/tts/v20190823/tts_client.py +1 -1
- tencentcloud/tts/v20190823/tts_client_async.py +1 -1
- tencentcloud/vclm/v20240523/models.py +383 -0
- tencentcloud/vclm/v20240523/vclm_client.py +46 -0
- tencentcloud/vclm/v20240523/vclm_client_async.py +36 -0
- tencentcloud/vcube/v20220410/models.py +30 -0
- tencentcloud/vdb/v20230616/models.py +567 -0
- tencentcloud/vdb/v20230616/vdb_client.py +69 -0
- tencentcloud/vdb/v20230616/vdb_client_async.py +54 -0
- tencentcloud/vm/v20210922/models.py +116 -0
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +4107 -622
- tencentcloud/vod/v20180717/vod_client.py +72 -3
- tencentcloud/vod/v20180717/vod_client_async.py +57 -3
- tencentcloud/vpc/v20170312/errorcodes.py +15 -0
- tencentcloud/vpc/v20170312/models.py +387 -2
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/vpc/v20170312/vpc_client_async.py +18 -0
- tencentcloud/waf/v20180125/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +970 -0
- tencentcloud/waf/v20180125/waf_client.py +46 -0
- tencentcloud/waf/v20180125/waf_client_async.py +36 -0
- tencentcloud/wedata/v20210820/models.py +2851 -29
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- tencentcloud/wedata/v20210820/wedata_client_async.py +18 -0
- tencentcloud/wedata/v20250806/errorcodes.py +21 -0
- tencentcloud/wedata/v20250806/models.py +40999 -15704
- tencentcloud/wedata/v20250806/wedata_client.py +1402 -65
- tencentcloud/wedata/v20250806/wedata_client_async.py +1047 -0
- tencentcloud/weilingwith/v20230427/errorcodes.py +0 -3
- tencentcloud/weilingwith/v20230427/models.py +17 -336
- tencentcloud/weilingwith/v20230427/weilingwith_client.py +0 -25
- tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +0 -20
- tencentcloud/wimgs/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/errorcodes.py +33 -0
- tencentcloud/wimgs/v20251106/models.py +132 -0
- tencentcloud/wimgs/v20251106/wimgs_client.py +49 -0
- tencentcloud/wimgs/v20251106/wimgs_client_async.py +44 -0
- tencentcloud/wsa/v20250508/errorcodes.py +6 -0
- tencentcloud/wsa/v20250508/models.py +17 -2
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/RECORD +260 -243
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/WHEEL +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/top_level.txt +0 -0
|
@@ -7867,11 +7867,11 @@ class DescribeMigrationTaskListRequest(AbstractModel):
|
|
|
7867
7867
|
|
|
7868
7868
|
def __init__(self):
|
|
7869
7869
|
r"""
|
|
7870
|
-
:param _Filters:
|
|
7870
|
+
:param _Filters: 过滤查询条件列表,请在引用此参数的API说明中了解使用方法。
|
|
7871
7871
|
:type Filters: list of Filter
|
|
7872
|
-
:param _Offset:
|
|
7872
|
+
:param _Offset: 查询起始位置,默认为0。
|
|
7873
7873
|
:type Offset: int
|
|
7874
|
-
:param _Limit:
|
|
7874
|
+
:param _Limit: 查询结果限制数量,默认20。
|
|
7875
7875
|
:type Limit: int
|
|
7876
7876
|
"""
|
|
7877
7877
|
self._Filters = None
|
|
@@ -7880,7 +7880,7 @@ class DescribeMigrationTaskListRequest(AbstractModel):
|
|
|
7880
7880
|
|
|
7881
7881
|
@property
|
|
7882
7882
|
def Filters(self):
|
|
7883
|
-
r"""
|
|
7883
|
+
r"""过滤查询条件列表,请在引用此参数的API说明中了解使用方法。
|
|
7884
7884
|
:rtype: list of Filter
|
|
7885
7885
|
"""
|
|
7886
7886
|
return self._Filters
|
|
@@ -7891,7 +7891,7 @@ class DescribeMigrationTaskListRequest(AbstractModel):
|
|
|
7891
7891
|
|
|
7892
7892
|
@property
|
|
7893
7893
|
def Offset(self):
|
|
7894
|
-
r"""
|
|
7894
|
+
r"""查询起始位置,默认为0。
|
|
7895
7895
|
:rtype: int
|
|
7896
7896
|
"""
|
|
7897
7897
|
return self._Offset
|
|
@@ -7902,7 +7902,7 @@ class DescribeMigrationTaskListRequest(AbstractModel):
|
|
|
7902
7902
|
|
|
7903
7903
|
@property
|
|
7904
7904
|
def Limit(self):
|
|
7905
|
-
r"""
|
|
7905
|
+
r"""查询结果限制数量,默认20。
|
|
7906
7906
|
:rtype: int
|
|
7907
7907
|
"""
|
|
7908
7908
|
return self._Limit
|
|
@@ -12279,11 +12279,17 @@ class MessageTrackItem(AbstractModel):
|
|
|
12279
12279
|
:param _ExceptionDesc: 异常信息
|
|
12280
12280
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12281
12281
|
:type ExceptionDesc: str
|
|
12282
|
+
:param _ConsumeStatusSource: 消费状态来源,枚举值如下:
|
|
12283
|
+
|
|
12284
|
+
- DIFF_OFFSET:通过服务端offset计算
|
|
12285
|
+
- TRACE_REPORT:通过上报的轨迹判断
|
|
12286
|
+
:type ConsumeStatusSource: str
|
|
12282
12287
|
"""
|
|
12283
12288
|
self._ConsumerGroup = None
|
|
12284
12289
|
self._ConsumeStatus = None
|
|
12285
12290
|
self._TrackType = None
|
|
12286
12291
|
self._ExceptionDesc = None
|
|
12292
|
+
self._ConsumeStatusSource = None
|
|
12287
12293
|
|
|
12288
12294
|
@property
|
|
12289
12295
|
def ConsumerGroup(self):
|
|
@@ -12330,12 +12336,27 @@ class MessageTrackItem(AbstractModel):
|
|
|
12330
12336
|
def ExceptionDesc(self, ExceptionDesc):
|
|
12331
12337
|
self._ExceptionDesc = ExceptionDesc
|
|
12332
12338
|
|
|
12339
|
+
@property
|
|
12340
|
+
def ConsumeStatusSource(self):
|
|
12341
|
+
r"""消费状态来源,枚举值如下:
|
|
12342
|
+
|
|
12343
|
+
- DIFF_OFFSET:通过服务端offset计算
|
|
12344
|
+
- TRACE_REPORT:通过上报的轨迹判断
|
|
12345
|
+
:rtype: str
|
|
12346
|
+
"""
|
|
12347
|
+
return self._ConsumeStatusSource
|
|
12348
|
+
|
|
12349
|
+
@ConsumeStatusSource.setter
|
|
12350
|
+
def ConsumeStatusSource(self, ConsumeStatusSource):
|
|
12351
|
+
self._ConsumeStatusSource = ConsumeStatusSource
|
|
12352
|
+
|
|
12333
12353
|
|
|
12334
12354
|
def _deserialize(self, params):
|
|
12335
12355
|
self._ConsumerGroup = params.get("ConsumerGroup")
|
|
12336
12356
|
self._ConsumeStatus = params.get("ConsumeStatus")
|
|
12337
12357
|
self._TrackType = params.get("TrackType")
|
|
12338
12358
|
self._ExceptionDesc = params.get("ExceptionDesc")
|
|
12359
|
+
self._ConsumeStatusSource = params.get("ConsumeStatusSource")
|
|
12339
12360
|
memeber_set = set(params.keys())
|
|
12340
12361
|
for name, value in vars(self).items():
|
|
12341
12362
|
property_name = name[1:]
|
|
@@ -12655,22 +12676,22 @@ class ModifyConsumerGroupRequest(AbstractModel):
|
|
|
12655
12676
|
r"""
|
|
12656
12677
|
:param _InstanceId: 腾讯云 RocketMQ 实例 ID,从 [DescribeFusionInstanceList](https://cloud.tencent.com/document/api/1493/106745) 接口或控制台获得。
|
|
12657
12678
|
:type InstanceId: str
|
|
12658
|
-
:param _ConsumerGroup: 消费组名称,从 [DescribeConsumerGroupList](https://cloud.tencent.com/document/api/1493/101535) 接口返回的 [ConsumeGroupItem](https://cloud.tencent.com/document/api/1493/96031#ConsumeGroupItem) 或控制台获得。
|
|
12659
|
-
:type ConsumerGroup: str
|
|
12660
12679
|
:param _ConsumeEnable: 是否开启消费
|
|
12661
12680
|
:type ConsumeEnable: bool
|
|
12662
12681
|
:param _ConsumeMessageOrderly: 顺序投递:true
|
|
12663
12682
|
并发投递:false
|
|
12664
12683
|
:type ConsumeMessageOrderly: bool
|
|
12684
|
+
:param _ConsumerGroup: 消费组名称,从 [DescribeConsumerGroupList](https://cloud.tencent.com/document/api/1493/101535) 接口返回的 [ConsumeGroupItem](https://cloud.tencent.com/document/api/1493/96031#ConsumeGroupItem) 或控制台获得。
|
|
12685
|
+
:type ConsumerGroup: str
|
|
12665
12686
|
:param _MaxRetryTimes: 最大重试次数,取值范围0~1000
|
|
12666
12687
|
:type MaxRetryTimes: int
|
|
12667
12688
|
:param _Remark: 备注信息,最多 128 个字符
|
|
12668
12689
|
:type Remark: str
|
|
12669
12690
|
"""
|
|
12670
12691
|
self._InstanceId = None
|
|
12671
|
-
self._ConsumerGroup = None
|
|
12672
12692
|
self._ConsumeEnable = None
|
|
12673
12693
|
self._ConsumeMessageOrderly = None
|
|
12694
|
+
self._ConsumerGroup = None
|
|
12674
12695
|
self._MaxRetryTimes = None
|
|
12675
12696
|
self._Remark = None
|
|
12676
12697
|
|
|
@@ -12685,17 +12706,6 @@ class ModifyConsumerGroupRequest(AbstractModel):
|
|
|
12685
12706
|
def InstanceId(self, InstanceId):
|
|
12686
12707
|
self._InstanceId = InstanceId
|
|
12687
12708
|
|
|
12688
|
-
@property
|
|
12689
|
-
def ConsumerGroup(self):
|
|
12690
|
-
r"""消费组名称,从 [DescribeConsumerGroupList](https://cloud.tencent.com/document/api/1493/101535) 接口返回的 [ConsumeGroupItem](https://cloud.tencent.com/document/api/1493/96031#ConsumeGroupItem) 或控制台获得。
|
|
12691
|
-
:rtype: str
|
|
12692
|
-
"""
|
|
12693
|
-
return self._ConsumerGroup
|
|
12694
|
-
|
|
12695
|
-
@ConsumerGroup.setter
|
|
12696
|
-
def ConsumerGroup(self, ConsumerGroup):
|
|
12697
|
-
self._ConsumerGroup = ConsumerGroup
|
|
12698
|
-
|
|
12699
12709
|
@property
|
|
12700
12710
|
def ConsumeEnable(self):
|
|
12701
12711
|
r"""是否开启消费
|
|
@@ -12719,6 +12729,17 @@ class ModifyConsumerGroupRequest(AbstractModel):
|
|
|
12719
12729
|
def ConsumeMessageOrderly(self, ConsumeMessageOrderly):
|
|
12720
12730
|
self._ConsumeMessageOrderly = ConsumeMessageOrderly
|
|
12721
12731
|
|
|
12732
|
+
@property
|
|
12733
|
+
def ConsumerGroup(self):
|
|
12734
|
+
r"""消费组名称,从 [DescribeConsumerGroupList](https://cloud.tencent.com/document/api/1493/101535) 接口返回的 [ConsumeGroupItem](https://cloud.tencent.com/document/api/1493/96031#ConsumeGroupItem) 或控制台获得。
|
|
12735
|
+
:rtype: str
|
|
12736
|
+
"""
|
|
12737
|
+
return self._ConsumerGroup
|
|
12738
|
+
|
|
12739
|
+
@ConsumerGroup.setter
|
|
12740
|
+
def ConsumerGroup(self, ConsumerGroup):
|
|
12741
|
+
self._ConsumerGroup = ConsumerGroup
|
|
12742
|
+
|
|
12722
12743
|
@property
|
|
12723
12744
|
def MaxRetryTimes(self):
|
|
12724
12745
|
r"""最大重试次数,取值范围0~1000
|
|
@@ -12744,9 +12765,9 @@ class ModifyConsumerGroupRequest(AbstractModel):
|
|
|
12744
12765
|
|
|
12745
12766
|
def _deserialize(self, params):
|
|
12746
12767
|
self._InstanceId = params.get("InstanceId")
|
|
12747
|
-
self._ConsumerGroup = params.get("ConsumerGroup")
|
|
12748
12768
|
self._ConsumeEnable = params.get("ConsumeEnable")
|
|
12749
12769
|
self._ConsumeMessageOrderly = params.get("ConsumeMessageOrderly")
|
|
12770
|
+
self._ConsumerGroup = params.get("ConsumerGroup")
|
|
12750
12771
|
self._MaxRetryTimes = params.get("MaxRetryTimes")
|
|
12751
12772
|
self._Remark = params.get("Remark")
|
|
12752
12773
|
memeber_set = set(params.keys())
|
|
@@ -1381,12 +1381,13 @@ class TrocketClient(AbstractClient):
|
|
|
1381
1381
|
|
|
1382
1382
|
|
|
1383
1383
|
def DescribeTopicListByGroup(self, request):
|
|
1384
|
-
r"""
|
|
1384
|
+
r"""查询消费组订阅的主题列表,Filter参数使用说明如下:
|
|
1385
1385
|
|
|
1386
1386
|
- TopicName 主题名称,从 [DescribeTopicList](https://cloud.tencent.com/document/api/1493/96030) 接口返回的 [TopicItem](https://cloud.tencent.com/document/api/1493/96031#TopicItem) 或控制台获得。
|
|
1387
1387
|
|
|
1388
1388
|
Filters示例:
|
|
1389
1389
|
[{ "Name": "TopicName", "Values": ["test_topic"] }]
|
|
1390
|
+
当前 API 适用集群:5.x 集群。4.x 集群的查询消费组订阅的主题列表接口文档见 [DescribeRocketMQTopicsByGroup](https://cloud.tencent.com/document/product/1179/108863)。
|
|
1390
1391
|
|
|
1391
1392
|
:param request: Request instance for DescribeTopicListByGroup.
|
|
1392
1393
|
:type request: :class:`tencentcloud.trocket.v20230308.models.DescribeTopicListByGroupRequest`
|
|
@@ -1125,12 +1125,13 @@ class TrocketClient(AbstractClient):
|
|
|
1125
1125
|
opts: Dict = None,
|
|
1126
1126
|
) -> models.DescribeTopicListByGroupResponse:
|
|
1127
1127
|
"""
|
|
1128
|
-
|
|
1128
|
+
查询消费组订阅的主题列表,Filter参数使用说明如下:
|
|
1129
1129
|
|
|
1130
1130
|
- TopicName 主题名称,从 [DescribeTopicList](https://cloud.tencent.com/document/api/1493/96030) 接口返回的 [TopicItem](https://cloud.tencent.com/document/api/1493/96031#TopicItem) 或控制台获得。
|
|
1131
1131
|
|
|
1132
1132
|
Filters示例:
|
|
1133
1133
|
[{ "Name": "TopicName", "Values": ["test_topic"] }]
|
|
1134
|
+
当前 API 适用集群:5.x 集群。4.x 集群的查询消费组订阅的主题列表接口文档见 [DescribeRocketMQTopicsByGroup](https://cloud.tencent.com/document/product/1179/108863)。
|
|
1134
1135
|
"""
|
|
1135
1136
|
|
|
1136
1137
|
kwargs = {}
|
|
@@ -416,6 +416,9 @@ RESOURCEINSUFFICIENT_REQUESTREJECTION = 'ResourceInsufficient.RequestRejection'
|
|
|
416
416
|
# 资源不存在。
|
|
417
417
|
RESOURCENOTFOUND = 'ResourceNotFound'
|
|
418
418
|
|
|
419
|
+
# 资源不存在。
|
|
420
|
+
RESOURCENOTFOUND_RESOURCENOTFOUND = 'ResourceNotFound.ResourceNotFound'
|
|
421
|
+
|
|
419
422
|
# 没有操作SdkAppId的权限。
|
|
420
423
|
UNAUTHORIZEDOPERATION_SDKAPPID = 'UnauthorizedOperation.SdkAppId'
|
|
421
424
|
|
|
@@ -751,34 +751,37 @@ class AudioFormat(AbstractModel):
|
|
|
751
751
|
r"""
|
|
752
752
|
:param _Format: 生成的音频格式
|
|
753
753
|
|
|
754
|
-
-
|
|
754
|
+
- TextToSpeechSSE 流式接口
|
|
755
755
|
|
|
756
756
|
支持 pcm, 默认: pcm
|
|
757
757
|
|
|
758
|
-
- TextToSpeech非流式接口
|
|
758
|
+
- TextToSpeech 非流式接口
|
|
759
759
|
|
|
760
|
-
支持 pcm,wav, 默认: pcm
|
|
760
|
+
支持 pcm,wav,mp3, 默认: pcm
|
|
761
761
|
:type Format: str
|
|
762
762
|
:param _SampleRate: 生成的音频采样率,默认24000
|
|
763
763
|
可选
|
|
764
764
|
- 16000
|
|
765
765
|
- 24000
|
|
766
766
|
:type SampleRate: int
|
|
767
|
+
:param _Bitrate: MP3 比特率 (kbps),仅对 MP3 格式生效, 可以选: `64`, `128`, `192`, `256` , 默认: `128`
|
|
768
|
+
:type Bitrate: int
|
|
767
769
|
"""
|
|
768
770
|
self._Format = None
|
|
769
771
|
self._SampleRate = None
|
|
772
|
+
self._Bitrate = None
|
|
770
773
|
|
|
771
774
|
@property
|
|
772
775
|
def Format(self):
|
|
773
776
|
r"""生成的音频格式
|
|
774
777
|
|
|
775
|
-
-
|
|
778
|
+
- TextToSpeechSSE 流式接口
|
|
776
779
|
|
|
777
780
|
支持 pcm, 默认: pcm
|
|
778
781
|
|
|
779
|
-
- TextToSpeech非流式接口
|
|
782
|
+
- TextToSpeech 非流式接口
|
|
780
783
|
|
|
781
|
-
支持 pcm,wav, 默认: pcm
|
|
784
|
+
支持 pcm,wav,mp3, 默认: pcm
|
|
782
785
|
:rtype: str
|
|
783
786
|
"""
|
|
784
787
|
return self._Format
|
|
@@ -801,10 +804,22 @@ class AudioFormat(AbstractModel):
|
|
|
801
804
|
def SampleRate(self, SampleRate):
|
|
802
805
|
self._SampleRate = SampleRate
|
|
803
806
|
|
|
807
|
+
@property
|
|
808
|
+
def Bitrate(self):
|
|
809
|
+
r""" MP3 比特率 (kbps),仅对 MP3 格式生效, 可以选: `64`, `128`, `192`, `256` , 默认: `128`
|
|
810
|
+
:rtype: int
|
|
811
|
+
"""
|
|
812
|
+
return self._Bitrate
|
|
813
|
+
|
|
814
|
+
@Bitrate.setter
|
|
815
|
+
def Bitrate(self, Bitrate):
|
|
816
|
+
self._Bitrate = Bitrate
|
|
817
|
+
|
|
804
818
|
|
|
805
819
|
def _deserialize(self, params):
|
|
806
820
|
self._Format = params.get("Format")
|
|
807
821
|
self._SampleRate = params.get("SampleRate")
|
|
822
|
+
self._Bitrate = params.get("Bitrate")
|
|
808
823
|
memeber_set = set(params.keys())
|
|
809
824
|
for name, value in vars(self).items():
|
|
810
825
|
property_name = name[1:]
|
|
@@ -5175,11 +5190,14 @@ class DescribeTRTCMarketQualityDataRequest(AbstractModel):
|
|
|
5175
5190
|
d:按天。此时返回查询时间范围内 UTC 时间为零点的数据。
|
|
5176
5191
|
h:按小时。此时返回查询时间范围内 UTC 时间为整小时的数据。
|
|
5177
5192
|
:type Period: str
|
|
5193
|
+
:param _IsFloat: 返回数据是否为小数
|
|
5194
|
+
:type IsFloat: bool
|
|
5178
5195
|
"""
|
|
5179
5196
|
self._SdkAppId = None
|
|
5180
5197
|
self._StartTime = None
|
|
5181
5198
|
self._EndTime = None
|
|
5182
5199
|
self._Period = None
|
|
5200
|
+
self._IsFloat = None
|
|
5183
5201
|
|
|
5184
5202
|
@property
|
|
5185
5203
|
def SdkAppId(self):
|
|
@@ -5227,12 +5245,24 @@ h:按小时。此时返回查询时间范围内 UTC 时间为整小时的数
|
|
|
5227
5245
|
def Period(self, Period):
|
|
5228
5246
|
self._Period = Period
|
|
5229
5247
|
|
|
5248
|
+
@property
|
|
5249
|
+
def IsFloat(self):
|
|
5250
|
+
r"""返回数据是否为小数
|
|
5251
|
+
:rtype: bool
|
|
5252
|
+
"""
|
|
5253
|
+
return self._IsFloat
|
|
5254
|
+
|
|
5255
|
+
@IsFloat.setter
|
|
5256
|
+
def IsFloat(self, IsFloat):
|
|
5257
|
+
self._IsFloat = IsFloat
|
|
5258
|
+
|
|
5230
5259
|
|
|
5231
5260
|
def _deserialize(self, params):
|
|
5232
5261
|
self._SdkAppId = params.get("SdkAppId")
|
|
5233
5262
|
self._StartTime = params.get("StartTime")
|
|
5234
5263
|
self._EndTime = params.get("EndTime")
|
|
5235
5264
|
self._Period = params.get("Period")
|
|
5265
|
+
self._IsFloat = params.get("IsFloat")
|
|
5236
5266
|
memeber_set = set(params.keys())
|
|
5237
5267
|
for name, value in vars(self).items():
|
|
5238
5268
|
property_name = name[1:]
|
|
@@ -10409,6 +10439,8 @@ class MixLayoutParams(AbstractModel):
|
|
|
10409
10439
|
:type RenderMode: int
|
|
10410
10440
|
:param _MaxResolutionUserAlign: 屏幕分享模板有效。设置为1时代表大画面居右,小画面居左布局。默认为0。
|
|
10411
10441
|
:type MaxResolutionUserAlign: int
|
|
10442
|
+
:param _PureAudioDisableLayout: 控制房间内纯音频用户是否占据混流布局,只在混流录制,模板布局生效。true: 代表纯音频用户不占位,false: 代表纯音频用户占位(默认为false)。
|
|
10443
|
+
:type PureAudioDisableLayout: bool
|
|
10412
10444
|
"""
|
|
10413
10445
|
self._MixLayoutMode = None
|
|
10414
10446
|
self._MixLayoutList = None
|
|
@@ -10422,6 +10454,7 @@ class MixLayoutParams(AbstractModel):
|
|
|
10422
10454
|
self._WaterMarkList = None
|
|
10423
10455
|
self._RenderMode = None
|
|
10424
10456
|
self._MaxResolutionUserAlign = None
|
|
10457
|
+
self._PureAudioDisableLayout = None
|
|
10425
10458
|
|
|
10426
10459
|
@property
|
|
10427
10460
|
def MixLayoutMode(self):
|
|
@@ -10570,6 +10603,17 @@ class MixLayoutParams(AbstractModel):
|
|
|
10570
10603
|
def MaxResolutionUserAlign(self, MaxResolutionUserAlign):
|
|
10571
10604
|
self._MaxResolutionUserAlign = MaxResolutionUserAlign
|
|
10572
10605
|
|
|
10606
|
+
@property
|
|
10607
|
+
def PureAudioDisableLayout(self):
|
|
10608
|
+
r"""控制房间内纯音频用户是否占据混流布局,只在混流录制,模板布局生效。true: 代表纯音频用户不占位,false: 代表纯音频用户占位(默认为false)。
|
|
10609
|
+
:rtype: bool
|
|
10610
|
+
"""
|
|
10611
|
+
return self._PureAudioDisableLayout
|
|
10612
|
+
|
|
10613
|
+
@PureAudioDisableLayout.setter
|
|
10614
|
+
def PureAudioDisableLayout(self, PureAudioDisableLayout):
|
|
10615
|
+
self._PureAudioDisableLayout = PureAudioDisableLayout
|
|
10616
|
+
|
|
10573
10617
|
|
|
10574
10618
|
def _deserialize(self, params):
|
|
10575
10619
|
self._MixLayoutMode = params.get("MixLayoutMode")
|
|
@@ -10594,6 +10638,7 @@ class MixLayoutParams(AbstractModel):
|
|
|
10594
10638
|
self._WaterMarkList.append(obj)
|
|
10595
10639
|
self._RenderMode = params.get("RenderMode")
|
|
10596
10640
|
self._MaxResolutionUserAlign = params.get("MaxResolutionUserAlign")
|
|
10641
|
+
self._PureAudioDisableLayout = params.get("PureAudioDisableLayout")
|
|
10597
10642
|
memeber_set = set(params.keys())
|
|
10598
10643
|
for name, value in vars(self).items():
|
|
10599
10644
|
property_name = name[1:]
|
|
@@ -12105,17 +12150,11 @@ class RecognizeConfig(AbstractModel):
|
|
|
12105
12150
|
|
|
12106
12151
|
**基础语言引擎**:
|
|
12107
12152
|
- "zh": 中文(简体)
|
|
12108
|
-
- "zh-TW": 中文(繁体)
|
|
12109
|
-
- "en": 英语
|
|
12110
|
-
- "16k_zh_edu":中文教育
|
|
12111
|
-
- "16k_zh_medical":中文医疗
|
|
12112
|
-
- "16k_zh_court":中文法庭
|
|
12113
12153
|
|
|
12114
12154
|
**标准语言引擎:**
|
|
12115
12155
|
- "8k_zh_large": 普方大模型引擎. 当前模型同时支持中文等语言的识别,模型参数量极大,语言模型性能增强,针对电话音频中各类场景、各类中文方言的识别准确率极大提升.
|
|
12116
12156
|
- "16k_zh_large": 普方英大模型引擎. 当前模型同时支持中文、英文、多种中文方言等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升.
|
|
12117
|
-
- "
|
|
12118
|
-
- "16k_zh_en": 中英大模型引擎. 当前模型同时支持中文、英语识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升.
|
|
12157
|
+
- "16k_zh_en": :中英大模型引擎.当前模型同时支持中文、英语识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升。
|
|
12119
12158
|
|
|
12120
12159
|
**高级语言引擎:**
|
|
12121
12160
|
- "zh-dialect": 中国方言
|
|
@@ -12197,17 +12236,11 @@ class RecognizeConfig(AbstractModel):
|
|
|
12197
12236
|
|
|
12198
12237
|
**基础语言引擎**:
|
|
12199
12238
|
- "zh": 中文(简体)
|
|
12200
|
-
- "zh-TW": 中文(繁体)
|
|
12201
|
-
- "en": 英语
|
|
12202
|
-
- "16k_zh_edu":中文教育
|
|
12203
|
-
- "16k_zh_medical":中文医疗
|
|
12204
|
-
- "16k_zh_court":中文法庭
|
|
12205
12239
|
|
|
12206
12240
|
**标准语言引擎:**
|
|
12207
12241
|
- "8k_zh_large": 普方大模型引擎. 当前模型同时支持中文等语言的识别,模型参数量极大,语言模型性能增强,针对电话音频中各类场景、各类中文方言的识别准确率极大提升.
|
|
12208
12242
|
- "16k_zh_large": 普方英大模型引擎. 当前模型同时支持中文、英文、多种中文方言等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升.
|
|
12209
|
-
- "
|
|
12210
|
-
- "16k_zh_en": 中英大模型引擎. 当前模型同时支持中文、英语识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升.
|
|
12243
|
+
- "16k_zh_en": :中英大模型引擎.当前模型同时支持中文、英语识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升。
|
|
12211
12244
|
|
|
12212
12245
|
**高级语言引擎:**
|
|
12213
12246
|
- "zh-dialect": 中国方言
|
|
@@ -12390,6 +12423,8 @@ Hls 格式录制此参数不生效。
|
|
|
12390
12423
|
:type MediaId: int
|
|
12391
12424
|
:param _FillType: 上行视频停止时,录制的补帧类型,0:补最后一帧 1:补黑帧
|
|
12392
12425
|
:type FillType: int
|
|
12426
|
+
:param _SubscribeAbility: 控制录制任务是否订阅混流回推机器人,1是订阅,0是不订阅,默认是0。如果是混流录制任务,建议用订阅白名单控制订阅用户,防止同时订阅混流回推机器人和上行主播,以避免混音效果。
|
|
12427
|
+
:type SubscribeAbility: int
|
|
12393
12428
|
"""
|
|
12394
12429
|
self._RecordMode = None
|
|
12395
12430
|
self._MaxIdleTime = None
|
|
@@ -12400,6 +12435,7 @@ Hls 格式录制此参数不生效。
|
|
|
12400
12435
|
self._MaxMediaFileDuration = None
|
|
12401
12436
|
self._MediaId = None
|
|
12402
12437
|
self._FillType = None
|
|
12438
|
+
self._SubscribeAbility = None
|
|
12403
12439
|
|
|
12404
12440
|
@property
|
|
12405
12441
|
def RecordMode(self):
|
|
@@ -12508,6 +12544,17 @@ Hls 格式录制此参数不生效。
|
|
|
12508
12544
|
def FillType(self, FillType):
|
|
12509
12545
|
self._FillType = FillType
|
|
12510
12546
|
|
|
12547
|
+
@property
|
|
12548
|
+
def SubscribeAbility(self):
|
|
12549
|
+
r"""控制录制任务是否订阅混流回推机器人,1是订阅,0是不订阅,默认是0。如果是混流录制任务,建议用订阅白名单控制订阅用户,防止同时订阅混流回推机器人和上行主播,以避免混音效果。
|
|
12550
|
+
:rtype: int
|
|
12551
|
+
"""
|
|
12552
|
+
return self._SubscribeAbility
|
|
12553
|
+
|
|
12554
|
+
@SubscribeAbility.setter
|
|
12555
|
+
def SubscribeAbility(self, SubscribeAbility):
|
|
12556
|
+
self._SubscribeAbility = SubscribeAbility
|
|
12557
|
+
|
|
12511
12558
|
|
|
12512
12559
|
def _deserialize(self, params):
|
|
12513
12560
|
self._RecordMode = params.get("RecordMode")
|
|
@@ -12521,6 +12568,7 @@ Hls 格式录制此参数不生效。
|
|
|
12521
12568
|
self._MaxMediaFileDuration = params.get("MaxMediaFileDuration")
|
|
12522
12569
|
self._MediaId = params.get("MediaId")
|
|
12523
12570
|
self._FillType = params.get("FillType")
|
|
12571
|
+
self._SubscribeAbility = params.get("SubscribeAbility")
|
|
12524
12572
|
memeber_set = set(params.keys())
|
|
12525
12573
|
for name, value in vars(self).items():
|
|
12526
12574
|
property_name = name[1:]
|
|
@@ -13075,8 +13123,11 @@ class RowValues(AbstractModel):
|
|
|
13075
13123
|
:param _RowValue: 数据值
|
|
13076
13124
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13077
13125
|
:type RowValue: list of int
|
|
13126
|
+
:param _RowValueFloat: 数据值
|
|
13127
|
+
:type RowValueFloat: list of float
|
|
13078
13128
|
"""
|
|
13079
13129
|
self._RowValue = None
|
|
13130
|
+
self._RowValueFloat = None
|
|
13080
13131
|
|
|
13081
13132
|
@property
|
|
13082
13133
|
def RowValue(self):
|
|
@@ -13090,9 +13141,21 @@ class RowValues(AbstractModel):
|
|
|
13090
13141
|
def RowValue(self, RowValue):
|
|
13091
13142
|
self._RowValue = RowValue
|
|
13092
13143
|
|
|
13144
|
+
@property
|
|
13145
|
+
def RowValueFloat(self):
|
|
13146
|
+
r"""数据值
|
|
13147
|
+
:rtype: list of float
|
|
13148
|
+
"""
|
|
13149
|
+
return self._RowValueFloat
|
|
13150
|
+
|
|
13151
|
+
@RowValueFloat.setter
|
|
13152
|
+
def RowValueFloat(self, RowValueFloat):
|
|
13153
|
+
self._RowValueFloat = RowValueFloat
|
|
13154
|
+
|
|
13093
13155
|
|
|
13094
13156
|
def _deserialize(self, params):
|
|
13095
13157
|
self._RowValue = params.get("RowValue")
|
|
13158
|
+
self._RowValueFloat = params.get("RowValueFloat")
|
|
13096
13159
|
memeber_set = set(params.keys())
|
|
13097
13160
|
for name, value in vars(self).items():
|
|
13098
13161
|
property_name = name[1:]
|
|
@@ -14168,11 +14231,21 @@ class StartAIConversationRequest(AbstractModel):
|
|
|
14168
14231
|
:type RoomIdType: int
|
|
14169
14232
|
:param _STTConfig: 语音识别配置。
|
|
14170
14233
|
:type STTConfig: :class:`tencentcloud.trtc.v20190722.models.STTConfig`
|
|
14171
|
-
:param _LLMConfig: LLM配置。需符合openai规范,为JSON
|
|
14172
|
-
<pre> { <br>   "LLMType": "大模型类型", // String 必填,如:"openai" <br>   "Model": "您的模型名称", // String 必填,指定使用的模型<br> "APIKey": "您的LLM API密钥", // String 必填 <br>   "APIUrl": "https://api.xxx.com/chat/completions", // String 必填,LLM API访问的URL<br>   "History": 10, // Integer 选填,设置 LLM 的上下文轮次,默认值为0,最大值50<br>   "HistoryMode": 1, // Integer 选填,1表示LLM上下文中的内容会和播放音频做同步,没有播放的音频对应的文本不会出现在上下文中。0表示不会做同步,默认值为0<br>   "Streaming": true // Boolean 非必填,指定是否使用流式传输<br>  } </pre>
|
|
14173
|
-
|
|
14234
|
+
:param _LLMConfig: 必填参数,LLM配置。需符合openai规范,为JSON字符串,示例如下:<pre> { <br>   "LLMType": "大模型类型", // String 必填,如:"openai" <br>   "Model": "您的模型名称", // String 必填,指定使用的模型<br> "APIKey": "您的LLM API密钥", // String 必填 <br>   "APIUrl": "https://api.xxx.com/chat/completions", // String 必填,LLM API访问的URL<br>   "History": 10, // Integer 选填,设置 LLM 的上下文轮次,默认值为0,最大值50<br>   "HistoryMode": 1, // Integer 选填,1表示LLM上下文中的内容会和播放音频做同步,没有播放的音频对应的文本不会出现在上下文中。0表示不会做同步,默认值为0<br>   "Streaming": true // Boolean 非必填,指定是否使用流式传输<br>  } </pre>
|
|
14174
14235
|
:type LLMConfig: str
|
|
14175
|
-
:param _TTSConfig: TTS
|
|
14236
|
+
:param _TTSConfig: 必填参数,TTS配置,详见 [TTS配置说明](https://cloud.tencent.com/document/product/647/115414 ), 为JSON字符串: TRTC TTS的配置如下:
|
|
14237
|
+
|
|
14238
|
+
```
|
|
14239
|
+
{
|
|
14240
|
+
"TTSType": "flow", // 【必填】固定为此值
|
|
14241
|
+
"VoiceId": "v-female-R2s4N9qJ", // 【必填】精品音色 ID /克隆音色 ID, 可选择 不同音色, ID 库参考下方音色列表
|
|
14242
|
+
"Model": "flow_01_turbo", // 【必填】当前默认的 TTS 模型版本(对应 Flash 版本)
|
|
14243
|
+
"Speed": 1.0, //【可选】调节语速 范围 [0.5-2.0],默认 1.0; 取值越大,语速越快
|
|
14244
|
+
"Volume": 1.0, // 【可选】调节音量 [0, 10] 默认值 1.0; 取值越大,音量越高
|
|
14245
|
+
"Pitch": 0, // 【可选】调节语调 [-12,12],默认值为 0,其中 0 为原音色输出。
|
|
14246
|
+
"Language": "zh" //【可选】建议填写,目前支持填写中文:zh 英文:en 粤语方言:yue; 参数参考:(ISO 639-1)
|
|
14247
|
+
}
|
|
14248
|
+
```
|
|
14176
14249
|
:type TTSConfig: str
|
|
14177
14250
|
:param _AvatarConfig: 数字人配置,为JSON字符串。**数字人配置需要提工单加白后才能使用**
|
|
14178
14251
|
:type AvatarConfig: str
|
|
@@ -14258,9 +14331,7 @@ class StartAIConversationRequest(AbstractModel):
|
|
|
14258
14331
|
|
|
14259
14332
|
@property
|
|
14260
14333
|
def LLMConfig(self):
|
|
14261
|
-
r"""LLM配置。需符合openai规范,为JSON
|
|
14262
|
-
<pre> { <br>   "LLMType": "大模型类型", // String 必填,如:"openai" <br>   "Model": "您的模型名称", // String 必填,指定使用的模型<br> "APIKey": "您的LLM API密钥", // String 必填 <br>   "APIUrl": "https://api.xxx.com/chat/completions", // String 必填,LLM API访问的URL<br>   "History": 10, // Integer 选填,设置 LLM 的上下文轮次,默认值为0,最大值50<br>   "HistoryMode": 1, // Integer 选填,1表示LLM上下文中的内容会和播放音频做同步,没有播放的音频对应的文本不会出现在上下文中。0表示不会做同步,默认值为0<br>   "Streaming": true // Boolean 非必填,指定是否使用流式传输<br>  } </pre>
|
|
14263
|
-
|
|
14334
|
+
r"""必填参数,LLM配置。需符合openai规范,为JSON字符串,示例如下:<pre> { <br>   "LLMType": "大模型类型", // String 必填,如:"openai" <br>   "Model": "您的模型名称", // String 必填,指定使用的模型<br> "APIKey": "您的LLM API密钥", // String 必填 <br>   "APIUrl": "https://api.xxx.com/chat/completions", // String 必填,LLM API访问的URL<br>   "History": 10, // Integer 选填,设置 LLM 的上下文轮次,默认值为0,最大值50<br>   "HistoryMode": 1, // Integer 选填,1表示LLM上下文中的内容会和播放音频做同步,没有播放的音频对应的文本不会出现在上下文中。0表示不会做同步,默认值为0<br>   "Streaming": true // Boolean 非必填,指定是否使用流式传输<br>  } </pre>
|
|
14264
14335
|
:rtype: str
|
|
14265
14336
|
"""
|
|
14266
14337
|
return self._LLMConfig
|
|
@@ -14271,7 +14342,19 @@ class StartAIConversationRequest(AbstractModel):
|
|
|
14271
14342
|
|
|
14272
14343
|
@property
|
|
14273
14344
|
def TTSConfig(self):
|
|
14274
|
-
r"""TTS
|
|
14345
|
+
r"""必填参数,TTS配置,详见 [TTS配置说明](https://cloud.tencent.com/document/product/647/115414 ), 为JSON字符串: TRTC TTS的配置如下:
|
|
14346
|
+
|
|
14347
|
+
```
|
|
14348
|
+
{
|
|
14349
|
+
"TTSType": "flow", // 【必填】固定为此值
|
|
14350
|
+
"VoiceId": "v-female-R2s4N9qJ", // 【必填】精品音色 ID /克隆音色 ID, 可选择 不同音色, ID 库参考下方音色列表
|
|
14351
|
+
"Model": "flow_01_turbo", // 【必填】当前默认的 TTS 模型版本(对应 Flash 版本)
|
|
14352
|
+
"Speed": 1.0, //【可选】调节语速 范围 [0.5-2.0],默认 1.0; 取值越大,语速越快
|
|
14353
|
+
"Volume": 1.0, // 【可选】调节音量 [0, 10] 默认值 1.0; 取值越大,音量越高
|
|
14354
|
+
"Pitch": 0, // 【可选】调节语调 [-12,12],默认值为 0,其中 0 为原音色输出。
|
|
14355
|
+
"Language": "zh" //【可选】建议填写,目前支持填写中文:zh 英文:en 粤语方言:yue; 参数参考:(ISO 639-1)
|
|
14356
|
+
}
|
|
14357
|
+
```
|
|
14275
14358
|
:rtype: str
|
|
14276
14359
|
"""
|
|
14277
14360
|
return self._TTSConfig
|
|
@@ -15155,6 +15238,10 @@ class StartStreamIngestRequest(AbstractModel):
|
|
|
15155
15238
|
:type MaxDuration: int
|
|
15156
15239
|
:param _Volume: 音量,取值范围[0, 100],默认100,表示原音量。
|
|
15157
15240
|
:type Volume: int
|
|
15241
|
+
:param _EnableProgress: 开启播放进度回调, 默认false,当开启后,播放进度会通过trtc custom data 回调给播放端
|
|
15242
|
+
:type EnableProgress: bool
|
|
15243
|
+
:param _Tempo: 播放倍速,默认1.0,可取[0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0]
|
|
15244
|
+
:type Tempo: float
|
|
15158
15245
|
"""
|
|
15159
15246
|
self._SdkAppId = None
|
|
15160
15247
|
self._RoomId = None
|
|
@@ -15171,6 +15258,8 @@ class StartStreamIngestRequest(AbstractModel):
|
|
|
15171
15258
|
self._RepeatNum = None
|
|
15172
15259
|
self._MaxDuration = None
|
|
15173
15260
|
self._Volume = None
|
|
15261
|
+
self._EnableProgress = None
|
|
15262
|
+
self._Tempo = None
|
|
15174
15263
|
|
|
15175
15264
|
@property
|
|
15176
15265
|
def SdkAppId(self):
|
|
@@ -15355,6 +15444,28 @@ class StartStreamIngestRequest(AbstractModel):
|
|
|
15355
15444
|
def Volume(self, Volume):
|
|
15356
15445
|
self._Volume = Volume
|
|
15357
15446
|
|
|
15447
|
+
@property
|
|
15448
|
+
def EnableProgress(self):
|
|
15449
|
+
r"""开启播放进度回调, 默认false,当开启后,播放进度会通过trtc custom data 回调给播放端
|
|
15450
|
+
:rtype: bool
|
|
15451
|
+
"""
|
|
15452
|
+
return self._EnableProgress
|
|
15453
|
+
|
|
15454
|
+
@EnableProgress.setter
|
|
15455
|
+
def EnableProgress(self, EnableProgress):
|
|
15456
|
+
self._EnableProgress = EnableProgress
|
|
15457
|
+
|
|
15458
|
+
@property
|
|
15459
|
+
def Tempo(self):
|
|
15460
|
+
r"""播放倍速,默认1.0,可取[0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0]
|
|
15461
|
+
:rtype: float
|
|
15462
|
+
"""
|
|
15463
|
+
return self._Tempo
|
|
15464
|
+
|
|
15465
|
+
@Tempo.setter
|
|
15466
|
+
def Tempo(self, Tempo):
|
|
15467
|
+
self._Tempo = Tempo
|
|
15468
|
+
|
|
15358
15469
|
|
|
15359
15470
|
def _deserialize(self, params):
|
|
15360
15471
|
self._SdkAppId = params.get("SdkAppId")
|
|
@@ -15376,6 +15487,8 @@ class StartStreamIngestRequest(AbstractModel):
|
|
|
15376
15487
|
self._RepeatNum = params.get("RepeatNum")
|
|
15377
15488
|
self._MaxDuration = params.get("MaxDuration")
|
|
15378
15489
|
self._Volume = params.get("Volume")
|
|
15490
|
+
self._EnableProgress = params.get("EnableProgress")
|
|
15491
|
+
self._Tempo = params.get("Tempo")
|
|
15379
15492
|
memeber_set = set(params.keys())
|
|
15380
15493
|
for name, value in vars(self).items():
|
|
15381
15494
|
property_name = name[1:]
|
|
@@ -18140,12 +18253,18 @@ class UpdateStreamIngestRequest(AbstractModel):
|
|
|
18140
18253
|
:type Volume: int
|
|
18141
18254
|
:param _IsPause: 是否暂停,默认false表示不暂停。暂停期间任务仍在进行中仍会计费,暂停超过12小时会自动销毁任务, 建议主动调用停止任务接口。
|
|
18142
18255
|
:type IsPause: bool
|
|
18256
|
+
:param _EnableProgress: 是否开启播放进度回调, 默认false,当开启后,播放进度会通过trtc custom data 回调给播放端
|
|
18257
|
+
:type EnableProgress: bool
|
|
18258
|
+
:param _Tempo: 播放倍速,默认1.0,可取[0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0]
|
|
18259
|
+
:type Tempo: float
|
|
18143
18260
|
"""
|
|
18144
18261
|
self._SdkAppId = None
|
|
18145
18262
|
self._TaskId = None
|
|
18146
18263
|
self._StreamUrl = None
|
|
18147
18264
|
self._Volume = None
|
|
18148
18265
|
self._IsPause = None
|
|
18266
|
+
self._EnableProgress = None
|
|
18267
|
+
self._Tempo = None
|
|
18149
18268
|
|
|
18150
18269
|
@property
|
|
18151
18270
|
def SdkAppId(self):
|
|
@@ -18202,6 +18321,28 @@ class UpdateStreamIngestRequest(AbstractModel):
|
|
|
18202
18321
|
def IsPause(self, IsPause):
|
|
18203
18322
|
self._IsPause = IsPause
|
|
18204
18323
|
|
|
18324
|
+
@property
|
|
18325
|
+
def EnableProgress(self):
|
|
18326
|
+
r"""是否开启播放进度回调, 默认false,当开启后,播放进度会通过trtc custom data 回调给播放端
|
|
18327
|
+
:rtype: bool
|
|
18328
|
+
"""
|
|
18329
|
+
return self._EnableProgress
|
|
18330
|
+
|
|
18331
|
+
@EnableProgress.setter
|
|
18332
|
+
def EnableProgress(self, EnableProgress):
|
|
18333
|
+
self._EnableProgress = EnableProgress
|
|
18334
|
+
|
|
18335
|
+
@property
|
|
18336
|
+
def Tempo(self):
|
|
18337
|
+
r"""播放倍速,默认1.0,可取[0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0]
|
|
18338
|
+
:rtype: float
|
|
18339
|
+
"""
|
|
18340
|
+
return self._Tempo
|
|
18341
|
+
|
|
18342
|
+
@Tempo.setter
|
|
18343
|
+
def Tempo(self, Tempo):
|
|
18344
|
+
self._Tempo = Tempo
|
|
18345
|
+
|
|
18205
18346
|
|
|
18206
18347
|
def _deserialize(self, params):
|
|
18207
18348
|
self._SdkAppId = params.get("SdkAppId")
|
|
@@ -18209,6 +18350,8 @@ class UpdateStreamIngestRequest(AbstractModel):
|
|
|
18209
18350
|
self._StreamUrl = params.get("StreamUrl")
|
|
18210
18351
|
self._Volume = params.get("Volume")
|
|
18211
18352
|
self._IsPause = params.get("IsPause")
|
|
18353
|
+
self._EnableProgress = params.get("EnableProgress")
|
|
18354
|
+
self._Tempo = params.get("Tempo")
|
|
18212
18355
|
memeber_set = set(params.keys())
|
|
18213
18356
|
for name, value in vars(self).items():
|
|
18214
18357
|
property_name = name[1:]
|
|
@@ -18960,7 +19103,7 @@ class VoiceCloneRequest(AbstractModel):
|
|
|
18960
19103
|
:type SdkAppId: int
|
|
18961
19104
|
:param _VoiceName: 声音克隆的名称, 只允许使用数字、字母、下划线,不能超过36位
|
|
18962
19105
|
:type VoiceName: str
|
|
18963
|
-
:param _PromptAudio: 声音克隆的参考音频,必须为16k单声道的wav的base64字符串, 长度在
|
|
19106
|
+
:param _PromptAudio: 声音克隆的参考音频,必须为16k单声道的wav的base64字符串, 长度在10秒~180秒之间
|
|
18964
19107
|
:type PromptAudio: str
|
|
18965
19108
|
:param _APIKey: TTS的API密钥
|
|
18966
19109
|
:type APIKey: str
|
|
@@ -19003,7 +19146,7 @@ class VoiceCloneRequest(AbstractModel):
|
|
|
19003
19146
|
|
|
19004
19147
|
@property
|
|
19005
19148
|
def PromptAudio(self):
|
|
19006
|
-
r"""声音克隆的参考音频,必须为16k单声道的wav的base64字符串, 长度在
|
|
19149
|
+
r"""声音克隆的参考音频,必须为16k单声道的wav的base64字符串, 长度在10秒~180秒之间
|
|
19007
19150
|
:rtype: str
|
|
19008
19151
|
"""
|
|
19009
19152
|
return self._PromptAudio
|