tencentcloud-sdk-python 3.0.1362__py2.py3-none-any.whl → 3.0.1363__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/batch/v20170312/models.py +12 -18
- tencentcloud/ccc/v20200210/ccc_client.py +23 -0
- tencentcloud/ccc/v20200210/errorcodes.py +3 -0
- tencentcloud/ccc/v20200210/models.py +91 -4
- tencentcloud/cdwch/v20200915/models.py +0 -12
- tencentcloud/cfw/v20190904/models.py +115 -12
- tencentcloud/chc/v20230418/models.py +15 -0
- tencentcloud/cme/v20191029/errorcodes.py +3 -0
- tencentcloud/common/abstract_client.py +29 -24
- tencentcloud/common/abstract_model.py +5 -1
- tencentcloud/common/common_client.py +14 -15
- tencentcloud/common/credential.py +68 -65
- tencentcloud/common/exception/tencent_cloud_sdk_exception.py +1 -1
- tencentcloud/common/profile/client_profile.py +32 -30
- tencentcloud/common/profile/http_profile.py +20 -12
- tencentcloud/common/retry.py +18 -0
- tencentcloud/cvm/v20170312/cvm_client.py +7 -1
- tencentcloud/cvm/v20170312/models.py +88 -68
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +69 -0
- tencentcloud/cynosdb/v20190107/models.py +318 -0
- tencentcloud/dc/v20180410/models.py +2 -2
- tencentcloud/dlc/v20210125/models.py +0 -16
- tencentcloud/dts/v20211206/models.py +10 -6
- tencentcloud/es/v20250101/models.py +2 -6
- tencentcloud/ess/v20201111/models.py +15 -0
- tencentcloud/lcic/v20220817/models.py +30 -0
- tencentcloud/lkeap/v20240522/models.py +2 -2
- tencentcloud/monitor/v20180724/models.py +169 -0
- tencentcloud/monitor/v20180724/monitor_client.py +23 -0
- tencentcloud/mps/v20190612/models.py +20 -20
- tencentcloud/tcbr/v20220217/models.py +30 -0
- tencentcloud/tts/v20190823/models.py +15 -15
- tencentcloud/tts/v20190823/tts_client.py +4 -3
- tencentcloud/vpc/v20170312/vpc_client.py +1 -1
- tencentcloud/vrs/v20200824/models.py +17 -0
- tencentcloud/waf/v20180125/errorcodes.py +9 -0
- tencentcloud/waf/v20180125/models.py +3041 -114
- tencentcloud/waf/v20180125/waf_client.py +138 -0
- tencentcloud/wedata/v20210820/models.py +55 -0
- {tencentcloud_sdk_python-3.0.1362.dist-info → tencentcloud_sdk_python-3.0.1363.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1362.dist-info → tencentcloud_sdk_python-3.0.1363.dist-info}/RECORD +45 -45
- {tencentcloud_sdk_python-3.0.1362.dist-info → tencentcloud_sdk_python-3.0.1363.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1362.dist-info → tencentcloud_sdk_python-3.0.1363.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1362.dist-info → tencentcloud_sdk_python-3.0.1363.dist-info}/top_level.txt +0 -0
@@ -1277,7 +1277,7 @@ class CreateSplitDocumentFlowRequest(AbstractModel):
|
|
1277
1277
|
- `PDF`、`DOC`、`DOCX`、`XLS`、`XLSX`、`PPT`、`PPTX`、`MD`、`TXT`、`PNG`、`JPG`、`JPEG`、`CSV`、`HTML`、`EPUB`
|
1278
1278
|
|
1279
1279
|
**支持的文件大小:**
|
1280
|
-
- `PDF` 最大
|
1280
|
+
- `PDF` 最大300M
|
1281
1281
|
- `DOCX`、`DOC`、`PPT`、`PPTX` 最大 200M
|
1282
1282
|
- `TXT`、`MD` 最大10M
|
1283
1283
|
- 其他 最大20M
|
@@ -1321,7 +1321,7 @@ class CreateSplitDocumentFlowRequest(AbstractModel):
|
|
1321
1321
|
- `PDF`、`DOC`、`DOCX`、`XLS`、`XLSX`、`PPT`、`PPTX`、`MD`、`TXT`、`PNG`、`JPG`、`JPEG`、`CSV`、`HTML`、`EPUB`
|
1322
1322
|
|
1323
1323
|
**支持的文件大小:**
|
1324
|
-
- `PDF` 最大
|
1324
|
+
- `PDF` 最大300M
|
1325
1325
|
- `DOCX`、`DOC`、`PPT`、`PPTX` 最大 200M
|
1326
1326
|
- `TXT`、`MD` 最大10M
|
1327
1327
|
- 其他 最大20M
|
@@ -18767,6 +18767,124 @@ class DescribePolicyGroupListResponse(AbstractModel):
|
|
18767
18767
|
self._RequestId = params.get("RequestId")
|
18768
18768
|
|
18769
18769
|
|
18770
|
+
class DescribePolicyObjectCountRequest(AbstractModel):
|
18771
|
+
"""DescribePolicyObjectCount请求参数结构体
|
18772
|
+
|
18773
|
+
"""
|
18774
|
+
|
18775
|
+
def __init__(self):
|
18776
|
+
r"""
|
18777
|
+
:param _Module: 固定值,为"monitor"
|
18778
|
+
:type Module: str
|
18779
|
+
:param _GroupId: 策略组Id
|
18780
|
+
:type GroupId: int
|
18781
|
+
"""
|
18782
|
+
self._Module = None
|
18783
|
+
self._GroupId = None
|
18784
|
+
|
18785
|
+
@property
|
18786
|
+
def Module(self):
|
18787
|
+
"""固定值,为"monitor"
|
18788
|
+
:rtype: str
|
18789
|
+
"""
|
18790
|
+
return self._Module
|
18791
|
+
|
18792
|
+
@Module.setter
|
18793
|
+
def Module(self, Module):
|
18794
|
+
self._Module = Module
|
18795
|
+
|
18796
|
+
@property
|
18797
|
+
def GroupId(self):
|
18798
|
+
"""策略组Id
|
18799
|
+
:rtype: int
|
18800
|
+
"""
|
18801
|
+
return self._GroupId
|
18802
|
+
|
18803
|
+
@GroupId.setter
|
18804
|
+
def GroupId(self, GroupId):
|
18805
|
+
self._GroupId = GroupId
|
18806
|
+
|
18807
|
+
|
18808
|
+
def _deserialize(self, params):
|
18809
|
+
self._Module = params.get("Module")
|
18810
|
+
self._GroupId = params.get("GroupId")
|
18811
|
+
memeber_set = set(params.keys())
|
18812
|
+
for name, value in vars(self).items():
|
18813
|
+
property_name = name[1:]
|
18814
|
+
if property_name in memeber_set:
|
18815
|
+
memeber_set.remove(property_name)
|
18816
|
+
if len(memeber_set) > 0:
|
18817
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
18818
|
+
|
18819
|
+
|
18820
|
+
|
18821
|
+
class DescribePolicyObjectCountResponse(AbstractModel):
|
18822
|
+
"""DescribePolicyObjectCount返回参数结构体
|
18823
|
+
|
18824
|
+
"""
|
18825
|
+
|
18826
|
+
def __init__(self):
|
18827
|
+
r"""
|
18828
|
+
:param _IsMultiRegion: 是否为多地域
|
18829
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
18830
|
+
:type IsMultiRegion: bool
|
18831
|
+
:param _RegionList: 地域统计列表
|
18832
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
18833
|
+
:type RegionList: list of RegionPolicyObjectCount
|
18834
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
18835
|
+
:type RequestId: str
|
18836
|
+
"""
|
18837
|
+
self._IsMultiRegion = None
|
18838
|
+
self._RegionList = None
|
18839
|
+
self._RequestId = None
|
18840
|
+
|
18841
|
+
@property
|
18842
|
+
def IsMultiRegion(self):
|
18843
|
+
"""是否为多地域
|
18844
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
18845
|
+
:rtype: bool
|
18846
|
+
"""
|
18847
|
+
return self._IsMultiRegion
|
18848
|
+
|
18849
|
+
@IsMultiRegion.setter
|
18850
|
+
def IsMultiRegion(self, IsMultiRegion):
|
18851
|
+
self._IsMultiRegion = IsMultiRegion
|
18852
|
+
|
18853
|
+
@property
|
18854
|
+
def RegionList(self):
|
18855
|
+
"""地域统计列表
|
18856
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
18857
|
+
:rtype: list of RegionPolicyObjectCount
|
18858
|
+
"""
|
18859
|
+
return self._RegionList
|
18860
|
+
|
18861
|
+
@RegionList.setter
|
18862
|
+
def RegionList(self, RegionList):
|
18863
|
+
self._RegionList = RegionList
|
18864
|
+
|
18865
|
+
@property
|
18866
|
+
def RequestId(self):
|
18867
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
18868
|
+
:rtype: str
|
18869
|
+
"""
|
18870
|
+
return self._RequestId
|
18871
|
+
|
18872
|
+
@RequestId.setter
|
18873
|
+
def RequestId(self, RequestId):
|
18874
|
+
self._RequestId = RequestId
|
18875
|
+
|
18876
|
+
|
18877
|
+
def _deserialize(self, params):
|
18878
|
+
self._IsMultiRegion = params.get("IsMultiRegion")
|
18879
|
+
if params.get("RegionList") is not None:
|
18880
|
+
self._RegionList = []
|
18881
|
+
for item in params.get("RegionList"):
|
18882
|
+
obj = RegionPolicyObjectCount()
|
18883
|
+
obj._deserialize(item)
|
18884
|
+
self._RegionList.append(obj)
|
18885
|
+
self._RequestId = params.get("RequestId")
|
18886
|
+
|
18887
|
+
|
18770
18888
|
class DescribeProductEventListDimensions(AbstractModel):
|
18771
18889
|
"""DescribeProductEventList的入参Dimensions
|
18772
18890
|
|
@@ -36253,6 +36371,57 @@ class RecordingRuleSet(AbstractModel):
|
|
36253
36371
|
|
36254
36372
|
|
36255
36373
|
|
36374
|
+
class RegionPolicyObjectCount(AbstractModel):
|
36375
|
+
"""DescribePolicyObjectCount接口返回的地域统计
|
36376
|
+
|
36377
|
+
"""
|
36378
|
+
|
36379
|
+
def __init__(self):
|
36380
|
+
r"""
|
36381
|
+
:param _Region: 地域
|
36382
|
+
:type Region: str
|
36383
|
+
:param _Count: 绑定的实例数量
|
36384
|
+
:type Count: int
|
36385
|
+
"""
|
36386
|
+
self._Region = None
|
36387
|
+
self._Count = None
|
36388
|
+
|
36389
|
+
@property
|
36390
|
+
def Region(self):
|
36391
|
+
"""地域
|
36392
|
+
:rtype: str
|
36393
|
+
"""
|
36394
|
+
return self._Region
|
36395
|
+
|
36396
|
+
@Region.setter
|
36397
|
+
def Region(self, Region):
|
36398
|
+
self._Region = Region
|
36399
|
+
|
36400
|
+
@property
|
36401
|
+
def Count(self):
|
36402
|
+
"""绑定的实例数量
|
36403
|
+
:rtype: int
|
36404
|
+
"""
|
36405
|
+
return self._Count
|
36406
|
+
|
36407
|
+
@Count.setter
|
36408
|
+
def Count(self, Count):
|
36409
|
+
self._Count = Count
|
36410
|
+
|
36411
|
+
|
36412
|
+
def _deserialize(self, params):
|
36413
|
+
self._Region = params.get("Region")
|
36414
|
+
self._Count = params.get("Count")
|
36415
|
+
memeber_set = set(params.keys())
|
36416
|
+
for name, value in vars(self).items():
|
36417
|
+
property_name = name[1:]
|
36418
|
+
if property_name in memeber_set:
|
36419
|
+
memeber_set.remove(property_name)
|
36420
|
+
if len(memeber_set) > 0:
|
36421
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
36422
|
+
|
36423
|
+
|
36424
|
+
|
36256
36425
|
class RemoteWrite(AbstractModel):
|
36257
36426
|
"""多写配置
|
36258
36427
|
|
@@ -1877,6 +1877,29 @@ class MonitorClient(AbstractClient):
|
|
1877
1877
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1878
1878
|
|
1879
1879
|
|
1880
|
+
def DescribePolicyObjectCount(self, request):
|
1881
|
+
"""查询策略组在每个地域下面绑定的对象数统计
|
1882
|
+
|
1883
|
+
:param request: Request instance for DescribePolicyObjectCount.
|
1884
|
+
:type request: :class:`tencentcloud.monitor.v20180724.models.DescribePolicyObjectCountRequest`
|
1885
|
+
:rtype: :class:`tencentcloud.monitor.v20180724.models.DescribePolicyObjectCountResponse`
|
1886
|
+
|
1887
|
+
"""
|
1888
|
+
try:
|
1889
|
+
params = request._serialize()
|
1890
|
+
headers = request.headers
|
1891
|
+
body = self.call("DescribePolicyObjectCount", params, headers=headers)
|
1892
|
+
response = json.loads(body)
|
1893
|
+
model = models.DescribePolicyObjectCountResponse()
|
1894
|
+
model._deserialize(response["Response"])
|
1895
|
+
return model
|
1896
|
+
except Exception as e:
|
1897
|
+
if isinstance(e, TencentCloudSDKException):
|
1898
|
+
raise
|
1899
|
+
else:
|
1900
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1901
|
+
|
1902
|
+
|
1880
1903
|
def DescribeProductEventList(self, request):
|
1881
1904
|
"""分页获取产品事件的列表
|
1882
1905
|
|
@@ -3702,10 +3702,10 @@ class AiAnalysisTaskInput(AbstractModel):
|
|
3702
3702
|
:type Definition: int
|
3703
3703
|
:param _ExtendedParameter: 扩展参数,其值为序列化的 json字符串。
|
3704
3704
|
注意:此参数为定制需求参数,参考如下:
|
3705
|
-
|
3706
|
-
|
3707
|
-
|
3708
|
-
|
3705
|
+
[智能檫除](https://cloud.tencent.com/document/product/862/101530)
|
3706
|
+
[智能拆条](https://cloud.tencent.com/document/product/862/112098)
|
3707
|
+
[高光集锦](https://cloud.tencent.com/document/product/862/107280)
|
3708
|
+
[智能横转竖](https://cloud.tencent.com/document/product/862/112112)
|
3709
3709
|
注意:此字段可能返回 null,表示取不到有效值。
|
3710
3710
|
:type ExtendedParameter: str
|
3711
3711
|
"""
|
@@ -3727,10 +3727,10 @@ class AiAnalysisTaskInput(AbstractModel):
|
|
3727
3727
|
def ExtendedParameter(self):
|
3728
3728
|
"""扩展参数,其值为序列化的 json字符串。
|
3729
3729
|
注意:此参数为定制需求参数,参考如下:
|
3730
|
-
|
3731
|
-
|
3732
|
-
|
3733
|
-
|
3730
|
+
[智能檫除](https://cloud.tencent.com/document/product/862/101530)
|
3731
|
+
[智能拆条](https://cloud.tencent.com/document/product/862/112098)
|
3732
|
+
[高光集锦](https://cloud.tencent.com/document/product/862/107280)
|
3733
|
+
[智能横转竖](https://cloud.tencent.com/document/product/862/112112)
|
3734
3734
|
注意:此字段可能返回 null,表示取不到有效值。
|
3735
3735
|
:rtype: str
|
3736
3736
|
"""
|
@@ -13429,7 +13429,7 @@ class ComposeMediaTrack(AbstractModel):
|
|
13429
13429
|
|
13430
13430
|
def __init__(self):
|
13431
13431
|
r"""
|
13432
|
-
:param _Type: 轨道类型,取值有:<ul><li>Video :视频轨道。视频轨道可由以下元素组成:</li><ul><li>Video 元素</li><li>Image 元素</li><li>Transition 元素</li><li>Empty 元素</li></ul><li>Audio :音频轨道。音频轨道可由以下元素组成:</li><ul><li>Audio 元素</li><li>Transition 元素</li><li>Empty 元素</li></ul><li>Title:文字轨道。文字轨道可由以下元素组成:</li><ul><li>Subtitle 元素</li></ul>
|
13432
|
+
:param _Type: 轨道类型,取值有:<ul><li>Video :视频轨道。视频轨道可由以下元素组成:</li><ul><li>Video 元素</li><li>Image 元素</li><li>Transition 元素</li><li>Empty 元素</li></ul><li>Audio :音频轨道。音频轨道可由以下元素组成:</li><ul><li>Audio 元素</li><li>Transition 元素</li><li>Empty 元素</li></ul><li>Title:文字轨道。文字轨道可由以下元素组成:</li><ul><li>Subtitle 元素</li></ul></ul>
|
13433
13433
|
:type Type: str
|
13434
13434
|
:param _Items: 轨道上的元素列表。
|
13435
13435
|
:type Items: list of ComposeMediaItem
|
@@ -13439,7 +13439,7 @@ class ComposeMediaTrack(AbstractModel):
|
|
13439
13439
|
|
13440
13440
|
@property
|
13441
13441
|
def Type(self):
|
13442
|
-
"""轨道类型,取值有:<ul><li>Video :视频轨道。视频轨道可由以下元素组成:</li><ul><li>Video 元素</li><li>Image 元素</li><li>Transition 元素</li><li>Empty 元素</li></ul><li>Audio :音频轨道。音频轨道可由以下元素组成:</li><ul><li>Audio 元素</li><li>Transition 元素</li><li>Empty 元素</li></ul><li>Title:文字轨道。文字轨道可由以下元素组成:</li><ul><li>Subtitle 元素</li></ul>
|
13442
|
+
"""轨道类型,取值有:<ul><li>Video :视频轨道。视频轨道可由以下元素组成:</li><ul><li>Video 元素</li><li>Image 元素</li><li>Transition 元素</li><li>Empty 元素</li></ul><li>Audio :音频轨道。音频轨道可由以下元素组成:</li><ul><li>Audio 元素</li><li>Transition 元素</li><li>Empty 元素</li></ul><li>Title:文字轨道。文字轨道可由以下元素组成:</li><ul><li>Subtitle 元素</li></ul></ul>
|
13443
13443
|
:rtype: str
|
13444
13444
|
"""
|
13445
13445
|
return self._Type
|
@@ -17206,11 +17206,11 @@ class CreateInputSRTSettings(AbstractModel):
|
|
17206
17206
|
:type Mode: str
|
17207
17207
|
:param _StreamId: 流Id,可选大小写字母、数字和特殊字符(.#!:&,=_-),长度为0~512。具体格式可以参考:https://github.com/Haivision/srt/blob/master/docs/features/access-control.md#standard-keys。
|
17208
17208
|
:type StreamId: str
|
17209
|
-
:param _Latency: 延迟,默认
|
17209
|
+
:param _Latency: 延迟,默认120,单位ms,范围为[0, 3000]。
|
17210
17210
|
:type Latency: int
|
17211
17211
|
:param _RecvLatency: 接收延迟,默认120,单位ms,范围为[0, 3000]。
|
17212
17212
|
:type RecvLatency: int
|
17213
|
-
:param _PeerLatency: 对端延迟,默认
|
17213
|
+
:param _PeerLatency: 对端延迟,默认120,单位ms,范围为[0, 3000]。
|
17214
17214
|
:type PeerLatency: int
|
17215
17215
|
:param _PeerIdleTimeout: 对端超时时间,默认5000,单位ms,范围为[1000, 10000]。
|
17216
17216
|
:type PeerIdleTimeout: int
|
@@ -17255,7 +17255,7 @@ class CreateInputSRTSettings(AbstractModel):
|
|
17255
17255
|
|
17256
17256
|
@property
|
17257
17257
|
def Latency(self):
|
17258
|
-
"""延迟,默认
|
17258
|
+
"""延迟,默认120,单位ms,范围为[0, 3000]。
|
17259
17259
|
:rtype: int
|
17260
17260
|
"""
|
17261
17261
|
return self._Latency
|
@@ -17277,7 +17277,7 @@ class CreateInputSRTSettings(AbstractModel):
|
|
17277
17277
|
|
17278
17278
|
@property
|
17279
17279
|
def PeerLatency(self):
|
17280
|
-
"""对端延迟,默认
|
17280
|
+
"""对端延迟,默认120,单位ms,范围为[0, 3000]。
|
17281
17281
|
:rtype: int
|
17282
17282
|
"""
|
17283
17283
|
return self._PeerLatency
|
@@ -18031,11 +18031,11 @@ class CreateOutputSRTSettings(AbstractModel):
|
|
18031
18031
|
:type Destinations: list of CreateOutputSRTSettingsDestinations
|
18032
18032
|
:param _StreamId: 转推SRT的流Id,可选大小写字母、数字和特殊字符(.#!:&,=_-),长度为0~512。
|
18033
18033
|
:type StreamId: str
|
18034
|
-
:param _Latency: 转推SRT
|
18034
|
+
:param _Latency: 转推SRT的延迟,默认120,单位ms,范围为[0, 3000]。此参数同时设置了发送方和接收方的延迟(recvlatency和peerlatency)为相同的值。建议配置为至少3倍RTT,以确保在网络拥塞时能够有效处理数据包的重传和确认
|
18035
18035
|
:type Latency: int
|
18036
18036
|
:param _RecvLatency: 转推SRT的接收延迟,默认120,单位ms,范围为[0, 3000]。 此参数表示接收方用于缓存数据包的时间长度
|
18037
18037
|
:type RecvLatency: int
|
18038
|
-
:param _PeerLatency: 转推SRT的对端延迟,默认
|
18038
|
+
:param _PeerLatency: 转推SRT的对端延迟,默认120,单位ms,范围为[0, 3000]。 此参数由发送方设置,用于告知接收方其期望的延迟缓冲时间
|
18039
18039
|
:type PeerLatency: int
|
18040
18040
|
:param _PeerIdleTimeout: 转推SRT的对端空闲超时时间,默认5000,单位ms,范围为[1000, 10000]。 如果连接在设定的超时时间内没有活动,将会被关闭
|
18041
18041
|
:type PeerIdleTimeout: int
|
@@ -18080,7 +18080,7 @@ class CreateOutputSRTSettings(AbstractModel):
|
|
18080
18080
|
|
18081
18081
|
@property
|
18082
18082
|
def Latency(self):
|
18083
|
-
"""转推SRT
|
18083
|
+
"""转推SRT的延迟,默认120,单位ms,范围为[0, 3000]。此参数同时设置了发送方和接收方的延迟(recvlatency和peerlatency)为相同的值。建议配置为至少3倍RTT,以确保在网络拥塞时能够有效处理数据包的重传和确认
|
18084
18084
|
:rtype: int
|
18085
18085
|
"""
|
18086
18086
|
return self._Latency
|
@@ -18102,7 +18102,7 @@ class CreateOutputSRTSettings(AbstractModel):
|
|
18102
18102
|
|
18103
18103
|
@property
|
18104
18104
|
def PeerLatency(self):
|
18105
|
-
"""转推SRT的对端延迟,默认
|
18105
|
+
"""转推SRT的对端延迟,默认120,单位ms,范围为[0, 3000]。 此参数由发送方设置,用于告知接收方其期望的延迟缓冲时间
|
18106
18106
|
:rtype: int
|
18107
18107
|
"""
|
18108
18108
|
return self._PeerLatency
|
@@ -44255,7 +44255,7 @@ class ModifyInput(AbstractModel):
|
|
44255
44255
|
:type SRTSettings: :class:`tencentcloud.mps.v20190612.models.CreateInputSRTSettings`
|
44256
44256
|
:param _RTPSettings: RTP的配置信息。
|
44257
44257
|
:type RTPSettings: :class:`tencentcloud.mps.v20190612.models.CreateInputRTPSettings`
|
44258
|
-
:param _Protocol: 输入的协议,可选[SRT|RTP|
|
44258
|
+
:param _Protocol: 输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST]。 -
|
44259
44259
|
:type Protocol: str
|
44260
44260
|
:param _FailOver: 输入的主备开关,可选[OPEN|CLOSE]。
|
44261
44261
|
:type FailOver: str
|
@@ -44361,7 +44361,7 @@ class ModifyInput(AbstractModel):
|
|
44361
44361
|
|
44362
44362
|
@property
|
44363
44363
|
def Protocol(self):
|
44364
|
-
"""输入的协议,可选[SRT|RTP|
|
44364
|
+
"""输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST]。 -
|
44365
44365
|
:rtype: str
|
44366
44366
|
"""
|
44367
44367
|
return self._Protocol
|
@@ -2682,6 +2682,8 @@ class ServerBaseConfig(AbstractModel):
|
|
2682
2682
|
:type Tag: str
|
2683
2683
|
:param _InternalAccess: 内网访问开关 close | open
|
2684
2684
|
:type InternalAccess: str
|
2685
|
+
:param _InternalDomain: 内网域名
|
2686
|
+
:type InternalDomain: str
|
2685
2687
|
"""
|
2686
2688
|
self._EnvId = None
|
2687
2689
|
self._ServerName = None
|
@@ -2705,6 +2707,7 @@ class ServerBaseConfig(AbstractModel):
|
|
2705
2707
|
self._LogParseType = None
|
2706
2708
|
self._Tag = None
|
2707
2709
|
self._InternalAccess = None
|
2710
|
+
self._InternalDomain = None
|
2708
2711
|
|
2709
2712
|
@property
|
2710
2713
|
def EnvId(self):
|
@@ -2948,6 +2951,17 @@ class ServerBaseConfig(AbstractModel):
|
|
2948
2951
|
def InternalAccess(self, InternalAccess):
|
2949
2952
|
self._InternalAccess = InternalAccess
|
2950
2953
|
|
2954
|
+
@property
|
2955
|
+
def InternalDomain(self):
|
2956
|
+
"""内网域名
|
2957
|
+
:rtype: str
|
2958
|
+
"""
|
2959
|
+
return self._InternalDomain
|
2960
|
+
|
2961
|
+
@InternalDomain.setter
|
2962
|
+
def InternalDomain(self, InternalDomain):
|
2963
|
+
self._InternalDomain = InternalDomain
|
2964
|
+
|
2951
2965
|
|
2952
2966
|
def _deserialize(self, params):
|
2953
2967
|
self._EnvId = params.get("EnvId")
|
@@ -2977,6 +2991,7 @@ class ServerBaseConfig(AbstractModel):
|
|
2977
2991
|
self._LogParseType = params.get("LogParseType")
|
2978
2992
|
self._Tag = params.get("Tag")
|
2979
2993
|
self._InternalAccess = params.get("InternalAccess")
|
2994
|
+
self._InternalDomain = params.get("InternalDomain")
|
2980
2995
|
memeber_set = set(params.keys())
|
2981
2996
|
for name, value in vars(self).items():
|
2982
2997
|
property_name = name[1:]
|
@@ -3010,6 +3025,8 @@ class ServerBaseInfo(AbstractModel):
|
|
3010
3025
|
:type CustomDomainNames: list of str
|
3011
3026
|
:param _ServerType: 服务类型: function 云函数2.0;container 容器服务
|
3012
3027
|
:type ServerType: str
|
3028
|
+
:param _TrafficType: 流量类型,目前只有 FLOW
|
3029
|
+
:type TrafficType: str
|
3013
3030
|
"""
|
3014
3031
|
self._ServerName = None
|
3015
3032
|
self._DefaultDomainName = None
|
@@ -3019,6 +3036,7 @@ class ServerBaseInfo(AbstractModel):
|
|
3019
3036
|
self._AccessTypes = None
|
3020
3037
|
self._CustomDomainNames = None
|
3021
3038
|
self._ServerType = None
|
3039
|
+
self._TrafficType = None
|
3022
3040
|
|
3023
3041
|
@property
|
3024
3042
|
def ServerName(self):
|
@@ -3108,6 +3126,17 @@ class ServerBaseInfo(AbstractModel):
|
|
3108
3126
|
def ServerType(self, ServerType):
|
3109
3127
|
self._ServerType = ServerType
|
3110
3128
|
|
3129
|
+
@property
|
3130
|
+
def TrafficType(self):
|
3131
|
+
"""流量类型,目前只有 FLOW
|
3132
|
+
:rtype: str
|
3133
|
+
"""
|
3134
|
+
return self._TrafficType
|
3135
|
+
|
3136
|
+
@TrafficType.setter
|
3137
|
+
def TrafficType(self, TrafficType):
|
3138
|
+
self._TrafficType = TrafficType
|
3139
|
+
|
3111
3140
|
|
3112
3141
|
def _deserialize(self, params):
|
3113
3142
|
self._ServerName = params.get("ServerName")
|
@@ -3118,6 +3147,7 @@ class ServerBaseInfo(AbstractModel):
|
|
3118
3147
|
self._AccessTypes = params.get("AccessTypes")
|
3119
3148
|
self._CustomDomainNames = params.get("CustomDomainNames")
|
3120
3149
|
self._ServerType = params.get("ServerType")
|
3150
|
+
self._TrafficType = params.get("TrafficType")
|
3121
3151
|
memeber_set = set(params.keys())
|
3122
3152
|
for name, value in vars(self).items():
|
3123
3153
|
property_name = name[1:]
|
@@ -663,6 +663,8 @@ class TextToVoiceRequest(AbstractModel):
|
|
663
663
|
:param _VoiceType: 音色 ID,包括标准音色与精品音色,精品音色拟真度更高,价格不同于标准音色,请参见[购买指南](https://cloud.tencent.com/document/product/1073/34112)。完整的音色 ID 列表请参见[音色列表](https://cloud.tencent.com/document/product/1073/92668)。
|
664
664
|
若使用一句话版声音复刻,请填入固定值“200000000”
|
665
665
|
:type VoiceType: int
|
666
|
+
:param _FastVoiceType: 一句话版声音复刻音色ID,使用一句话版声音复刻音色时需填写。【已废弃】
|
667
|
+
:type FastVoiceType: str
|
666
668
|
:param _PrimaryLanguage: 主语言类型:<li>1-中文(默认)</li><li>2-英文</li><li>3-日文</li>
|
667
669
|
:type PrimaryLanguage: int
|
668
670
|
:param _SampleRate: 音频采样率:
|
@@ -681,8 +683,6 @@ class TextToVoiceRequest(AbstractModel):
|
|
681
683
|
:type EmotionCategory: str
|
682
684
|
:param _EmotionIntensity: 控制合成音频情感程度,取值范围为[50,200],默认为100;只有EmotionCategory不为空时生效;
|
683
685
|
:type EmotionIntensity: int
|
684
|
-
:param _FastVoiceType: 一句话版声音复刻音色ID,使用一句话版声音复刻音色时需填写。【已废弃】
|
685
|
-
:type FastVoiceType: str
|
686
686
|
"""
|
687
687
|
self._Text = None
|
688
688
|
self._SessionId = None
|
@@ -691,6 +691,7 @@ class TextToVoiceRequest(AbstractModel):
|
|
691
691
|
self._ProjectId = None
|
692
692
|
self._ModelType = None
|
693
693
|
self._VoiceType = None
|
694
|
+
self._FastVoiceType = None
|
694
695
|
self._PrimaryLanguage = None
|
695
696
|
self._SampleRate = None
|
696
697
|
self._Codec = None
|
@@ -698,7 +699,6 @@ class TextToVoiceRequest(AbstractModel):
|
|
698
699
|
self._SegmentRate = None
|
699
700
|
self._EmotionCategory = None
|
700
701
|
self._EmotionIntensity = None
|
701
|
-
self._FastVoiceType = None
|
702
702
|
|
703
703
|
@property
|
704
704
|
def Text(self):
|
@@ -779,6 +779,17 @@ class TextToVoiceRequest(AbstractModel):
|
|
779
779
|
def VoiceType(self, VoiceType):
|
780
780
|
self._VoiceType = VoiceType
|
781
781
|
|
782
|
+
@property
|
783
|
+
def FastVoiceType(self):
|
784
|
+
"""一句话版声音复刻音色ID,使用一句话版声音复刻音色时需填写。【已废弃】
|
785
|
+
:rtype: str
|
786
|
+
"""
|
787
|
+
return self._FastVoiceType
|
788
|
+
|
789
|
+
@FastVoiceType.setter
|
790
|
+
def FastVoiceType(self, FastVoiceType):
|
791
|
+
self._FastVoiceType = FastVoiceType
|
792
|
+
|
782
793
|
@property
|
783
794
|
def PrimaryLanguage(self):
|
784
795
|
"""主语言类型:<li>1-中文(默认)</li><li>2-英文</li><li>3-日文</li>
|
@@ -860,17 +871,6 @@ class TextToVoiceRequest(AbstractModel):
|
|
860
871
|
def EmotionIntensity(self, EmotionIntensity):
|
861
872
|
self._EmotionIntensity = EmotionIntensity
|
862
873
|
|
863
|
-
@property
|
864
|
-
def FastVoiceType(self):
|
865
|
-
"""一句话版声音复刻音色ID,使用一句话版声音复刻音色时需填写。【已废弃】
|
866
|
-
:rtype: str
|
867
|
-
"""
|
868
|
-
return self._FastVoiceType
|
869
|
-
|
870
|
-
@FastVoiceType.setter
|
871
|
-
def FastVoiceType(self, FastVoiceType):
|
872
|
-
self._FastVoiceType = FastVoiceType
|
873
|
-
|
874
874
|
|
875
875
|
def _deserialize(self, params):
|
876
876
|
self._Text = params.get("Text")
|
@@ -880,6 +880,7 @@ class TextToVoiceRequest(AbstractModel):
|
|
880
880
|
self._ProjectId = params.get("ProjectId")
|
881
881
|
self._ModelType = params.get("ModelType")
|
882
882
|
self._VoiceType = params.get("VoiceType")
|
883
|
+
self._FastVoiceType = params.get("FastVoiceType")
|
883
884
|
self._PrimaryLanguage = params.get("PrimaryLanguage")
|
884
885
|
self._SampleRate = params.get("SampleRate")
|
885
886
|
self._Codec = params.get("Codec")
|
@@ -887,7 +888,6 @@ class TextToVoiceRequest(AbstractModel):
|
|
887
888
|
self._SegmentRate = params.get("SegmentRate")
|
888
889
|
self._EmotionCategory = params.get("EmotionCategory")
|
889
890
|
self._EmotionIntensity = params.get("EmotionIntensity")
|
890
|
-
self._FastVoiceType = params.get("FastVoiceType")
|
891
891
|
memeber_set = set(params.keys())
|
892
892
|
for name, value in vars(self).items():
|
893
893
|
property_name = name[1:]
|
@@ -97,9 +97,10 @@ class TtsClient(AbstractClient):
|
|
97
97
|
腾讯TTS技术可以应用到很多场景,比如,移动APP语音播报新闻;智能设备语音提醒;依靠网上现有节目或少量录音,快速合成明星语音,降低邀约成本;支持车载导航语音合成的个性化语音播报。
|
98
98
|
基础合成支持 SSML,语法详见 [SSML 标记语言](https://cloud.tencent.com/document/product/1073/49575)。
|
99
99
|
默认接口请求频率限制:
|
100
|
-
|
101
|
-
|
102
|
-
|
100
|
+
精品音色和标准音色:默认20并发
|
101
|
+
大模型音色:默认10并发
|
102
|
+
一句话复刻音色:默认5并发
|
103
|
+
超自然大模型音色:暂不支持
|
103
104
|
|
104
105
|
:param request: Request instance for TextToVoice.
|
105
106
|
:type request: :class:`tencentcloud.tts.v20190823.models.TextToVoiceRequest`
|
@@ -6999,7 +6999,7 @@ class VpcClient(AbstractClient):
|
|
6999
6999
|
|
7000
7000
|
def MigrateNetworkInterface(self, request):
|
7001
7001
|
"""本接口(MigrateNetworkInterface)用于弹性网卡迁移。
|
7002
|
-
本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId
|
7002
|
+
本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询[DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) `接口。
|
7003
7003
|
|
7004
7004
|
:param request: Request instance for MigrateNetworkInterface.
|
7005
7005
|
:type request: :class:`tencentcloud.vpc.v20170312.models.MigrateNetworkInterfaceRequest`
|
@@ -177,6 +177,9 @@ class CreateVRSTaskRequest(AbstractModel):
|
|
177
177
|
:type TaskType: int
|
178
178
|
:param _VPRAudioId: 校验音频ID。(仅基础版声音复刻使用)
|
179
179
|
:type VPRAudioId: str
|
180
|
+
:param _EnableVoiceEnhance: 是否开启语音增强,0 - 关闭,1 - 开启 。默认关闭
|
181
|
+
语音增强仅适用于一句话复刻场景
|
182
|
+
:type EnableVoiceEnhance: int
|
180
183
|
"""
|
181
184
|
self._SessionId = None
|
182
185
|
self._VoiceName = None
|
@@ -189,6 +192,7 @@ class CreateVRSTaskRequest(AbstractModel):
|
|
189
192
|
self._ModelType = None
|
190
193
|
self._TaskType = None
|
191
194
|
self._VPRAudioId = None
|
195
|
+
self._EnableVoiceEnhance = None
|
192
196
|
|
193
197
|
@property
|
194
198
|
def SessionId(self):
|
@@ -322,6 +326,18 @@ class CreateVRSTaskRequest(AbstractModel):
|
|
322
326
|
def VPRAudioId(self, VPRAudioId):
|
323
327
|
self._VPRAudioId = VPRAudioId
|
324
328
|
|
329
|
+
@property
|
330
|
+
def EnableVoiceEnhance(self):
|
331
|
+
"""是否开启语音增强,0 - 关闭,1 - 开启 。默认关闭
|
332
|
+
语音增强仅适用于一句话复刻场景
|
333
|
+
:rtype: int
|
334
|
+
"""
|
335
|
+
return self._EnableVoiceEnhance
|
336
|
+
|
337
|
+
@EnableVoiceEnhance.setter
|
338
|
+
def EnableVoiceEnhance(self, EnableVoiceEnhance):
|
339
|
+
self._EnableVoiceEnhance = EnableVoiceEnhance
|
340
|
+
|
325
341
|
|
326
342
|
def _deserialize(self, params):
|
327
343
|
self._SessionId = params.get("SessionId")
|
@@ -335,6 +351,7 @@ class CreateVRSTaskRequest(AbstractModel):
|
|
335
351
|
self._ModelType = params.get("ModelType")
|
336
352
|
self._TaskType = params.get("TaskType")
|
337
353
|
self._VPRAudioId = params.get("VPRAudioId")
|
354
|
+
self._EnableVoiceEnhance = params.get("EnableVoiceEnhance")
|
338
355
|
memeber_set = set(params.keys())
|
339
356
|
for name, value in vars(self).items():
|
340
357
|
property_name = name[1:]
|
@@ -71,6 +71,12 @@ INTERNALERROR_UNKNOWNERR = 'InternalError.UnknownErr'
|
|
71
71
|
# 参数错误。
|
72
72
|
INVALIDPARAMETER = 'InvalidParameter'
|
73
73
|
|
74
|
+
# 命名重复
|
75
|
+
INVALIDPARAMETER_BOTNAMEREPEATERR = 'InvalidParameter.BotNameRepeatErr'
|
76
|
+
|
77
|
+
# Bot场景不存在
|
78
|
+
INVALIDPARAMETER_BOTSCENENOTEXISTERR = 'InvalidParameter.BotSceneNotExistErr'
|
79
|
+
|
74
80
|
# 证书信息参数错误
|
75
81
|
INVALIDPARAMETER_CERTIFICATIONPARAMETERERR = 'InvalidParameter.CertificationParameterErr'
|
76
82
|
|
@@ -179,5 +185,8 @@ UNKNOWNPARAMETER = 'UnknownParameter'
|
|
179
185
|
# 操作不支持。
|
180
186
|
UNSUPPORTEDOPERATION = 'UnsupportedOperation'
|
181
187
|
|
188
|
+
# Bot套餐未购买
|
189
|
+
UNSUPPORTEDOPERATION_BOTSERVICENOTSUBSCRIBEERR = 'UnsupportedOperation.BotServiceNotSubscribeErr'
|
190
|
+
|
182
191
|
# InvalidRequest
|
183
192
|
UNSUPPORTEDOPERATION_INVALIDREQUEST = 'UnsupportedOperation.InvalidRequest'
|