tencentcloud-sdk-python-cdn 3.0.1192__py2.py3-none-any.whl → 3.0.1202__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 tencentcloud-sdk-python-cdn might be problematic. Click here for more details.

tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1192'
17
+ __version__ = '3.0.1202'
@@ -12782,6 +12782,9 @@ off:不支持
12782
12782
  :param _OthersPrivateAccess: 其他厂商对象存储回源鉴权
12783
12783
  注意:此字段可能返回 null,表示取不到有效值。
12784
12784
  :type OthersPrivateAccess: :class:`tencentcloud.cdn.v20180606.models.OthersPrivateAccess`
12785
+ :param _ParamFilter: 参数黑名单
12786
+ 注意:此字段可能返回 null,表示取不到有效值。
12787
+ :type ParamFilter: :class:`tencentcloud.cdn.v20180606.models.ParamFilter`
12785
12788
  """
12786
12789
  self._ResourceId = None
12787
12790
  self._AppId = None
@@ -12849,6 +12852,7 @@ off:不支持
12849
12852
  self._QnPrivateAccess = None
12850
12853
  self._HttpsBilling = None
12851
12854
  self._OthersPrivateAccess = None
12855
+ self._ParamFilter = None
12852
12856
 
12853
12857
  @property
12854
12858
  def ResourceId(self):
@@ -13378,6 +13382,14 @@ off:不支持
13378
13382
  def OthersPrivateAccess(self, OthersPrivateAccess):
13379
13383
  self._OthersPrivateAccess = OthersPrivateAccess
13380
13384
 
13385
+ @property
13386
+ def ParamFilter(self):
13387
+ return self._ParamFilter
13388
+
13389
+ @ParamFilter.setter
13390
+ def ParamFilter(self, ParamFilter):
13391
+ self._ParamFilter = ParamFilter
13392
+
13381
13393
 
13382
13394
  def _deserialize(self, params):
13383
13395
  self._ResourceId = params.get("ResourceId")
@@ -13554,6 +13566,9 @@ off:不支持
13554
13566
  if params.get("OthersPrivateAccess") is not None:
13555
13567
  self._OthersPrivateAccess = OthersPrivateAccess()
13556
13568
  self._OthersPrivateAccess._deserialize(params.get("OthersPrivateAccess"))
13569
+ if params.get("ParamFilter") is not None:
13570
+ self._ParamFilter = ParamFilter()
13571
+ self._ParamFilter._deserialize(params.get("ParamFilter"))
13557
13572
  memeber_set = set(params.keys())
13558
13573
  for name, value in vars(self).items():
13559
13574
  property_name = name[1:]
@@ -21217,6 +21232,118 @@ class OverseaConfig(AbstractModel):
21217
21232
 
21218
21233
 
21219
21234
 
21235
+ class ParamFilter(AbstractModel):
21236
+ """参数黑名单
21237
+
21238
+ """
21239
+
21240
+ def __init__(self):
21241
+ r"""
21242
+ :param _Switch: 参数黑名单开关
21243
+ 注意:此字段可能返回 null,表示取不到有效值。
21244
+ :type Switch: str
21245
+ :param _FilterRules: 参数黑名单规则
21246
+ 注意:此字段可能返回 null,表示取不到有效值。
21247
+ :type FilterRules: list of ParamFilterRule
21248
+ """
21249
+ self._Switch = None
21250
+ self._FilterRules = None
21251
+
21252
+ @property
21253
+ def Switch(self):
21254
+ return self._Switch
21255
+
21256
+ @Switch.setter
21257
+ def Switch(self, Switch):
21258
+ self._Switch = Switch
21259
+
21260
+ @property
21261
+ def FilterRules(self):
21262
+ return self._FilterRules
21263
+
21264
+ @FilterRules.setter
21265
+ def FilterRules(self, FilterRules):
21266
+ self._FilterRules = FilterRules
21267
+
21268
+
21269
+ def _deserialize(self, params):
21270
+ self._Switch = params.get("Switch")
21271
+ if params.get("FilterRules") is not None:
21272
+ self._FilterRules = []
21273
+ for item in params.get("FilterRules"):
21274
+ obj = ParamFilterRule()
21275
+ obj._deserialize(item)
21276
+ self._FilterRules.append(obj)
21277
+ memeber_set = set(params.keys())
21278
+ for name, value in vars(self).items():
21279
+ property_name = name[1:]
21280
+ if property_name in memeber_set:
21281
+ memeber_set.remove(property_name)
21282
+ if len(memeber_set) > 0:
21283
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
21284
+
21285
+
21286
+
21287
+ class ParamFilterRule(AbstractModel):
21288
+ """参数黑名单规则
21289
+
21290
+ """
21291
+
21292
+ def __init__(self):
21293
+ r"""
21294
+ :param _Key: 参数名
21295
+ 注意:此字段可能返回 null,表示取不到有效值。
21296
+ :type Key: str
21297
+ :param _Values: 参数值数组, 小于10个
21298
+ 注意:此字段可能返回 null,表示取不到有效值。
21299
+ :type Values: list of str
21300
+ :param _ReturnCode: http 返回码 ( 暂仅支持403)
21301
+ 注意:此字段可能返回 null,表示取不到有效值。
21302
+ :type ReturnCode: str
21303
+ """
21304
+ self._Key = None
21305
+ self._Values = None
21306
+ self._ReturnCode = None
21307
+
21308
+ @property
21309
+ def Key(self):
21310
+ return self._Key
21311
+
21312
+ @Key.setter
21313
+ def Key(self, Key):
21314
+ self._Key = Key
21315
+
21316
+ @property
21317
+ def Values(self):
21318
+ return self._Values
21319
+
21320
+ @Values.setter
21321
+ def Values(self, Values):
21322
+ self._Values = Values
21323
+
21324
+ @property
21325
+ def ReturnCode(self):
21326
+ return self._ReturnCode
21327
+
21328
+ @ReturnCode.setter
21329
+ def ReturnCode(self, ReturnCode):
21330
+ self._ReturnCode = ReturnCode
21331
+
21332
+
21333
+ def _deserialize(self, params):
21334
+ self._Key = params.get("Key")
21335
+ self._Values = params.get("Values")
21336
+ self._ReturnCode = params.get("ReturnCode")
21337
+ memeber_set = set(params.keys())
21338
+ for name, value in vars(self).items():
21339
+ property_name = name[1:]
21340
+ if property_name in memeber_set:
21341
+ memeber_set.remove(property_name)
21342
+ if len(memeber_set) > 0:
21343
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
21344
+
21345
+
21346
+
21220
21347
  class PathBasedOriginRule(AbstractModel):
21221
21348
  """分路径回源规则
21222
21349
 
@@ -27392,6 +27519,8 @@ global:全球加速
27392
27519
  :type OthersPrivateAccess: :class:`tencentcloud.cdn.v20180606.models.OthersPrivateAccess`
27393
27520
  :param _HttpsBilling: HTTPS服务(收费服务,详见计费说明和产品文档)
27394
27521
  :type HttpsBilling: :class:`tencentcloud.cdn.v20180606.models.HttpsBilling`
27522
+ :param _ParamFilter: 参数黑名单
27523
+ :type ParamFilter: :class:`tencentcloud.cdn.v20180606.models.ParamFilter`
27395
27524
  """
27396
27525
  self._Domain = None
27397
27526
  self._ProjectId = None
@@ -27442,6 +27571,7 @@ global:全球加速
27442
27571
  self._QnPrivateAccess = None
27443
27572
  self._OthersPrivateAccess = None
27444
27573
  self._HttpsBilling = None
27574
+ self._ParamFilter = None
27445
27575
 
27446
27576
  @property
27447
27577
  def Domain(self):
@@ -27835,6 +27965,14 @@ global:全球加速
27835
27965
  def HttpsBilling(self, HttpsBilling):
27836
27966
  self._HttpsBilling = HttpsBilling
27837
27967
 
27968
+ @property
27969
+ def ParamFilter(self):
27970
+ return self._ParamFilter
27971
+
27972
+ @ParamFilter.setter
27973
+ def ParamFilter(self, ParamFilter):
27974
+ self._ParamFilter = ParamFilter
27975
+
27838
27976
 
27839
27977
  def _deserialize(self, params):
27840
27978
  self._Domain = params.get("Domain")
@@ -27974,6 +28112,9 @@ global:全球加速
27974
28112
  if params.get("HttpsBilling") is not None:
27975
28113
  self._HttpsBilling = HttpsBilling()
27976
28114
  self._HttpsBilling._deserialize(params.get("HttpsBilling"))
28115
+ if params.get("ParamFilter") is not None:
28116
+ self._ParamFilter = ParamFilter()
28117
+ self._ParamFilter._deserialize(params.get("ParamFilter"))
27977
28118
  memeber_set = set(params.keys())
27978
28119
  for name, value in vars(self).items():
27979
28120
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cdn
3
- Version: 3.0.1192
3
+ Version: 3.0.1202
4
4
  Summary: Tencent Cloud Cdn 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 (==3.0.1192)
18
+ Requires-Dist: tencentcloud-sdk-python-common (==3.0.1202)
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,10 @@
1
+ tencentcloud/__init__.py,sha256=MRhmf8qYzKiISF-A18v9HHqE8Aob-YvRu2_WZ8ECOoU,631
2
+ tencentcloud/cdn/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ tencentcloud/cdn/v20180606/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ tencentcloud/cdn/v20180606/cdn_client.py,sha256=4b5aYX7IXljfAyiULRsL67rV_xZdlqP5iJ8SuYBo8M8,82560
5
+ tencentcloud/cdn/v20180606/errorcodes.py,sha256=9Nu4v78JfK2Uz9JCkB5mCrOLnfvnUakJviNFJXmwGe4,22415
6
+ tencentcloud/cdn/v20180606/models.py,sha256=EOTRaIUil85CtTZ-JkNMSFsfSDEI_bJZpxDhUMJeUjs,868687
7
+ tencentcloud_sdk_python_cdn-3.0.1202.dist-info/METADATA,sha256=ohdiBI8LEGNwr9Hv1VV_3bzDDJ60mfgneDGrazKcP_Q,1492
8
+ tencentcloud_sdk_python_cdn-3.0.1202.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
+ tencentcloud_sdk_python_cdn-3.0.1202.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
+ tencentcloud_sdk_python_cdn-3.0.1202.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- tencentcloud/__init__.py,sha256=qGFdqASRcC3F808C9t1RwzhDkMqiVLms5NJUGwSM-ko,631
2
- tencentcloud/cdn/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- tencentcloud/cdn/v20180606/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- tencentcloud/cdn/v20180606/cdn_client.py,sha256=4b5aYX7IXljfAyiULRsL67rV_xZdlqP5iJ8SuYBo8M8,82560
5
- tencentcloud/cdn/v20180606/errorcodes.py,sha256=9Nu4v78JfK2Uz9JCkB5mCrOLnfvnUakJviNFJXmwGe4,22415
6
- tencentcloud/cdn/v20180606/models.py,sha256=pWzPXhUy4YXZbfIN2dBK8Jysv-W3bV28LcVBgZ-U9jw,864521
7
- tencentcloud_sdk_python_cdn-3.0.1192.dist-info/METADATA,sha256=gkoY9ApJMqmb9zO_z2e8-aOycLFd1noP2MscPdH6mYQ,1492
8
- tencentcloud_sdk_python_cdn-3.0.1192.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
- tencentcloud_sdk_python_cdn-3.0.1192.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
- tencentcloud_sdk_python_cdn-3.0.1192.dist-info/RECORD,,