tencentcloud-sdk-python 3.0.1443__py2.py3-none-any.whl → 3.0.1444__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/batch/v20170312/models.py +2 -2
- tencentcloud/clb/v20180317/models.py +422 -26
- tencentcloud/cls/v20201016/cls_client.py +1 -1
- tencentcloud/cls/v20201016/models.py +148 -112
- tencentcloud/keewidb/v20220308/errorcodes.py +3 -0
- tencentcloud/keewidb/v20220308/models.py +2 -2
- tencentcloud/lcic/v20220817/errorcodes.py +15 -0
- tencentcloud/lcic/v20220817/models.py +67 -16
- tencentcloud/lkeap/v20240522/errorcodes.py +1 -1
- tencentcloud/mongodb/v20190725/models.py +4 -4
- tencentcloud/mps/v20190612/models.py +64 -0
- tencentcloud/ocr/v20181119/models.py +31 -16
- tencentcloud/postgres/v20170312/errorcodes.py +0 -12
- tencentcloud/postgres/v20170312/models.py +191 -1527
- tencentcloud/postgres/v20170312/postgres_client.py +0 -75
- tencentcloud/sts/v20180813/sts_client.py +21 -7
- tencentcloud/tcbr/v20220217/models.py +151 -0
- tencentcloud/tcss/v20201101/models.py +45 -0
- tencentcloud/tke/v20180525/models.py +17 -2
- tencentcloud/trabbit/v20230418/models.py +60 -0
- tencentcloud/trocket/v20230308/models.py +319 -0
- tencentcloud/trocket/v20230308/trocket_client.py +25 -0
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +6 -4
- tencentcloud/tsf/v20180326/errorcodes.py +9 -0
- tencentcloud/tsf/v20180326/models.py +761 -517
- tencentcloud/vod/v20180717/models.py +63 -10
- tencentcloud/vod/v20180717/vod_client.py +1 -0
- tencentcloud/waf/v20180125/errorcodes.py +6 -0
- tencentcloud/waf/v20180125/models.py +1926 -744
- tencentcloud/waf/v20180125/waf_client.py +161 -0
- tencentcloud/wedata/v20210820/models.py +204 -0
- {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/RECORD +38 -38
- {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/top_level.txt +0 -0
|
@@ -7917,6 +7917,170 @@ class DescribeMigrationTaskListResponse(AbstractModel):
|
|
|
7917
7917
|
self._RequestId = params.get("RequestId")
|
|
7918
7918
|
|
|
7919
7919
|
|
|
7920
|
+
class DescribeProducerListRequest(AbstractModel):
|
|
7921
|
+
"""DescribeProducerList请求参数结构体
|
|
7922
|
+
|
|
7923
|
+
"""
|
|
7924
|
+
|
|
7925
|
+
def __init__(self):
|
|
7926
|
+
r"""
|
|
7927
|
+
:param _InstanceId: 腾讯云 RocketMQ 实例 ID,从 [DescribeFusionInstanceList](https://cloud.tencent.com/document/api/1493/106745) 接口或控制台获得。
|
|
7928
|
+
:type InstanceId: str
|
|
7929
|
+
:param _Topic: 主题名称,从 [DescribeTopicList](https://cloud.tencent.com/document/api/1493/96030) 接口返回的 [TopicItem](https://cloud.tencent.com/document/api/1493/96031#TopicItem) 或控制台获得。
|
|
7930
|
+
:type Topic: str
|
|
7931
|
+
:param _Filters: 过滤查询条件列表,请在引用此参数的API说明中了解使用方法。
|
|
7932
|
+
:type Filters: list of Filter
|
|
7933
|
+
:param _Limit: 查询结果限制数量,默认20。
|
|
7934
|
+
:type Limit: int
|
|
7935
|
+
:param _Offset: 查询起始位置,默认为0。
|
|
7936
|
+
:type Offset: int
|
|
7937
|
+
"""
|
|
7938
|
+
self._InstanceId = None
|
|
7939
|
+
self._Topic = None
|
|
7940
|
+
self._Filters = None
|
|
7941
|
+
self._Limit = None
|
|
7942
|
+
self._Offset = None
|
|
7943
|
+
|
|
7944
|
+
@property
|
|
7945
|
+
def InstanceId(self):
|
|
7946
|
+
"""腾讯云 RocketMQ 实例 ID,从 [DescribeFusionInstanceList](https://cloud.tencent.com/document/api/1493/106745) 接口或控制台获得。
|
|
7947
|
+
:rtype: str
|
|
7948
|
+
"""
|
|
7949
|
+
return self._InstanceId
|
|
7950
|
+
|
|
7951
|
+
@InstanceId.setter
|
|
7952
|
+
def InstanceId(self, InstanceId):
|
|
7953
|
+
self._InstanceId = InstanceId
|
|
7954
|
+
|
|
7955
|
+
@property
|
|
7956
|
+
def Topic(self):
|
|
7957
|
+
"""主题名称,从 [DescribeTopicList](https://cloud.tencent.com/document/api/1493/96030) 接口返回的 [TopicItem](https://cloud.tencent.com/document/api/1493/96031#TopicItem) 或控制台获得。
|
|
7958
|
+
:rtype: str
|
|
7959
|
+
"""
|
|
7960
|
+
return self._Topic
|
|
7961
|
+
|
|
7962
|
+
@Topic.setter
|
|
7963
|
+
def Topic(self, Topic):
|
|
7964
|
+
self._Topic = Topic
|
|
7965
|
+
|
|
7966
|
+
@property
|
|
7967
|
+
def Filters(self):
|
|
7968
|
+
"""过滤查询条件列表,请在引用此参数的API说明中了解使用方法。
|
|
7969
|
+
:rtype: list of Filter
|
|
7970
|
+
"""
|
|
7971
|
+
return self._Filters
|
|
7972
|
+
|
|
7973
|
+
@Filters.setter
|
|
7974
|
+
def Filters(self, Filters):
|
|
7975
|
+
self._Filters = Filters
|
|
7976
|
+
|
|
7977
|
+
@property
|
|
7978
|
+
def Limit(self):
|
|
7979
|
+
"""查询结果限制数量,默认20。
|
|
7980
|
+
:rtype: int
|
|
7981
|
+
"""
|
|
7982
|
+
return self._Limit
|
|
7983
|
+
|
|
7984
|
+
@Limit.setter
|
|
7985
|
+
def Limit(self, Limit):
|
|
7986
|
+
self._Limit = Limit
|
|
7987
|
+
|
|
7988
|
+
@property
|
|
7989
|
+
def Offset(self):
|
|
7990
|
+
"""查询起始位置,默认为0。
|
|
7991
|
+
:rtype: int
|
|
7992
|
+
"""
|
|
7993
|
+
return self._Offset
|
|
7994
|
+
|
|
7995
|
+
@Offset.setter
|
|
7996
|
+
def Offset(self, Offset):
|
|
7997
|
+
self._Offset = Offset
|
|
7998
|
+
|
|
7999
|
+
|
|
8000
|
+
def _deserialize(self, params):
|
|
8001
|
+
self._InstanceId = params.get("InstanceId")
|
|
8002
|
+
self._Topic = params.get("Topic")
|
|
8003
|
+
if params.get("Filters") is not None:
|
|
8004
|
+
self._Filters = []
|
|
8005
|
+
for item in params.get("Filters"):
|
|
8006
|
+
obj = Filter()
|
|
8007
|
+
obj._deserialize(item)
|
|
8008
|
+
self._Filters.append(obj)
|
|
8009
|
+
self._Limit = params.get("Limit")
|
|
8010
|
+
self._Offset = params.get("Offset")
|
|
8011
|
+
memeber_set = set(params.keys())
|
|
8012
|
+
for name, value in vars(self).items():
|
|
8013
|
+
property_name = name[1:]
|
|
8014
|
+
if property_name in memeber_set:
|
|
8015
|
+
memeber_set.remove(property_name)
|
|
8016
|
+
if len(memeber_set) > 0:
|
|
8017
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8018
|
+
|
|
8019
|
+
|
|
8020
|
+
|
|
8021
|
+
class DescribeProducerListResponse(AbstractModel):
|
|
8022
|
+
"""DescribeProducerList返回参数结构体
|
|
8023
|
+
|
|
8024
|
+
"""
|
|
8025
|
+
|
|
8026
|
+
def __init__(self):
|
|
8027
|
+
r"""
|
|
8028
|
+
:param _TotalCount: 查询总数
|
|
8029
|
+
:type TotalCount: int
|
|
8030
|
+
:param _ProducerList: 生产者信息列表
|
|
8031
|
+
:type ProducerList: list of ProducerInfo
|
|
8032
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8033
|
+
:type RequestId: str
|
|
8034
|
+
"""
|
|
8035
|
+
self._TotalCount = None
|
|
8036
|
+
self._ProducerList = None
|
|
8037
|
+
self._RequestId = None
|
|
8038
|
+
|
|
8039
|
+
@property
|
|
8040
|
+
def TotalCount(self):
|
|
8041
|
+
"""查询总数
|
|
8042
|
+
:rtype: int
|
|
8043
|
+
"""
|
|
8044
|
+
return self._TotalCount
|
|
8045
|
+
|
|
8046
|
+
@TotalCount.setter
|
|
8047
|
+
def TotalCount(self, TotalCount):
|
|
8048
|
+
self._TotalCount = TotalCount
|
|
8049
|
+
|
|
8050
|
+
@property
|
|
8051
|
+
def ProducerList(self):
|
|
8052
|
+
"""生产者信息列表
|
|
8053
|
+
:rtype: list of ProducerInfo
|
|
8054
|
+
"""
|
|
8055
|
+
return self._ProducerList
|
|
8056
|
+
|
|
8057
|
+
@ProducerList.setter
|
|
8058
|
+
def ProducerList(self, ProducerList):
|
|
8059
|
+
self._ProducerList = ProducerList
|
|
8060
|
+
|
|
8061
|
+
@property
|
|
8062
|
+
def RequestId(self):
|
|
8063
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8064
|
+
:rtype: str
|
|
8065
|
+
"""
|
|
8066
|
+
return self._RequestId
|
|
8067
|
+
|
|
8068
|
+
@RequestId.setter
|
|
8069
|
+
def RequestId(self, RequestId):
|
|
8070
|
+
self._RequestId = RequestId
|
|
8071
|
+
|
|
8072
|
+
|
|
8073
|
+
def _deserialize(self, params):
|
|
8074
|
+
self._TotalCount = params.get("TotalCount")
|
|
8075
|
+
if params.get("ProducerList") is not None:
|
|
8076
|
+
self._ProducerList = []
|
|
8077
|
+
for item in params.get("ProducerList"):
|
|
8078
|
+
obj = ProducerInfo()
|
|
8079
|
+
obj._deserialize(item)
|
|
8080
|
+
self._ProducerList.append(obj)
|
|
8081
|
+
self._RequestId = params.get("RequestId")
|
|
8082
|
+
|
|
8083
|
+
|
|
7920
8084
|
class DescribeProductSKUsRequest(AbstractModel):
|
|
7921
8085
|
"""DescribeProductSKUs请求参数结构体
|
|
7922
8086
|
|
|
@@ -13762,6 +13926,161 @@ class PriceTag(AbstractModel):
|
|
|
13762
13926
|
|
|
13763
13927
|
|
|
13764
13928
|
|
|
13929
|
+
class ProducerInfo(AbstractModel):
|
|
13930
|
+
"""生产者信息
|
|
13931
|
+
|
|
13932
|
+
"""
|
|
13933
|
+
|
|
13934
|
+
def __init__(self):
|
|
13935
|
+
r"""
|
|
13936
|
+
:param _ClientId: 客户端ID
|
|
13937
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13938
|
+
:type ClientId: str
|
|
13939
|
+
:param _ClientIp: 客户端IP
|
|
13940
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13941
|
+
:type ClientIp: str
|
|
13942
|
+
:param _Language: 客户端语言
|
|
13943
|
+
- JAVA((byte) 0)
|
|
13944
|
+
- CPP((byte) 1)
|
|
13945
|
+
- DOTNET((byte) 2)
|
|
13946
|
+
- PYTHON((byte) 3)
|
|
13947
|
+
- DELPHI((byte) 4)
|
|
13948
|
+
- ERLANG((byte) 5)
|
|
13949
|
+
- RUBY((byte) 6)
|
|
13950
|
+
- OTHER((byte) 7)
|
|
13951
|
+
- HTTP((byte) 8)
|
|
13952
|
+
- GO((byte) 9)
|
|
13953
|
+
- PHP((byte) 10)
|
|
13954
|
+
- OMS((byte) 11)
|
|
13955
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13956
|
+
:type Language: str
|
|
13957
|
+
:param _Version: 客户端版本
|
|
13958
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13959
|
+
:type Version: str
|
|
13960
|
+
:param _LastUpdateTimestamp: 最后生产时间,**Unix时间戳(秒)**
|
|
13961
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13962
|
+
:type LastUpdateTimestamp: int
|
|
13963
|
+
:param _ChannelProtocol: 生产者客户端协议类型,枚举如下:
|
|
13964
|
+
|
|
13965
|
+
- grpc:GRpc协议
|
|
13966
|
+
- remoting:Remoting协议
|
|
13967
|
+
- http:HTTP协议
|
|
13968
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13969
|
+
:type ChannelProtocol: str
|
|
13970
|
+
"""
|
|
13971
|
+
self._ClientId = None
|
|
13972
|
+
self._ClientIp = None
|
|
13973
|
+
self._Language = None
|
|
13974
|
+
self._Version = None
|
|
13975
|
+
self._LastUpdateTimestamp = None
|
|
13976
|
+
self._ChannelProtocol = None
|
|
13977
|
+
|
|
13978
|
+
@property
|
|
13979
|
+
def ClientId(self):
|
|
13980
|
+
"""客户端ID
|
|
13981
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13982
|
+
:rtype: str
|
|
13983
|
+
"""
|
|
13984
|
+
return self._ClientId
|
|
13985
|
+
|
|
13986
|
+
@ClientId.setter
|
|
13987
|
+
def ClientId(self, ClientId):
|
|
13988
|
+
self._ClientId = ClientId
|
|
13989
|
+
|
|
13990
|
+
@property
|
|
13991
|
+
def ClientIp(self):
|
|
13992
|
+
"""客户端IP
|
|
13993
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13994
|
+
:rtype: str
|
|
13995
|
+
"""
|
|
13996
|
+
return self._ClientIp
|
|
13997
|
+
|
|
13998
|
+
@ClientIp.setter
|
|
13999
|
+
def ClientIp(self, ClientIp):
|
|
14000
|
+
self._ClientIp = ClientIp
|
|
14001
|
+
|
|
14002
|
+
@property
|
|
14003
|
+
def Language(self):
|
|
14004
|
+
"""客户端语言
|
|
14005
|
+
- JAVA((byte) 0)
|
|
14006
|
+
- CPP((byte) 1)
|
|
14007
|
+
- DOTNET((byte) 2)
|
|
14008
|
+
- PYTHON((byte) 3)
|
|
14009
|
+
- DELPHI((byte) 4)
|
|
14010
|
+
- ERLANG((byte) 5)
|
|
14011
|
+
- RUBY((byte) 6)
|
|
14012
|
+
- OTHER((byte) 7)
|
|
14013
|
+
- HTTP((byte) 8)
|
|
14014
|
+
- GO((byte) 9)
|
|
14015
|
+
- PHP((byte) 10)
|
|
14016
|
+
- OMS((byte) 11)
|
|
14017
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14018
|
+
:rtype: str
|
|
14019
|
+
"""
|
|
14020
|
+
return self._Language
|
|
14021
|
+
|
|
14022
|
+
@Language.setter
|
|
14023
|
+
def Language(self, Language):
|
|
14024
|
+
self._Language = Language
|
|
14025
|
+
|
|
14026
|
+
@property
|
|
14027
|
+
def Version(self):
|
|
14028
|
+
"""客户端版本
|
|
14029
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14030
|
+
:rtype: str
|
|
14031
|
+
"""
|
|
14032
|
+
return self._Version
|
|
14033
|
+
|
|
14034
|
+
@Version.setter
|
|
14035
|
+
def Version(self, Version):
|
|
14036
|
+
self._Version = Version
|
|
14037
|
+
|
|
14038
|
+
@property
|
|
14039
|
+
def LastUpdateTimestamp(self):
|
|
14040
|
+
"""最后生产时间,**Unix时间戳(秒)**
|
|
14041
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14042
|
+
:rtype: int
|
|
14043
|
+
"""
|
|
14044
|
+
return self._LastUpdateTimestamp
|
|
14045
|
+
|
|
14046
|
+
@LastUpdateTimestamp.setter
|
|
14047
|
+
def LastUpdateTimestamp(self, LastUpdateTimestamp):
|
|
14048
|
+
self._LastUpdateTimestamp = LastUpdateTimestamp
|
|
14049
|
+
|
|
14050
|
+
@property
|
|
14051
|
+
def ChannelProtocol(self):
|
|
14052
|
+
"""生产者客户端协议类型,枚举如下:
|
|
14053
|
+
|
|
14054
|
+
- grpc:GRpc协议
|
|
14055
|
+
- remoting:Remoting协议
|
|
14056
|
+
- http:HTTP协议
|
|
14057
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
14058
|
+
:rtype: str
|
|
14059
|
+
"""
|
|
14060
|
+
return self._ChannelProtocol
|
|
14061
|
+
|
|
14062
|
+
@ChannelProtocol.setter
|
|
14063
|
+
def ChannelProtocol(self, ChannelProtocol):
|
|
14064
|
+
self._ChannelProtocol = ChannelProtocol
|
|
14065
|
+
|
|
14066
|
+
|
|
14067
|
+
def _deserialize(self, params):
|
|
14068
|
+
self._ClientId = params.get("ClientId")
|
|
14069
|
+
self._ClientIp = params.get("ClientIp")
|
|
14070
|
+
self._Language = params.get("Language")
|
|
14071
|
+
self._Version = params.get("Version")
|
|
14072
|
+
self._LastUpdateTimestamp = params.get("LastUpdateTimestamp")
|
|
14073
|
+
self._ChannelProtocol = params.get("ChannelProtocol")
|
|
14074
|
+
memeber_set = set(params.keys())
|
|
14075
|
+
for name, value in vars(self).items():
|
|
14076
|
+
property_name = name[1:]
|
|
14077
|
+
if property_name in memeber_set:
|
|
14078
|
+
memeber_set.remove(property_name)
|
|
14079
|
+
if len(memeber_set) > 0:
|
|
14080
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14081
|
+
|
|
14082
|
+
|
|
14083
|
+
|
|
13765
14084
|
class ProductSKU(AbstractModel):
|
|
13766
14085
|
"""商品售卖信息
|
|
13767
14086
|
|
|
@@ -1116,6 +1116,31 @@ class TrocketClient(AbstractClient):
|
|
|
1116
1116
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1117
1117
|
|
|
1118
1118
|
|
|
1119
|
+
def DescribeProducerList(self, request):
|
|
1120
|
+
"""查询主题关联的生产者列表信息,Filters支持以下筛选条件:
|
|
1121
|
+
- ClientIP,客户端IP
|
|
1122
|
+
- ClientID,客户端ID
|
|
1123
|
+
|
|
1124
|
+
:param request: Request instance for DescribeProducerList.
|
|
1125
|
+
:type request: :class:`tencentcloud.trocket.v20230308.models.DescribeProducerListRequest`
|
|
1126
|
+
:rtype: :class:`tencentcloud.trocket.v20230308.models.DescribeProducerListResponse`
|
|
1127
|
+
|
|
1128
|
+
"""
|
|
1129
|
+
try:
|
|
1130
|
+
params = request._serialize()
|
|
1131
|
+
headers = request.headers
|
|
1132
|
+
body = self.call("DescribeProducerList", params, headers=headers)
|
|
1133
|
+
response = json.loads(body)
|
|
1134
|
+
model = models.DescribeProducerListResponse()
|
|
1135
|
+
model._deserialize(response["Response"])
|
|
1136
|
+
return model
|
|
1137
|
+
except Exception as e:
|
|
1138
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1139
|
+
raise
|
|
1140
|
+
else:
|
|
1141
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1142
|
+
|
|
1143
|
+
|
|
1119
1144
|
def DescribeProductSKUs(self, request):
|
|
1120
1145
|
"""查询产品售卖规格,针对 RocketMQ 5.x 集群。
|
|
1121
1146
|
|
|
@@ -281,6 +281,9 @@ INVALIDPARAMETERVALUE_ROOMID = 'InvalidParameterValue.RoomId'
|
|
|
281
281
|
# 缺少参数错误。
|
|
282
282
|
MISSINGPARAMETER = 'MissingParameter'
|
|
283
283
|
|
|
284
|
+
# 无效的APIKey
|
|
285
|
+
MISSINGPARAMETER_APIKEY = 'MissingParameter.APIKey'
|
|
286
|
+
|
|
284
287
|
# 缺少AccessKey参数。
|
|
285
288
|
MISSINGPARAMETER_ACCESSKEY = 'MissingParameter.AccessKey'
|
|
286
289
|
|
|
@@ -3389,6 +3389,7 @@ bigvHeight:上/下行分辨率高;
|
|
|
3389
3389
|
aCapEnergy:音频采集能量;
|
|
3390
3390
|
aPlayEnergy:音频播放能量;
|
|
3391
3391
|
rtt:SDK到云端的往返延时;单位: ms
|
|
3392
|
+
bigvRecFps: 云端送达帧率;
|
|
3392
3393
|
:type DataType: list of str
|
|
3393
3394
|
:param _PageNumber: 当前页数,默认为0,
|
|
3394
3395
|
注意:PageNumber和PageSize 其中一个不填均默认返回6条数据。
|
|
@@ -3484,6 +3485,7 @@ bigvHeight:上/下行分辨率高;
|
|
|
3484
3485
|
aCapEnergy:音频采集能量;
|
|
3485
3486
|
aPlayEnergy:音频播放能量;
|
|
3486
3487
|
rtt:SDK到云端的往返延时;单位: ms
|
|
3488
|
+
bigvRecFps: 云端送达帧率;
|
|
3487
3489
|
:rtype: list of str
|
|
3488
3490
|
"""
|
|
3489
3491
|
return self._DataType
|
|
@@ -14065,7 +14067,7 @@ class StartAIConversationRequest(AbstractModel):
|
|
|
14065
14067
|
:param _STTConfig: 语音识别配置。
|
|
14066
14068
|
:type STTConfig: :class:`tencentcloud.trtc.v20190722.models.STTConfig`
|
|
14067
14069
|
:param _LLMConfig: LLM配置。需符合openai规范,为JSON字符串,示例如下:
|
|
14068
|
-
<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>   "Streaming": true // Boolean 非必填,指定是否使用流式传输<br>  } </pre>
|
|
14070
|
+
<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>
|
|
14069
14071
|
|
|
14070
14072
|
:type LLMConfig: str
|
|
14071
14073
|
:param _TTSConfig: TTS配置,为JSON字符串,腾讯云TTS示例如下: <pre>{ <br>   "AppId": 您的应用ID, // Integer 必填<br>   "TTSType": "TTS类型", // String TTS类型, 固定为"tencent"<br>   "SecretId": "您的密钥ID", // String 必填<br>   "SecretKey": "您的密钥Key", // String 必填<br>   "VoiceType": 101001, // Integer 必填,音色 ID,包括标准音色与精品音色,精品音色拟真度更高,价格不同于标准音色,请参见<a href="https://cloud.tencent.com/document/product/1073/34112">语音合成计费概述</a>。完整的音色 ID 列表请参见<a href="https://cloud.tencent.com/document/product/1073/92668#55924b56-1a73-4663-a7a1-a8dd82d6e823">语音合成音色列表</a>。<br>   "Speed": 1.25, // Integer 非必填,语速,范围:[-2,6],分别对应不同语速: -2: 代表0.6倍 -1: 代表0.8倍 0: 代表1.0倍(默认) 1: 代表1.2倍 2: 代表1.5倍 6: 代表2.5倍 如果需要更细化的语速,可以保留小数点后 2 位,例如0.5/1.25/2.81等。 参数值与实际语速转换,可参考 <a href="https://sdk-1300466766.cos.ap-shanghai.myqcloud.com/sample/speed_sample.tar.gz">语速转换</a><br>   "Volume": 5, // Integer 非必填,音量大小,范围:[0,10],分别对应11个等级的音量,默认值为0,代表正常音量。<br>   "EmotionCategory": "angry", // String 非必填 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、sajiao(撒娇)、disgusted(厌恶)、amaze(震惊)、peaceful(平静)、exciting(兴奋)、aojiao(傲娇)、jieshuo(解说)。<br>   "EmotionIntensity": 150 // Integer 非必填 控制合成音频情感程度,取值范围为 [50,200],默认为 100;只有 EmotionCategory 不为空时生效。<br>   }</pre>
|
|
@@ -14155,7 +14157,7 @@ class StartAIConversationRequest(AbstractModel):
|
|
|
14155
14157
|
@property
|
|
14156
14158
|
def LLMConfig(self):
|
|
14157
14159
|
"""LLM配置。需符合openai规范,为JSON字符串,示例如下:
|
|
14158
|
-
<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>   "Streaming": true // Boolean 非必填,指定是否使用流式传输<br>  } </pre>
|
|
14160
|
+
<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>
|
|
14159
14161
|
|
|
14160
14162
|
:rtype: str
|
|
14161
14163
|
"""
|
|
@@ -18489,7 +18491,7 @@ class VoiceCloneRequest(AbstractModel):
|
|
|
18489
18491
|
:type SdkAppId: int
|
|
18490
18492
|
:param _APIKey: TTS的API密钥
|
|
18491
18493
|
:type APIKey: str
|
|
18492
|
-
:param _VoiceName:
|
|
18494
|
+
:param _VoiceName: 声音克隆的名称, 只允许使用数字、字母、下划线,不能超过36位
|
|
18493
18495
|
:type VoiceName: str
|
|
18494
18496
|
:param _PromptAudio: 声音克隆的参考音频,必须为16k单声道的wav的base64字符串, 长度在5秒~12秒之间
|
|
18495
18497
|
:type PromptAudio: str
|
|
@@ -18526,7 +18528,7 @@ class VoiceCloneRequest(AbstractModel):
|
|
|
18526
18528
|
|
|
18527
18529
|
@property
|
|
18528
18530
|
def VoiceName(self):
|
|
18529
|
-
"""
|
|
18531
|
+
"""声音克隆的名称, 只允许使用数字、字母、下划线,不能超过36位
|
|
18530
18532
|
:rtype: str
|
|
18531
18533
|
"""
|
|
18532
18534
|
return self._VoiceName
|
|
@@ -137,6 +137,9 @@ FAILEDOPERATION_GROUPEXISTS = 'FailedOperation.GroupExists'
|
|
|
137
137
|
# 部署组查询失败。
|
|
138
138
|
FAILEDOPERATION_GROUPQUERYFAILD = 'FailedOperation.GroupQueryFaild'
|
|
139
139
|
|
|
140
|
+
# 部署组查询失败。
|
|
141
|
+
FAILEDOPERATION_GROUPQUERYFAILED = 'FailedOperation.GroupQueryFailed'
|
|
142
|
+
|
|
140
143
|
# 镜像仓库已关联至部署组,请移除后重试
|
|
141
144
|
FAILEDOPERATION_IMAGEVALIDATEISUSED = 'FailedOperation.ImageValidateIsUsed'
|
|
142
145
|
|
|
@@ -146,6 +149,9 @@ FAILEDOPERATION_IMAGEREPOREJECTDELERROR = 'FailedOperation.ImagerepoRejectDelErr
|
|
|
146
149
|
# tcr仓库绑定失败。
|
|
147
150
|
FAILEDOPERATION_IMAGEREPOTCRBINDERROR = 'FailedOperation.ImagerepoTcrBindError'
|
|
148
151
|
|
|
152
|
+
# TSF节点管理通用错误信息。
|
|
153
|
+
FAILEDOPERATION_INSTANCECOMMONERROR = 'FailedOperation.InstanceCommonError'
|
|
154
|
+
|
|
149
155
|
# 机器实例删除失败。
|
|
150
156
|
FAILEDOPERATION_INSTANCEDELETEFAILED = 'FailedOperation.InstanceDeleteFailed'
|
|
151
157
|
|
|
@@ -1046,6 +1052,9 @@ INVALIDPARAMETERVALUE_TASKPARAMETERINVALID = 'InvalidParameterValue.TaskParamete
|
|
|
1046
1052
|
# TSF应用性能管理业务日志搜索解析时间格式错误。
|
|
1047
1053
|
INVALIDPARAMETERVALUE_TSFAPMBUSILOGSEARCHPARSERSPDATEFORMATERROR = 'InvalidParameterValue.TsfApmBusiLogSearchParseRspDateFormatError'
|
|
1048
1054
|
|
|
1055
|
+
# 数据卷名称校验失败。
|
|
1056
|
+
INVALIDPARAMETERVALUE_VOLUMENAMEVALIDERROR = 'InvalidParameterValue.VolumeNameValidError'
|
|
1057
|
+
|
|
1049
1058
|
# 仅有停止状态下的部署组才可以不启动。
|
|
1050
1059
|
INVALIDPARAMETERVALUE_WRONGDONTSTARTVALUE = 'InvalidParameterValue.WrongDontStartValue'
|
|
1051
1060
|
|