byteplus-python-sdk-v2 3.0.59__py2.py3-none-any.whl → 3.0.60__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.
- {byteplus_python_sdk_v2-3.0.59.dist-info → byteplus_python_sdk_v2-3.0.60.dist-info}/METADATA +3 -1
- {byteplus_python_sdk_v2-3.0.59.dist-info → byteplus_python_sdk_v2-3.0.60.dist-info}/RECORD +88 -53
- byteplussdkaidap/__init__.py +35 -0
- byteplussdkaidap/api/aidap_api.py +1177 -13
- byteplussdkaidap/models/__init__.py +35 -0
- byteplussdkaidap/models/bind_pages_project_request.py +230 -0
- byteplussdkaidap/models/bind_pages_project_response.py +95 -0
- byteplussdkaidap/models/binding_for_describe_pages_binding_output.py +253 -0
- byteplussdkaidap/models/branch_settings_for_create_branch_input.py +29 -3
- byteplussdkaidap/models/branch_usage_for_create_branch_output.py +79 -1
- byteplussdkaidap/models/branch_usage_for_describe_branch_detail_output.py +79 -1
- byteplussdkaidap/models/branch_usage_for_describe_branches_list_output.py +79 -1
- byteplussdkaidap/models/branch_usage_for_describe_branches_output.py +79 -1
- byteplussdkaidap/models/branch_usage_for_describe_child_branches_output.py +79 -1
- byteplussdkaidap/models/branch_usage_for_describe_default_branch_list_output.py +79 -1
- byteplussdkaidap/models/branch_usage_for_describe_default_branch_output.py +79 -1
- byteplussdkaidap/models/branch_usage_for_describe_restorable_branches_output.py +79 -1
- byteplussdkaidap/models/branch_usage_for_reset_branch_output.py +79 -1
- byteplussdkaidap/models/branch_usage_for_set_as_default_branch_output.py +79 -1
- byteplussdkaidap/models/branch_usage_for_update_branch_output.py +79 -1
- byteplussdkaidap/models/create_sql_concurrency_control_rule_request.py +442 -0
- byteplussdkaidap/models/create_sql_concurrency_control_rule_response.py +175 -0
- byteplussdkaidap/models/custom_quota_for_describe_baas_ai_user_summaries_output.py +27 -1
- byteplussdkaidap/models/custom_quota_for_modify_baas_ai_user_quotas_input.py +27 -1
- byteplussdkaidap/models/delete_sql_concurrency_control_rule_request.py +238 -0
- byteplussdkaidap/models/delete_sql_concurrency_control_rule_response.py +149 -0
- byteplussdkaidap/models/describe_pages_binding_request.py +151 -0
- byteplussdkaidap/models/describe_pages_binding_response.py +149 -0
- byteplussdkaidap/models/describe_sql_concurrency_control_rules_request.py +466 -0
- byteplussdkaidap/models/describe_sql_concurrency_control_rules_response.py +201 -0
- byteplussdkaidap/models/describe_workspaces_request.py +27 -1
- byteplussdkaidap/models/describe_workspaces_response.py +53 -1
- byteplussdkaidap/models/limit_config_for_create_sql_concurrency_control_rule_input.py +260 -0
- byteplussdkaidap/models/limit_config_for_modify_sql_concurrency_control_rule_input.py +260 -0
- byteplussdkaidap/models/list_pages_project_request.py +227 -0
- byteplussdkaidap/models/list_pages_project_response.py +201 -0
- byteplussdkaidap/models/match_for_create_sql_concurrency_control_rule_input.py +182 -0
- byteplussdkaidap/models/modify_compute_parameters_request.py +243 -0
- byteplussdkaidap/models/modify_compute_parameters_response.py +95 -0
- byteplussdkaidap/models/modify_compute_spec_request.py +34 -1
- byteplussdkaidap/models/modify_sql_concurrency_control_rule_request.py +264 -0
- byteplussdkaidap/models/modify_sql_concurrency_control_rule_response.py +149 -0
- byteplussdkaidap/models/pages_project_for_describe_pages_binding_output.py +357 -0
- byteplussdkaidap/models/parameter_for_modify_compute_parameters_input.py +149 -0
- byteplussdkaidap/models/project_for_list_pages_project_output.py +357 -0
- byteplussdkaidap/models/restore_settings_for_branch_restore_input.py +27 -1
- byteplussdkaidap/models/rule_for_describe_sql_concurrency_control_rules_output.py +565 -0
- byteplussdkaidap/models/start_workspace_request.py +27 -1
- byteplussdkaidap/models/supabase_binding_for_describe_pages_binding_output.py +253 -0
- byteplussdkaidap/models/supabase_binding_for_list_pages_project_output.py +253 -0
- byteplussdkaidap/models/suspend_workspace_request.py +124 -0
- byteplussdkaidap/models/suspend_workspace_response.py +95 -0
- byteplussdkaidap/models/switch_sql_concurrency_control_rule_request.py +265 -0
- byteplussdkaidap/models/switch_sql_concurrency_control_rule_response.py +149 -0
- byteplussdkaidap/models/sync_pages_deploy_env_vars_request.py +178 -0
- byteplussdkaidap/models/sync_pages_deploy_env_vars_response.py +95 -0
- byteplussdkaidap/models/unbind_pages_project_request.py +151 -0
- byteplussdkaidap/models/unbind_pages_project_response.py +95 -0
- byteplussdkaidap/models/usage_for_describe_baas_ai_user_summaries_output.py +53 -1
- byteplussdkaidap/models/user_default_quota_for_describe_baas_ai_global_quota_output.py +27 -1
- byteplussdkaidap/models/user_default_quota_for_modify_baas_ai_global_quota_input.py +27 -1
- byteplussdkaidap/models/volc_supabase_filter_for_list_pages_project_input.py +149 -0
- byteplussdkaidap/models/workspace_usage_for_create_workspace_output.py +81 -3
- byteplussdkaidap/models/workspace_usage_for_describe_workspace_detail_list_output.py +81 -3
- byteplussdkaidap/models/workspace_usage_for_describe_workspace_detail_output.py +81 -3
- byteplussdkaidap/models/workspace_usage_for_describe_workspaces_output.py +81 -3
- byteplussdkaidap/models/workspace_usage_for_list_workspace_usage_top_output.py +81 -3
- byteplussdkaidap/models/workspace_usage_for_modify_compute_settings_output.py +81 -3
- byteplussdkaidap/models/workspace_usage_for_modify_workspace_name_output.py +81 -3
- byteplussdkaidap/models/workspace_usage_for_modify_workspace_settings_output.py +81 -3
- byteplussdkcore/api_client.py +18 -14
- byteplussdkcore/auth/providers/sts_provider.py +0 -2
- byteplussdkcore/configuration.py +91 -21
- byteplussdkcore/interceptor/chain.py +23 -0
- byteplussdkcore/interceptor/interceptors/build_request_interceptor.py +2 -0
- byteplussdkcore/interceptor/interceptors/interceptor.py +2 -0
- byteplussdkcore/interceptor/interceptors/request.py +7 -2
- byteplussdkcore/interceptor/interceptors/resolve_endpoint_interceptor.py +2 -0
- byteplussdkcore/interceptor/interceptors/runtime_options_interceptor.py +28 -15
- byteplussdkcore/interceptor/interceptors/sign_request_interceptor.py +20 -0
- byteplussdkcore/retryer/retryer.py +89 -10
- byteplussdkllmshield/__init__.py +8 -0
- byteplussdkllmshield/api/llm_shield_sdk_v2.py +53 -5
- byteplussdkllmshield/models/llm_shield_sign.py +3 -3
- {byteplus_python_sdk_v2-3.0.59.dist-info → byteplus_python_sdk_v2-3.0.60.dist-info}/WHEEL +0 -0
- {byteplus_python_sdk_v2-3.0.59.dist-info → byteplus_python_sdk_v2-3.0.60.dist-info}/licenses/LICENSE.txt +0 -0
- {byteplus_python_sdk_v2-3.0.59.dist-info → byteplus_python_sdk_v2-3.0.60.dist-info}/licenses/NOTICE.md +0 -0
- {byteplus_python_sdk_v2-3.0.59.dist-info → byteplus_python_sdk_v2-3.0.60.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
aidap
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from byteplussdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class BindingForDescribePagesBindingOutput(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'branch_id': 'str',
|
|
37
|
+
'custom_prefix': 'str',
|
|
38
|
+
'env_var_names': 'list[str]',
|
|
39
|
+
'framework_prefix': 'str',
|
|
40
|
+
'pages_project_id': 'str',
|
|
41
|
+
'workspace_id': 'str'
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
attribute_map = {
|
|
45
|
+
'branch_id': 'BranchId',
|
|
46
|
+
'custom_prefix': 'CustomPrefix',
|
|
47
|
+
'env_var_names': 'EnvVarNames',
|
|
48
|
+
'framework_prefix': 'FrameworkPrefix',
|
|
49
|
+
'pages_project_id': 'PagesProjectId',
|
|
50
|
+
'workspace_id': 'WorkspaceId'
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
def __init__(self, branch_id=None, custom_prefix=None, env_var_names=None, framework_prefix=None, pages_project_id=None, workspace_id=None, _configuration=None): # noqa: E501
|
|
54
|
+
"""BindingForDescribePagesBindingOutput - a model defined in Swagger""" # noqa: E501
|
|
55
|
+
if _configuration is None:
|
|
56
|
+
_configuration = Configuration()
|
|
57
|
+
self._configuration = _configuration
|
|
58
|
+
|
|
59
|
+
self._branch_id = None
|
|
60
|
+
self._custom_prefix = None
|
|
61
|
+
self._env_var_names = None
|
|
62
|
+
self._framework_prefix = None
|
|
63
|
+
self._pages_project_id = None
|
|
64
|
+
self._workspace_id = None
|
|
65
|
+
self.discriminator = None
|
|
66
|
+
|
|
67
|
+
if branch_id is not None:
|
|
68
|
+
self.branch_id = branch_id
|
|
69
|
+
if custom_prefix is not None:
|
|
70
|
+
self.custom_prefix = custom_prefix
|
|
71
|
+
if env_var_names is not None:
|
|
72
|
+
self.env_var_names = env_var_names
|
|
73
|
+
if framework_prefix is not None:
|
|
74
|
+
self.framework_prefix = framework_prefix
|
|
75
|
+
if pages_project_id is not None:
|
|
76
|
+
self.pages_project_id = pages_project_id
|
|
77
|
+
if workspace_id is not None:
|
|
78
|
+
self.workspace_id = workspace_id
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
def branch_id(self):
|
|
82
|
+
"""Gets the branch_id of this BindingForDescribePagesBindingOutput. # noqa: E501
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
:return: The branch_id of this BindingForDescribePagesBindingOutput. # noqa: E501
|
|
86
|
+
:rtype: str
|
|
87
|
+
"""
|
|
88
|
+
return self._branch_id
|
|
89
|
+
|
|
90
|
+
@branch_id.setter
|
|
91
|
+
def branch_id(self, branch_id):
|
|
92
|
+
"""Sets the branch_id of this BindingForDescribePagesBindingOutput.
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
:param branch_id: The branch_id of this BindingForDescribePagesBindingOutput. # noqa: E501
|
|
96
|
+
:type: str
|
|
97
|
+
"""
|
|
98
|
+
|
|
99
|
+
self._branch_id = branch_id
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def custom_prefix(self):
|
|
103
|
+
"""Gets the custom_prefix of this BindingForDescribePagesBindingOutput. # noqa: E501
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:return: The custom_prefix of this BindingForDescribePagesBindingOutput. # noqa: E501
|
|
107
|
+
:rtype: str
|
|
108
|
+
"""
|
|
109
|
+
return self._custom_prefix
|
|
110
|
+
|
|
111
|
+
@custom_prefix.setter
|
|
112
|
+
def custom_prefix(self, custom_prefix):
|
|
113
|
+
"""Sets the custom_prefix of this BindingForDescribePagesBindingOutput.
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
:param custom_prefix: The custom_prefix of this BindingForDescribePagesBindingOutput. # noqa: E501
|
|
117
|
+
:type: str
|
|
118
|
+
"""
|
|
119
|
+
|
|
120
|
+
self._custom_prefix = custom_prefix
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
def env_var_names(self):
|
|
124
|
+
"""Gets the env_var_names of this BindingForDescribePagesBindingOutput. # noqa: E501
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
:return: The env_var_names of this BindingForDescribePagesBindingOutput. # noqa: E501
|
|
128
|
+
:rtype: list[str]
|
|
129
|
+
"""
|
|
130
|
+
return self._env_var_names
|
|
131
|
+
|
|
132
|
+
@env_var_names.setter
|
|
133
|
+
def env_var_names(self, env_var_names):
|
|
134
|
+
"""Sets the env_var_names of this BindingForDescribePagesBindingOutput.
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
:param env_var_names: The env_var_names of this BindingForDescribePagesBindingOutput. # noqa: E501
|
|
138
|
+
:type: list[str]
|
|
139
|
+
"""
|
|
140
|
+
|
|
141
|
+
self._env_var_names = env_var_names
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
def framework_prefix(self):
|
|
145
|
+
"""Gets the framework_prefix of this BindingForDescribePagesBindingOutput. # noqa: E501
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:return: The framework_prefix of this BindingForDescribePagesBindingOutput. # noqa: E501
|
|
149
|
+
:rtype: str
|
|
150
|
+
"""
|
|
151
|
+
return self._framework_prefix
|
|
152
|
+
|
|
153
|
+
@framework_prefix.setter
|
|
154
|
+
def framework_prefix(self, framework_prefix):
|
|
155
|
+
"""Sets the framework_prefix of this BindingForDescribePagesBindingOutput.
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
:param framework_prefix: The framework_prefix of this BindingForDescribePagesBindingOutput. # noqa: E501
|
|
159
|
+
:type: str
|
|
160
|
+
"""
|
|
161
|
+
|
|
162
|
+
self._framework_prefix = framework_prefix
|
|
163
|
+
|
|
164
|
+
@property
|
|
165
|
+
def pages_project_id(self):
|
|
166
|
+
"""Gets the pages_project_id of this BindingForDescribePagesBindingOutput. # noqa: E501
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
:return: The pages_project_id of this BindingForDescribePagesBindingOutput. # noqa: E501
|
|
170
|
+
:rtype: str
|
|
171
|
+
"""
|
|
172
|
+
return self._pages_project_id
|
|
173
|
+
|
|
174
|
+
@pages_project_id.setter
|
|
175
|
+
def pages_project_id(self, pages_project_id):
|
|
176
|
+
"""Sets the pages_project_id of this BindingForDescribePagesBindingOutput.
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
:param pages_project_id: The pages_project_id of this BindingForDescribePagesBindingOutput. # noqa: E501
|
|
180
|
+
:type: str
|
|
181
|
+
"""
|
|
182
|
+
|
|
183
|
+
self._pages_project_id = pages_project_id
|
|
184
|
+
|
|
185
|
+
@property
|
|
186
|
+
def workspace_id(self):
|
|
187
|
+
"""Gets the workspace_id of this BindingForDescribePagesBindingOutput. # noqa: E501
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
:return: The workspace_id of this BindingForDescribePagesBindingOutput. # noqa: E501
|
|
191
|
+
:rtype: str
|
|
192
|
+
"""
|
|
193
|
+
return self._workspace_id
|
|
194
|
+
|
|
195
|
+
@workspace_id.setter
|
|
196
|
+
def workspace_id(self, workspace_id):
|
|
197
|
+
"""Sets the workspace_id of this BindingForDescribePagesBindingOutput.
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
:param workspace_id: The workspace_id of this BindingForDescribePagesBindingOutput. # noqa: E501
|
|
201
|
+
:type: str
|
|
202
|
+
"""
|
|
203
|
+
|
|
204
|
+
self._workspace_id = workspace_id
|
|
205
|
+
|
|
206
|
+
def to_dict(self):
|
|
207
|
+
"""Returns the model properties as a dict"""
|
|
208
|
+
result = {}
|
|
209
|
+
|
|
210
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
211
|
+
value = getattr(self, attr)
|
|
212
|
+
if isinstance(value, list):
|
|
213
|
+
result[attr] = list(map(
|
|
214
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
215
|
+
value
|
|
216
|
+
))
|
|
217
|
+
elif hasattr(value, "to_dict"):
|
|
218
|
+
result[attr] = value.to_dict()
|
|
219
|
+
elif isinstance(value, dict):
|
|
220
|
+
result[attr] = dict(map(
|
|
221
|
+
lambda item: (item[0], item[1].to_dict())
|
|
222
|
+
if hasattr(item[1], "to_dict") else item,
|
|
223
|
+
value.items()
|
|
224
|
+
))
|
|
225
|
+
else:
|
|
226
|
+
result[attr] = value
|
|
227
|
+
if issubclass(BindingForDescribePagesBindingOutput, dict):
|
|
228
|
+
for key, value in self.items():
|
|
229
|
+
result[key] = value
|
|
230
|
+
|
|
231
|
+
return result
|
|
232
|
+
|
|
233
|
+
def to_str(self):
|
|
234
|
+
"""Returns the string representation of the model"""
|
|
235
|
+
return pprint.pformat(self.to_dict())
|
|
236
|
+
|
|
237
|
+
def __repr__(self):
|
|
238
|
+
"""For `print` and `pprint`"""
|
|
239
|
+
return self.to_str()
|
|
240
|
+
|
|
241
|
+
def __eq__(self, other):
|
|
242
|
+
"""Returns true if both objects are equal"""
|
|
243
|
+
if not isinstance(other, BindingForDescribePagesBindingOutput):
|
|
244
|
+
return False
|
|
245
|
+
|
|
246
|
+
return self.to_dict() == other.to_dict()
|
|
247
|
+
|
|
248
|
+
def __ne__(self, other):
|
|
249
|
+
"""Returns true if both objects are not equal"""
|
|
250
|
+
if not isinstance(other, BindingForDescribePagesBindingOutput):
|
|
251
|
+
return True
|
|
252
|
+
|
|
253
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -37,7 +37,8 @@ class BranchSettingsForCreateBranchInput(object):
|
|
|
37
37
|
'name': 'str',
|
|
38
38
|
'parent_id': 'str',
|
|
39
39
|
'parent_time': 'str',
|
|
40
|
-
'protected': 'bool'
|
|
40
|
+
'protected': 'bool',
|
|
41
|
+
'skip_db_roles_and_credentials_rollback': 'bool'
|
|
41
42
|
}
|
|
42
43
|
|
|
43
44
|
attribute_map = {
|
|
@@ -45,10 +46,11 @@ class BranchSettingsForCreateBranchInput(object):
|
|
|
45
46
|
'name': 'Name',
|
|
46
47
|
'parent_id': 'ParentId',
|
|
47
48
|
'parent_time': 'ParentTime',
|
|
48
|
-
'protected': 'Protected'
|
|
49
|
+
'protected': 'Protected',
|
|
50
|
+
'skip_db_roles_and_credentials_rollback': 'SkipDBRolesAndCredentialsRollback'
|
|
49
51
|
}
|
|
50
52
|
|
|
51
|
-
def __init__(self, init_source=None, name=None, parent_id=None, parent_time=None, protected=None, _configuration=None): # noqa: E501
|
|
53
|
+
def __init__(self, init_source=None, name=None, parent_id=None, parent_time=None, protected=None, skip_db_roles_and_credentials_rollback=None, _configuration=None): # noqa: E501
|
|
52
54
|
"""BranchSettingsForCreateBranchInput - a model defined in Swagger""" # noqa: E501
|
|
53
55
|
if _configuration is None:
|
|
54
56
|
_configuration = Configuration()
|
|
@@ -59,6 +61,7 @@ class BranchSettingsForCreateBranchInput(object):
|
|
|
59
61
|
self._parent_id = None
|
|
60
62
|
self._parent_time = None
|
|
61
63
|
self._protected = None
|
|
64
|
+
self._skip_db_roles_and_credentials_rollback = None
|
|
62
65
|
self.discriminator = None
|
|
63
66
|
|
|
64
67
|
if init_source is not None:
|
|
@@ -71,6 +74,8 @@ class BranchSettingsForCreateBranchInput(object):
|
|
|
71
74
|
self.parent_time = parent_time
|
|
72
75
|
if protected is not None:
|
|
73
76
|
self.protected = protected
|
|
77
|
+
if skip_db_roles_and_credentials_rollback is not None:
|
|
78
|
+
self.skip_db_roles_and_credentials_rollback = skip_db_roles_and_credentials_rollback
|
|
74
79
|
|
|
75
80
|
@property
|
|
76
81
|
def init_source(self):
|
|
@@ -184,6 +189,27 @@ class BranchSettingsForCreateBranchInput(object):
|
|
|
184
189
|
|
|
185
190
|
self._protected = protected
|
|
186
191
|
|
|
192
|
+
@property
|
|
193
|
+
def skip_db_roles_and_credentials_rollback(self):
|
|
194
|
+
"""Gets the skip_db_roles_and_credentials_rollback of this BranchSettingsForCreateBranchInput. # noqa: E501
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
:return: The skip_db_roles_and_credentials_rollback of this BranchSettingsForCreateBranchInput. # noqa: E501
|
|
198
|
+
:rtype: bool
|
|
199
|
+
"""
|
|
200
|
+
return self._skip_db_roles_and_credentials_rollback
|
|
201
|
+
|
|
202
|
+
@skip_db_roles_and_credentials_rollback.setter
|
|
203
|
+
def skip_db_roles_and_credentials_rollback(self, skip_db_roles_and_credentials_rollback):
|
|
204
|
+
"""Sets the skip_db_roles_and_credentials_rollback of this BranchSettingsForCreateBranchInput.
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
:param skip_db_roles_and_credentials_rollback: The skip_db_roles_and_credentials_rollback of this BranchSettingsForCreateBranchInput. # noqa: E501
|
|
208
|
+
:type: bool
|
|
209
|
+
"""
|
|
210
|
+
|
|
211
|
+
self._skip_db_roles_and_credentials_rollback = skip_db_roles_and_credentials_rollback
|
|
212
|
+
|
|
187
213
|
def to_dict(self):
|
|
188
214
|
"""Returns the model properties as a dict"""
|
|
189
215
|
result = {}
|
|
@@ -42,6 +42,9 @@ class BranchUsageForCreateBranchOutput(object):
|
|
|
42
42
|
'service_time_seconds': 'int',
|
|
43
43
|
'stat_time': 'str',
|
|
44
44
|
'storage_size_used_bytes': 'int',
|
|
45
|
+
'vector_read_vcu': 'float',
|
|
46
|
+
'vector_storage_size_used_bytes': 'int',
|
|
47
|
+
'vector_write_vcu': 'float',
|
|
45
48
|
'workspace_id': 'str'
|
|
46
49
|
}
|
|
47
50
|
|
|
@@ -55,10 +58,13 @@ class BranchUsageForCreateBranchOutput(object):
|
|
|
55
58
|
'service_time_seconds': 'ServiceTimeSeconds',
|
|
56
59
|
'stat_time': 'StatTime',
|
|
57
60
|
'storage_size_used_bytes': 'StorageSizeUsedBytes',
|
|
61
|
+
'vector_read_vcu': 'VectorReadVCU',
|
|
62
|
+
'vector_storage_size_used_bytes': 'VectorStorageSizeUsedBytes',
|
|
63
|
+
'vector_write_vcu': 'VectorWriteVCU',
|
|
58
64
|
'workspace_id': 'WorkspaceId'
|
|
59
65
|
}
|
|
60
66
|
|
|
61
|
-
def __init__(self, branch_id=None, compute_time_seconds=None, data_size_total_bytes=None, data_size_used_bytes=None, function_call_num=None, last_running_time=None, service_time_seconds=None, stat_time=None, storage_size_used_bytes=None, workspace_id=None, _configuration=None): # noqa: E501
|
|
67
|
+
def __init__(self, branch_id=None, compute_time_seconds=None, data_size_total_bytes=None, data_size_used_bytes=None, function_call_num=None, last_running_time=None, service_time_seconds=None, stat_time=None, storage_size_used_bytes=None, vector_read_vcu=None, vector_storage_size_used_bytes=None, vector_write_vcu=None, workspace_id=None, _configuration=None): # noqa: E501
|
|
62
68
|
"""BranchUsageForCreateBranchOutput - a model defined in Swagger""" # noqa: E501
|
|
63
69
|
if _configuration is None:
|
|
64
70
|
_configuration = Configuration()
|
|
@@ -73,6 +79,9 @@ class BranchUsageForCreateBranchOutput(object):
|
|
|
73
79
|
self._service_time_seconds = None
|
|
74
80
|
self._stat_time = None
|
|
75
81
|
self._storage_size_used_bytes = None
|
|
82
|
+
self._vector_read_vcu = None
|
|
83
|
+
self._vector_storage_size_used_bytes = None
|
|
84
|
+
self._vector_write_vcu = None
|
|
76
85
|
self._workspace_id = None
|
|
77
86
|
self.discriminator = None
|
|
78
87
|
|
|
@@ -94,6 +103,12 @@ class BranchUsageForCreateBranchOutput(object):
|
|
|
94
103
|
self.stat_time = stat_time
|
|
95
104
|
if storage_size_used_bytes is not None:
|
|
96
105
|
self.storage_size_used_bytes = storage_size_used_bytes
|
|
106
|
+
if vector_read_vcu is not None:
|
|
107
|
+
self.vector_read_vcu = vector_read_vcu
|
|
108
|
+
if vector_storage_size_used_bytes is not None:
|
|
109
|
+
self.vector_storage_size_used_bytes = vector_storage_size_used_bytes
|
|
110
|
+
if vector_write_vcu is not None:
|
|
111
|
+
self.vector_write_vcu = vector_write_vcu
|
|
97
112
|
if workspace_id is not None:
|
|
98
113
|
self.workspace_id = workspace_id
|
|
99
114
|
|
|
@@ -286,6 +301,69 @@ class BranchUsageForCreateBranchOutput(object):
|
|
|
286
301
|
|
|
287
302
|
self._storage_size_used_bytes = storage_size_used_bytes
|
|
288
303
|
|
|
304
|
+
@property
|
|
305
|
+
def vector_read_vcu(self):
|
|
306
|
+
"""Gets the vector_read_vcu of this BranchUsageForCreateBranchOutput. # noqa: E501
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
:return: The vector_read_vcu of this BranchUsageForCreateBranchOutput. # noqa: E501
|
|
310
|
+
:rtype: float
|
|
311
|
+
"""
|
|
312
|
+
return self._vector_read_vcu
|
|
313
|
+
|
|
314
|
+
@vector_read_vcu.setter
|
|
315
|
+
def vector_read_vcu(self, vector_read_vcu):
|
|
316
|
+
"""Sets the vector_read_vcu of this BranchUsageForCreateBranchOutput.
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
:param vector_read_vcu: The vector_read_vcu of this BranchUsageForCreateBranchOutput. # noqa: E501
|
|
320
|
+
:type: float
|
|
321
|
+
"""
|
|
322
|
+
|
|
323
|
+
self._vector_read_vcu = vector_read_vcu
|
|
324
|
+
|
|
325
|
+
@property
|
|
326
|
+
def vector_storage_size_used_bytes(self):
|
|
327
|
+
"""Gets the vector_storage_size_used_bytes of this BranchUsageForCreateBranchOutput. # noqa: E501
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
:return: The vector_storage_size_used_bytes of this BranchUsageForCreateBranchOutput. # noqa: E501
|
|
331
|
+
:rtype: int
|
|
332
|
+
"""
|
|
333
|
+
return self._vector_storage_size_used_bytes
|
|
334
|
+
|
|
335
|
+
@vector_storage_size_used_bytes.setter
|
|
336
|
+
def vector_storage_size_used_bytes(self, vector_storage_size_used_bytes):
|
|
337
|
+
"""Sets the vector_storage_size_used_bytes of this BranchUsageForCreateBranchOutput.
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
:param vector_storage_size_used_bytes: The vector_storage_size_used_bytes of this BranchUsageForCreateBranchOutput. # noqa: E501
|
|
341
|
+
:type: int
|
|
342
|
+
"""
|
|
343
|
+
|
|
344
|
+
self._vector_storage_size_used_bytes = vector_storage_size_used_bytes
|
|
345
|
+
|
|
346
|
+
@property
|
|
347
|
+
def vector_write_vcu(self):
|
|
348
|
+
"""Gets the vector_write_vcu of this BranchUsageForCreateBranchOutput. # noqa: E501
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
:return: The vector_write_vcu of this BranchUsageForCreateBranchOutput. # noqa: E501
|
|
352
|
+
:rtype: float
|
|
353
|
+
"""
|
|
354
|
+
return self._vector_write_vcu
|
|
355
|
+
|
|
356
|
+
@vector_write_vcu.setter
|
|
357
|
+
def vector_write_vcu(self, vector_write_vcu):
|
|
358
|
+
"""Sets the vector_write_vcu of this BranchUsageForCreateBranchOutput.
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
:param vector_write_vcu: The vector_write_vcu of this BranchUsageForCreateBranchOutput. # noqa: E501
|
|
362
|
+
:type: float
|
|
363
|
+
"""
|
|
364
|
+
|
|
365
|
+
self._vector_write_vcu = vector_write_vcu
|
|
366
|
+
|
|
289
367
|
@property
|
|
290
368
|
def workspace_id(self):
|
|
291
369
|
"""Gets the workspace_id of this BranchUsageForCreateBranchOutput. # noqa: E501
|
|
@@ -42,6 +42,9 @@ class BranchUsageForDescribeBranchDetailOutput(object):
|
|
|
42
42
|
'service_time_seconds': 'int',
|
|
43
43
|
'stat_time': 'str',
|
|
44
44
|
'storage_size_used_bytes': 'int',
|
|
45
|
+
'vector_read_vcu': 'float',
|
|
46
|
+
'vector_storage_size_used_bytes': 'int',
|
|
47
|
+
'vector_write_vcu': 'float',
|
|
45
48
|
'workspace_id': 'str'
|
|
46
49
|
}
|
|
47
50
|
|
|
@@ -55,10 +58,13 @@ class BranchUsageForDescribeBranchDetailOutput(object):
|
|
|
55
58
|
'service_time_seconds': 'ServiceTimeSeconds',
|
|
56
59
|
'stat_time': 'StatTime',
|
|
57
60
|
'storage_size_used_bytes': 'StorageSizeUsedBytes',
|
|
61
|
+
'vector_read_vcu': 'VectorReadVCU',
|
|
62
|
+
'vector_storage_size_used_bytes': 'VectorStorageSizeUsedBytes',
|
|
63
|
+
'vector_write_vcu': 'VectorWriteVCU',
|
|
58
64
|
'workspace_id': 'WorkspaceId'
|
|
59
65
|
}
|
|
60
66
|
|
|
61
|
-
def __init__(self, branch_id=None, compute_time_seconds=None, data_size_total_bytes=None, data_size_used_bytes=None, function_call_num=None, last_running_time=None, service_time_seconds=None, stat_time=None, storage_size_used_bytes=None, workspace_id=None, _configuration=None): # noqa: E501
|
|
67
|
+
def __init__(self, branch_id=None, compute_time_seconds=None, data_size_total_bytes=None, data_size_used_bytes=None, function_call_num=None, last_running_time=None, service_time_seconds=None, stat_time=None, storage_size_used_bytes=None, vector_read_vcu=None, vector_storage_size_used_bytes=None, vector_write_vcu=None, workspace_id=None, _configuration=None): # noqa: E501
|
|
62
68
|
"""BranchUsageForDescribeBranchDetailOutput - a model defined in Swagger""" # noqa: E501
|
|
63
69
|
if _configuration is None:
|
|
64
70
|
_configuration = Configuration()
|
|
@@ -73,6 +79,9 @@ class BranchUsageForDescribeBranchDetailOutput(object):
|
|
|
73
79
|
self._service_time_seconds = None
|
|
74
80
|
self._stat_time = None
|
|
75
81
|
self._storage_size_used_bytes = None
|
|
82
|
+
self._vector_read_vcu = None
|
|
83
|
+
self._vector_storage_size_used_bytes = None
|
|
84
|
+
self._vector_write_vcu = None
|
|
76
85
|
self._workspace_id = None
|
|
77
86
|
self.discriminator = None
|
|
78
87
|
|
|
@@ -94,6 +103,12 @@ class BranchUsageForDescribeBranchDetailOutput(object):
|
|
|
94
103
|
self.stat_time = stat_time
|
|
95
104
|
if storage_size_used_bytes is not None:
|
|
96
105
|
self.storage_size_used_bytes = storage_size_used_bytes
|
|
106
|
+
if vector_read_vcu is not None:
|
|
107
|
+
self.vector_read_vcu = vector_read_vcu
|
|
108
|
+
if vector_storage_size_used_bytes is not None:
|
|
109
|
+
self.vector_storage_size_used_bytes = vector_storage_size_used_bytes
|
|
110
|
+
if vector_write_vcu is not None:
|
|
111
|
+
self.vector_write_vcu = vector_write_vcu
|
|
97
112
|
if workspace_id is not None:
|
|
98
113
|
self.workspace_id = workspace_id
|
|
99
114
|
|
|
@@ -286,6 +301,69 @@ class BranchUsageForDescribeBranchDetailOutput(object):
|
|
|
286
301
|
|
|
287
302
|
self._storage_size_used_bytes = storage_size_used_bytes
|
|
288
303
|
|
|
304
|
+
@property
|
|
305
|
+
def vector_read_vcu(self):
|
|
306
|
+
"""Gets the vector_read_vcu of this BranchUsageForDescribeBranchDetailOutput. # noqa: E501
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
:return: The vector_read_vcu of this BranchUsageForDescribeBranchDetailOutput. # noqa: E501
|
|
310
|
+
:rtype: float
|
|
311
|
+
"""
|
|
312
|
+
return self._vector_read_vcu
|
|
313
|
+
|
|
314
|
+
@vector_read_vcu.setter
|
|
315
|
+
def vector_read_vcu(self, vector_read_vcu):
|
|
316
|
+
"""Sets the vector_read_vcu of this BranchUsageForDescribeBranchDetailOutput.
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
:param vector_read_vcu: The vector_read_vcu of this BranchUsageForDescribeBranchDetailOutput. # noqa: E501
|
|
320
|
+
:type: float
|
|
321
|
+
"""
|
|
322
|
+
|
|
323
|
+
self._vector_read_vcu = vector_read_vcu
|
|
324
|
+
|
|
325
|
+
@property
|
|
326
|
+
def vector_storage_size_used_bytes(self):
|
|
327
|
+
"""Gets the vector_storage_size_used_bytes of this BranchUsageForDescribeBranchDetailOutput. # noqa: E501
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
:return: The vector_storage_size_used_bytes of this BranchUsageForDescribeBranchDetailOutput. # noqa: E501
|
|
331
|
+
:rtype: int
|
|
332
|
+
"""
|
|
333
|
+
return self._vector_storage_size_used_bytes
|
|
334
|
+
|
|
335
|
+
@vector_storage_size_used_bytes.setter
|
|
336
|
+
def vector_storage_size_used_bytes(self, vector_storage_size_used_bytes):
|
|
337
|
+
"""Sets the vector_storage_size_used_bytes of this BranchUsageForDescribeBranchDetailOutput.
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
:param vector_storage_size_used_bytes: The vector_storage_size_used_bytes of this BranchUsageForDescribeBranchDetailOutput. # noqa: E501
|
|
341
|
+
:type: int
|
|
342
|
+
"""
|
|
343
|
+
|
|
344
|
+
self._vector_storage_size_used_bytes = vector_storage_size_used_bytes
|
|
345
|
+
|
|
346
|
+
@property
|
|
347
|
+
def vector_write_vcu(self):
|
|
348
|
+
"""Gets the vector_write_vcu of this BranchUsageForDescribeBranchDetailOutput. # noqa: E501
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
:return: The vector_write_vcu of this BranchUsageForDescribeBranchDetailOutput. # noqa: E501
|
|
352
|
+
:rtype: float
|
|
353
|
+
"""
|
|
354
|
+
return self._vector_write_vcu
|
|
355
|
+
|
|
356
|
+
@vector_write_vcu.setter
|
|
357
|
+
def vector_write_vcu(self, vector_write_vcu):
|
|
358
|
+
"""Sets the vector_write_vcu of this BranchUsageForDescribeBranchDetailOutput.
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
:param vector_write_vcu: The vector_write_vcu of this BranchUsageForDescribeBranchDetailOutput. # noqa: E501
|
|
362
|
+
:type: float
|
|
363
|
+
"""
|
|
364
|
+
|
|
365
|
+
self._vector_write_vcu = vector_write_vcu
|
|
366
|
+
|
|
289
367
|
@property
|
|
290
368
|
def workspace_id(self):
|
|
291
369
|
"""Gets the workspace_id of this BranchUsageForDescribeBranchDetailOutput. # noqa: E501
|
|
@@ -42,6 +42,9 @@ class BranchUsageForDescribeBranchesListOutput(object):
|
|
|
42
42
|
'service_time_seconds': 'int',
|
|
43
43
|
'stat_time': 'str',
|
|
44
44
|
'storage_size_used_bytes': 'int',
|
|
45
|
+
'vector_read_vcu': 'float',
|
|
46
|
+
'vector_storage_size_used_bytes': 'int',
|
|
47
|
+
'vector_write_vcu': 'float',
|
|
45
48
|
'workspace_id': 'str'
|
|
46
49
|
}
|
|
47
50
|
|
|
@@ -55,10 +58,13 @@ class BranchUsageForDescribeBranchesListOutput(object):
|
|
|
55
58
|
'service_time_seconds': 'ServiceTimeSeconds',
|
|
56
59
|
'stat_time': 'StatTime',
|
|
57
60
|
'storage_size_used_bytes': 'StorageSizeUsedBytes',
|
|
61
|
+
'vector_read_vcu': 'VectorReadVCU',
|
|
62
|
+
'vector_storage_size_used_bytes': 'VectorStorageSizeUsedBytes',
|
|
63
|
+
'vector_write_vcu': 'VectorWriteVCU',
|
|
58
64
|
'workspace_id': 'WorkspaceId'
|
|
59
65
|
}
|
|
60
66
|
|
|
61
|
-
def __init__(self, branch_id=None, compute_time_seconds=None, data_size_total_bytes=None, data_size_used_bytes=None, function_call_num=None, last_running_time=None, service_time_seconds=None, stat_time=None, storage_size_used_bytes=None, workspace_id=None, _configuration=None): # noqa: E501
|
|
67
|
+
def __init__(self, branch_id=None, compute_time_seconds=None, data_size_total_bytes=None, data_size_used_bytes=None, function_call_num=None, last_running_time=None, service_time_seconds=None, stat_time=None, storage_size_used_bytes=None, vector_read_vcu=None, vector_storage_size_used_bytes=None, vector_write_vcu=None, workspace_id=None, _configuration=None): # noqa: E501
|
|
62
68
|
"""BranchUsageForDescribeBranchesListOutput - a model defined in Swagger""" # noqa: E501
|
|
63
69
|
if _configuration is None:
|
|
64
70
|
_configuration = Configuration()
|
|
@@ -73,6 +79,9 @@ class BranchUsageForDescribeBranchesListOutput(object):
|
|
|
73
79
|
self._service_time_seconds = None
|
|
74
80
|
self._stat_time = None
|
|
75
81
|
self._storage_size_used_bytes = None
|
|
82
|
+
self._vector_read_vcu = None
|
|
83
|
+
self._vector_storage_size_used_bytes = None
|
|
84
|
+
self._vector_write_vcu = None
|
|
76
85
|
self._workspace_id = None
|
|
77
86
|
self.discriminator = None
|
|
78
87
|
|
|
@@ -94,6 +103,12 @@ class BranchUsageForDescribeBranchesListOutput(object):
|
|
|
94
103
|
self.stat_time = stat_time
|
|
95
104
|
if storage_size_used_bytes is not None:
|
|
96
105
|
self.storage_size_used_bytes = storage_size_used_bytes
|
|
106
|
+
if vector_read_vcu is not None:
|
|
107
|
+
self.vector_read_vcu = vector_read_vcu
|
|
108
|
+
if vector_storage_size_used_bytes is not None:
|
|
109
|
+
self.vector_storage_size_used_bytes = vector_storage_size_used_bytes
|
|
110
|
+
if vector_write_vcu is not None:
|
|
111
|
+
self.vector_write_vcu = vector_write_vcu
|
|
97
112
|
if workspace_id is not None:
|
|
98
113
|
self.workspace_id = workspace_id
|
|
99
114
|
|
|
@@ -286,6 +301,69 @@ class BranchUsageForDescribeBranchesListOutput(object):
|
|
|
286
301
|
|
|
287
302
|
self._storage_size_used_bytes = storage_size_used_bytes
|
|
288
303
|
|
|
304
|
+
@property
|
|
305
|
+
def vector_read_vcu(self):
|
|
306
|
+
"""Gets the vector_read_vcu of this BranchUsageForDescribeBranchesListOutput. # noqa: E501
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
:return: The vector_read_vcu of this BranchUsageForDescribeBranchesListOutput. # noqa: E501
|
|
310
|
+
:rtype: float
|
|
311
|
+
"""
|
|
312
|
+
return self._vector_read_vcu
|
|
313
|
+
|
|
314
|
+
@vector_read_vcu.setter
|
|
315
|
+
def vector_read_vcu(self, vector_read_vcu):
|
|
316
|
+
"""Sets the vector_read_vcu of this BranchUsageForDescribeBranchesListOutput.
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
:param vector_read_vcu: The vector_read_vcu of this BranchUsageForDescribeBranchesListOutput. # noqa: E501
|
|
320
|
+
:type: float
|
|
321
|
+
"""
|
|
322
|
+
|
|
323
|
+
self._vector_read_vcu = vector_read_vcu
|
|
324
|
+
|
|
325
|
+
@property
|
|
326
|
+
def vector_storage_size_used_bytes(self):
|
|
327
|
+
"""Gets the vector_storage_size_used_bytes of this BranchUsageForDescribeBranchesListOutput. # noqa: E501
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
:return: The vector_storage_size_used_bytes of this BranchUsageForDescribeBranchesListOutput. # noqa: E501
|
|
331
|
+
:rtype: int
|
|
332
|
+
"""
|
|
333
|
+
return self._vector_storage_size_used_bytes
|
|
334
|
+
|
|
335
|
+
@vector_storage_size_used_bytes.setter
|
|
336
|
+
def vector_storage_size_used_bytes(self, vector_storage_size_used_bytes):
|
|
337
|
+
"""Sets the vector_storage_size_used_bytes of this BranchUsageForDescribeBranchesListOutput.
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
:param vector_storage_size_used_bytes: The vector_storage_size_used_bytes of this BranchUsageForDescribeBranchesListOutput. # noqa: E501
|
|
341
|
+
:type: int
|
|
342
|
+
"""
|
|
343
|
+
|
|
344
|
+
self._vector_storage_size_used_bytes = vector_storage_size_used_bytes
|
|
345
|
+
|
|
346
|
+
@property
|
|
347
|
+
def vector_write_vcu(self):
|
|
348
|
+
"""Gets the vector_write_vcu of this BranchUsageForDescribeBranchesListOutput. # noqa: E501
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
:return: The vector_write_vcu of this BranchUsageForDescribeBranchesListOutput. # noqa: E501
|
|
352
|
+
:rtype: float
|
|
353
|
+
"""
|
|
354
|
+
return self._vector_write_vcu
|
|
355
|
+
|
|
356
|
+
@vector_write_vcu.setter
|
|
357
|
+
def vector_write_vcu(self, vector_write_vcu):
|
|
358
|
+
"""Sets the vector_write_vcu of this BranchUsageForDescribeBranchesListOutput.
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
:param vector_write_vcu: The vector_write_vcu of this BranchUsageForDescribeBranchesListOutput. # noqa: E501
|
|
362
|
+
:type: float
|
|
363
|
+
"""
|
|
364
|
+
|
|
365
|
+
self._vector_write_vcu = vector_write_vcu
|
|
366
|
+
|
|
289
367
|
@property
|
|
290
368
|
def workspace_id(self):
|
|
291
369
|
"""Gets the workspace_id of this BranchUsageForDescribeBranchesListOutput. # noqa: E501
|