tencentcloud-sdk-python-vpc 3.1.21__py2.py3-none-any.whl → 3.1.22__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.
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.21'
17
+ __version__ = '3.1.22'
@@ -13672,11 +13672,25 @@ class CreatePrivateNatGatewayTranslationAclRuleResponse(AbstractModel):
13672
13672
 
13673
13673
  def __init__(self):
13674
13674
  r"""
13675
+ :param _TranslationAclRuleSet: 创建成功的访问控制列表。
13676
+ :type TranslationAclRuleSet: list of TranslationAclRule
13675
13677
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13676
13678
  :type RequestId: str
13677
13679
  """
13680
+ self._TranslationAclRuleSet = None
13678
13681
  self._RequestId = None
13679
13682
 
13683
+ @property
13684
+ def TranslationAclRuleSet(self):
13685
+ r"""创建成功的访问控制列表。
13686
+ :rtype: list of TranslationAclRule
13687
+ """
13688
+ return self._TranslationAclRuleSet
13689
+
13690
+ @TranslationAclRuleSet.setter
13691
+ def TranslationAclRuleSet(self, TranslationAclRuleSet):
13692
+ self._TranslationAclRuleSet = TranslationAclRuleSet
13693
+
13680
13694
  @property
13681
13695
  def RequestId(self):
13682
13696
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -13690,6 +13704,12 @@ class CreatePrivateNatGatewayTranslationAclRuleResponse(AbstractModel):
13690
13704
 
13691
13705
 
13692
13706
  def _deserialize(self, params):
13707
+ if params.get("TranslationAclRuleSet") is not None:
13708
+ self._TranslationAclRuleSet = []
13709
+ for item in params.get("TranslationAclRuleSet"):
13710
+ obj = TranslationAclRule()
13711
+ obj._deserialize(item)
13712
+ self._TranslationAclRuleSet.append(obj)
13693
13713
  self._RequestId = params.get("RequestId")
13694
13714
 
13695
13715
 
@@ -32223,6 +32243,8 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
32223
32243
  :type Limit: int
32224
32244
  :param _Description: ACL规则描述
32225
32245
  :type Description: str
32246
+ :param _Filters: 过滤条件。<li>AclRuleId - Integer - ACL规则ID。</li>
32247
+ :type Filters: list of Filter
32226
32248
  """
32227
32249
  self._NatGatewayId = None
32228
32250
  self._TranslationDirection = None
@@ -32232,6 +32254,7 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
32232
32254
  self._Offset = None
32233
32255
  self._Limit = None
32234
32256
  self._Description = None
32257
+ self._Filters = None
32235
32258
 
32236
32259
  @property
32237
32260
  def NatGatewayId(self):
@@ -32321,6 +32344,17 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
32321
32344
  def Description(self, Description):
32322
32345
  self._Description = Description
32323
32346
 
32347
+ @property
32348
+ def Filters(self):
32349
+ r"""过滤条件。<li>AclRuleId - Integer - ACL规则ID。</li>
32350
+ :rtype: list of Filter
32351
+ """
32352
+ return self._Filters
32353
+
32354
+ @Filters.setter
32355
+ def Filters(self, Filters):
32356
+ self._Filters = Filters
32357
+
32324
32358
 
32325
32359
  def _deserialize(self, params):
32326
32360
  self._NatGatewayId = params.get("NatGatewayId")
@@ -32331,6 +32365,12 @@ class DescribePrivateNatGatewayTranslationAclRulesRequest(AbstractModel):
32331
32365
  self._Offset = params.get("Offset")
32332
32366
  self._Limit = params.get("Limit")
32333
32367
  self._Description = params.get("Description")
32368
+ if params.get("Filters") is not None:
32369
+ self._Filters = []
32370
+ for item in params.get("Filters"):
32371
+ obj = Filter()
32372
+ obj._deserialize(item)
32373
+ self._Filters.append(obj)
32334
32374
  memeber_set = set(params.keys())
32335
32375
  for name, value in vars(self).items():
32336
32376
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-vpc
3
- Version: 3.1.21
3
+ Version: 3.1.22
4
4
  Summary: Tencent Cloud Vpc SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.21
18
+ Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.22
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -1,11 +1,11 @@
1
- tencentcloud/__init__.py,sha256=XonCI0_IdxAlEyO-i43CFCE8QA9UpP1uSFdnquHF36w,629
1
+ tencentcloud/__init__.py,sha256=pw07ndRHWH3j1LSG3ZuxHXcxJHfSD8oIahBotExrcNA,629
2
2
  tencentcloud/vpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/vpc/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/vpc/v20170312/errorcodes.py,sha256=l66F-rgF4wCMRzUXSvZR66OjGV9u6yp_JGodyN7YaIg,65865
5
- tencentcloud/vpc/v20170312/models.py,sha256=hxUpVSBWLodfanGQTqAb0LC29KMrOLKBAvCHz3TBgyU,2467109
5
+ tencentcloud/vpc/v20170312/models.py,sha256=Fc5srTLoM0o5S5QuGxTT6uD3Iz2UdLzmZFwvyWy4sf0,2468607
6
6
  tencentcloud/vpc/v20170312/vpc_client.py,sha256=8fGIJxTI4aFd67LRjb8JBdDc9Oirz5aj1Vw88nu_qqU,468664
7
7
  tencentcloud/vpc/v20170312/vpc_client_async.py,sha256=i-0dbwatRJMkJwngJ4fO8BEzcPbSEAfTkiuLcbCofZY,335869
8
- tencentcloud_sdk_python_vpc-3.1.21.dist-info/METADATA,sha256=StZXxqn0aeQR5Z6Pqc0e-_2VL1QTjuB4Ge7dCor_i7k,1495
9
- tencentcloud_sdk_python_vpc-3.1.21.dist-info/WHEEL,sha256=Ll72iyqtt6Rbxp-Q7FSafYA1LeRv98X15xcZWRsFEmY,109
10
- tencentcloud_sdk_python_vpc-3.1.21.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_vpc-3.1.21.dist-info/RECORD,,
8
+ tencentcloud_sdk_python_vpc-3.1.22.dist-info/METADATA,sha256=qa-yc_Fuf9IN6Od16tHI_jMdRbpCgRKPz1TcjAjLwro,1495
9
+ tencentcloud_sdk_python_vpc-3.1.22.dist-info/WHEEL,sha256=Ll72iyqtt6Rbxp-Q7FSafYA1LeRv98X15xcZWRsFEmY,109
10
+ tencentcloud_sdk_python_vpc-3.1.22.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_vpc-3.1.22.dist-info/RECORD,,