tencentcloud-sdk-python-cdn 3.0.1234__tar.gz → 3.0.1243__tar.gz
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-sdk-python-cdn-3.0.1234 → tencentcloud-sdk-python-cdn-3.0.1243}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cdn-3.0.1234 → tencentcloud-sdk-python-cdn-3.0.1243}/setup.py +1 -1
- {tencentcloud-sdk-python-cdn-3.0.1234 → tencentcloud-sdk-python-cdn-3.0.1243}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cdn-3.0.1234 → tencentcloud-sdk-python-cdn-3.0.1243}/tencentcloud/cdn/v20180606/models.py +32 -0
- {tencentcloud-sdk-python-cdn-3.0.1234 → tencentcloud-sdk-python-cdn-3.0.1243}/tencentcloud_sdk_python_cdn.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cdn-3.0.1243/tencentcloud_sdk_python_cdn.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cdn-3.0.1234/tencentcloud_sdk_python_cdn.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cdn-3.0.1234 → tencentcloud-sdk-python-cdn-3.0.1243}/README.rst +0 -0
- {tencentcloud-sdk-python-cdn-3.0.1234 → tencentcloud-sdk-python-cdn-3.0.1243}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cdn-3.0.1234 → tencentcloud-sdk-python-cdn-3.0.1243}/tencentcloud/cdn/__init__.py +0 -0
- {tencentcloud-sdk-python-cdn-3.0.1234 → tencentcloud-sdk-python-cdn-3.0.1243}/tencentcloud/cdn/v20180606/__init__.py +0 -0
- {tencentcloud-sdk-python-cdn-3.0.1234 → tencentcloud-sdk-python-cdn-3.0.1243}/tencentcloud/cdn/v20180606/cdn_client.py +0 -0
- {tencentcloud-sdk-python-cdn-3.0.1234 → tencentcloud-sdk-python-cdn-3.0.1243}/tencentcloud/cdn/v20180606/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cdn-3.0.1234 → tencentcloud-sdk-python-cdn-3.0.1243}/tencentcloud_sdk_python_cdn.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cdn-3.0.1234 → tencentcloud-sdk-python-cdn-3.0.1243}/tencentcloud_sdk_python_cdn.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cdn-3.0.1234 → tencentcloud-sdk-python-cdn-3.0.1243}/tencentcloud_sdk_python_cdn.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cdn',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1243"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cdn SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -4286,12 +4286,19 @@ off:关闭,遵循用户自定义的节点缓存规则
|
|
|
4286
4286
|
默认为关闭状态
|
|
4287
4287
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4288
4288
|
:type IgnoreSetCookie: str
|
|
4289
|
+
:param _OriginMtimeCheckType: 当缓存过期后,是否开启源站 mtime 校验,配置值为equal、since、none 和 null。默认配置值为equal,会校验源站文件的mtime与长度。2024-09-12 18:00 之前创建的域名默认值 null,行为保持不变。
|
|
4290
|
+
equal:源站响应mtime必须和缓存mtime一致,若mtime值不一致,清除缓存。
|
|
4291
|
+
since:若源站响应mtime大于缓存mtime,清除缓存。
|
|
4292
|
+
none: 缓存过期回源重新获取文件mtime和长度后,不会校验源站响应mtime,若源站响应携带Content-Length头部,只有文件大小改变时才会更新缓存;若源站响应不携带Content-Length头部,会更新缓存。
|
|
4293
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4294
|
+
:type OriginMtimeCheckType: str
|
|
4289
4295
|
"""
|
|
4290
4296
|
self._Switch = None
|
|
4291
4297
|
self._CacheTime = None
|
|
4292
4298
|
self._CompareMaxAge = None
|
|
4293
4299
|
self._IgnoreCacheControl = None
|
|
4294
4300
|
self._IgnoreSetCookie = None
|
|
4301
|
+
self._OriginMtimeCheckType = None
|
|
4295
4302
|
|
|
4296
4303
|
@property
|
|
4297
4304
|
def Switch(self):
|
|
@@ -4333,6 +4340,14 @@ off:关闭,遵循用户自定义的节点缓存规则
|
|
|
4333
4340
|
def IgnoreSetCookie(self, IgnoreSetCookie):
|
|
4334
4341
|
self._IgnoreSetCookie = IgnoreSetCookie
|
|
4335
4342
|
|
|
4343
|
+
@property
|
|
4344
|
+
def OriginMtimeCheckType(self):
|
|
4345
|
+
return self._OriginMtimeCheckType
|
|
4346
|
+
|
|
4347
|
+
@OriginMtimeCheckType.setter
|
|
4348
|
+
def OriginMtimeCheckType(self, OriginMtimeCheckType):
|
|
4349
|
+
self._OriginMtimeCheckType = OriginMtimeCheckType
|
|
4350
|
+
|
|
4336
4351
|
|
|
4337
4352
|
def _deserialize(self, params):
|
|
4338
4353
|
self._Switch = params.get("Switch")
|
|
@@ -4340,6 +4355,7 @@ off:关闭,遵循用户自定义的节点缓存规则
|
|
|
4340
4355
|
self._CompareMaxAge = params.get("CompareMaxAge")
|
|
4341
4356
|
self._IgnoreCacheControl = params.get("IgnoreCacheControl")
|
|
4342
4357
|
self._IgnoreSetCookie = params.get("IgnoreSetCookie")
|
|
4358
|
+
self._OriginMtimeCheckType = params.get("OriginMtimeCheckType")
|
|
4343
4359
|
memeber_set = set(params.keys())
|
|
4344
4360
|
for name, value in vars(self).items():
|
|
4345
4361
|
property_name = name[1:]
|
|
@@ -4364,9 +4380,16 @@ off:关闭
|
|
|
4364
4380
|
:param _HeuristicCache: 启发式缓存配置
|
|
4365
4381
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4366
4382
|
:type HeuristicCache: :class:`tencentcloud.cdn.v20180606.models.HeuristicCache`
|
|
4383
|
+
:param _OriginMtimeCheckType: 当缓存过期后,是否开启源站 mtime 校验,配置值为equal、since、none 和 null。默认配置值为equal,会校验源站文件的mtime与长度。2024-09-12 18:00 之前创建的域名默认值 null,行为保持不变。
|
|
4384
|
+
equal:源站响应mtime必须和缓存mtime一致,若mtime值不一致,清除缓存。
|
|
4385
|
+
since:若源站响应mtime大于缓存mtime,清除缓存。
|
|
4386
|
+
none: 缓存过期回源重新获取文件mtime和长度后,不会校验源站响应mtime,若源站响应携带Content-Length头部,只有文件大小改变时才会更新缓存;若源站响应不携带Content-Length头部,会更新缓存。
|
|
4387
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4388
|
+
:type OriginMtimeCheckType: str
|
|
4367
4389
|
"""
|
|
4368
4390
|
self._Switch = None
|
|
4369
4391
|
self._HeuristicCache = None
|
|
4392
|
+
self._OriginMtimeCheckType = None
|
|
4370
4393
|
|
|
4371
4394
|
@property
|
|
4372
4395
|
def Switch(self):
|
|
@@ -4384,12 +4407,21 @@ off:关闭
|
|
|
4384
4407
|
def HeuristicCache(self, HeuristicCache):
|
|
4385
4408
|
self._HeuristicCache = HeuristicCache
|
|
4386
4409
|
|
|
4410
|
+
@property
|
|
4411
|
+
def OriginMtimeCheckType(self):
|
|
4412
|
+
return self._OriginMtimeCheckType
|
|
4413
|
+
|
|
4414
|
+
@OriginMtimeCheckType.setter
|
|
4415
|
+
def OriginMtimeCheckType(self, OriginMtimeCheckType):
|
|
4416
|
+
self._OriginMtimeCheckType = OriginMtimeCheckType
|
|
4417
|
+
|
|
4387
4418
|
|
|
4388
4419
|
def _deserialize(self, params):
|
|
4389
4420
|
self._Switch = params.get("Switch")
|
|
4390
4421
|
if params.get("HeuristicCache") is not None:
|
|
4391
4422
|
self._HeuristicCache = HeuristicCache()
|
|
4392
4423
|
self._HeuristicCache._deserialize(params.get("HeuristicCache"))
|
|
4424
|
+
self._OriginMtimeCheckType = params.get("OriginMtimeCheckType")
|
|
4393
4425
|
memeber_set = set(params.keys())
|
|
4394
4426
|
for name, value in vars(self).items():
|
|
4395
4427
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1243
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1234
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|