huaweicloudsdkdwr 3.1.154__py2.py3-none-any.whl → 3.1.156__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.
- huaweicloudsdkdwr/v1/__init__.py +7 -5
- huaweicloudsdkdwr/v1/dwr_async_client.py +266 -266
- huaweicloudsdkdwr/v1/dwr_client.py +266 -266
- huaweicloudsdkdwr/v1/model/__init__.py +7 -5
- huaweicloudsdkdwr/v1/model/build_progress.py +15 -15
- huaweicloudsdkdwr/v1/model/charge_info.py +15 -15
- huaweicloudsdkdwr/v1/model/collection_base_info.py +6 -6
- huaweicloudsdkdwr/v1/model/create_collection_body.py +18 -18
- huaweicloudsdkdwr/v1/model/create_collection_response.py +6 -6
- huaweicloudsdkdwr/v1/model/create_index_body.py +6 -6
- huaweicloudsdkdwr/v1/model/create_index_response.py +6 -6
- huaweicloudsdkdwr/v1/model/create_store_body.py +12 -12
- huaweicloudsdkdwr/v1/model/create_store_data.py +21 -21
- huaweicloudsdkdwr/v1/model/create_store_response.py +6 -6
- huaweicloudsdkdwr/v1/model/decribe_collection_data.py +41 -41
- huaweicloudsdkdwr/v1/model/delete_collection_response.py +6 -6
- huaweicloudsdkdwr/v1/model/delete_entities_body.py +9 -9
- huaweicloudsdkdwr/v1/model/delete_entities_response.py +6 -6
- huaweicloudsdkdwr/v1/model/delete_index_body.py +9 -9
- huaweicloudsdkdwr/v1/model/delete_index_response.py +6 -6
- huaweicloudsdkdwr/v1/model/delete_store_data.py +3 -3
- huaweicloudsdkdwr/v1/model/delete_store_response.py +6 -6
- huaweicloudsdkdwr/v1/model/describe_collection_response.py +6 -6
- huaweicloudsdkdwr/v1/model/describe_index_body.py +9 -9
- huaweicloudsdkdwr/v1/model/{describe_index_respose_data.py → describe_index_data.py} +25 -26
- huaweicloudsdkdwr/v1/model/describe_index_response.py +10 -10
- huaweicloudsdkdwr/v1/model/describe_job_body.py +3 -3
- huaweicloudsdkdwr/v1/model/describe_job_response.py +6 -6
- huaweicloudsdkdwr/v1/model/describe_store_response.py +10 -10
- huaweicloudsdkdwr/v1/model/entities_data.py +114 -0
- huaweicloudsdkdwr/v1/model/field.py +15 -15
- huaweicloudsdkdwr/v1/model/field_data.py +102 -15
- huaweicloudsdkdwr/v1/model/flavor.py +6 -6
- huaweicloudsdkdwr/v1/model/get_index_progress_body.py +9 -9
- huaweicloudsdkdwr/v1/model/{get_index_progress_response_data.py → get_progress_data.py} +21 -21
- huaweicloudsdkdwr/v1/model/get_progress_response.py +10 -10
- huaweicloudsdkdwr/v1/model/hybrid_search_body.py +20 -16
- huaweicloudsdkdwr/v1/model/hybrid_search_response.py +11 -15
- huaweicloudsdkdwr/v1/model/index_desc.py +14 -16
- huaweicloudsdkdwr/v1/model/index_params.py +9 -9
- huaweicloudsdkdwr/v1/model/insert_entities_body.py +9 -9
- huaweicloudsdkdwr/v1/model/{insert_entities_response_data.py → insert_entities_data.py} +17 -17
- huaweicloudsdkdwr/v1/model/insert_entities_response.py +10 -10
- huaweicloudsdkdwr/v1/model/job_data.py +24 -24
- huaweicloudsdkdwr/v1/model/list_collection_data.py +6 -6
- huaweicloudsdkdwr/v1/model/list_collection_details.py +18 -18
- huaweicloudsdkdwr/v1/model/list_collections_body.py +6 -6
- huaweicloudsdkdwr/v1/model/list_collections_response.py +6 -6
- huaweicloudsdkdwr/v1/model/list_jobs_data.py +3 -3
- huaweicloudsdkdwr/v1/model/list_jobs_request.py +15 -15
- huaweicloudsdkdwr/v1/model/list_jobs_response.py +6 -6
- huaweicloudsdkdwr/v1/model/list_store_data.py +114 -0
- huaweicloudsdkdwr/v1/model/list_stores_response.py +11 -15
- huaweicloudsdkdwr/v1/model/load_collection_body.py +6 -6
- huaweicloudsdkdwr/v1/model/load_collection_response.py +6 -6
- huaweicloudsdkdwr/v1/model/primary_field.py +6 -6
- huaweicloudsdkdwr/v1/model/query_entities_body.py +18 -18
- huaweicloudsdkdwr/v1/model/query_entities_response.py +11 -15
- huaweicloudsdkdwr/v1/model/release_collection_response.py +6 -6
- huaweicloudsdkdwr/v1/model/rerank.py +6 -6
- huaweicloudsdkdwr/v1/model/search_entities_body.py +27 -27
- huaweicloudsdkdwr/v1/model/search_entities_response.py +11 -15
- huaweicloudsdkdwr/v1/model/store_data.py +364 -0
- huaweicloudsdkdwr/v1/model/store_info.py +3 -3
- huaweicloudsdkdwr/v1/model/sub_search.py +18 -18
- huaweicloudsdkdwr/v1/model/upsert_entities_body.py +9 -9
- huaweicloudsdkdwr/v1/model/{upsert_entities_response_data.py → upsert_entities_data.py} +18 -19
- huaweicloudsdkdwr/v1/model/upsert_entities_response.py +10 -10
- {huaweicloudsdkdwr-3.1.154.dist-info → huaweicloudsdkdwr-3.1.156.dist-info}/METADATA +2 -2
- {huaweicloudsdkdwr-3.1.154.dist-info → huaweicloudsdkdwr-3.1.156.dist-info}/RECORD +73 -71
- huaweicloudsdkdwr/v1/model/describe_store_data.py +0 -364
- {huaweicloudsdkdwr-3.1.154.dist-info → huaweicloudsdkdwr-3.1.156.dist-info}/LICENSE +0 -0
- {huaweicloudsdkdwr-3.1.154.dist-info → huaweicloudsdkdwr-3.1.156.dist-info}/WHEEL +0 -0
- {huaweicloudsdkdwr-3.1.154.dist-info → huaweicloudsdkdwr-3.1.156.dist-info}/top_level.txt +0 -0
|
@@ -31,20 +31,20 @@ from huaweicloudsdkdwr.v1.model.delete_store_response import DeleteStoreResponse
|
|
|
31
31
|
from huaweicloudsdkdwr.v1.model.describe_collection_request import DescribeCollectionRequest
|
|
32
32
|
from huaweicloudsdkdwr.v1.model.describe_collection_response import DescribeCollectionResponse
|
|
33
33
|
from huaweicloudsdkdwr.v1.model.describe_index_body import DescribeIndexBody
|
|
34
|
+
from huaweicloudsdkdwr.v1.model.describe_index_data import DescribeIndexData
|
|
34
35
|
from huaweicloudsdkdwr.v1.model.describe_index_request import DescribeIndexRequest
|
|
35
36
|
from huaweicloudsdkdwr.v1.model.describe_index_response import DescribeIndexResponse
|
|
36
|
-
from huaweicloudsdkdwr.v1.model.describe_index_respose_data import DescribeIndexResposeData
|
|
37
37
|
from huaweicloudsdkdwr.v1.model.describe_job_body import DescribeJobBody
|
|
38
38
|
from huaweicloudsdkdwr.v1.model.describe_job_request import DescribeJobRequest
|
|
39
39
|
from huaweicloudsdkdwr.v1.model.describe_job_response import DescribeJobResponse
|
|
40
|
-
from huaweicloudsdkdwr.v1.model.describe_store_data import DescribeStoreData
|
|
41
40
|
from huaweicloudsdkdwr.v1.model.describe_store_request import DescribeStoreRequest
|
|
42
41
|
from huaweicloudsdkdwr.v1.model.describe_store_response import DescribeStoreResponse
|
|
42
|
+
from huaweicloudsdkdwr.v1.model.entities_data import EntitiesData
|
|
43
43
|
from huaweicloudsdkdwr.v1.model.field import Field
|
|
44
44
|
from huaweicloudsdkdwr.v1.model.field_data import FieldData
|
|
45
45
|
from huaweicloudsdkdwr.v1.model.flavor import Flavor
|
|
46
46
|
from huaweicloudsdkdwr.v1.model.get_index_progress_body import GetIndexProgressBody
|
|
47
|
-
from huaweicloudsdkdwr.v1.model.
|
|
47
|
+
from huaweicloudsdkdwr.v1.model.get_progress_data import GetProgressData
|
|
48
48
|
from huaweicloudsdkdwr.v1.model.get_progress_request import GetProgressRequest
|
|
49
49
|
from huaweicloudsdkdwr.v1.model.get_progress_response import GetProgressResponse
|
|
50
50
|
from huaweicloudsdkdwr.v1.model.hybrid_search_body import HybridSearchBody
|
|
@@ -53,9 +53,9 @@ from huaweicloudsdkdwr.v1.model.hybrid_search_response import HybridSearchRespon
|
|
|
53
53
|
from huaweicloudsdkdwr.v1.model.index_desc import IndexDesc
|
|
54
54
|
from huaweicloudsdkdwr.v1.model.index_params import IndexParams
|
|
55
55
|
from huaweicloudsdkdwr.v1.model.insert_entities_body import InsertEntitiesBody
|
|
56
|
+
from huaweicloudsdkdwr.v1.model.insert_entities_data import InsertEntitiesData
|
|
56
57
|
from huaweicloudsdkdwr.v1.model.insert_entities_request import InsertEntitiesRequest
|
|
57
58
|
from huaweicloudsdkdwr.v1.model.insert_entities_response import InsertEntitiesResponse
|
|
58
|
-
from huaweicloudsdkdwr.v1.model.insert_entities_response_data import InsertEntitiesResponseData
|
|
59
59
|
from huaweicloudsdkdwr.v1.model.job_data import JobData
|
|
60
60
|
from huaweicloudsdkdwr.v1.model.list_collection_data import ListCollectionData
|
|
61
61
|
from huaweicloudsdkdwr.v1.model.list_collection_details import ListCollectionDetails
|
|
@@ -65,6 +65,7 @@ from huaweicloudsdkdwr.v1.model.list_collections_response import ListCollections
|
|
|
65
65
|
from huaweicloudsdkdwr.v1.model.list_jobs_data import ListJobsData
|
|
66
66
|
from huaweicloudsdkdwr.v1.model.list_jobs_request import ListJobsRequest
|
|
67
67
|
from huaweicloudsdkdwr.v1.model.list_jobs_response import ListJobsResponse
|
|
68
|
+
from huaweicloudsdkdwr.v1.model.list_store_data import ListStoreData
|
|
68
69
|
from huaweicloudsdkdwr.v1.model.list_stores_request import ListStoresRequest
|
|
69
70
|
from huaweicloudsdkdwr.v1.model.list_stores_response import ListStoresResponse
|
|
70
71
|
from huaweicloudsdkdwr.v1.model.load_collection_body import LoadCollectionBody
|
|
@@ -80,9 +81,10 @@ from huaweicloudsdkdwr.v1.model.rerank import Rerank
|
|
|
80
81
|
from huaweicloudsdkdwr.v1.model.search_entities_body import SearchEntitiesBody
|
|
81
82
|
from huaweicloudsdkdwr.v1.model.search_entities_request import SearchEntitiesRequest
|
|
82
83
|
from huaweicloudsdkdwr.v1.model.search_entities_response import SearchEntitiesResponse
|
|
84
|
+
from huaweicloudsdkdwr.v1.model.store_data import StoreData
|
|
83
85
|
from huaweicloudsdkdwr.v1.model.store_info import StoreInfo
|
|
84
86
|
from huaweicloudsdkdwr.v1.model.sub_search import SubSearch
|
|
85
87
|
from huaweicloudsdkdwr.v1.model.upsert_entities_body import UpsertEntitiesBody
|
|
88
|
+
from huaweicloudsdkdwr.v1.model.upsert_entities_data import UpsertEntitiesData
|
|
86
89
|
from huaweicloudsdkdwr.v1.model.upsert_entities_request import UpsertEntitiesRequest
|
|
87
90
|
from huaweicloudsdkdwr.v1.model.upsert_entities_response import UpsertEntitiesResponse
|
|
88
|
-
from huaweicloudsdkdwr.v1.model.upsert_entities_response_data import UpsertEntitiesResponseData
|
|
@@ -37,15 +37,15 @@ class BuildProgress:
|
|
|
37
37
|
|
|
38
38
|
The model defined in huaweicloud sdk
|
|
39
39
|
|
|
40
|
-
:param index_name:
|
|
40
|
+
:param index_name: **参数解释:** 索引名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
41
41
|
:type index_name: str
|
|
42
|
-
:param field_name:
|
|
42
|
+
:param field_name: **参数解释:** 索引对应的字段名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
43
43
|
:type field_name: str
|
|
44
|
-
:param build_progress:
|
|
44
|
+
:param build_progress: **参数解释:** 构建索引的进度。 **约束限制:** 不涉及。 **取值范围:** `[0,1]` **默认取值:** 不涉及。
|
|
45
45
|
:type build_progress: float
|
|
46
|
-
:param indexed_rows:
|
|
46
|
+
:param indexed_rows: **参数解释:** 已完成索引的entity数量。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
47
47
|
:type indexed_rows: int
|
|
48
|
-
:param total_rows:
|
|
48
|
+
:param total_rows: **参数解释:** 需要索引的entity的总数量。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
49
49
|
:type total_rows: int
|
|
50
50
|
"""
|
|
51
51
|
|
|
@@ -73,7 +73,7 @@ class BuildProgress:
|
|
|
73
73
|
def index_name(self):
|
|
74
74
|
r"""Gets the index_name of this BuildProgress.
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
**参数解释:** 索引名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
77
77
|
|
|
78
78
|
:return: The index_name of this BuildProgress.
|
|
79
79
|
:rtype: str
|
|
@@ -84,7 +84,7 @@ class BuildProgress:
|
|
|
84
84
|
def index_name(self, index_name):
|
|
85
85
|
r"""Sets the index_name of this BuildProgress.
|
|
86
86
|
|
|
87
|
-
|
|
87
|
+
**参数解释:** 索引名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
88
88
|
|
|
89
89
|
:param index_name: The index_name of this BuildProgress.
|
|
90
90
|
:type index_name: str
|
|
@@ -95,7 +95,7 @@ class BuildProgress:
|
|
|
95
95
|
def field_name(self):
|
|
96
96
|
r"""Gets the field_name of this BuildProgress.
|
|
97
97
|
|
|
98
|
-
|
|
98
|
+
**参数解释:** 索引对应的字段名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
99
99
|
|
|
100
100
|
:return: The field_name of this BuildProgress.
|
|
101
101
|
:rtype: str
|
|
@@ -106,7 +106,7 @@ class BuildProgress:
|
|
|
106
106
|
def field_name(self, field_name):
|
|
107
107
|
r"""Sets the field_name of this BuildProgress.
|
|
108
108
|
|
|
109
|
-
|
|
109
|
+
**参数解释:** 索引对应的字段名称。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
110
110
|
|
|
111
111
|
:param field_name: The field_name of this BuildProgress.
|
|
112
112
|
:type field_name: str
|
|
@@ -117,7 +117,7 @@ class BuildProgress:
|
|
|
117
117
|
def build_progress(self):
|
|
118
118
|
r"""Gets the build_progress of this BuildProgress.
|
|
119
119
|
|
|
120
|
-
|
|
120
|
+
**参数解释:** 构建索引的进度。 **约束限制:** 不涉及。 **取值范围:** `[0,1]` **默认取值:** 不涉及。
|
|
121
121
|
|
|
122
122
|
:return: The build_progress of this BuildProgress.
|
|
123
123
|
:rtype: float
|
|
@@ -128,7 +128,7 @@ class BuildProgress:
|
|
|
128
128
|
def build_progress(self, build_progress):
|
|
129
129
|
r"""Sets the build_progress of this BuildProgress.
|
|
130
130
|
|
|
131
|
-
|
|
131
|
+
**参数解释:** 构建索引的进度。 **约束限制:** 不涉及。 **取值范围:** `[0,1]` **默认取值:** 不涉及。
|
|
132
132
|
|
|
133
133
|
:param build_progress: The build_progress of this BuildProgress.
|
|
134
134
|
:type build_progress: float
|
|
@@ -139,7 +139,7 @@ class BuildProgress:
|
|
|
139
139
|
def indexed_rows(self):
|
|
140
140
|
r"""Gets the indexed_rows of this BuildProgress.
|
|
141
141
|
|
|
142
|
-
|
|
142
|
+
**参数解释:** 已完成索引的entity数量。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
143
143
|
|
|
144
144
|
:return: The indexed_rows of this BuildProgress.
|
|
145
145
|
:rtype: int
|
|
@@ -150,7 +150,7 @@ class BuildProgress:
|
|
|
150
150
|
def indexed_rows(self, indexed_rows):
|
|
151
151
|
r"""Sets the indexed_rows of this BuildProgress.
|
|
152
152
|
|
|
153
|
-
|
|
153
|
+
**参数解释:** 已完成索引的entity数量。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
154
154
|
|
|
155
155
|
:param indexed_rows: The indexed_rows of this BuildProgress.
|
|
156
156
|
:type indexed_rows: int
|
|
@@ -161,7 +161,7 @@ class BuildProgress:
|
|
|
161
161
|
def total_rows(self):
|
|
162
162
|
r"""Gets the total_rows of this BuildProgress.
|
|
163
163
|
|
|
164
|
-
|
|
164
|
+
**参数解释:** 需要索引的entity的总数量。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
165
165
|
|
|
166
166
|
:return: The total_rows of this BuildProgress.
|
|
167
167
|
:rtype: int
|
|
@@ -172,7 +172,7 @@ class BuildProgress:
|
|
|
172
172
|
def total_rows(self, total_rows):
|
|
173
173
|
r"""Sets the total_rows of this BuildProgress.
|
|
174
174
|
|
|
175
|
-
|
|
175
|
+
**参数解释:** 需要索引的entity的总数量。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
176
176
|
|
|
177
177
|
:param total_rows: The total_rows of this BuildProgress.
|
|
178
178
|
:type total_rows: int
|
|
@@ -37,15 +37,15 @@ class ChargeInfo:
|
|
|
37
37
|
|
|
38
38
|
The model defined in huaweicloud sdk
|
|
39
39
|
|
|
40
|
-
:param charge_mode:
|
|
40
|
+
:param charge_mode: **参数解释:** 计费模式。 **约束限制:** 当前只支持按需付费。 **取值范围:** prePaid:预付费,即包年/包月。 postPaid:后付费,即按需付费。 **默认取值:** 按需付费。
|
|
41
41
|
:type charge_mode: str
|
|
42
|
-
:param period_type:
|
|
42
|
+
:param period_type: **参数解释:** 订购周期类型。 **约束限制:** “charge_mode”为“prePaid”时生效,且为必选值。 **取值范围:** month:包月。 year:包年。 **默认取值:** 不涉及。
|
|
43
43
|
:type period_type: str
|
|
44
|
-
:param period_num: “charge_mode”为“prePaid”时生效,且为必选值,指定订购的时间。
|
|
44
|
+
:param period_num: **参数解释:** 订购的时间。 **约束限制:** “charge_mode”为“prePaid”时生效,且为必选值,指定订购的时间。 **取值范围:** 当“period_type”为“month”时,取值为1~9。 当“period_type”为“year”时,取值为1~3和5。 **默认取值:** 不涉及。
|
|
45
45
|
:type period_num: int
|
|
46
|
-
:param is_auto_renew:
|
|
46
|
+
:param is_auto_renew: **参数解释:** 表示是否自动续订,续订的周期和原周期相同,且续订时会自动支付。 **约束限制:** 在创建包周期实例时可指定。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
47
47
|
:type is_auto_renew: bool
|
|
48
|
-
:param is_auto_pay:
|
|
48
|
+
:param is_auto_pay: **参数解释:** 表示是否自动从客户的账户中支付,此字段不影响自动续订的支付方式。 **约束限制:** 在创建包周期时可指定。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
49
49
|
:type is_auto_pay: bool
|
|
50
50
|
"""
|
|
51
51
|
|
|
@@ -72,7 +72,7 @@ class ChargeInfo:
|
|
|
72
72
|
def charge_mode(self):
|
|
73
73
|
r"""Gets the charge_mode of this ChargeInfo.
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
**参数解释:** 计费模式。 **约束限制:** 当前只支持按需付费。 **取值范围:** prePaid:预付费,即包年/包月。 postPaid:后付费,即按需付费。 **默认取值:** 按需付费。
|
|
76
76
|
|
|
77
77
|
:return: The charge_mode of this ChargeInfo.
|
|
78
78
|
:rtype: str
|
|
@@ -83,7 +83,7 @@ class ChargeInfo:
|
|
|
83
83
|
def charge_mode(self, charge_mode):
|
|
84
84
|
r"""Sets the charge_mode of this ChargeInfo.
|
|
85
85
|
|
|
86
|
-
|
|
86
|
+
**参数解释:** 计费模式。 **约束限制:** 当前只支持按需付费。 **取值范围:** prePaid:预付费,即包年/包月。 postPaid:后付费,即按需付费。 **默认取值:** 按需付费。
|
|
87
87
|
|
|
88
88
|
:param charge_mode: The charge_mode of this ChargeInfo.
|
|
89
89
|
:type charge_mode: str
|
|
@@ -94,7 +94,7 @@ class ChargeInfo:
|
|
|
94
94
|
def period_type(self):
|
|
95
95
|
r"""Gets the period_type of this ChargeInfo.
|
|
96
96
|
|
|
97
|
-
|
|
97
|
+
**参数解释:** 订购周期类型。 **约束限制:** “charge_mode”为“prePaid”时生效,且为必选值。 **取值范围:** month:包月。 year:包年。 **默认取值:** 不涉及。
|
|
98
98
|
|
|
99
99
|
:return: The period_type of this ChargeInfo.
|
|
100
100
|
:rtype: str
|
|
@@ -105,7 +105,7 @@ class ChargeInfo:
|
|
|
105
105
|
def period_type(self, period_type):
|
|
106
106
|
r"""Sets the period_type of this ChargeInfo.
|
|
107
107
|
|
|
108
|
-
|
|
108
|
+
**参数解释:** 订购周期类型。 **约束限制:** “charge_mode”为“prePaid”时生效,且为必选值。 **取值范围:** month:包月。 year:包年。 **默认取值:** 不涉及。
|
|
109
109
|
|
|
110
110
|
:param period_type: The period_type of this ChargeInfo.
|
|
111
111
|
:type period_type: str
|
|
@@ -116,7 +116,7 @@ class ChargeInfo:
|
|
|
116
116
|
def period_num(self):
|
|
117
117
|
r"""Gets the period_num of this ChargeInfo.
|
|
118
118
|
|
|
119
|
-
“charge_mode”为“prePaid”时生效,且为必选值,指定订购的时间。
|
|
119
|
+
**参数解释:** 订购的时间。 **约束限制:** “charge_mode”为“prePaid”时生效,且为必选值,指定订购的时间。 **取值范围:** 当“period_type”为“month”时,取值为1~9。 当“period_type”为“year”时,取值为1~3和5。 **默认取值:** 不涉及。
|
|
120
120
|
|
|
121
121
|
:return: The period_num of this ChargeInfo.
|
|
122
122
|
:rtype: int
|
|
@@ -127,7 +127,7 @@ class ChargeInfo:
|
|
|
127
127
|
def period_num(self, period_num):
|
|
128
128
|
r"""Sets the period_num of this ChargeInfo.
|
|
129
129
|
|
|
130
|
-
“charge_mode”为“prePaid”时生效,且为必选值,指定订购的时间。
|
|
130
|
+
**参数解释:** 订购的时间。 **约束限制:** “charge_mode”为“prePaid”时生效,且为必选值,指定订购的时间。 **取值范围:** 当“period_type”为“month”时,取值为1~9。 当“period_type”为“year”时,取值为1~3和5。 **默认取值:** 不涉及。
|
|
131
131
|
|
|
132
132
|
:param period_num: The period_num of this ChargeInfo.
|
|
133
133
|
:type period_num: int
|
|
@@ -138,7 +138,7 @@ class ChargeInfo:
|
|
|
138
138
|
def is_auto_renew(self):
|
|
139
139
|
r"""Gets the is_auto_renew of this ChargeInfo.
|
|
140
140
|
|
|
141
|
-
|
|
141
|
+
**参数解释:** 表示是否自动续订,续订的周期和原周期相同,且续订时会自动支付。 **约束限制:** 在创建包周期实例时可指定。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
142
142
|
|
|
143
143
|
:return: The is_auto_renew of this ChargeInfo.
|
|
144
144
|
:rtype: bool
|
|
@@ -149,7 +149,7 @@ class ChargeInfo:
|
|
|
149
149
|
def is_auto_renew(self, is_auto_renew):
|
|
150
150
|
r"""Sets the is_auto_renew of this ChargeInfo.
|
|
151
151
|
|
|
152
|
-
|
|
152
|
+
**参数解释:** 表示是否自动续订,续订的周期和原周期相同,且续订时会自动支付。 **约束限制:** 在创建包周期实例时可指定。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
153
153
|
|
|
154
154
|
:param is_auto_renew: The is_auto_renew of this ChargeInfo.
|
|
155
155
|
:type is_auto_renew: bool
|
|
@@ -160,7 +160,7 @@ class ChargeInfo:
|
|
|
160
160
|
def is_auto_pay(self):
|
|
161
161
|
r"""Gets the is_auto_pay of this ChargeInfo.
|
|
162
162
|
|
|
163
|
-
|
|
163
|
+
**参数解释:** 表示是否自动从客户的账户中支付,此字段不影响自动续订的支付方式。 **约束限制:** 在创建包周期时可指定。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
164
164
|
|
|
165
165
|
:return: The is_auto_pay of this ChargeInfo.
|
|
166
166
|
:rtype: bool
|
|
@@ -171,7 +171,7 @@ class ChargeInfo:
|
|
|
171
171
|
def is_auto_pay(self, is_auto_pay):
|
|
172
172
|
r"""Sets the is_auto_pay of this ChargeInfo.
|
|
173
173
|
|
|
174
|
-
|
|
174
|
+
**参数解释:** 表示是否自动从客户的账户中支付,此字段不影响自动续订的支付方式。 **约束限制:** 在创建包周期时可指定。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
175
175
|
|
|
176
176
|
:param is_auto_pay: The is_auto_pay of this ChargeInfo.
|
|
177
177
|
:type is_auto_pay: bool
|
|
@@ -31,9 +31,9 @@ class CollectionBaseInfo:
|
|
|
31
31
|
|
|
32
32
|
The model defined in huaweicloud sdk
|
|
33
33
|
|
|
34
|
-
:param store_name:
|
|
34
|
+
:param store_name: **参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
35
35
|
:type store_name: str
|
|
36
|
-
:param collection_name:
|
|
36
|
+
:param collection_name: **参数解释:** collection名称。 **约束限制:** 可包含数字、字母和下划线 (_)。资源名称必须以字母或下划线 (_) 开头。最大长度支持255。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
37
37
|
:type collection_name: str
|
|
38
38
|
"""
|
|
39
39
|
|
|
@@ -50,7 +50,7 @@ class CollectionBaseInfo:
|
|
|
50
50
|
def store_name(self):
|
|
51
51
|
r"""Gets the store_name of this CollectionBaseInfo.
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
**参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
54
54
|
|
|
55
55
|
:return: The store_name of this CollectionBaseInfo.
|
|
56
56
|
:rtype: str
|
|
@@ -61,7 +61,7 @@ class CollectionBaseInfo:
|
|
|
61
61
|
def store_name(self, store_name):
|
|
62
62
|
r"""Sets the store_name of this CollectionBaseInfo.
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
**参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
65
65
|
|
|
66
66
|
:param store_name: The store_name of this CollectionBaseInfo.
|
|
67
67
|
:type store_name: str
|
|
@@ -72,7 +72,7 @@ class CollectionBaseInfo:
|
|
|
72
72
|
def collection_name(self):
|
|
73
73
|
r"""Gets the collection_name of this CollectionBaseInfo.
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
**参数解释:** collection名称。 **约束限制:** 可包含数字、字母和下划线 (_)。资源名称必须以字母或下划线 (_) 开头。最大长度支持255。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
76
76
|
|
|
77
77
|
:return: The collection_name of this CollectionBaseInfo.
|
|
78
78
|
:rtype: str
|
|
@@ -83,7 +83,7 @@ class CollectionBaseInfo:
|
|
|
83
83
|
def collection_name(self, collection_name):
|
|
84
84
|
r"""Sets the collection_name of this CollectionBaseInfo.
|
|
85
85
|
|
|
86
|
-
|
|
86
|
+
**参数解释:** collection名称。 **约束限制:** 可包含数字、字母和下划线 (_)。资源名称必须以字母或下划线 (_) 开头。最大长度支持255。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
87
87
|
|
|
88
88
|
:param collection_name: The collection_name of this CollectionBaseInfo.
|
|
89
89
|
:type collection_name: str
|
|
@@ -41,19 +41,19 @@ class CreateCollectionBody:
|
|
|
41
41
|
|
|
42
42
|
The model defined in huaweicloud sdk
|
|
43
43
|
|
|
44
|
-
:param store_name:
|
|
44
|
+
:param store_name: **参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及 **默认取值:** 不涉及
|
|
45
45
|
:type store_name: str
|
|
46
|
-
:param collection_name: collection
|
|
46
|
+
:param collection_name: **参数解释:** collection名称。 **约束限制:** 可包含数字、字母和下划线 (_)。资源名称必须以字母或下划线 (_) 开头。最大长度支持255。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
47
47
|
:type collection_name: str
|
|
48
48
|
:param primary_field:
|
|
49
49
|
:type primary_field: :class:`huaweicloudsdkdwr.v1.PrimaryField`
|
|
50
|
-
:param fields: 集合中通用字段,创建列的schema
|
|
50
|
+
:param fields: **参数解释:** 集合中通用字段,创建列的schema。 **约束限制:** 不涉及。
|
|
51
51
|
:type fields: list[:class:`huaweicloudsdkdwr.v1.Field`]
|
|
52
|
-
:param description: 指定 Collection
|
|
52
|
+
:param description: **参数解释:** 指定 Collection 的描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
53
53
|
:type description: str
|
|
54
|
-
:param index_params:
|
|
54
|
+
:param index_params: **参数解释:** 索引的配置信息。 **约束限制:** 不涉及。
|
|
55
55
|
:type index_params: list[:class:`huaweicloudsdkdwr.v1.IndexParams`]
|
|
56
|
-
:param params: collection
|
|
56
|
+
:param params: **参数解释:** collection常用参数。 **约束限制:** shards_num: 默认2,取值范围[1, 16] partitions_num: 默认4,取值范围[1, 1024],若所有field的partition_key为false,则partitions_num固定为1。 max_length: 默认256,取值范围[1, 65535],当primary_field.type为String时,指示String的最大长度。
|
|
57
57
|
:type params: dict(str, object)
|
|
58
58
|
"""
|
|
59
59
|
|
|
@@ -83,7 +83,7 @@ class CreateCollectionBody:
|
|
|
83
83
|
def store_name(self):
|
|
84
84
|
r"""Gets the store_name of this CreateCollectionBody.
|
|
85
85
|
|
|
86
|
-
|
|
86
|
+
**参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及 **默认取值:** 不涉及
|
|
87
87
|
|
|
88
88
|
:return: The store_name of this CreateCollectionBody.
|
|
89
89
|
:rtype: str
|
|
@@ -94,7 +94,7 @@ class CreateCollectionBody:
|
|
|
94
94
|
def store_name(self, store_name):
|
|
95
95
|
r"""Sets the store_name of this CreateCollectionBody.
|
|
96
96
|
|
|
97
|
-
|
|
97
|
+
**参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及 **默认取值:** 不涉及
|
|
98
98
|
|
|
99
99
|
:param store_name: The store_name of this CreateCollectionBody.
|
|
100
100
|
:type store_name: str
|
|
@@ -105,7 +105,7 @@ class CreateCollectionBody:
|
|
|
105
105
|
def collection_name(self):
|
|
106
106
|
r"""Gets the collection_name of this CreateCollectionBody.
|
|
107
107
|
|
|
108
|
-
collection
|
|
108
|
+
**参数解释:** collection名称。 **约束限制:** 可包含数字、字母和下划线 (_)。资源名称必须以字母或下划线 (_) 开头。最大长度支持255。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
109
109
|
|
|
110
110
|
:return: The collection_name of this CreateCollectionBody.
|
|
111
111
|
:rtype: str
|
|
@@ -116,7 +116,7 @@ class CreateCollectionBody:
|
|
|
116
116
|
def collection_name(self, collection_name):
|
|
117
117
|
r"""Sets the collection_name of this CreateCollectionBody.
|
|
118
118
|
|
|
119
|
-
collection
|
|
119
|
+
**参数解释:** collection名称。 **约束限制:** 可包含数字、字母和下划线 (_)。资源名称必须以字母或下划线 (_) 开头。最大长度支持255。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
120
120
|
|
|
121
121
|
:param collection_name: The collection_name of this CreateCollectionBody.
|
|
122
122
|
:type collection_name: str
|
|
@@ -145,7 +145,7 @@ class CreateCollectionBody:
|
|
|
145
145
|
def fields(self):
|
|
146
146
|
r"""Gets the fields of this CreateCollectionBody.
|
|
147
147
|
|
|
148
|
-
集合中通用字段,创建列的schema
|
|
148
|
+
**参数解释:** 集合中通用字段,创建列的schema。 **约束限制:** 不涉及。
|
|
149
149
|
|
|
150
150
|
:return: The fields of this CreateCollectionBody.
|
|
151
151
|
:rtype: list[:class:`huaweicloudsdkdwr.v1.Field`]
|
|
@@ -156,7 +156,7 @@ class CreateCollectionBody:
|
|
|
156
156
|
def fields(self, fields):
|
|
157
157
|
r"""Sets the fields of this CreateCollectionBody.
|
|
158
158
|
|
|
159
|
-
集合中通用字段,创建列的schema
|
|
159
|
+
**参数解释:** 集合中通用字段,创建列的schema。 **约束限制:** 不涉及。
|
|
160
160
|
|
|
161
161
|
:param fields: The fields of this CreateCollectionBody.
|
|
162
162
|
:type fields: list[:class:`huaweicloudsdkdwr.v1.Field`]
|
|
@@ -167,7 +167,7 @@ class CreateCollectionBody:
|
|
|
167
167
|
def description(self):
|
|
168
168
|
r"""Gets the description of this CreateCollectionBody.
|
|
169
169
|
|
|
170
|
-
指定 Collection
|
|
170
|
+
**参数解释:** 指定 Collection 的描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
171
171
|
|
|
172
172
|
:return: The description of this CreateCollectionBody.
|
|
173
173
|
:rtype: str
|
|
@@ -178,7 +178,7 @@ class CreateCollectionBody:
|
|
|
178
178
|
def description(self, description):
|
|
179
179
|
r"""Sets the description of this CreateCollectionBody.
|
|
180
180
|
|
|
181
|
-
指定 Collection
|
|
181
|
+
**参数解释:** 指定 Collection 的描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
182
182
|
|
|
183
183
|
:param description: The description of this CreateCollectionBody.
|
|
184
184
|
:type description: str
|
|
@@ -189,7 +189,7 @@ class CreateCollectionBody:
|
|
|
189
189
|
def index_params(self):
|
|
190
190
|
r"""Gets the index_params of this CreateCollectionBody.
|
|
191
191
|
|
|
192
|
-
|
|
192
|
+
**参数解释:** 索引的配置信息。 **约束限制:** 不涉及。
|
|
193
193
|
|
|
194
194
|
:return: The index_params of this CreateCollectionBody.
|
|
195
195
|
:rtype: list[:class:`huaweicloudsdkdwr.v1.IndexParams`]
|
|
@@ -200,7 +200,7 @@ class CreateCollectionBody:
|
|
|
200
200
|
def index_params(self, index_params):
|
|
201
201
|
r"""Sets the index_params of this CreateCollectionBody.
|
|
202
202
|
|
|
203
|
-
|
|
203
|
+
**参数解释:** 索引的配置信息。 **约束限制:** 不涉及。
|
|
204
204
|
|
|
205
205
|
:param index_params: The index_params of this CreateCollectionBody.
|
|
206
206
|
:type index_params: list[:class:`huaweicloudsdkdwr.v1.IndexParams`]
|
|
@@ -211,7 +211,7 @@ class CreateCollectionBody:
|
|
|
211
211
|
def params(self):
|
|
212
212
|
r"""Gets the params of this CreateCollectionBody.
|
|
213
213
|
|
|
214
|
-
collection
|
|
214
|
+
**参数解释:** collection常用参数。 **约束限制:** shards_num: 默认2,取值范围[1, 16] partitions_num: 默认4,取值范围[1, 1024],若所有field的partition_key为false,则partitions_num固定为1。 max_length: 默认256,取值范围[1, 65535],当primary_field.type为String时,指示String的最大长度。
|
|
215
215
|
|
|
216
216
|
:return: The params of this CreateCollectionBody.
|
|
217
217
|
:rtype: dict(str, object)
|
|
@@ -222,7 +222,7 @@ class CreateCollectionBody:
|
|
|
222
222
|
def params(self, params):
|
|
223
223
|
r"""Sets the params of this CreateCollectionBody.
|
|
224
224
|
|
|
225
|
-
collection
|
|
225
|
+
**参数解释:** collection常用参数。 **约束限制:** shards_num: 默认2,取值范围[1, 16] partitions_num: 默认4,取值范围[1, 1024],若所有field的partition_key为false,则partitions_num固定为1。 max_length: 默认256,取值范围[1, 65535],当primary_field.type为String时,指示String的最大长度。
|
|
226
226
|
|
|
227
227
|
:param params: The params of this CreateCollectionBody.
|
|
228
228
|
:type params: dict(str, object)
|
|
@@ -32,9 +32,9 @@ class CreateCollectionResponse(SdkResponse):
|
|
|
32
32
|
|
|
33
33
|
The model defined in huaweicloud sdk
|
|
34
34
|
|
|
35
|
-
:param code:
|
|
35
|
+
:param code: **参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
36
36
|
:type code: str
|
|
37
|
-
:param message:
|
|
37
|
+
:param message: **参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
38
38
|
:type message: str
|
|
39
39
|
"""
|
|
40
40
|
|
|
@@ -53,7 +53,7 @@ class CreateCollectionResponse(SdkResponse):
|
|
|
53
53
|
def code(self):
|
|
54
54
|
r"""Gets the code of this CreateCollectionResponse.
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
**参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
57
57
|
|
|
58
58
|
:return: The code of this CreateCollectionResponse.
|
|
59
59
|
:rtype: str
|
|
@@ -64,7 +64,7 @@ class CreateCollectionResponse(SdkResponse):
|
|
|
64
64
|
def code(self, code):
|
|
65
65
|
r"""Sets the code of this CreateCollectionResponse.
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
**参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
68
68
|
|
|
69
69
|
:param code: The code of this CreateCollectionResponse.
|
|
70
70
|
:type code: str
|
|
@@ -75,7 +75,7 @@ class CreateCollectionResponse(SdkResponse):
|
|
|
75
75
|
def message(self):
|
|
76
76
|
r"""Gets the message of this CreateCollectionResponse.
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
**参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
79
79
|
|
|
80
80
|
:return: The message of this CreateCollectionResponse.
|
|
81
81
|
:rtype: str
|
|
@@ -86,7 +86,7 @@ class CreateCollectionResponse(SdkResponse):
|
|
|
86
86
|
def message(self, message):
|
|
87
87
|
r"""Sets the message of this CreateCollectionResponse.
|
|
88
88
|
|
|
89
|
-
|
|
89
|
+
**参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
90
90
|
|
|
91
91
|
:param message: The message of this CreateCollectionResponse.
|
|
92
92
|
:type message: str
|
|
@@ -33,9 +33,9 @@ class CreateIndexBody:
|
|
|
33
33
|
|
|
34
34
|
The model defined in huaweicloud sdk
|
|
35
35
|
|
|
36
|
-
:param store_name:
|
|
36
|
+
:param store_name: **参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
37
37
|
:type store_name: str
|
|
38
|
-
:param collection_name:
|
|
38
|
+
:param collection_name: **参数解释:** collection名称,知识仓内唯一。 **约束限制:** 长度范围为1到255个字符,支持字母、数字、中划线(-)和下划线(_),大小写敏感。第一个字符只能够是下划线(_)和字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
39
39
|
:type collection_name: str
|
|
40
40
|
:param index_params:
|
|
41
41
|
:type index_params: :class:`huaweicloudsdkdwr.v1.IndexParams`
|
|
@@ -56,7 +56,7 @@ class CreateIndexBody:
|
|
|
56
56
|
def store_name(self):
|
|
57
57
|
r"""Gets the store_name of this CreateIndexBody.
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
**参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
60
60
|
|
|
61
61
|
:return: The store_name of this CreateIndexBody.
|
|
62
62
|
:rtype: str
|
|
@@ -67,7 +67,7 @@ class CreateIndexBody:
|
|
|
67
67
|
def store_name(self, store_name):
|
|
68
68
|
r"""Sets the store_name of this CreateIndexBody.
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
**参数解释:** 知识仓实例名称,region内唯一。 **约束限制:** 长度范围为3到63个字符,支持小写字母、数字、中划线(-),第一个字符只能够是小写字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
71
71
|
|
|
72
72
|
:param store_name: The store_name of this CreateIndexBody.
|
|
73
73
|
:type store_name: str
|
|
@@ -78,7 +78,7 @@ class CreateIndexBody:
|
|
|
78
78
|
def collection_name(self):
|
|
79
79
|
r"""Gets the collection_name of this CreateIndexBody.
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
**参数解释:** collection名称,知识仓内唯一。 **约束限制:** 长度范围为1到255个字符,支持字母、数字、中划线(-)和下划线(_),大小写敏感。第一个字符只能够是下划线(_)和字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
82
82
|
|
|
83
83
|
:return: The collection_name of this CreateIndexBody.
|
|
84
84
|
:rtype: str
|
|
@@ -89,7 +89,7 @@ class CreateIndexBody:
|
|
|
89
89
|
def collection_name(self, collection_name):
|
|
90
90
|
r"""Sets the collection_name of this CreateIndexBody.
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
**参数解释:** collection名称,知识仓内唯一。 **约束限制:** 长度范围为1到255个字符,支持字母、数字、中划线(-)和下划线(_),大小写敏感。第一个字符只能够是下划线(_)和字母,中划线(-)不得出现在字符串末尾。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
93
93
|
|
|
94
94
|
:param collection_name: The collection_name of this CreateIndexBody.
|
|
95
95
|
:type collection_name: str
|
|
@@ -32,9 +32,9 @@ class CreateIndexResponse(SdkResponse):
|
|
|
32
32
|
|
|
33
33
|
The model defined in huaweicloud sdk
|
|
34
34
|
|
|
35
|
-
:param code:
|
|
35
|
+
:param code: **参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
36
36
|
:type code: str
|
|
37
|
-
:param message:
|
|
37
|
+
:param message: **参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
38
38
|
:type message: str
|
|
39
39
|
"""
|
|
40
40
|
|
|
@@ -53,7 +53,7 @@ class CreateIndexResponse(SdkResponse):
|
|
|
53
53
|
def code(self):
|
|
54
54
|
r"""Gets the code of this CreateIndexResponse.
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
**参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
57
57
|
|
|
58
58
|
:return: The code of this CreateIndexResponse.
|
|
59
59
|
:rtype: str
|
|
@@ -64,7 +64,7 @@ class CreateIndexResponse(SdkResponse):
|
|
|
64
64
|
def code(self, code):
|
|
65
65
|
r"""Sets the code of this CreateIndexResponse.
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
**参数解释:** 返回码。参见错误码章节。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
68
68
|
|
|
69
69
|
:param code: The code of this CreateIndexResponse.
|
|
70
70
|
:type code: str
|
|
@@ -75,7 +75,7 @@ class CreateIndexResponse(SdkResponse):
|
|
|
75
75
|
def message(self):
|
|
76
76
|
r"""Gets the message of this CreateIndexResponse.
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
**参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
79
79
|
|
|
80
80
|
:return: The message of this CreateIndexResponse.
|
|
81
81
|
:rtype: str
|
|
@@ -86,7 +86,7 @@ class CreateIndexResponse(SdkResponse):
|
|
|
86
86
|
def message(self, message):
|
|
87
87
|
r"""Sets the message of this CreateIndexResponse.
|
|
88
88
|
|
|
89
|
-
|
|
89
|
+
**参数解释:** 描述信息。 **约束限制:** 不涉及。 **取值范围:** 不涉及。 **默认取值:** 不涉及。
|
|
90
90
|
|
|
91
91
|
:param message: The message of this CreateIndexResponse.
|
|
92
92
|
:type message: str
|