Skip to content

Commit 069762b

Browse files
committed
Merge "integration_2025-11-13_1083916009218" into "auto_scaling-Python-2020-01-01-online-1776-2025_11_04_14_26_06"
Conflicts: pyproject.toml
2 parents b4eaee9 + a853fe2 commit 069762b

File tree

519 files changed

+64401
-14764
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

519 files changed

+64401
-14764
lines changed

SDK_Integration_zh.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- [自定义RegionId](#自定义regionid)
1414
- [自动化Endpoint寻址](#自动化endpoint寻址)
1515
- [Endpoint默认寻址](#endpoint默认寻址)
16+
- [Endpoint标准寻址](#endpoint标准寻址)
1617
- [Http连接池配置](#http连接池配置)
1718
- [Https请求配置](#https请求配置)
1819
- [指定scheme](#指定scheme)
@@ -415,6 +416,33 @@ configuration.custom_bootstrap_region = {
415416
volcenginesdkcore.Configuration.set_default(configuration)
416417
```
417418

419+
### Endpoint标准寻址
420+
**标准寻址规则**
421+
422+
| Global服务 | 双栈 | 格式 |
423+
|----------|----|------------------------------------------------------------------------------------------------------------------|
424+
||| `{Service}.volcengine-api.com` |
425+
||| `{Service}.volcengineapi.com` |
426+
||| `{Service}.{region}.volcengine-api.com`|
427+
||| `{Service}.{region}.volcengineapi.com` |
428+
429+
**代码示例:**
430+
431+
是否global服务根据具体调用的服务决定的,是否global无法修改的。
432+
可以参考列表:[./volcenginesdkcore/endpoint/providers/standard_provider.py#ServiceInfos](./volcenginesdkcore/endpoint/providers/standard_provider.py#L51)
433+
```python
434+
import volcenginesdkcore
435+
from volcenginesdkcore.endpoint.providers.standard_provider import StandardEndpointResolver
436+
configuration = volcenginesdkcore.Configuration()
437+
configuration.ak = "Your ak"
438+
configuration.sk = "Your sk"
439+
configuration.endpoint_provider = StandardEndpointResolver() # 配置标准寻址
440+
configuration.use_dual_stack = True # 配置是否双栈
441+
configuration.region = "cn-beijing" # 配置region
442+
volcenginesdkcore.Configuration.set_default(configuration)
443+
```
444+
445+
418446
# Http连接池配置
419447

420448
> **默认**

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "volcengine-python-sdk"
3-
version = "4.0.32"
3+
version = "4.0.34"
44
authors = [
55
{name = "volc-engine", email = "[email protected]"},
66
]

volcenginesdkcdn/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,7 @@
627627
from volcenginesdkcdn.models.submit_refresh_task_response import SubmitRefreshTaskResponse
628628
from volcenginesdkcdn.models.submit_unblock_task_request import SubmitUnblockTaskRequest
629629
from volcenginesdkcdn.models.submit_unblock_task_response import SubmitUnblockTaskResponse
630+
from volcenginesdkcdn.models.system_tag_for_list_resource_tags_output import SystemTagForListResourceTagsOutput
630631
from volcenginesdkcdn.models.target_query_components_for_add_cdn_domain_input import TargetQueryComponentsForAddCdnDomainInput
631632
from volcenginesdkcdn.models.target_query_components_for_batch_update_cdn_config_input import TargetQueryComponentsForBatchUpdateCdnConfigInput
632633
from volcenginesdkcdn.models.target_query_components_for_describe_cdn_config_output import TargetQueryComponentsForDescribeCdnConfigOutput

volcenginesdkcdn/models/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,7 @@
623623
from volcenginesdkcdn.models.submit_refresh_task_response import SubmitRefreshTaskResponse
624624
from volcenginesdkcdn.models.submit_unblock_task_request import SubmitUnblockTaskRequest
625625
from volcenginesdkcdn.models.submit_unblock_task_response import SubmitUnblockTaskResponse
626+
from volcenginesdkcdn.models.system_tag_for_list_resource_tags_output import SystemTagForListResourceTagsOutput
626627
from volcenginesdkcdn.models.target_query_components_for_add_cdn_domain_input import TargetQueryComponentsForAddCdnDomainInput
627628
from volcenginesdkcdn.models.target_query_components_for_batch_update_cdn_config_input import TargetQueryComponentsForBatchUpdateCdnConfigInput
628629
from volcenginesdkcdn.models.target_query_components_for_describe_cdn_config_output import TargetQueryComponentsForDescribeCdnConfigOutput

volcenginesdkcdn/models/batch_deploy_cert_request.py

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,18 @@ class BatchDeployCertRequest(object):
3535
swagger_types = {
3636
'cert_id': 'str',
3737
'cert_id2': 'str',
38-
'domain': 'str'
38+
'domain': 'str',
39+
'target_config': 'str'
3940
}
4041

4142
attribute_map = {
4243
'cert_id': 'CertId',
4344
'cert_id2': 'CertId2',
44-
'domain': 'Domain'
45+
'domain': 'Domain',
46+
'target_config': 'TargetConfig'
4547
}
4648

47-
def __init__(self, cert_id=None, cert_id2=None, domain=None, _configuration=None): # noqa: E501
49+
def __init__(self, cert_id=None, cert_id2=None, domain=None, target_config=None, _configuration=None): # noqa: E501
4850
"""BatchDeployCertRequest - a model defined in Swagger""" # noqa: E501
4951
if _configuration is None:
5052
_configuration = Configuration()
@@ -53,12 +55,15 @@ def __init__(self, cert_id=None, cert_id2=None, domain=None, _configuration=None
5355
self._cert_id = None
5456
self._cert_id2 = None
5557
self._domain = None
58+
self._target_config = None
5659
self.discriminator = None
5760

5861
self.cert_id = cert_id
5962
if cert_id2 is not None:
6063
self.cert_id2 = cert_id2
6164
self.domain = domain
65+
if target_config is not None:
66+
self.target_config = target_config
6267

6368
@property
6469
def cert_id(self):
@@ -127,6 +132,27 @@ def domain(self, domain):
127132

128133
self._domain = domain
129134

135+
@property
136+
def target_config(self):
137+
"""Gets the target_config of this BatchDeployCertRequest. # noqa: E501
138+
139+
140+
:return: The target_config of this BatchDeployCertRequest. # noqa: E501
141+
:rtype: str
142+
"""
143+
return self._target_config
144+
145+
@target_config.setter
146+
def target_config(self, target_config):
147+
"""Sets the target_config of this BatchDeployCertRequest.
148+
149+
150+
:param target_config: The target_config of this BatchDeployCertRequest. # noqa: E501
151+
:type: str
152+
"""
153+
154+
self._target_config = target_config
155+
130156
def to_dict(self):
131157
"""Returns the model properties as a dict"""
132158
result = {}

volcenginesdkcdn/models/data_for_describe_content_tasks_output.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class DataForDescribeContentTasksOutput(object):
4040
'refresh_prefix': 'bool',
4141
'remark': 'str',
4242
'status': 'str',
43+
'status_code': 'int',
4344
'task_id': 'str',
4445
'task_type': 'str',
4546
'url': 'str'
@@ -53,12 +54,13 @@ class DataForDescribeContentTasksOutput(object):
5354
'refresh_prefix': 'RefreshPrefix',
5455
'remark': 'Remark',
5556
'status': 'Status',
57+
'status_code': 'StatusCode',
5658
'task_id': 'TaskID',
5759
'task_type': 'TaskType',
5860
'url': 'Url'
5961
}
6062

61-
def __init__(self, create_time=None, delete=None, layer=None, process=None, refresh_prefix=None, remark=None, status=None, task_id=None, task_type=None, url=None, _configuration=None): # noqa: E501
63+
def __init__(self, create_time=None, delete=None, layer=None, process=None, refresh_prefix=None, remark=None, status=None, status_code=None, task_id=None, task_type=None, url=None, _configuration=None): # noqa: E501
6264
"""DataForDescribeContentTasksOutput - a model defined in Swagger""" # noqa: E501
6365
if _configuration is None:
6466
_configuration = Configuration()
@@ -71,6 +73,7 @@ def __init__(self, create_time=None, delete=None, layer=None, process=None, refr
7173
self._refresh_prefix = None
7274
self._remark = None
7375
self._status = None
76+
self._status_code = None
7477
self._task_id = None
7578
self._task_type = None
7679
self._url = None
@@ -90,6 +93,8 @@ def __init__(self, create_time=None, delete=None, layer=None, process=None, refr
9093
self.remark = remark
9194
if status is not None:
9295
self.status = status
96+
if status_code is not None:
97+
self.status_code = status_code
9398
if task_id is not None:
9499
self.task_id = task_id
95100
if task_type is not None:
@@ -244,6 +249,27 @@ def status(self, status):
244249

245250
self._status = status
246251

252+
@property
253+
def status_code(self):
254+
"""Gets the status_code of this DataForDescribeContentTasksOutput. # noqa: E501
255+
256+
257+
:return: The status_code of this DataForDescribeContentTasksOutput. # noqa: E501
258+
:rtype: int
259+
"""
260+
return self._status_code
261+
262+
@status_code.setter
263+
def status_code(self, status_code):
264+
"""Sets the status_code of this DataForDescribeContentTasksOutput.
265+
266+
267+
:param status_code: The status_code of this DataForDescribeContentTasksOutput. # noqa: E501
268+
:type: int
269+
"""
270+
271+
self._status_code = status_code
272+
247273
@property
248274
def task_id(self):
249275
"""Gets the task_id of this DataForDescribeContentTasksOutput. # noqa: E501

volcenginesdkcdn/models/describe_cert_config_request.py

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,20 @@ class DescribeCertConfigRequest(object):
3737
'cert_id2': 'str',
3838
'cert_type': 'str',
3939
'encry_type': 'str',
40-
'status': 'str'
40+
'status': 'str',
41+
'target_config': 'str'
4142
}
4243

4344
attribute_map = {
4445
'cert_id': 'CertId',
4546
'cert_id2': 'CertId2',
4647
'cert_type': 'CertType',
4748
'encry_type': 'EncryType',
48-
'status': 'Status'
49+
'status': 'Status',
50+
'target_config': 'TargetConfig'
4951
}
5052

51-
def __init__(self, cert_id=None, cert_id2=None, cert_type=None, encry_type=None, status=None, _configuration=None): # noqa: E501
53+
def __init__(self, cert_id=None, cert_id2=None, cert_type=None, encry_type=None, status=None, target_config=None, _configuration=None): # noqa: E501
5254
"""DescribeCertConfigRequest - a model defined in Swagger""" # noqa: E501
5355
if _configuration is None:
5456
_configuration = Configuration()
@@ -59,6 +61,7 @@ def __init__(self, cert_id=None, cert_id2=None, cert_type=None, encry_type=None,
5961
self._cert_type = None
6062
self._encry_type = None
6163
self._status = None
64+
self._target_config = None
6265
self.discriminator = None
6366

6467
self.cert_id = cert_id
@@ -70,6 +73,8 @@ def __init__(self, cert_id=None, cert_id2=None, cert_type=None, encry_type=None,
7073
self.encry_type = encry_type
7174
if status is not None:
7275
self.status = status
76+
if target_config is not None:
77+
self.target_config = target_config
7378

7479
@property
7580
def cert_id(self):
@@ -178,6 +183,27 @@ def status(self, status):
178183

179184
self._status = status
180185

186+
@property
187+
def target_config(self):
188+
"""Gets the target_config of this DescribeCertConfigRequest. # noqa: E501
189+
190+
191+
:return: The target_config of this DescribeCertConfigRequest. # noqa: E501
192+
:rtype: str
193+
"""
194+
return self._target_config
195+
196+
@target_config.setter
197+
def target_config(self, target_config):
198+
"""Sets the target_config of this DescribeCertConfigRequest.
199+
200+
201+
:param target_config: The target_config of this DescribeCertConfigRequest. # noqa: E501
202+
:type: str
203+
"""
204+
205+
self._target_config = target_config
206+
181207
def to_dict(self):
182208
"""Returns the model properties as a dict"""
183209
result = {}

volcenginesdkcdn/models/describe_content_tasks_request.py

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ class DescribeContentTasksRequest(object):
4242
'status': 'str',
4343
'task_id': 'str',
4444
'task_type': 'str',
45-
'url': 'str'
45+
'url': 'str',
46+
'url_list': 'list[str]'
4647
}
4748

4849
attribute_map = {
@@ -55,10 +56,11 @@ class DescribeContentTasksRequest(object):
5556
'status': 'Status',
5657
'task_id': 'TaskID',
5758
'task_type': 'TaskType',
58-
'url': 'Url'
59+
'url': 'Url',
60+
'url_list': 'UrlList'
5961
}
6062

61-
def __init__(self, domain_name=None, end_time=None, page_num=None, page_size=None, remark=None, start_time=None, status=None, task_id=None, task_type=None, url=None, _configuration=None): # noqa: E501
63+
def __init__(self, domain_name=None, end_time=None, page_num=None, page_size=None, remark=None, start_time=None, status=None, task_id=None, task_type=None, url=None, url_list=None, _configuration=None): # noqa: E501
6264
"""DescribeContentTasksRequest - a model defined in Swagger""" # noqa: E501
6365
if _configuration is None:
6466
_configuration = Configuration()
@@ -74,6 +76,7 @@ def __init__(self, domain_name=None, end_time=None, page_num=None, page_size=Non
7476
self._task_id = None
7577
self._task_type = None
7678
self._url = None
79+
self._url_list = None
7780
self.discriminator = None
7881

7982
if domain_name is not None:
@@ -95,6 +98,8 @@ def __init__(self, domain_name=None, end_time=None, page_num=None, page_size=Non
9598
self.task_type = task_type
9699
if url is not None:
97100
self.url = url
101+
if url_list is not None:
102+
self.url_list = url_list
98103

99104
@property
100105
def domain_name(self):
@@ -308,6 +313,27 @@ def url(self, url):
308313

309314
self._url = url
310315

316+
@property
317+
def url_list(self):
318+
"""Gets the url_list of this DescribeContentTasksRequest. # noqa: E501
319+
320+
321+
:return: The url_list of this DescribeContentTasksRequest. # noqa: E501
322+
:rtype: list[str]
323+
"""
324+
return self._url_list
325+
326+
@url_list.setter
327+
def url_list(self, url_list):
328+
"""Sets the url_list of this DescribeContentTasksRequest.
329+
330+
331+
:param url_list: The url_list of this DescribeContentTasksRequest. # noqa: E501
332+
:type: list[str]
333+
"""
334+
335+
self._url_list = url_list
336+
311337
def to_dict(self):
312338
"""Returns the model properties as a dict"""
313339
result = {}

volcenginesdkcdn/models/feature_config_for_describe_cdn_config_output.py

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,24 +33,29 @@ class FeatureConfigForDescribeCdnConfigOutput(object):
3333
and the value is json key in definition.
3434
"""
3535
swagger_types = {
36-
'origin_v2': 'bool'
36+
'origin_v2': 'bool',
37+
'rule_engine': 'bool'
3738
}
3839

3940
attribute_map = {
40-
'origin_v2': 'OriginV2'
41+
'origin_v2': 'OriginV2',
42+
'rule_engine': 'RuleEngine'
4143
}
4244

43-
def __init__(self, origin_v2=None, _configuration=None): # noqa: E501
45+
def __init__(self, origin_v2=None, rule_engine=None, _configuration=None): # noqa: E501
4446
"""FeatureConfigForDescribeCdnConfigOutput - a model defined in Swagger""" # noqa: E501
4547
if _configuration is None:
4648
_configuration = Configuration()
4749
self._configuration = _configuration
4850

4951
self._origin_v2 = None
52+
self._rule_engine = None
5053
self.discriminator = None
5154

5255
if origin_v2 is not None:
5356
self.origin_v2 = origin_v2
57+
if rule_engine is not None:
58+
self.rule_engine = rule_engine
5459

5560
@property
5661
def origin_v2(self):
@@ -73,6 +78,27 @@ def origin_v2(self, origin_v2):
7378

7479
self._origin_v2 = origin_v2
7580

81+
@property
82+
def rule_engine(self):
83+
"""Gets the rule_engine of this FeatureConfigForDescribeCdnConfigOutput. # noqa: E501
84+
85+
86+
:return: The rule_engine of this FeatureConfigForDescribeCdnConfigOutput. # noqa: E501
87+
:rtype: bool
88+
"""
89+
return self._rule_engine
90+
91+
@rule_engine.setter
92+
def rule_engine(self, rule_engine):
93+
"""Sets the rule_engine of this FeatureConfigForDescribeCdnConfigOutput.
94+
95+
96+
:param rule_engine: The rule_engine of this FeatureConfigForDescribeCdnConfigOutput. # noqa: E501
97+
:type: bool
98+
"""
99+
100+
self._rule_engine = rule_engine
101+
76102
def to_dict(self):
77103
"""Returns the model properties as a dict"""
78104
result = {}

0 commit comments

Comments
 (0)