huaweicloudsdkrocketmq 3.1.69__py2.py3-none-any.whl → 3.1.71__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.
Files changed (35) hide show
  1. huaweicloudsdkrocketmq/v2/__init__.py +16 -0
  2. huaweicloudsdkrocketmq/v2/model/__init__.py +16 -0
  3. huaweicloudsdkrocketmq/v2/model/consumer_group.py +3 -3
  4. huaweicloudsdkrocketmq/v2/model/create_consumer_group_or_batch_delete_consumer_group_req.py +3 -3
  5. huaweicloudsdkrocketmq/v2/model/create_instance_by_engine_req.py +3 -3
  6. huaweicloudsdkrocketmq/v2/model/create_post_paid_instance_req.py +3 -3
  7. huaweicloudsdkrocketmq/v2/model/create_topic_or_batch_delete_topic_req.py +3 -3
  8. huaweicloudsdkrocketmq/v2/model/create_topic_req.py +3 -3
  9. huaweicloudsdkrocketmq/v2/model/modify_config_req.py +115 -0
  10. huaweicloudsdkrocketmq/v2/model/resize_engine_instance_req.py +201 -0
  11. huaweicloudsdkrocketmq/v2/model/resize_instance_request.py +167 -0
  12. huaweicloudsdkrocketmq/v2/model/resize_instance_response.py +116 -0
  13. huaweicloudsdkrocketmq/v2/model/rocket_mq_config_req.py +144 -0
  14. huaweicloudsdkrocketmq/v2/model/rocket_mq_config_resp.py +260 -0
  15. huaweicloudsdkrocketmq/v2/model/rocket_mq_extend_product_info_entity.py +430 -0
  16. huaweicloudsdkrocketmq/v2/model/rocket_mq_extend_product_ios_entity.py +202 -0
  17. huaweicloudsdkrocketmq/v2/model/rocket_mq_extend_product_properties_entity.py +318 -0
  18. huaweicloudsdkrocketmq/v2/model/rocket_mq_product_support_features_entity.py +144 -0
  19. huaweicloudsdkrocketmq/v2/model/show_engine_instance_extend_product_info_request.py +171 -0
  20. huaweicloudsdkrocketmq/v2/model/show_engine_instance_extend_product_info_response.py +174 -0
  21. huaweicloudsdkrocketmq/v2/model/show_one_topic_response.py +3 -3
  22. huaweicloudsdkrocketmq/v2/model/show_rocket_mq_configs_request.py +114 -0
  23. huaweicloudsdkrocketmq/v2/model/show_rocket_mq_configs_response.py +116 -0
  24. huaweicloudsdkrocketmq/v2/model/tag_entity.py +6 -6
  25. huaweicloudsdkrocketmq/v2/model/topic.py +3 -3
  26. huaweicloudsdkrocketmq/v2/model/update_consumer_group.py +6 -6
  27. huaweicloudsdkrocketmq/v2/model/update_rocket_mq_configs_request.py +139 -0
  28. huaweicloudsdkrocketmq/v2/model/update_rocket_mq_configs_response.py +85 -0
  29. huaweicloudsdkrocketmq/v2/rocketmq_async_client.py +272 -0
  30. huaweicloudsdkrocketmq/v2/rocketmq_client.py +272 -0
  31. {huaweicloudsdkrocketmq-3.1.69.dist-info → huaweicloudsdkrocketmq-3.1.71.dist-info}/METADATA +2 -2
  32. {huaweicloudsdkrocketmq-3.1.69.dist-info → huaweicloudsdkrocketmq-3.1.71.dist-info}/RECORD +35 -19
  33. {huaweicloudsdkrocketmq-3.1.69.dist-info → huaweicloudsdkrocketmq-3.1.71.dist-info}/WHEEL +1 -1
  34. {huaweicloudsdkrocketmq-3.1.69.dist-info → huaweicloudsdkrocketmq-3.1.71.dist-info}/LICENSE +0 -0
  35. {huaweicloudsdkrocketmq-3.1.69.dist-info → huaweicloudsdkrocketmq-3.1.71.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,174 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.sdk_response import SdkResponse
6
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
7
+
8
+
9
+ class ShowEngineInstanceExtendProductInfoResponse(SdkResponse):
10
+
11
+ """
12
+ Attributes:
13
+ openapi_types (dict): The key is attribute name
14
+ and the value is attribute type.
15
+ attribute_map (dict): The key is attribute name
16
+ and the value is json key in definition.
17
+ """
18
+ sensitive_list = []
19
+
20
+ openapi_types = {
21
+ 'engine': 'str',
22
+ 'versions': 'list[str]',
23
+ 'products': 'list[RocketMQExtendProductInfoEntity]'
24
+ }
25
+
26
+ attribute_map = {
27
+ 'engine': 'engine',
28
+ 'versions': 'versions',
29
+ 'products': 'products'
30
+ }
31
+
32
+ def __init__(self, engine=None, versions=None, products=None):
33
+ """ShowEngineInstanceExtendProductInfoResponse
34
+
35
+ The model defined in huaweicloud sdk
36
+
37
+ :param engine: 消息引擎类型
38
+ :type engine: str
39
+ :param versions: 消息引擎支持的版本
40
+ :type versions: list[str]
41
+ :param products: 规格变更的产品信息
42
+ :type products: list[:class:`huaweicloudsdkrocketmq.v2.RocketMQExtendProductInfoEntity`]
43
+ """
44
+
45
+ super(ShowEngineInstanceExtendProductInfoResponse, self).__init__()
46
+
47
+ self._engine = None
48
+ self._versions = None
49
+ self._products = None
50
+ self.discriminator = None
51
+
52
+ if engine is not None:
53
+ self.engine = engine
54
+ if versions is not None:
55
+ self.versions = versions
56
+ if products is not None:
57
+ self.products = products
58
+
59
+ @property
60
+ def engine(self):
61
+ """Gets the engine of this ShowEngineInstanceExtendProductInfoResponse.
62
+
63
+ 消息引擎类型
64
+
65
+ :return: The engine of this ShowEngineInstanceExtendProductInfoResponse.
66
+ :rtype: str
67
+ """
68
+ return self._engine
69
+
70
+ @engine.setter
71
+ def engine(self, engine):
72
+ """Sets the engine of this ShowEngineInstanceExtendProductInfoResponse.
73
+
74
+ 消息引擎类型
75
+
76
+ :param engine: The engine of this ShowEngineInstanceExtendProductInfoResponse.
77
+ :type engine: str
78
+ """
79
+ self._engine = engine
80
+
81
+ @property
82
+ def versions(self):
83
+ """Gets the versions of this ShowEngineInstanceExtendProductInfoResponse.
84
+
85
+ 消息引擎支持的版本
86
+
87
+ :return: The versions of this ShowEngineInstanceExtendProductInfoResponse.
88
+ :rtype: list[str]
89
+ """
90
+ return self._versions
91
+
92
+ @versions.setter
93
+ def versions(self, versions):
94
+ """Sets the versions of this ShowEngineInstanceExtendProductInfoResponse.
95
+
96
+ 消息引擎支持的版本
97
+
98
+ :param versions: The versions of this ShowEngineInstanceExtendProductInfoResponse.
99
+ :type versions: list[str]
100
+ """
101
+ self._versions = versions
102
+
103
+ @property
104
+ def products(self):
105
+ """Gets the products of this ShowEngineInstanceExtendProductInfoResponse.
106
+
107
+ 规格变更的产品信息
108
+
109
+ :return: The products of this ShowEngineInstanceExtendProductInfoResponse.
110
+ :rtype: list[:class:`huaweicloudsdkrocketmq.v2.RocketMQExtendProductInfoEntity`]
111
+ """
112
+ return self._products
113
+
114
+ @products.setter
115
+ def products(self, products):
116
+ """Sets the products of this ShowEngineInstanceExtendProductInfoResponse.
117
+
118
+ 规格变更的产品信息
119
+
120
+ :param products: The products of this ShowEngineInstanceExtendProductInfoResponse.
121
+ :type products: list[:class:`huaweicloudsdkrocketmq.v2.RocketMQExtendProductInfoEntity`]
122
+ """
123
+ self._products = products
124
+
125
+ def to_dict(self):
126
+ """Returns the model properties as a dict"""
127
+ result = {}
128
+
129
+ for attr, _ in six.iteritems(self.openapi_types):
130
+ value = getattr(self, attr)
131
+ if isinstance(value, list):
132
+ result[attr] = list(map(
133
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
134
+ value
135
+ ))
136
+ elif hasattr(value, "to_dict"):
137
+ result[attr] = value.to_dict()
138
+ elif isinstance(value, dict):
139
+ result[attr] = dict(map(
140
+ lambda item: (item[0], item[1].to_dict())
141
+ if hasattr(item[1], "to_dict") else item,
142
+ value.items()
143
+ ))
144
+ else:
145
+ if attr in self.sensitive_list:
146
+ result[attr] = "****"
147
+ else:
148
+ result[attr] = value
149
+
150
+ return result
151
+
152
+ def to_str(self):
153
+ """Returns the string representation of the model"""
154
+ import simplejson as json
155
+ if six.PY2:
156
+ import sys
157
+ reload(sys)
158
+ sys.setdefaultencoding("utf-8")
159
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
160
+
161
+ def __repr__(self):
162
+ """For `print`"""
163
+ return self.to_str()
164
+
165
+ def __eq__(self, other):
166
+ """Returns true if both objects are equal"""
167
+ if not isinstance(other, ShowEngineInstanceExtendProductInfoResponse):
168
+ return False
169
+
170
+ return self.__dict__ == other.__dict__
171
+
172
+ def __ne__(self, other):
173
+ """Returns true if both objects are not equal"""
174
+ return not self == other
@@ -50,7 +50,7 @@ class ShowOneTopicResponse(SdkResponse):
50
50
  :type permission: str
51
51
  :param brokers: 关联的代理。
52
52
  :type brokers: list[:class:`huaweicloudsdkrocketmq.v2.TopicBrokers`]
53
- :param message_type: 消息类型。
53
+ :param message_type: 消息类型(RocketMQ实例5.x版本才包含此参数)。
54
54
  :type message_type: str
55
55
  """
56
56
 
@@ -191,7 +191,7 @@ class ShowOneTopicResponse(SdkResponse):
191
191
  def message_type(self):
192
192
  """Gets the message_type of this ShowOneTopicResponse.
193
193
 
194
- 消息类型。
194
+ 消息类型(RocketMQ实例5.x版本才包含此参数)。
195
195
 
196
196
  :return: The message_type of this ShowOneTopicResponse.
197
197
  :rtype: str
@@ -202,7 +202,7 @@ class ShowOneTopicResponse(SdkResponse):
202
202
  def message_type(self, message_type):
203
203
  """Sets the message_type of this ShowOneTopicResponse.
204
204
 
205
- 消息类型。
205
+ 消息类型(RocketMQ实例5.x版本才包含此参数)。
206
206
 
207
207
  :param message_type: The message_type of this ShowOneTopicResponse.
208
208
  :type message_type: str
@@ -0,0 +1,114 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
6
+
7
+
8
+ class ShowRocketMqConfigsRequest:
9
+
10
+ """
11
+ Attributes:
12
+ openapi_types (dict): The key is attribute name
13
+ and the value is attribute type.
14
+ attribute_map (dict): The key is attribute name
15
+ and the value is json key in definition.
16
+ """
17
+ sensitive_list = []
18
+
19
+ openapi_types = {
20
+ 'instance_id': 'str'
21
+ }
22
+
23
+ attribute_map = {
24
+ 'instance_id': 'instance_id'
25
+ }
26
+
27
+ def __init__(self, instance_id=None):
28
+ """ShowRocketMqConfigsRequest
29
+
30
+ The model defined in huaweicloud sdk
31
+
32
+ :param instance_id: 实例ID。
33
+ :type instance_id: str
34
+ """
35
+
36
+
37
+
38
+ self._instance_id = None
39
+ self.discriminator = None
40
+
41
+ self.instance_id = instance_id
42
+
43
+ @property
44
+ def instance_id(self):
45
+ """Gets the instance_id of this ShowRocketMqConfigsRequest.
46
+
47
+ 实例ID。
48
+
49
+ :return: The instance_id of this ShowRocketMqConfigsRequest.
50
+ :rtype: str
51
+ """
52
+ return self._instance_id
53
+
54
+ @instance_id.setter
55
+ def instance_id(self, instance_id):
56
+ """Sets the instance_id of this ShowRocketMqConfigsRequest.
57
+
58
+ 实例ID。
59
+
60
+ :param instance_id: The instance_id of this ShowRocketMqConfigsRequest.
61
+ :type instance_id: str
62
+ """
63
+ self._instance_id = instance_id
64
+
65
+ def to_dict(self):
66
+ """Returns the model properties as a dict"""
67
+ result = {}
68
+
69
+ for attr, _ in six.iteritems(self.openapi_types):
70
+ value = getattr(self, attr)
71
+ if isinstance(value, list):
72
+ result[attr] = list(map(
73
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
74
+ value
75
+ ))
76
+ elif hasattr(value, "to_dict"):
77
+ result[attr] = value.to_dict()
78
+ elif isinstance(value, dict):
79
+ result[attr] = dict(map(
80
+ lambda item: (item[0], item[1].to_dict())
81
+ if hasattr(item[1], "to_dict") else item,
82
+ value.items()
83
+ ))
84
+ else:
85
+ if attr in self.sensitive_list:
86
+ result[attr] = "****"
87
+ else:
88
+ result[attr] = value
89
+
90
+ return result
91
+
92
+ def to_str(self):
93
+ """Returns the string representation of the model"""
94
+ import simplejson as json
95
+ if six.PY2:
96
+ import sys
97
+ reload(sys)
98
+ sys.setdefaultencoding("utf-8")
99
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
100
+
101
+ def __repr__(self):
102
+ """For `print`"""
103
+ return self.to_str()
104
+
105
+ def __eq__(self, other):
106
+ """Returns true if both objects are equal"""
107
+ if not isinstance(other, ShowRocketMqConfigsRequest):
108
+ return False
109
+
110
+ return self.__dict__ == other.__dict__
111
+
112
+ def __ne__(self, other):
113
+ """Returns true if both objects are not equal"""
114
+ return not self == other
@@ -0,0 +1,116 @@
1
+ # coding: utf-8
2
+
3
+ import six
4
+
5
+ from huaweicloudsdkcore.sdk_response import SdkResponse
6
+ from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
7
+
8
+
9
+ class ShowRocketMqConfigsResponse(SdkResponse):
10
+
11
+ """
12
+ Attributes:
13
+ openapi_types (dict): The key is attribute name
14
+ and the value is attribute type.
15
+ attribute_map (dict): The key is attribute name
16
+ and the value is json key in definition.
17
+ """
18
+ sensitive_list = []
19
+
20
+ openapi_types = {
21
+ 'rocketmq_configs': 'list[RocketMQConfigResp]'
22
+ }
23
+
24
+ attribute_map = {
25
+ 'rocketmq_configs': 'rocketmq_configs'
26
+ }
27
+
28
+ def __init__(self, rocketmq_configs=None):
29
+ """ShowRocketMqConfigsResponse
30
+
31
+ The model defined in huaweicloud sdk
32
+
33
+ :param rocketmq_configs: RocketMQ配置。
34
+ :type rocketmq_configs: list[:class:`huaweicloudsdkrocketmq.v2.RocketMQConfigResp`]
35
+ """
36
+
37
+ super(ShowRocketMqConfigsResponse, self).__init__()
38
+
39
+ self._rocketmq_configs = None
40
+ self.discriminator = None
41
+
42
+ if rocketmq_configs is not None:
43
+ self.rocketmq_configs = rocketmq_configs
44
+
45
+ @property
46
+ def rocketmq_configs(self):
47
+ """Gets the rocketmq_configs of this ShowRocketMqConfigsResponse.
48
+
49
+ RocketMQ配置。
50
+
51
+ :return: The rocketmq_configs of this ShowRocketMqConfigsResponse.
52
+ :rtype: list[:class:`huaweicloudsdkrocketmq.v2.RocketMQConfigResp`]
53
+ """
54
+ return self._rocketmq_configs
55
+
56
+ @rocketmq_configs.setter
57
+ def rocketmq_configs(self, rocketmq_configs):
58
+ """Sets the rocketmq_configs of this ShowRocketMqConfigsResponse.
59
+
60
+ RocketMQ配置。
61
+
62
+ :param rocketmq_configs: The rocketmq_configs of this ShowRocketMqConfigsResponse.
63
+ :type rocketmq_configs: list[:class:`huaweicloudsdkrocketmq.v2.RocketMQConfigResp`]
64
+ """
65
+ self._rocketmq_configs = rocketmq_configs
66
+
67
+ def to_dict(self):
68
+ """Returns the model properties as a dict"""
69
+ result = {}
70
+
71
+ for attr, _ in six.iteritems(self.openapi_types):
72
+ value = getattr(self, attr)
73
+ if isinstance(value, list):
74
+ result[attr] = list(map(
75
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
76
+ value
77
+ ))
78
+ elif hasattr(value, "to_dict"):
79
+ result[attr] = value.to_dict()
80
+ elif isinstance(value, dict):
81
+ result[attr] = dict(map(
82
+ lambda item: (item[0], item[1].to_dict())
83
+ if hasattr(item[1], "to_dict") else item,
84
+ value.items()
85
+ ))
86
+ else:
87
+ if attr in self.sensitive_list:
88
+ result[attr] = "****"
89
+ else:
90
+ result[attr] = value
91
+
92
+ return result
93
+
94
+ def to_str(self):
95
+ """Returns the string representation of the model"""
96
+ import simplejson as json
97
+ if six.PY2:
98
+ import sys
99
+ reload(sys)
100
+ sys.setdefaultencoding("utf-8")
101
+ return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
102
+
103
+ def __repr__(self):
104
+ """For `print`"""
105
+ return self.to_str()
106
+
107
+ def __eq__(self, other):
108
+ """Returns true if both objects are equal"""
109
+ if not isinstance(other, ShowRocketMqConfigsResponse):
110
+ return False
111
+
112
+ return self.__dict__ == other.__dict__
113
+
114
+ def __ne__(self, other):
115
+ """Returns true if both objects are not equal"""
116
+ return not self == other
@@ -31,9 +31,9 @@ class TagEntity:
31
31
 
32
32
  The model defined in huaweicloud sdk
33
33
 
34
- :param key: 标签键。 - 不能为空。 - 对于同一个实例,Key值唯一。 [- 长度不超过36个字符。](tag:cmcc,ctc,g42,hk_g42,hk_tm,hws_eu,hws_ocb,ocb,tm,otc) [- 长度为1~128个字符(中文也可以输入128个字符)。](tag:hws,hws_hk) [- 不能包含“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”](tag:cmcc,ctc,g42,hk_g42,hk_tm,hws_eu,hws_ocb,ocb,tm,otc) [- 由任意语种字母、数字、空格和字符组成,字符仅支持_ . : = + - @](tag:hws,hws_hk) - 首尾字符不能为空格。
34
+ :param key: 标签键。 - 不能为空。 - 对于同一个实例,Key值唯一。 - 长度为1~128个字符(中文也可以输入128个字符)。 - 由任意语种字母、数字、空格和字符组成,字符仅支持_ . : = + - @ - 首尾字符不能为空格。
35
35
  :type key: str
36
- :param value: 标签值。 [- 不能为空。](tag:cmcc,ctc,g42,hk_g42,hk_tm,hws_eu,hws_ocb,ocb,tm,otc) [- 长度不超过43个字符。](tag:cmcc,ctc,g42,hk_g42,hk_tm,hws_eu,hws_ocb,ocb,tm,otc) [- 长度为0~255个字符(中文也可以输入128个字符)。](tag:hws,hws_hk) [- 不能包含“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”](tag:cmcc,ctc,g42,hk_g42,hk_tm,hws_eu,hws_ocb,ocb,tm,otc) [- 由任意语种字母、数字、空格和字符组成,字符仅支持_ . : = + - @](tag:hws,hws_hk) - 首尾字符不能为空格。
36
+ :param value: 标签值。 - 长度为0~255个字符(中文也可以输入128个字符)。 - 由任意语种字母、数字、空格和字符组成,字符仅支持_ . : = + - @ - 首尾字符不能为空格。
37
37
  :type value: str
38
38
  """
39
39
 
@@ -52,7 +52,7 @@ class TagEntity:
52
52
  def key(self):
53
53
  """Gets the key of this TagEntity.
54
54
 
55
- 标签键。 - 不能为空。 - 对于同一个实例,Key值唯一。 [- 长度不超过36个字符。](tag:cmcc,ctc,g42,hk_g42,hk_tm,hws_eu,hws_ocb,ocb,tm,otc) [- 长度为1~128个字符(中文也可以输入128个字符)。](tag:hws,hws_hk) [- 不能包含“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”](tag:cmcc,ctc,g42,hk_g42,hk_tm,hws_eu,hws_ocb,ocb,tm,otc) [- 由任意语种字母、数字、空格和字符组成,字符仅支持_ . : = + - @](tag:hws,hws_hk) - 首尾字符不能为空格。
55
+ 标签键。 - 不能为空。 - 对于同一个实例,Key值唯一。 - 长度为1~128个字符(中文也可以输入128个字符)。 - 由任意语种字母、数字、空格和字符组成,字符仅支持_ . : = + - @ - 首尾字符不能为空格。
56
56
 
57
57
  :return: The key of this TagEntity.
58
58
  :rtype: str
@@ -63,7 +63,7 @@ class TagEntity:
63
63
  def key(self, key):
64
64
  """Sets the key of this TagEntity.
65
65
 
66
- 标签键。 - 不能为空。 - 对于同一个实例,Key值唯一。 [- 长度不超过36个字符。](tag:cmcc,ctc,g42,hk_g42,hk_tm,hws_eu,hws_ocb,ocb,tm,otc) [- 长度为1~128个字符(中文也可以输入128个字符)。](tag:hws,hws_hk) [- 不能包含“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”](tag:cmcc,ctc,g42,hk_g42,hk_tm,hws_eu,hws_ocb,ocb,tm,otc) [- 由任意语种字母、数字、空格和字符组成,字符仅支持_ . : = + - @](tag:hws,hws_hk) - 首尾字符不能为空格。
66
+ 标签键。 - 不能为空。 - 对于同一个实例,Key值唯一。 - 长度为1~128个字符(中文也可以输入128个字符)。 - 由任意语种字母、数字、空格和字符组成,字符仅支持_ . : = + - @ - 首尾字符不能为空格。
67
67
 
68
68
  :param key: The key of this TagEntity.
69
69
  :type key: str
@@ -74,7 +74,7 @@ class TagEntity:
74
74
  def value(self):
75
75
  """Gets the value of this TagEntity.
76
76
 
77
- 标签值。 [- 不能为空。](tag:cmcc,ctc,g42,hk_g42,hk_tm,hws_eu,hws_ocb,ocb,tm,otc) [- 长度不超过43个字符。](tag:cmcc,ctc,g42,hk_g42,hk_tm,hws_eu,hws_ocb,ocb,tm,otc) [- 长度为0~255个字符(中文也可以输入128个字符)。](tag:hws,hws_hk) [- 不能包含“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”](tag:cmcc,ctc,g42,hk_g42,hk_tm,hws_eu,hws_ocb,ocb,tm,otc) [- 由任意语种字母、数字、空格和字符组成,字符仅支持_ . : = + - @](tag:hws,hws_hk) - 首尾字符不能为空格。
77
+ 标签值。 - 长度为0~255个字符(中文也可以输入128个字符)。 - 由任意语种字母、数字、空格和字符组成,字符仅支持_ . : = + - @ - 首尾字符不能为空格。
78
78
 
79
79
  :return: The value of this TagEntity.
80
80
  :rtype: str
@@ -85,7 +85,7 @@ class TagEntity:
85
85
  def value(self, value):
86
86
  """Sets the value of this TagEntity.
87
87
 
88
- 标签值。 [- 不能为空。](tag:cmcc,ctc,g42,hk_g42,hk_tm,hws_eu,hws_ocb,ocb,tm,otc) [- 长度不超过43个字符。](tag:cmcc,ctc,g42,hk_g42,hk_tm,hws_eu,hws_ocb,ocb,tm,otc) [- 长度为0~255个字符(中文也可以输入128个字符)。](tag:hws,hws_hk) [- 不能包含“=”,“*”,“<”,“>”,“\\”,“,”,“|”,“/”](tag:cmcc,ctc,g42,hk_g42,hk_tm,hws_eu,hws_ocb,ocb,tm,otc) [- 由任意语种字母、数字、空格和字符组成,字符仅支持_ . : = + - @](tag:hws,hws_hk) - 首尾字符不能为空格。
88
+ 标签值。 - 长度为0~255个字符(中文也可以输入128个字符)。 - 由任意语种字母、数字、空格和字符组成,字符仅支持_ . : = + - @ - 首尾字符不能为空格。
89
89
 
90
90
  :param value: The value of this TagEntity.
91
91
  :type value: str
@@ -49,7 +49,7 @@ class Topic:
49
49
  :type permission: str
50
50
  :param brokers: 关联的代理。
51
51
  :type brokers: list[:class:`huaweicloudsdkrocketmq.v2.TopicBrokers`]
52
- :param message_type: 消息类型。
52
+ :param message_type: 消息类型(RocketMQ实例5.x版本才包含此参数)。
53
53
  :type message_type: str
54
54
  """
55
55
 
@@ -190,7 +190,7 @@ class Topic:
190
190
  def message_type(self):
191
191
  """Gets the message_type of this Topic.
192
192
 
193
- 消息类型。
193
+ 消息类型(RocketMQ实例5.x版本才包含此参数)。
194
194
 
195
195
  :return: The message_type of this Topic.
196
196
  :rtype: str
@@ -201,7 +201,7 @@ class Topic:
201
201
  def message_type(self, message_type):
202
202
  """Sets the message_type of this Topic.
203
203
 
204
- 消息类型。
204
+ 消息类型(RocketMQ实例5.x版本才包含此参数)。
205
205
 
206
206
  :param message_type: The message_type of this Topic.
207
207
  :type message_type: str
@@ -45,9 +45,9 @@ class UpdateConsumerGroup:
45
45
  :type broadcast: bool
46
46
  :param brokers: 关联的代理列表。
47
47
  :type brokers: list[str]
48
- :param name: 消费组名称,只能由英文字母、数字、百分号、竖线、中划线、下划线组成,长度3~64个字符。
48
+ :param name: 待修改参数的消费组(消费组名称不支持修改)。
49
49
  :type name: str
50
- :param retry_max_time: 最大重试次数。
50
+ :param retry_max_time: 最大重试次数,取值范围为1~16。
51
51
  :type retry_max_time: float
52
52
  :param from_beginning: 是否重头消费。
53
53
  :type from_beginning: bool
@@ -143,7 +143,7 @@ class UpdateConsumerGroup:
143
143
  def name(self):
144
144
  """Gets the name of this UpdateConsumerGroup.
145
145
 
146
- 消费组名称,只能由英文字母、数字、百分号、竖线、中划线、下划线组成,长度3~64个字符。
146
+ 待修改参数的消费组(消费组名称不支持修改)。
147
147
 
148
148
  :return: The name of this UpdateConsumerGroup.
149
149
  :rtype: str
@@ -154,7 +154,7 @@ class UpdateConsumerGroup:
154
154
  def name(self, name):
155
155
  """Sets the name of this UpdateConsumerGroup.
156
156
 
157
- 消费组名称,只能由英文字母、数字、百分号、竖线、中划线、下划线组成,长度3~64个字符。
157
+ 待修改参数的消费组(消费组名称不支持修改)。
158
158
 
159
159
  :param name: The name of this UpdateConsumerGroup.
160
160
  :type name: str
@@ -165,7 +165,7 @@ class UpdateConsumerGroup:
165
165
  def retry_max_time(self):
166
166
  """Gets the retry_max_time of this UpdateConsumerGroup.
167
167
 
168
- 最大重试次数。
168
+ 最大重试次数,取值范围为1~16。
169
169
 
170
170
  :return: The retry_max_time of this UpdateConsumerGroup.
171
171
  :rtype: float
@@ -176,7 +176,7 @@ class UpdateConsumerGroup:
176
176
  def retry_max_time(self, retry_max_time):
177
177
  """Sets the retry_max_time of this UpdateConsumerGroup.
178
178
 
179
- 最大重试次数。
179
+ 最大重试次数,取值范围为1~16。
180
180
 
181
181
  :param retry_max_time: The retry_max_time of this UpdateConsumerGroup.
182
182
  :type retry_max_time: float