tencentcloud-sdk-python 3.0.1442__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 +30 -50
- tencentcloud/ckafka/v20190819/models.py +23 -23
- tencentcloud/clb/v20180317/models.py +426 -30
- tencentcloud/cls/v20201016/cls_client.py +4 -4
- tencentcloud/cls/v20201016/errorcodes.py +3 -0
- tencentcloud/cls/v20201016/models.py +1089 -324
- tencentcloud/common/credential.py +20 -2
- tencentcloud/dnspod/v20210323/errorcodes.py +3 -0
- tencentcloud/dnspod/v20210323/models.py +17 -2
- tencentcloud/es/v20180416/models.py +30 -0
- tencentcloud/ess/v20201111/ess_client.py +3 -1
- tencentcloud/ess/v20201111/models.py +2 -2
- tencentcloud/essbasic/v20210526/essbasic_client.py +3 -1
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/iai/v20200303/models.py +19 -0
- 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/lighthouse/v20200324/errorcodes.py +27 -0
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +53 -0
- tencentcloud/lighthouse/v20200324/models.py +534 -0
- tencentcloud/live/v20180801/models.py +2 -10
- tencentcloud/lke/v20231130/lke_client.py +0 -23
- tencentcloud/lke/v20231130/models.py +40 -128
- 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 +65 -16
- tencentcloud/organization/v20210331/models.py +24 -26
- tencentcloud/postgres/v20170312/errorcodes.py +0 -12
- tencentcloud/postgres/v20170312/models.py +191 -1527
- tencentcloud/postgres/v20170312/postgres_client.py +0 -75
- tencentcloud/ssl/v20191205/models.py +2 -2
- tencentcloud/sts/v20180813/sts_client.py +21 -7
- tencentcloud/tbaas/v20180416/errorcodes.py +6 -0
- tencentcloud/tcbr/v20220217/models.py +151 -0
- tencentcloud/tcss/v20201101/models.py +45 -0
- tencentcloud/teo/v20220901/models.py +18 -18
- tencentcloud/tke/v20180525/models.py +17 -2
- tencentcloud/tms/v20201229/errorcodes.py +3 -0
- 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 +18 -0
- tencentcloud/trtc/v20190722/models.py +486 -2
- tencentcloud/trtc/v20190722/trtc_client.py +64 -0
- tencentcloud/tse/v20201207/models.py +30 -0
- tencentcloud/tsf/v20180326/errorcodes.py +41 -11
- tencentcloud/tsf/v20180326/models.py +1705 -1263
- tencentcloud/tsf/v20180326/tsf_client.py +18 -18
- tencentcloud/vod/v20180717/models.py +78 -10
- tencentcloud/vod/v20180717/vod_client.py +1 -0
- tencentcloud/vpc/v20170312/models.py +35 -0
- tencentcloud/vpc/v20170312/vpc_client.py +1 -1
- 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/wsa/v20250508/models.py +42 -6
- {tencentcloud_sdk_python-3.0.1442.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1442.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/RECORD +66 -66
- {tencentcloud_sdk_python-3.0.1442.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1442.dist-info → tencentcloud_sdk_python-3.0.1444.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1442.dist-info → tencentcloud_sdk_python-3.0.1444.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:]
|
|
@@ -5497,6 +5512,10 @@ class RabbitMQClusterInfo(AbstractModel):
|
|
|
5497
5512
|
:type InstanceType: int
|
|
5498
5513
|
:param _MessageRetainTime: 消息保留时间,单位小时
|
|
5499
5514
|
:type MessageRetainTime: int
|
|
5515
|
+
:param _SendReceiveRatio: 发送消息流量比例
|
|
5516
|
+
:type SendReceiveRatio: float
|
|
5517
|
+
:param _TraceTime: 消息轨迹保留时间,单位小时
|
|
5518
|
+
:type TraceTime: int
|
|
5500
5519
|
"""
|
|
5501
5520
|
self._ClusterId = None
|
|
5502
5521
|
self._ClusterName = None
|
|
@@ -5523,6 +5542,8 @@ class RabbitMQClusterInfo(AbstractModel):
|
|
|
5523
5542
|
self._PayMode = None
|
|
5524
5543
|
self._InstanceType = None
|
|
5525
5544
|
self._MessageRetainTime = None
|
|
5545
|
+
self._SendReceiveRatio = None
|
|
5546
|
+
self._TraceTime = None
|
|
5526
5547
|
|
|
5527
5548
|
@property
|
|
5528
5549
|
def ClusterId(self):
|
|
@@ -5799,6 +5820,28 @@ class RabbitMQClusterInfo(AbstractModel):
|
|
|
5799
5820
|
def MessageRetainTime(self, MessageRetainTime):
|
|
5800
5821
|
self._MessageRetainTime = MessageRetainTime
|
|
5801
5822
|
|
|
5823
|
+
@property
|
|
5824
|
+
def SendReceiveRatio(self):
|
|
5825
|
+
"""发送消息流量比例
|
|
5826
|
+
:rtype: float
|
|
5827
|
+
"""
|
|
5828
|
+
return self._SendReceiveRatio
|
|
5829
|
+
|
|
5830
|
+
@SendReceiveRatio.setter
|
|
5831
|
+
def SendReceiveRatio(self, SendReceiveRatio):
|
|
5832
|
+
self._SendReceiveRatio = SendReceiveRatio
|
|
5833
|
+
|
|
5834
|
+
@property
|
|
5835
|
+
def TraceTime(self):
|
|
5836
|
+
"""消息轨迹保留时间,单位小时
|
|
5837
|
+
:rtype: int
|
|
5838
|
+
"""
|
|
5839
|
+
return self._TraceTime
|
|
5840
|
+
|
|
5841
|
+
@TraceTime.setter
|
|
5842
|
+
def TraceTime(self, TraceTime):
|
|
5843
|
+
self._TraceTime = TraceTime
|
|
5844
|
+
|
|
5802
5845
|
|
|
5803
5846
|
def _deserialize(self, params):
|
|
5804
5847
|
self._ClusterId = params.get("ClusterId")
|
|
@@ -5831,6 +5874,8 @@ class RabbitMQClusterInfo(AbstractModel):
|
|
|
5831
5874
|
self._PayMode = params.get("PayMode")
|
|
5832
5875
|
self._InstanceType = params.get("InstanceType")
|
|
5833
5876
|
self._MessageRetainTime = params.get("MessageRetainTime")
|
|
5877
|
+
self._SendReceiveRatio = params.get("SendReceiveRatio")
|
|
5878
|
+
self._TraceTime = params.get("TraceTime")
|
|
5834
5879
|
memeber_set = set(params.keys())
|
|
5835
5880
|
for name, value in vars(self).items():
|
|
5836
5881
|
property_name = name[1:]
|
|
@@ -6916,9 +6961,12 @@ class RabbitMQServerlessAccessInfo(AbstractModel):
|
|
|
6916
6961
|
:type PublicAccessEndpoint: str
|
|
6917
6962
|
:param _PublicDataStreamStatus: 公网状态
|
|
6918
6963
|
:type PublicDataStreamStatus: str
|
|
6964
|
+
:param _PublicClbId: 公网CLB实例ID
|
|
6965
|
+
:type PublicClbId: str
|
|
6919
6966
|
"""
|
|
6920
6967
|
self._PublicAccessEndpoint = None
|
|
6921
6968
|
self._PublicDataStreamStatus = None
|
|
6969
|
+
self._PublicClbId = None
|
|
6922
6970
|
|
|
6923
6971
|
@property
|
|
6924
6972
|
def PublicAccessEndpoint(self):
|
|
@@ -6942,10 +6990,22 @@ class RabbitMQServerlessAccessInfo(AbstractModel):
|
|
|
6942
6990
|
def PublicDataStreamStatus(self, PublicDataStreamStatus):
|
|
6943
6991
|
self._PublicDataStreamStatus = PublicDataStreamStatus
|
|
6944
6992
|
|
|
6993
|
+
@property
|
|
6994
|
+
def PublicClbId(self):
|
|
6995
|
+
"""公网CLB实例ID
|
|
6996
|
+
:rtype: str
|
|
6997
|
+
"""
|
|
6998
|
+
return self._PublicClbId
|
|
6999
|
+
|
|
7000
|
+
@PublicClbId.setter
|
|
7001
|
+
def PublicClbId(self, PublicClbId):
|
|
7002
|
+
self._PublicClbId = PublicClbId
|
|
7003
|
+
|
|
6945
7004
|
|
|
6946
7005
|
def _deserialize(self, params):
|
|
6947
7006
|
self._PublicAccessEndpoint = params.get("PublicAccessEndpoint")
|
|
6948
7007
|
self._PublicDataStreamStatus = params.get("PublicDataStreamStatus")
|
|
7008
|
+
self._PublicClbId = params.get("PublicClbId")
|
|
6949
7009
|
memeber_set = set(params.keys())
|
|
6950
7010
|
for name, value in vars(self).items():
|
|
6951
7011
|
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
|
|
|
@@ -137,6 +137,9 @@ INVALIDPARAMETER_APPID = 'InvalidParameter.AppId'
|
|
|
137
137
|
# 音频编码参数错误。
|
|
138
138
|
INVALIDPARAMETER_AUDIOENCODEPARAMS = 'InvalidParameter.AudioEncodeParams'
|
|
139
139
|
|
|
140
|
+
# 无效的参考音频
|
|
141
|
+
INVALIDPARAMETER_AUDIOPROMPT = 'InvalidParameter.AudioPrompt'
|
|
142
|
+
|
|
140
143
|
# BackgroundImageUrl参数错误。
|
|
141
144
|
INVALIDPARAMETER_BACKGROUNDIMAGEURL = 'InvalidParameter.BackgroundImageUrl'
|
|
142
145
|
|
|
@@ -242,6 +245,9 @@ INVALIDPARAMETER_STREAMURL = 'InvalidParameter.StreamUrl'
|
|
|
242
245
|
# TaskId 参数错误。
|
|
243
246
|
INVALIDPARAMETER_TASKID = 'InvalidParameter.TaskId'
|
|
244
247
|
|
|
248
|
+
# 无效的文本长度
|
|
249
|
+
INVALIDPARAMETER_TEXTLENGTH = 'InvalidParameter.TextLength'
|
|
250
|
+
|
|
245
251
|
# Url解析参数失败。
|
|
246
252
|
INVALIDPARAMETER_URLPARAMSERROR = 'InvalidParameter.UrlParamsError'
|
|
247
253
|
|
|
@@ -263,12 +269,21 @@ INVALIDPARAMETER_USERSIGNOTADMIN = 'InvalidParameter.UserSigNotAdmin'
|
|
|
263
269
|
# 视频分辨率参数错误。
|
|
264
270
|
INVALIDPARAMETER_VIDEORESOLUTION = 'InvalidParameter.VideoResolution'
|
|
265
271
|
|
|
272
|
+
# 无效的VoiceId
|
|
273
|
+
INVALIDPARAMETER_VOICEID = 'InvalidParameter.VoiceId'
|
|
274
|
+
|
|
275
|
+
# 无效的声音名字
|
|
276
|
+
INVALIDPARAMETER_VOICENAME = 'InvalidParameter.VoiceName'
|
|
277
|
+
|
|
266
278
|
# RoomId值错误。
|
|
267
279
|
INVALIDPARAMETERVALUE_ROOMID = 'InvalidParameterValue.RoomId'
|
|
268
280
|
|
|
269
281
|
# 缺少参数错误。
|
|
270
282
|
MISSINGPARAMETER = 'MissingParameter'
|
|
271
283
|
|
|
284
|
+
# 无效的APIKey
|
|
285
|
+
MISSINGPARAMETER_APIKEY = 'MissingParameter.APIKey'
|
|
286
|
+
|
|
272
287
|
# 缺少AccessKey参数。
|
|
273
288
|
MISSINGPARAMETER_ACCESSKEY = 'MissingParameter.AccessKey'
|
|
274
289
|
|
|
@@ -391,3 +406,6 @@ UNKNOWNPARAMETER = 'UnknownParameter'
|
|
|
391
406
|
|
|
392
407
|
# 操作不支持。
|
|
393
408
|
UNSUPPORTEDOPERATION = 'UnsupportedOperation'
|
|
409
|
+
|
|
410
|
+
# 不允许使用,请联系技术人员
|
|
411
|
+
UNSUPPORTEDOPERATION_NOTALLOWED = 'UnsupportedOperation.NotAllowed'
|