Skip to content

Commit 4e57726

Browse files
committed
Merge branch 'clb-Python-2020-04-01-online-327-2024_02_04_19_15_12' into 'master'
Clb python 2020 04 01 online 327 2024 02 04 19 15 12 See merge request iaasng/volcengine-python-sdk!264
2 parents 62dcf01 + 85d949c commit 4e57726

File tree

5 files changed

+33
-7
lines changed

5 files changed

+33
-7
lines changed

meta.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"lasted": "1.0.65",
3-
"meta_commit": "25427c7684dff4d500db02f50d861d3a0c7278db"
4-
}
2+
"lasted": "1.0.66",
3+
"meta_commit": "766fe2f49fd2eb45cc5d4311318342f35aa05ad2"
4+
}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from setuptools import setup, find_packages # noqa: H301
44

55
NAME = "volcengine-python-sdk"
6-
VERSION = "1.0.65"
6+
VERSION = "1.0.66"
77
# To install the library, run the following
88
#
99
# python setup.py install

volcenginesdkclb/models/eip_billing_config_for_create_load_balancer_input.py

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class EipBillingConfigForCreateLoadBalancerInput(object):
3737
'bandwidth_package_id': 'str',
3838
'eip_billing_type': 'int',
3939
'isp': 'str',
40+
'security_protection_instance_id': 'int',
4041
'security_protection_types': 'list[str]'
4142
}
4243

@@ -45,10 +46,11 @@ class EipBillingConfigForCreateLoadBalancerInput(object):
4546
'bandwidth_package_id': 'BandwidthPackageId',
4647
'eip_billing_type': 'EipBillingType',
4748
'isp': 'ISP',
49+
'security_protection_instance_id': 'SecurityProtectionInstanceId',
4850
'security_protection_types': 'SecurityProtectionTypes'
4951
}
5052

51-
def __init__(self, bandwidth=None, bandwidth_package_id=None, eip_billing_type=None, isp=None, security_protection_types=None, _configuration=None): # noqa: E501
53+
def __init__(self, bandwidth=None, bandwidth_package_id=None, eip_billing_type=None, isp=None, security_protection_instance_id=None, security_protection_types=None, _configuration=None): # noqa: E501
5254
"""EipBillingConfigForCreateLoadBalancerInput - a model defined in Swagger""" # noqa: E501
5355
if _configuration is None:
5456
_configuration = Configuration()
@@ -58,6 +60,7 @@ def __init__(self, bandwidth=None, bandwidth_package_id=None, eip_billing_type=N
5860
self._bandwidth_package_id = None
5961
self._eip_billing_type = None
6062
self._isp = None
63+
self._security_protection_instance_id = None
6164
self._security_protection_types = None
6265
self.discriminator = None
6366

@@ -69,6 +72,8 @@ def __init__(self, bandwidth=None, bandwidth_package_id=None, eip_billing_type=N
6972
self.eip_billing_type = eip_billing_type
7073
if isp is not None:
7174
self.isp = isp
75+
if security_protection_instance_id is not None:
76+
self.security_protection_instance_id = security_protection_instance_id
7277
if security_protection_types is not None:
7378
self.security_protection_types = security_protection_types
7479

@@ -156,6 +161,27 @@ def isp(self, isp):
156161

157162
self._isp = isp
158163

164+
@property
165+
def security_protection_instance_id(self):
166+
"""Gets the security_protection_instance_id of this EipBillingConfigForCreateLoadBalancerInput. # noqa: E501
167+
168+
169+
:return: The security_protection_instance_id of this EipBillingConfigForCreateLoadBalancerInput. # noqa: E501
170+
:rtype: int
171+
"""
172+
return self._security_protection_instance_id
173+
174+
@security_protection_instance_id.setter
175+
def security_protection_instance_id(self, security_protection_instance_id):
176+
"""Sets the security_protection_instance_id of this EipBillingConfigForCreateLoadBalancerInput.
177+
178+
179+
:param security_protection_instance_id: The security_protection_instance_id of this EipBillingConfigForCreateLoadBalancerInput. # noqa: E501
180+
:type: int
181+
"""
182+
183+
self._security_protection_instance_id = security_protection_instance_id
184+
159185
@property
160186
def security_protection_types(self):
161187
"""Gets the security_protection_types of this EipBillingConfigForCreateLoadBalancerInput. # noqa: E501

volcenginesdkcore/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
6767
self.default_headers[header_name] = header_value
6868
self.cookie = cookie
6969
# Set default User-Agent.
70-
self.user_agent = 'volcstack-python-sdk/1.0.65'
70+
self.user_agent = 'volcstack-python-sdk/1.0.66'
7171
self.client_side_validation = configuration.client_side_validation
7272

7373
def __del__(self):

volcenginesdkcore/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,5 +221,5 @@ def to_debug_report(self):
221221
"OS: {env}\n"\
222222
"Python Version: {pyversion}\n"\
223223
"Version of the API: 0.1.0\n"\
224-
"SDK Package Version: 1.0.65".\
224+
"SDK Package Version: 1.0.66".\
225225
format(env=sys.platform, pyversion=sys.version)

0 commit comments

Comments
 (0)