huaweicloudsdkdwr 3.1.155__py2.py3-none-any.whl → 3.1.157__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 huaweicloudsdkdwr might be problematic. Click here for more details.

Files changed (76) hide show
  1. huaweicloudsdkdwr/v1/__init__.py +7 -5
  2. huaweicloudsdkdwr/v1/dwr_async_client.py +266 -266
  3. huaweicloudsdkdwr/v1/dwr_client.py +266 -266
  4. huaweicloudsdkdwr/v1/model/__init__.py +7 -5
  5. huaweicloudsdkdwr/v1/model/build_progress.py +15 -15
  6. huaweicloudsdkdwr/v1/model/charge_info.py +15 -15
  7. huaweicloudsdkdwr/v1/model/collection_base_info.py +6 -6
  8. huaweicloudsdkdwr/v1/model/create_collection_body.py +18 -18
  9. huaweicloudsdkdwr/v1/model/create_collection_response.py +6 -6
  10. huaweicloudsdkdwr/v1/model/create_index_body.py +6 -6
  11. huaweicloudsdkdwr/v1/model/create_index_response.py +6 -6
  12. huaweicloudsdkdwr/v1/model/create_store_body.py +12 -12
  13. huaweicloudsdkdwr/v1/model/create_store_data.py +21 -21
  14. huaweicloudsdkdwr/v1/model/create_store_response.py +6 -6
  15. huaweicloudsdkdwr/v1/model/decribe_collection_data.py +102 -73
  16. huaweicloudsdkdwr/v1/model/delete_collection_response.py +6 -6
  17. huaweicloudsdkdwr/v1/model/delete_entities_body.py +9 -9
  18. huaweicloudsdkdwr/v1/model/delete_entities_response.py +6 -6
  19. huaweicloudsdkdwr/v1/model/delete_index_body.py +9 -9
  20. huaweicloudsdkdwr/v1/model/delete_index_response.py +6 -6
  21. huaweicloudsdkdwr/v1/model/delete_store_data.py +3 -3
  22. huaweicloudsdkdwr/v1/model/delete_store_response.py +6 -6
  23. huaweicloudsdkdwr/v1/model/describe_collection_response.py +6 -6
  24. huaweicloudsdkdwr/v1/model/describe_index_body.py +9 -9
  25. huaweicloudsdkdwr/v1/model/{describe_index_respose_data.py → describe_index_data.py} +27 -32
  26. huaweicloudsdkdwr/v1/model/describe_index_response.py +10 -10
  27. huaweicloudsdkdwr/v1/model/describe_job_body.py +3 -3
  28. huaweicloudsdkdwr/v1/model/describe_job_response.py +6 -6
  29. huaweicloudsdkdwr/v1/model/describe_store_response.py +10 -10
  30. huaweicloudsdkdwr/v1/model/entities_data.py +114 -0
  31. huaweicloudsdkdwr/v1/model/field.py +15 -15
  32. huaweicloudsdkdwr/v1/model/field_data.py +102 -15
  33. huaweicloudsdkdwr/v1/model/flavor.py +6 -6
  34. huaweicloudsdkdwr/v1/model/get_index_progress_body.py +9 -9
  35. huaweicloudsdkdwr/v1/model/{get_index_progress_response_data.py → get_progress_data.py} +21 -21
  36. huaweicloudsdkdwr/v1/model/get_progress_response.py +10 -10
  37. huaweicloudsdkdwr/v1/model/hybrid_search_body.py +20 -16
  38. huaweicloudsdkdwr/v1/model/hybrid_search_response.py +11 -15
  39. huaweicloudsdkdwr/v1/model/index_desc.py +14 -16
  40. huaweicloudsdkdwr/v1/model/index_params.py +9 -9
  41. huaweicloudsdkdwr/v1/model/insert_entities_body.py +9 -9
  42. huaweicloudsdkdwr/v1/model/{insert_entities_response_data.py → insert_entities_data.py} +17 -17
  43. huaweicloudsdkdwr/v1/model/insert_entities_response.py +10 -10
  44. huaweicloudsdkdwr/v1/model/job_data.py +24 -24
  45. huaweicloudsdkdwr/v1/model/list_collection_data.py +6 -6
  46. huaweicloudsdkdwr/v1/model/list_collection_details.py +18 -18
  47. huaweicloudsdkdwr/v1/model/list_collections_body.py +6 -6
  48. huaweicloudsdkdwr/v1/model/list_collections_response.py +6 -6
  49. huaweicloudsdkdwr/v1/model/list_jobs_data.py +3 -3
  50. huaweicloudsdkdwr/v1/model/list_jobs_request.py +15 -15
  51. huaweicloudsdkdwr/v1/model/list_jobs_response.py +6 -6
  52. huaweicloudsdkdwr/v1/model/list_store_data.py +114 -0
  53. huaweicloudsdkdwr/v1/model/list_stores_response.py +11 -15
  54. huaweicloudsdkdwr/v1/model/load_collection_body.py +6 -6
  55. huaweicloudsdkdwr/v1/model/load_collection_response.py +6 -6
  56. huaweicloudsdkdwr/v1/model/primary_field.py +6 -6
  57. huaweicloudsdkdwr/v1/model/query_entities_body.py +18 -18
  58. huaweicloudsdkdwr/v1/model/query_entities_response.py +11 -15
  59. huaweicloudsdkdwr/v1/model/release_collection_response.py +6 -6
  60. huaweicloudsdkdwr/v1/model/rerank.py +6 -6
  61. huaweicloudsdkdwr/v1/model/search_entities_body.py +27 -27
  62. huaweicloudsdkdwr/v1/model/search_entities_response.py +11 -15
  63. huaweicloudsdkdwr/v1/model/store_data.py +364 -0
  64. huaweicloudsdkdwr/v1/model/store_info.py +3 -3
  65. huaweicloudsdkdwr/v1/model/sub_search.py +18 -18
  66. huaweicloudsdkdwr/v1/model/upsert_entities_body.py +9 -9
  67. huaweicloudsdkdwr/v1/model/{upsert_entities_response_data.py → upsert_entities_data.py} +18 -19
  68. huaweicloudsdkdwr/v1/model/upsert_entities_response.py +10 -10
  69. huaweicloudsdkdwr/v1/region/dwr_region.py +6 -0
  70. huaweicloudsdkdwr/v3/region/dwr_region.py +6 -0
  71. {huaweicloudsdkdwr-3.1.155.dist-info → huaweicloudsdkdwr-3.1.157.dist-info}/METADATA +2 -2
  72. {huaweicloudsdkdwr-3.1.155.dist-info → huaweicloudsdkdwr-3.1.157.dist-info}/RECORD +75 -73
  73. huaweicloudsdkdwr/v1/model/describe_store_data.py +0 -364
  74. {huaweicloudsdkdwr-3.1.155.dist-info → huaweicloudsdkdwr-3.1.157.dist-info}/LICENSE +0 -0
  75. {huaweicloudsdkdwr-3.1.155.dist-info → huaweicloudsdkdwr-3.1.157.dist-info}/WHEEL +0 -0
  76. {huaweicloudsdkdwr-3.1.155.dist-info → huaweicloudsdkdwr-3.1.157.dist-info}/top_level.txt +0 -0
@@ -39,17 +39,17 @@ class CreateStoreBody:
39
39
 
40
40
  The model defined in huaweicloud sdk
41
41
 
42
- :param store_name: 知识仓实例名称,全域唯一。 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。
42
+ :param store_name: **参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及 **默认取值:** 不涉及
43
43
  :type store_name: str
44
- :param region: 区域ID,根据上线的region决定。
44
+ :param region: **参数解释:** 区域ID。 **约束限制**: 不涉及。 **取值范围:** 取值:非空,请参见地区和终端节点。 **默认取值:** 无
45
45
  :type region: str
46
- :param availability_zones: 可用区ID
46
+ :param availability_zones: **参数解释:** 可用区ID列表,支持1个,或者多个。 **约束限制:** 不涉及。
47
47
  :type availability_zones: list[str]
48
48
  :param flavor:
49
49
  :type flavor: :class:`huaweicloudsdkdwr.v1.Flavor`
50
50
  :param charge_info:
51
51
  :type charge_info: :class:`huaweicloudsdkdwr.v1.ChargeInfo`
52
- :param description: 知识仓实例描述信息。有效长度0-255 服务实例描述信息。有效长度0-255
52
+ :param description: **参数解释:** 知识仓实例描述信息。 **约束限制:** 有效长度0-255字节。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
53
53
  :type description: str
54
54
  """
55
55
 
@@ -76,7 +76,7 @@ class CreateStoreBody:
76
76
  def store_name(self):
77
77
  r"""Gets the store_name of this CreateStoreBody.
78
78
 
79
- 知识仓实例名称,全域唯一。 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。
79
+ **参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及 **默认取值:** 不涉及
80
80
 
81
81
  :return: The store_name of this CreateStoreBody.
82
82
  :rtype: str
@@ -87,7 +87,7 @@ class CreateStoreBody:
87
87
  def store_name(self, store_name):
88
88
  r"""Sets the store_name of this CreateStoreBody.
89
89
 
90
- 知识仓实例名称,全域唯一。 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。
90
+ **参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及 **默认取值:** 不涉及
91
91
 
92
92
  :param store_name: The store_name of this CreateStoreBody.
93
93
  :type store_name: str
@@ -98,7 +98,7 @@ class CreateStoreBody:
98
98
  def region(self):
99
99
  r"""Gets the region of this CreateStoreBody.
100
100
 
101
- 区域ID,根据上线的region决定。
101
+ **参数解释:** 区域ID。 **约束限制**: 不涉及。 **取值范围:** 取值:非空,请参见地区和终端节点。 **默认取值:** 无
102
102
 
103
103
  :return: The region of this CreateStoreBody.
104
104
  :rtype: str
@@ -109,7 +109,7 @@ class CreateStoreBody:
109
109
  def region(self, region):
110
110
  r"""Sets the region of this CreateStoreBody.
111
111
 
112
- 区域ID,根据上线的region决定。
112
+ **参数解释:** 区域ID。 **约束限制**: 不涉及。 **取值范围:** 取值:非空,请参见地区和终端节点。 **默认取值:** 无
113
113
 
114
114
  :param region: The region of this CreateStoreBody.
115
115
  :type region: str
@@ -120,7 +120,7 @@ class CreateStoreBody:
120
120
  def availability_zones(self):
121
121
  r"""Gets the availability_zones of this CreateStoreBody.
122
122
 
123
- 可用区ID
123
+ **参数解释:** 可用区ID列表,支持1个,或者多个。 **约束限制:** 不涉及。
124
124
 
125
125
  :return: The availability_zones of this CreateStoreBody.
126
126
  :rtype: list[str]
@@ -131,7 +131,7 @@ class CreateStoreBody:
131
131
  def availability_zones(self, availability_zones):
132
132
  r"""Sets the availability_zones of this CreateStoreBody.
133
133
 
134
- 可用区ID
134
+ **参数解释:** 可用区ID列表,支持1个,或者多个。 **约束限制:** 不涉及。
135
135
 
136
136
  :param availability_zones: The availability_zones of this CreateStoreBody.
137
137
  :type availability_zones: list[str]
@@ -178,7 +178,7 @@ class CreateStoreBody:
178
178
  def description(self):
179
179
  r"""Gets the description of this CreateStoreBody.
180
180
 
181
- 知识仓实例描述信息。有效长度0-255 服务实例描述信息。有效长度0-255
181
+ **参数解释:** 知识仓实例描述信息。 **约束限制:** 有效长度0-255字节。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
182
182
 
183
183
  :return: The description of this CreateStoreBody.
184
184
  :rtype: str
@@ -189,7 +189,7 @@ class CreateStoreBody:
189
189
  def description(self, description):
190
190
  r"""Sets the description of this CreateStoreBody.
191
191
 
192
- 知识仓实例描述信息。有效长度0-255 服务实例描述信息。有效长度0-255
192
+ **参数解释:** 知识仓实例描述信息。 **约束限制:** 有效长度0-255字节。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
193
193
 
194
194
  :param description: The description of this CreateStoreBody.
195
195
  :type description: str
@@ -45,23 +45,23 @@ class CreateStoreData:
45
45
 
46
46
  The model defined in huaweicloud sdk
47
47
 
48
- :param id: 知识仓实例id
48
+ :param id: **参数解释:** 知识仓实例id。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
49
49
  :type id: str
50
- :param job_id: 知识仓实例创建的任务id。
50
+ :param job_id: **参数解释:** 创建知识仓实例的任务id。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
51
51
  :type job_id: str
52
- :param store_name: 知识仓实例名称。
52
+ :param store_name: **参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及 **默认取值:** 不涉及
53
53
  :type store_name: str
54
- :param status: 状态。如:CREATING
54
+ :param status: **参数解释:** 知识仓实例状态。 **约束限制:** 不涉及。 **取值范围:** CREATING:创建中 NORMAL:正常 CREATED_FAILED:创建失败 ABNORMAL:异常 FROZEN:被冻结 DISK_FULL:存储空间已满 DROPPING:删除中 DELETE_FAILED:删除失败 **默认取值:** 不涉及。
55
55
  :type status: str
56
- :param region: 区域ID。 取值范围:非空,请参见地区和终端节点。 取值范围:非空,请参见地区和终端节点。
56
+ :param region: **参数解释:** 区域ID。 **约束限制**: 不涉及。 **取值范围:** 取值:非空,请参见地区和终端节点。 **默认取值:** 不涉及。
57
57
  :type region: str
58
- :param availability_zones: 可用区ID
58
+ :param availability_zones: **参数解释:** 可用区ID列表,支持1个,或者多个。 **约束限制:** 不涉及。
59
59
  :type availability_zones: list[str]
60
60
  :param flavor:
61
61
  :type flavor: :class:`huaweicloudsdkdwr.v1.Flavor`
62
62
  :param charge_info:
63
63
  :type charge_info: :class:`huaweicloudsdkdwr.v1.ChargeInfo`
64
- :param description: 知识仓实例描述信息。有效长度0-255
64
+ :param description: **参数解释:** 知识仓实例描述信息。 **约束限制**: 有效长度0-255 **取值范围:** 不涉及。 **默认取值:** 不涉及。
65
65
  :type description: str
66
66
  """
67
67
 
@@ -97,7 +97,7 @@ class CreateStoreData:
97
97
  def id(self):
98
98
  r"""Gets the id of this CreateStoreData.
99
99
 
100
- 知识仓实例id
100
+ **参数解释:** 知识仓实例id。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
101
101
 
102
102
  :return: The id of this CreateStoreData.
103
103
  :rtype: str
@@ -108,7 +108,7 @@ class CreateStoreData:
108
108
  def id(self, id):
109
109
  r"""Sets the id of this CreateStoreData.
110
110
 
111
- 知识仓实例id
111
+ **参数解释:** 知识仓实例id。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
112
112
 
113
113
  :param id: The id of this CreateStoreData.
114
114
  :type id: str
@@ -119,7 +119,7 @@ class CreateStoreData:
119
119
  def job_id(self):
120
120
  r"""Gets the job_id of this CreateStoreData.
121
121
 
122
- 知识仓实例创建的任务id。
122
+ **参数解释:** 创建知识仓实例的任务id。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
123
123
 
124
124
  :return: The job_id of this CreateStoreData.
125
125
  :rtype: str
@@ -130,7 +130,7 @@ class CreateStoreData:
130
130
  def job_id(self, job_id):
131
131
  r"""Sets the job_id of this CreateStoreData.
132
132
 
133
- 知识仓实例创建的任务id。
133
+ **参数解释:** 创建知识仓实例的任务id。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
134
134
 
135
135
  :param job_id: The job_id of this CreateStoreData.
136
136
  :type job_id: str
@@ -141,7 +141,7 @@ class CreateStoreData:
141
141
  def store_name(self):
142
142
  r"""Gets the store_name of this CreateStoreData.
143
143
 
144
- 知识仓实例名称。
144
+ **参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及 **默认取值:** 不涉及
145
145
 
146
146
  :return: The store_name of this CreateStoreData.
147
147
  :rtype: str
@@ -152,7 +152,7 @@ class CreateStoreData:
152
152
  def store_name(self, store_name):
153
153
  r"""Sets the store_name of this CreateStoreData.
154
154
 
155
- 知识仓实例名称。
155
+ **参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及 **默认取值:** 不涉及
156
156
 
157
157
  :param store_name: The store_name of this CreateStoreData.
158
158
  :type store_name: str
@@ -163,7 +163,7 @@ class CreateStoreData:
163
163
  def status(self):
164
164
  r"""Gets the status of this CreateStoreData.
165
165
 
166
- 状态。如:CREATING
166
+ **参数解释:** 知识仓实例状态。 **约束限制:** 不涉及。 **取值范围:** CREATING:创建中 NORMAL:正常 CREATED_FAILED:创建失败 ABNORMAL:异常 FROZEN:被冻结 DISK_FULL:存储空间已满 DROPPING:删除中 DELETE_FAILED:删除失败 **默认取值:** 不涉及。
167
167
 
168
168
  :return: The status of this CreateStoreData.
169
169
  :rtype: str
@@ -174,7 +174,7 @@ class CreateStoreData:
174
174
  def status(self, status):
175
175
  r"""Sets the status of this CreateStoreData.
176
176
 
177
- 状态。如:CREATING
177
+ **参数解释:** 知识仓实例状态。 **约束限制:** 不涉及。 **取值范围:** CREATING:创建中 NORMAL:正常 CREATED_FAILED:创建失败 ABNORMAL:异常 FROZEN:被冻结 DISK_FULL:存储空间已满 DROPPING:删除中 DELETE_FAILED:删除失败 **默认取值:** 不涉及。
178
178
 
179
179
  :param status: The status of this CreateStoreData.
180
180
  :type status: str
@@ -185,7 +185,7 @@ class CreateStoreData:
185
185
  def region(self):
186
186
  r"""Gets the region of this CreateStoreData.
187
187
 
188
- 区域ID。 取值范围:非空,请参见地区和终端节点。 取值范围:非空,请参见地区和终端节点。
188
+ **参数解释:** 区域ID。 **约束限制**: 不涉及。 **取值范围:** 取值:非空,请参见地区和终端节点。 **默认取值:** 不涉及。
189
189
 
190
190
  :return: The region of this CreateStoreData.
191
191
  :rtype: str
@@ -196,7 +196,7 @@ class CreateStoreData:
196
196
  def region(self, region):
197
197
  r"""Sets the region of this CreateStoreData.
198
198
 
199
- 区域ID。 取值范围:非空,请参见地区和终端节点。 取值范围:非空,请参见地区和终端节点。
199
+ **参数解释:** 区域ID。 **约束限制**: 不涉及。 **取值范围:** 取值:非空,请参见地区和终端节点。 **默认取值:** 不涉及。
200
200
 
201
201
  :param region: The region of this CreateStoreData.
202
202
  :type region: str
@@ -207,7 +207,7 @@ class CreateStoreData:
207
207
  def availability_zones(self):
208
208
  r"""Gets the availability_zones of this CreateStoreData.
209
209
 
210
- 可用区ID
210
+ **参数解释:** 可用区ID列表,支持1个,或者多个。 **约束限制:** 不涉及。
211
211
 
212
212
  :return: The availability_zones of this CreateStoreData.
213
213
  :rtype: list[str]
@@ -218,7 +218,7 @@ class CreateStoreData:
218
218
  def availability_zones(self, availability_zones):
219
219
  r"""Sets the availability_zones of this CreateStoreData.
220
220
 
221
- 可用区ID
221
+ **参数解释:** 可用区ID列表,支持1个,或者多个。 **约束限制:** 不涉及。
222
222
 
223
223
  :param availability_zones: The availability_zones of this CreateStoreData.
224
224
  :type availability_zones: list[str]
@@ -265,7 +265,7 @@ class CreateStoreData:
265
265
  def description(self):
266
266
  r"""Gets the description of this CreateStoreData.
267
267
 
268
- 知识仓实例描述信息。有效长度0-255
268
+ **参数解释:** 知识仓实例描述信息。 **约束限制**: 有效长度0-255 **取值范围:** 不涉及。 **默认取值:** 不涉及。
269
269
 
270
270
  :return: The description of this CreateStoreData.
271
271
  :rtype: str
@@ -276,7 +276,7 @@ class CreateStoreData:
276
276
  def description(self, description):
277
277
  r"""Sets the description of this CreateStoreData.
278
278
 
279
- 知识仓实例描述信息。有效长度0-255
279
+ **参数解释:** 知识仓实例描述信息。 **约束限制**: 有效长度0-255 **取值范围:** 不涉及。 **默认取值:** 不涉及。
280
280
 
281
281
  :param description: The description of this CreateStoreData.
282
282
  :type description: str
@@ -34,9 +34,9 @@ class CreateStoreResponse(SdkResponse):
34
34
 
35
35
  The model defined in huaweicloud sdk
36
36
 
37
- :param code: 返回码
37
+ :param code: **参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
38
38
  :type code: str
39
- :param message: 描述信息
39
+ :param message: **参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
40
40
  :type message: str
41
41
  :param data:
42
42
  :type data: :class:`huaweicloudsdkdwr.v1.CreateStoreData`
@@ -60,7 +60,7 @@ class CreateStoreResponse(SdkResponse):
60
60
  def code(self):
61
61
  r"""Gets the code of this CreateStoreResponse.
62
62
 
63
- 返回码
63
+ **参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
64
64
 
65
65
  :return: The code of this CreateStoreResponse.
66
66
  :rtype: str
@@ -71,7 +71,7 @@ class CreateStoreResponse(SdkResponse):
71
71
  def code(self, code):
72
72
  r"""Sets the code of this CreateStoreResponse.
73
73
 
74
- 返回码
74
+ **参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
75
75
 
76
76
  :param code: The code of this CreateStoreResponse.
77
77
  :type code: str
@@ -82,7 +82,7 @@ class CreateStoreResponse(SdkResponse):
82
82
  def message(self):
83
83
  r"""Gets the message of this CreateStoreResponse.
84
84
 
85
- 描述信息
85
+ **参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
86
86
 
87
87
  :return: The message of this CreateStoreResponse.
88
88
  :rtype: str
@@ -93,7 +93,7 @@ class CreateStoreResponse(SdkResponse):
93
93
  def message(self, message):
94
94
  r"""Sets the message of this CreateStoreResponse.
95
95
 
96
- 描述信息
96
+ **参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
97
97
 
98
98
  :param message: The message of this CreateStoreResponse.
99
99
  :type message: str
@@ -20,45 +20,49 @@ class DecribeCollectionData:
20
20
  'store_name': 'str',
21
21
  'collection_name': 'str',
22
22
  'fields': 'list[FieldData]',
23
- 'load_status': 'str',
23
+ 'load_state': 'str',
24
24
  'description': 'str',
25
- 'params': 'dict(str, object)',
26
- 'indexes': 'list[IndexParams]',
27
- 'entity_num': 'int'
25
+ 'indexes': 'list[IndexDesc]',
26
+ 'entity_num': 'int',
27
+ 'partitions_num': 'int',
28
+ 'shards_num': 'int'
28
29
  }
29
30
 
30
31
  attribute_map = {
31
32
  'store_name': 'store_name',
32
33
  'collection_name': 'collection_name',
33
34
  'fields': 'fields',
34
- 'load_status': 'load_status',
35
+ 'load_state': 'load_state',
35
36
  'description': 'description',
36
- 'params': 'params',
37
37
  'indexes': 'indexes',
38
- 'entity_num': 'entity_num'
38
+ 'entity_num': 'entity_num',
39
+ 'partitions_num': 'partitions_num',
40
+ 'shards_num': 'shards_num'
39
41
  }
40
42
 
41
- def __init__(self, store_name=None, collection_name=None, fields=None, load_status=None, description=None, params=None, indexes=None, entity_num=None):
43
+ def __init__(self, store_name=None, collection_name=None, fields=None, load_state=None, description=None, indexes=None, entity_num=None, partitions_num=None, shards_num=None):
42
44
  r"""DecribeCollectionData
43
45
 
44
46
  The model defined in huaweicloud sdk
45
47
 
46
- :param store_name: 知识仓实例名称
48
+ :param store_name: **参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
47
49
  :type store_name: str
48
- :param collection_name: collection名字
50
+ :param collection_name: **参数解释:** collection名称。 **约束限制:** 可包含数字、字母和下划线 (_)。资源名称必须以字母或下划线 (_) 开头。最大长度支持255。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
49
51
  :type collection_name: str
50
- :param fields: collection各个field信息
52
+ :param fields: **参数解释:** collection各个field信息。 **约束限制:** 不涉及。
51
53
  :type fields: list[:class:`huaweicloudsdkdwr.v1.FieldData`]
52
- :param load_status: 标识当前Collection加载状态。 1、LoadStateLoaded:表示当前Collection已准备就绪,可正常使用。 2、LoadStateLoading:表示当前Collection正在load。 3、LoadStateNotLoad:表示collection未加载。
53
- :type load_status: str
54
- :param description: Collection 的描述信息
54
+ :param load_state: **参数解释:** 标识当前Collection加载状态。 **约束限制:** 不涉及。 **取值范围:** 1、LoadStateLoaded:表示当前Collection已准备就绪,可正常使用。 2、LoadStateLoading:表示当前Collection正在load。 3、LoadStateNotLoad:表示collection未加载。 **默认取值:** 不涉及。
55
+ :type load_state: str
56
+ :param description: **参数解释:** Collection 的描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
55
57
  :type description: str
56
- :param params: collection参数: shards_num partitions_num max_length
57
- :type params: dict(str, object)
58
- :param indexes: collection中各个索引信息
59
- :type indexes: list[:class:`huaweicloudsdkdwr.v1.IndexParams`]
60
- :param entity_num: collection中的entity数量
58
+ :param indexes: **参数解释:** 索引的配置信息。 **约束限制:** 不涉及。
59
+ :type indexes: list[:class:`huaweicloudsdkdwr.v1.IndexDesc`]
60
+ :param entity_num: **参数解释:** collection中的entity数量。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
61
61
  :type entity_num: int
62
+ :param partitions_num: **参数解释:** collection中的partition数量。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
63
+ :type partitions_num: int
64
+ :param shards_num: **参数解释:** collection中的shard数量。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
65
+ :type shards_num: int
62
66
  """
63
67
 
64
68
 
@@ -66,32 +70,35 @@ class DecribeCollectionData:
66
70
  self._store_name = None
67
71
  self._collection_name = None
68
72
  self._fields = None
69
- self._load_status = None
73
+ self._load_state = None
70
74
  self._description = None
71
- self._params = None
72
75
  self._indexes = None
73
76
  self._entity_num = None
77
+ self._partitions_num = None
78
+ self._shards_num = None
74
79
  self.discriminator = None
75
80
 
76
81
  self.store_name = store_name
77
82
  self.collection_name = collection_name
78
83
  self.fields = fields
79
- if load_status is not None:
80
- self.load_status = load_status
84
+ if load_state is not None:
85
+ self.load_state = load_state
81
86
  if description is not None:
82
87
  self.description = description
83
- if params is not None:
84
- self.params = params
85
88
  if indexes is not None:
86
89
  self.indexes = indexes
87
90
  if entity_num is not None:
88
91
  self.entity_num = entity_num
92
+ if partitions_num is not None:
93
+ self.partitions_num = partitions_num
94
+ if shards_num is not None:
95
+ self.shards_num = shards_num
89
96
 
90
97
  @property
91
98
  def store_name(self):
92
99
  r"""Gets the store_name of this DecribeCollectionData.
93
100
 
94
- 知识仓实例名称
101
+ **参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
95
102
 
96
103
  :return: The store_name of this DecribeCollectionData.
97
104
  :rtype: str
@@ -102,7 +109,7 @@ class DecribeCollectionData:
102
109
  def store_name(self, store_name):
103
110
  r"""Sets the store_name of this DecribeCollectionData.
104
111
 
105
- 知识仓实例名称
112
+ **参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
106
113
 
107
114
  :param store_name: The store_name of this DecribeCollectionData.
108
115
  :type store_name: str
@@ -113,7 +120,7 @@ class DecribeCollectionData:
113
120
  def collection_name(self):
114
121
  r"""Gets the collection_name of this DecribeCollectionData.
115
122
 
116
- collection名字
123
+ **参数解释:** collection名称。 **约束限制:** 可包含数字、字母和下划线 (_)。资源名称必须以字母或下划线 (_) 开头。最大长度支持255。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
117
124
 
118
125
  :return: The collection_name of this DecribeCollectionData.
119
126
  :rtype: str
@@ -124,7 +131,7 @@ class DecribeCollectionData:
124
131
  def collection_name(self, collection_name):
125
132
  r"""Sets the collection_name of this DecribeCollectionData.
126
133
 
127
- collection名字
134
+ **参数解释:** collection名称。 **约束限制:** 可包含数字、字母和下划线 (_)。资源名称必须以字母或下划线 (_) 开头。最大长度支持255。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
128
135
 
129
136
  :param collection_name: The collection_name of this DecribeCollectionData.
130
137
  :type collection_name: str
@@ -135,7 +142,7 @@ class DecribeCollectionData:
135
142
  def fields(self):
136
143
  r"""Gets the fields of this DecribeCollectionData.
137
144
 
138
- collection各个field信息
145
+ **参数解释:** collection各个field信息。 **约束限制:** 不涉及。
139
146
 
140
147
  :return: The fields of this DecribeCollectionData.
141
148
  :rtype: list[:class:`huaweicloudsdkdwr.v1.FieldData`]
@@ -146,7 +153,7 @@ class DecribeCollectionData:
146
153
  def fields(self, fields):
147
154
  r"""Sets the fields of this DecribeCollectionData.
148
155
 
149
- collection各个field信息
156
+ **参数解释:** collection各个field信息。 **约束限制:** 不涉及。
150
157
 
151
158
  :param fields: The fields of this DecribeCollectionData.
152
159
  :type fields: list[:class:`huaweicloudsdkdwr.v1.FieldData`]
@@ -154,32 +161,32 @@ class DecribeCollectionData:
154
161
  self._fields = fields
155
162
 
156
163
  @property
157
- def load_status(self):
158
- r"""Gets the load_status of this DecribeCollectionData.
164
+ def load_state(self):
165
+ r"""Gets the load_state of this DecribeCollectionData.
159
166
 
160
- 标识当前Collection加载状态。 1、LoadStateLoaded:表示当前Collection已准备就绪,可正常使用。 2、LoadStateLoading:表示当前Collection正在load。 3、LoadStateNotLoad:表示collection未加载。
167
+ **参数解释:** 标识当前Collection加载状态。 **约束限制:** 不涉及。 **取值范围:** 1、LoadStateLoaded:表示当前Collection已准备就绪,可正常使用。 2、LoadStateLoading:表示当前Collection正在load。 3、LoadStateNotLoad:表示collection未加载。 **默认取值:** 不涉及。
161
168
 
162
- :return: The load_status of this DecribeCollectionData.
169
+ :return: The load_state of this DecribeCollectionData.
163
170
  :rtype: str
164
171
  """
165
- return self._load_status
172
+ return self._load_state
166
173
 
167
- @load_status.setter
168
- def load_status(self, load_status):
169
- r"""Sets the load_status of this DecribeCollectionData.
174
+ @load_state.setter
175
+ def load_state(self, load_state):
176
+ r"""Sets the load_state of this DecribeCollectionData.
170
177
 
171
- 标识当前Collection加载状态。 1、LoadStateLoaded:表示当前Collection已准备就绪,可正常使用。 2、LoadStateLoading:表示当前Collection正在load。 3、LoadStateNotLoad:表示collection未加载。
178
+ **参数解释:** 标识当前Collection加载状态。 **约束限制:** 不涉及。 **取值范围:** 1、LoadStateLoaded:表示当前Collection已准备就绪,可正常使用。 2、LoadStateLoading:表示当前Collection正在load。 3、LoadStateNotLoad:表示collection未加载。 **默认取值:** 不涉及。
172
179
 
173
- :param load_status: The load_status of this DecribeCollectionData.
174
- :type load_status: str
180
+ :param load_state: The load_state of this DecribeCollectionData.
181
+ :type load_state: str
175
182
  """
176
- self._load_status = load_status
183
+ self._load_state = load_state
177
184
 
178
185
  @property
179
186
  def description(self):
180
187
  r"""Gets the description of this DecribeCollectionData.
181
188
 
182
- Collection 的描述信息
189
+ **参数解释:** Collection 的描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
183
190
 
184
191
  :return: The description of this DecribeCollectionData.
185
192
  :rtype: str
@@ -190,43 +197,21 @@ class DecribeCollectionData:
190
197
  def description(self, description):
191
198
  r"""Sets the description of this DecribeCollectionData.
192
199
 
193
- Collection 的描述信息
200
+ **参数解释:** Collection 的描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
194
201
 
195
202
  :param description: The description of this DecribeCollectionData.
196
203
  :type description: str
197
204
  """
198
205
  self._description = description
199
206
 
200
- @property
201
- def params(self):
202
- r"""Gets the params of this DecribeCollectionData.
203
-
204
- collection参数: shards_num partitions_num max_length
205
-
206
- :return: The params of this DecribeCollectionData.
207
- :rtype: dict(str, object)
208
- """
209
- return self._params
210
-
211
- @params.setter
212
- def params(self, params):
213
- r"""Sets the params of this DecribeCollectionData.
214
-
215
- collection参数: shards_num partitions_num max_length
216
-
217
- :param params: The params of this DecribeCollectionData.
218
- :type params: dict(str, object)
219
- """
220
- self._params = params
221
-
222
207
  @property
223
208
  def indexes(self):
224
209
  r"""Gets the indexes of this DecribeCollectionData.
225
210
 
226
- collection中各个索引信息
211
+ **参数解释:** 索引的配置信息。 **约束限制:** 不涉及。
227
212
 
228
213
  :return: The indexes of this DecribeCollectionData.
229
- :rtype: list[:class:`huaweicloudsdkdwr.v1.IndexParams`]
214
+ :rtype: list[:class:`huaweicloudsdkdwr.v1.IndexDesc`]
230
215
  """
231
216
  return self._indexes
232
217
 
@@ -234,10 +219,10 @@ class DecribeCollectionData:
234
219
  def indexes(self, indexes):
235
220
  r"""Sets the indexes of this DecribeCollectionData.
236
221
 
237
- collection中各个索引信息
222
+ **参数解释:** 索引的配置信息。 **约束限制:** 不涉及。
238
223
 
239
224
  :param indexes: The indexes of this DecribeCollectionData.
240
- :type indexes: list[:class:`huaweicloudsdkdwr.v1.IndexParams`]
225
+ :type indexes: list[:class:`huaweicloudsdkdwr.v1.IndexDesc`]
241
226
  """
242
227
  self._indexes = indexes
243
228
 
@@ -245,7 +230,7 @@ class DecribeCollectionData:
245
230
  def entity_num(self):
246
231
  r"""Gets the entity_num of this DecribeCollectionData.
247
232
 
248
- collection中的entity数量
233
+ **参数解释:** collection中的entity数量。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
249
234
 
250
235
  :return: The entity_num of this DecribeCollectionData.
251
236
  :rtype: int
@@ -256,13 +241,57 @@ class DecribeCollectionData:
256
241
  def entity_num(self, entity_num):
257
242
  r"""Sets the entity_num of this DecribeCollectionData.
258
243
 
259
- collection中的entity数量
244
+ **参数解释:** collection中的entity数量。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
260
245
 
261
246
  :param entity_num: The entity_num of this DecribeCollectionData.
262
247
  :type entity_num: int
263
248
  """
264
249
  self._entity_num = entity_num
265
250
 
251
+ @property
252
+ def partitions_num(self):
253
+ r"""Gets the partitions_num of this DecribeCollectionData.
254
+
255
+ **参数解释:** collection中的partition数量。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
256
+
257
+ :return: The partitions_num of this DecribeCollectionData.
258
+ :rtype: int
259
+ """
260
+ return self._partitions_num
261
+
262
+ @partitions_num.setter
263
+ def partitions_num(self, partitions_num):
264
+ r"""Sets the partitions_num of this DecribeCollectionData.
265
+
266
+ **参数解释:** collection中的partition数量。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
267
+
268
+ :param partitions_num: The partitions_num of this DecribeCollectionData.
269
+ :type partitions_num: int
270
+ """
271
+ self._partitions_num = partitions_num
272
+
273
+ @property
274
+ def shards_num(self):
275
+ r"""Gets the shards_num of this DecribeCollectionData.
276
+
277
+ **参数解释:** collection中的shard数量。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
278
+
279
+ :return: The shards_num of this DecribeCollectionData.
280
+ :rtype: int
281
+ """
282
+ return self._shards_num
283
+
284
+ @shards_num.setter
285
+ def shards_num(self, shards_num):
286
+ r"""Sets the shards_num of this DecribeCollectionData.
287
+
288
+ **参数解释:** collection中的shard数量。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
289
+
290
+ :param shards_num: The shards_num of this DecribeCollectionData.
291
+ :type shards_num: int
292
+ """
293
+ self._shards_num = shards_num
294
+
266
295
  def to_dict(self):
267
296
  """Returns the model properties as a dict"""
268
297
  result = {}