tencentcloud-sdk-python 3.0.1443__py2.py3-none-any.whl → 3.0.1445__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.

Files changed (46) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/batch/v20170312/models.py +2 -2
  3. tencentcloud/clb/v20180317/models.py +422 -26
  4. tencentcloud/cls/v20201016/cls_client.py +1 -1
  5. tencentcloud/cls/v20201016/models.py +539 -172
  6. tencentcloud/emr/v20190103/errorcodes.py +3 -0
  7. tencentcloud/ess/v20201111/models.py +105 -0
  8. tencentcloud/essbasic/v20210526/models.py +60 -0
  9. tencentcloud/keewidb/v20220308/errorcodes.py +3 -0
  10. tencentcloud/keewidb/v20220308/models.py +2 -2
  11. tencentcloud/lcic/v20220817/errorcodes.py +15 -0
  12. tencentcloud/lcic/v20220817/models.py +67 -16
  13. tencentcloud/lke/v20231130/lke_client.py +1 -1
  14. tencentcloud/lke/v20231130/models.py +1998 -50
  15. tencentcloud/lkeap/v20240522/errorcodes.py +1 -1
  16. tencentcloud/mongodb/v20190725/models.py +4 -4
  17. tencentcloud/mps/v20190612/models.py +64 -0
  18. tencentcloud/ocr/v20181119/models.py +46 -16
  19. tencentcloud/partners/v20180321/models.py +4 -4
  20. tencentcloud/postgres/v20170312/errorcodes.py +0 -12
  21. tencentcloud/postgres/v20170312/models.py +191 -1527
  22. tencentcloud/postgres/v20170312/postgres_client.py +0 -75
  23. tencentcloud/sqlserver/v20180328/models.py +6 -6
  24. tencentcloud/sts/v20180813/sts_client.py +21 -7
  25. tencentcloud/tcbr/v20220217/models.py +151 -0
  26. tencentcloud/tcss/v20201101/models.py +45 -0
  27. tencentcloud/tke/v20180525/models.py +17 -2
  28. tencentcloud/trabbit/v20230418/models.py +75 -0
  29. tencentcloud/trocket/v20230308/models.py +319 -0
  30. tencentcloud/trocket/v20230308/trocket_client.py +25 -0
  31. tencentcloud/trtc/v20190722/errorcodes.py +3 -0
  32. tencentcloud/trtc/v20190722/models.py +6 -4
  33. tencentcloud/tsf/v20180326/errorcodes.py +15 -0
  34. tencentcloud/tsf/v20180326/models.py +989 -589
  35. tencentcloud/tsf/v20180326/tsf_client.py +1 -1
  36. tencentcloud/vod/v20180717/models.py +570 -10
  37. tencentcloud/vod/v20180717/vod_client.py +102 -0
  38. tencentcloud/waf/v20180125/errorcodes.py +6 -0
  39. tencentcloud/waf/v20180125/models.py +1926 -744
  40. tencentcloud/waf/v20180125/waf_client.py +161 -0
  41. tencentcloud/wedata/v20210820/models.py +204 -0
  42. {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1445.dist-info}/METADATA +1 -1
  43. {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1445.dist-info}/RECORD +46 -46
  44. {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1445.dist-info}/LICENSE +0 -0
  45. {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1445.dist-info}/WHEEL +0 -0
  46. {tencentcloud_sdk_python-3.0.1443.dist-info → tencentcloud_sdk_python-3.0.1445.dist-info}/top_level.txt +0 -0
@@ -227,6 +227,8 @@ class CreateRabbitMQServerlessExchangeRequest(AbstractModel):
227
227
  :type Internal: bool
228
228
  :param _AlternateExchange: 替代 exchange, 如果消息无法发送到当前 exchange, 就会发送到该替代 exchange
229
229
  :type AlternateExchange: str
230
+ :param _DelayedExchangeType: 延迟类型的exchange背后对应的exchange类型, 支持 "fanout","direct","topic","headers"
231
+ :type DelayedExchangeType: str
230
232
  """
231
233
  self._InstanceId = None
232
234
  self._VirtualHost = None
@@ -237,6 +239,7 @@ class CreateRabbitMQServerlessExchangeRequest(AbstractModel):
237
239
  self._AutoDelete = None
238
240
  self._Internal = None
239
241
  self._AlternateExchange = None
242
+ self._DelayedExchangeType = None
240
243
 
241
244
  @property
242
245
  def InstanceId(self):
@@ -337,6 +340,17 @@ class CreateRabbitMQServerlessExchangeRequest(AbstractModel):
337
340
  def AlternateExchange(self, AlternateExchange):
338
341
  self._AlternateExchange = AlternateExchange
339
342
 
343
+ @property
344
+ def DelayedExchangeType(self):
345
+ """延迟类型的exchange背后对应的exchange类型, 支持 "fanout","direct","topic","headers"
346
+ :rtype: str
347
+ """
348
+ return self._DelayedExchangeType
349
+
350
+ @DelayedExchangeType.setter
351
+ def DelayedExchangeType(self, DelayedExchangeType):
352
+ self._DelayedExchangeType = DelayedExchangeType
353
+
340
354
 
341
355
  def _deserialize(self, params):
342
356
  self._InstanceId = params.get("InstanceId")
@@ -348,6 +362,7 @@ class CreateRabbitMQServerlessExchangeRequest(AbstractModel):
348
362
  self._AutoDelete = params.get("AutoDelete")
349
363
  self._Internal = params.get("Internal")
350
364
  self._AlternateExchange = params.get("AlternateExchange")
365
+ self._DelayedExchangeType = params.get("DelayedExchangeType")
351
366
  memeber_set = set(params.keys())
352
367
  for name, value in vars(self).items():
353
368
  property_name = name[1:]
@@ -4598,11 +4613,14 @@ class ModifyRabbitMQServerlessInstanceRequest(AbstractModel):
4598
4613
  :type Remark: str
4599
4614
  :param _TraceFlag: 是否开启trace
4600
4615
  :type TraceFlag: bool
4616
+ :param _SendReceiveRatio: 限流生产消费比例
4617
+ :type SendReceiveRatio: float
4601
4618
  """
4602
4619
  self._InstanceId = None
4603
4620
  self._ClusterName = None
4604
4621
  self._Remark = None
4605
4622
  self._TraceFlag = None
4623
+ self._SendReceiveRatio = None
4606
4624
 
4607
4625
  @property
4608
4626
  def InstanceId(self):
@@ -4648,12 +4666,24 @@ class ModifyRabbitMQServerlessInstanceRequest(AbstractModel):
4648
4666
  def TraceFlag(self, TraceFlag):
4649
4667
  self._TraceFlag = TraceFlag
4650
4668
 
4669
+ @property
4670
+ def SendReceiveRatio(self):
4671
+ """限流生产消费比例
4672
+ :rtype: float
4673
+ """
4674
+ return self._SendReceiveRatio
4675
+
4676
+ @SendReceiveRatio.setter
4677
+ def SendReceiveRatio(self, SendReceiveRatio):
4678
+ self._SendReceiveRatio = SendReceiveRatio
4679
+
4651
4680
 
4652
4681
  def _deserialize(self, params):
4653
4682
  self._InstanceId = params.get("InstanceId")
4654
4683
  self._ClusterName = params.get("ClusterName")
4655
4684
  self._Remark = params.get("Remark")
4656
4685
  self._TraceFlag = params.get("TraceFlag")
4686
+ self._SendReceiveRatio = params.get("SendReceiveRatio")
4657
4687
  memeber_set = set(params.keys())
4658
4688
  for name, value in vars(self).items():
4659
4689
  property_name = name[1:]
@@ -5497,6 +5527,10 @@ class RabbitMQClusterInfo(AbstractModel):
5497
5527
  :type InstanceType: int
5498
5528
  :param _MessageRetainTime: 消息保留时间,单位小时
5499
5529
  :type MessageRetainTime: int
5530
+ :param _SendReceiveRatio: 发送消息流量比例
5531
+ :type SendReceiveRatio: float
5532
+ :param _TraceTime: 消息轨迹保留时间,单位小时
5533
+ :type TraceTime: int
5500
5534
  """
5501
5535
  self._ClusterId = None
5502
5536
  self._ClusterName = None
@@ -5523,6 +5557,8 @@ class RabbitMQClusterInfo(AbstractModel):
5523
5557
  self._PayMode = None
5524
5558
  self._InstanceType = None
5525
5559
  self._MessageRetainTime = None
5560
+ self._SendReceiveRatio = None
5561
+ self._TraceTime = None
5526
5562
 
5527
5563
  @property
5528
5564
  def ClusterId(self):
@@ -5799,6 +5835,28 @@ class RabbitMQClusterInfo(AbstractModel):
5799
5835
  def MessageRetainTime(self, MessageRetainTime):
5800
5836
  self._MessageRetainTime = MessageRetainTime
5801
5837
 
5838
+ @property
5839
+ def SendReceiveRatio(self):
5840
+ """发送消息流量比例
5841
+ :rtype: float
5842
+ """
5843
+ return self._SendReceiveRatio
5844
+
5845
+ @SendReceiveRatio.setter
5846
+ def SendReceiveRatio(self, SendReceiveRatio):
5847
+ self._SendReceiveRatio = SendReceiveRatio
5848
+
5849
+ @property
5850
+ def TraceTime(self):
5851
+ """消息轨迹保留时间,单位小时
5852
+ :rtype: int
5853
+ """
5854
+ return self._TraceTime
5855
+
5856
+ @TraceTime.setter
5857
+ def TraceTime(self, TraceTime):
5858
+ self._TraceTime = TraceTime
5859
+
5802
5860
 
5803
5861
  def _deserialize(self, params):
5804
5862
  self._ClusterId = params.get("ClusterId")
@@ -5831,6 +5889,8 @@ class RabbitMQClusterInfo(AbstractModel):
5831
5889
  self._PayMode = params.get("PayMode")
5832
5890
  self._InstanceType = params.get("InstanceType")
5833
5891
  self._MessageRetainTime = params.get("MessageRetainTime")
5892
+ self._SendReceiveRatio = params.get("SendReceiveRatio")
5893
+ self._TraceTime = params.get("TraceTime")
5834
5894
  memeber_set = set(params.keys())
5835
5895
  for name, value in vars(self).items():
5836
5896
  property_name = name[1:]
@@ -6916,9 +6976,12 @@ class RabbitMQServerlessAccessInfo(AbstractModel):
6916
6976
  :type PublicAccessEndpoint: str
6917
6977
  :param _PublicDataStreamStatus: 公网状态
6918
6978
  :type PublicDataStreamStatus: str
6979
+ :param _PublicClbId: 公网CLB实例ID
6980
+ :type PublicClbId: str
6919
6981
  """
6920
6982
  self._PublicAccessEndpoint = None
6921
6983
  self._PublicDataStreamStatus = None
6984
+ self._PublicClbId = None
6922
6985
 
6923
6986
  @property
6924
6987
  def PublicAccessEndpoint(self):
@@ -6942,10 +7005,22 @@ class RabbitMQServerlessAccessInfo(AbstractModel):
6942
7005
  def PublicDataStreamStatus(self, PublicDataStreamStatus):
6943
7006
  self._PublicDataStreamStatus = PublicDataStreamStatus
6944
7007
 
7008
+ @property
7009
+ def PublicClbId(self):
7010
+ """公网CLB实例ID
7011
+ :rtype: str
7012
+ """
7013
+ return self._PublicClbId
7014
+
7015
+ @PublicClbId.setter
7016
+ def PublicClbId(self, PublicClbId):
7017
+ self._PublicClbId = PublicClbId
7018
+
6945
7019
 
6946
7020
  def _deserialize(self, params):
6947
7021
  self._PublicAccessEndpoint = params.get("PublicAccessEndpoint")
6948
7022
  self._PublicDataStreamStatus = params.get("PublicDataStreamStatus")
7023
+ self._PublicClbId = params.get("PublicClbId")
6949
7024
  memeber_set = set(params.keys())
6950
7025
  for name, value in vars(self).items():
6951
7026
  property_name = name[1:]
@@ -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> &emsp; "LLMType": "大模型类型", // String 必填,如:"openai" <br> &emsp; "Model": "您的模型名称", // String 必填,指定使用的模型<br> "APIKey": "您的LLM API密钥", // String 必填 <br> &emsp; "APIUrl": "https://api.xxx.com/chat/completions", // String 必填,LLM API访问的URL<br> &emsp; "Streaming": true // Boolean 非必填,指定是否使用流式传输<br> &emsp;} </pre>
14070
+ <pre> { <br> &emsp; "LLMType": "大模型类型", // String 必填,如:"openai" <br> &emsp; "Model": "您的模型名称", // String 必填,指定使用的模型<br> "APIKey": "您的LLM API密钥", // String 必填 <br> &emsp; "APIUrl": "https://api.xxx.com/chat/completions", // String 必填,LLM API访问的URL<br> &emsp; "History": 10, // Integer 选填,设置 LLM 的上下文轮次,默认值为0,最大值50<br> &emsp; "HistoryMode": 1, // Integer 选填,1表示LLM上下文中的内容会和播放音频做同步,没有播放的音频对应的文本不会出现在上下文中。0表示不会做同步,默认值为0<br> &emsp; "Streaming": true // Boolean 非必填,指定是否使用流式传输<br> &emsp;} </pre>
14069
14071
 
14070
14072
  :type LLMConfig: str
14071
14073
  :param _TTSConfig: TTS配置,为JSON字符串,腾讯云TTS示例如下: <pre>{ <br> &emsp; "AppId": 您的应用ID, // Integer 必填<br> &emsp; "TTSType": "TTS类型", // String TTS类型, 固定为"tencent"<br> &emsp; "SecretId": "您的密钥ID", // String 必填<br> &emsp; "SecretKey": "您的密钥Key", // String 必填<br> &emsp; "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> &emsp; "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> &emsp; "Volume": 5, // Integer 非必填,音量大小,范围:[0,10],分别对应11个等级的音量,默认值为0,代表正常音量。<br> &emsp; "EmotionCategory": "angry", // String 非必填 控制合成音频的情感,仅支持多情感音色使用。取值: neutral(中性)、sad(悲伤)、happy(高兴)、angry(生气)、fear(恐惧)、news(新闻)、story(故事)、radio(广播)、poetry(诗歌)、call(客服)、sajiao(撒娇)、disgusted(厌恶)、amaze(震惊)、peaceful(平静)、exciting(兴奋)、aojiao(傲娇)、jieshuo(解说)。<br> &emsp; "EmotionIntensity": 150 // Integer 非必填 控制合成音频情感程度,取值范围为 [50,200],默认为 100;只有 EmotionCategory 不为空时生效。<br> &emsp; }</pre>
@@ -14155,7 +14157,7 @@ class StartAIConversationRequest(AbstractModel):
14155
14157
  @property
14156
14158
  def LLMConfig(self):
14157
14159
  """LLM配置。需符合openai规范,为JSON字符串,示例如下:
14158
- <pre> { <br> &emsp; "LLMType": "大模型类型", // String 必填,如:"openai" <br> &emsp; "Model": "您的模型名称", // String 必填,指定使用的模型<br> "APIKey": "您的LLM API密钥", // String 必填 <br> &emsp; "APIUrl": "https://api.xxx.com/chat/completions", // String 必填,LLM API访问的URL<br> &emsp; "Streaming": true // Boolean 非必填,指定是否使用流式传输<br> &emsp;} </pre>
14160
+ <pre> { <br> &emsp; "LLMType": "大模型类型", // String 必填,如:"openai" <br> &emsp; "Model": "您的模型名称", // String 必填,指定使用的模型<br> "APIKey": "您的LLM API密钥", // String 必填 <br> &emsp; "APIUrl": "https://api.xxx.com/chat/completions", // String 必填,LLM API访问的URL<br> &emsp; "History": 10, // Integer 选填,设置 LLM 的上下文轮次,默认值为0,最大值50<br> &emsp; "HistoryMode": 1, // Integer 选填,1表示LLM上下文中的内容会和播放音频做同步,没有播放的音频对应的文本不会出现在上下文中。0表示不会做同步,默认值为0<br> &emsp; "Streaming": true // Boolean 非必填,指定是否使用流式传输<br> &emsp;} </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
@@ -125,6 +125,9 @@ FAILEDOPERATION_FINDMETRICSEXCLUSIVEERROR = 'FailedOperation.FindMetricsExclusiv
125
125
  # 网关通用异常[网关异常]。
126
126
  FAILEDOPERATION_GATEWAYCOMMONERROR = 'FailedOperation.GatewayCommonError'
127
127
 
128
+ # 当前分组已绑定部署组,请解绑后删除
129
+ FAILEDOPERATION_GATEWAYGROUPBOUNDDELETEFAILED = 'FailedOperation.GatewayGroupBoundDeleteFailed'
130
+
128
131
  # 远端访问错误。
129
132
  FAILEDOPERATION_GATEWAYREMOTECALLERROR = 'FailedOperation.GatewayRemoteCallError'
130
133
 
@@ -137,6 +140,9 @@ FAILEDOPERATION_GROUPEXISTS = 'FailedOperation.GroupExists'
137
140
  # 部署组查询失败。
138
141
  FAILEDOPERATION_GROUPQUERYFAILD = 'FailedOperation.GroupQueryFaild'
139
142
 
143
+ # 部署组查询失败。
144
+ FAILEDOPERATION_GROUPQUERYFAILED = 'FailedOperation.GroupQueryFailed'
145
+
140
146
  # 镜像仓库已关联至部署组,请移除后重试
141
147
  FAILEDOPERATION_IMAGEVALIDATEISUSED = 'FailedOperation.ImageValidateIsUsed'
142
148
 
@@ -146,6 +152,9 @@ FAILEDOPERATION_IMAGEREPOREJECTDELERROR = 'FailedOperation.ImagerepoRejectDelErr
146
152
  # tcr仓库绑定失败。
147
153
  FAILEDOPERATION_IMAGEREPOTCRBINDERROR = 'FailedOperation.ImagerepoTcrBindError'
148
154
 
155
+ # TSF节点管理通用错误信息。
156
+ FAILEDOPERATION_INSTANCECOMMONERROR = 'FailedOperation.InstanceCommonError'
157
+
149
158
  # 机器实例删除失败。
150
159
  FAILEDOPERATION_INSTANCEDELETEFAILED = 'FailedOperation.InstanceDeleteFailed'
151
160
 
@@ -383,6 +392,9 @@ INTERNALERROR_CONTAINERGROUPKUBERNETECONNECTERROR = 'InternalError.Containergrou
383
392
  # Kubernetes deployment 未找到。
384
393
  INTERNALERROR_CONTAINERGROUPKUBERNETEDEPLOYMENTNOTFOUND = 'InternalError.ContainergroupKuberneteDeploymentNotfound'
385
394
 
395
+ # 连接TKE服务失败。
396
+ INTERNALERROR_CONTAINERGROUPKUBERNETESCONNECTERROR = 'InternalError.ContainergroupKubernetesConnectError'
397
+
386
398
  # 容器应用SQL错误。
387
399
  INTERNALERROR_CONTAINERGROUPSQLFAILED = 'InternalError.ContainergroupSqlFailed'
388
400
 
@@ -1046,6 +1058,9 @@ INVALIDPARAMETERVALUE_TASKPARAMETERINVALID = 'InvalidParameterValue.TaskParamete
1046
1058
  # TSF应用性能管理业务日志搜索解析时间格式错误。
1047
1059
  INVALIDPARAMETERVALUE_TSFAPMBUSILOGSEARCHPARSERSPDATEFORMATERROR = 'InvalidParameterValue.TsfApmBusiLogSearchParseRspDateFormatError'
1048
1060
 
1061
+ # 数据卷名称校验失败。
1062
+ INVALIDPARAMETERVALUE_VOLUMENAMEVALIDERROR = 'InvalidParameterValue.VolumeNameValidError'
1063
+
1049
1064
  # 仅有停止状态下的部署组才可以不启动。
1050
1065
  INVALIDPARAMETERVALUE_WRONGDONTSTARTVALUE = 'InvalidParameterValue.WrongDontStartValue'
1051
1066