tencentcloud-sdk-python-ga2 3.1.100__tar.gz → 3.1.101__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.
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.101}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.101}/setup.py +1 -1
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.101}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.101}/tencentcloud/ga2/v20250115/errorcodes.py +3 -0
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.101}/tencentcloud/ga2/v20250115/ga2_client.py +23 -0
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.101}/tencentcloud/ga2/v20250115/ga2_client_async.py +18 -0
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.101}/tencentcloud/ga2/v20250115/models.py +79 -0
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.101}/tencentcloud_sdk_python_ga2.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ga2-3.1.101/tencentcloud_sdk_python_ga2.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ga2-3.1.100/tencentcloud_sdk_python_ga2.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.101}/README.rst +0 -0
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.101}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.101}/tencentcloud/ga2/__init__.py +0 -0
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.101}/tencentcloud/ga2/v20250115/__init__.py +0 -0
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.101}/tencentcloud_sdk_python_ga2.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.101}/tencentcloud_sdk_python_ga2.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ga2-3.1.100 → tencentcloud_sdk_python_ga2-3.1.101}/tencentcloud_sdk_python_ga2.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ga2
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.101
|
|
4
4
|
Summary: Tencent Cloud Ga2 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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.101
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-ga2',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.101,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ga2 SDK for Python',
|
|
@@ -116,6 +116,9 @@ INVALIDPARAMETERVALUE_SPECIALCHARACTERS = 'InvalidParameterValue.SpecialCharacte
|
|
|
116
116
|
# 参数值 `%(value)s` 仅能含有字符 `%(key)s`。
|
|
117
117
|
INVALIDPARAMETERVALUE_SPECIFICCHARACTERS = 'InvalidParameterValue.SpecificCharacters'
|
|
118
118
|
|
|
119
|
+
# 异步任务ID不存在。
|
|
120
|
+
INVALIDPARAMETERVALUE_TASKNOTFOUND = 'InvalidParameterValue.TaskNotFound'
|
|
121
|
+
|
|
119
122
|
# 当前TCP协议系列监听器端口已和存量监听器端口重复。
|
|
120
123
|
INVALIDPARAMETERVALUE_TCPSERIESLISTENERPORTEQUAL = 'InvalidParameterValue.TcpSeriesListenerPortEqual'
|
|
121
124
|
|
|
@@ -417,6 +417,29 @@ class Ga2Client(AbstractClient):
|
|
|
417
417
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
418
418
|
|
|
419
419
|
|
|
420
|
+
def DescribeTaskResult(self, request):
|
|
421
|
+
r"""查询异步任务结果
|
|
422
|
+
|
|
423
|
+
:param request: Request instance for DescribeTaskResult.
|
|
424
|
+
:type request: :class:`tencentcloud.ga2.v20250115.models.DescribeTaskResultRequest`
|
|
425
|
+
:rtype: :class:`tencentcloud.ga2.v20250115.models.DescribeTaskResultResponse`
|
|
426
|
+
|
|
427
|
+
"""
|
|
428
|
+
try:
|
|
429
|
+
params = request._serialize()
|
|
430
|
+
headers = request.headers
|
|
431
|
+
body = self.call("DescribeTaskResult", params, headers=headers)
|
|
432
|
+
response = json.loads(body)
|
|
433
|
+
model = models.DescribeTaskResultResponse()
|
|
434
|
+
model._deserialize(response["Response"])
|
|
435
|
+
return model
|
|
436
|
+
except Exception as e:
|
|
437
|
+
if isinstance(e, TencentCloudSDKException):
|
|
438
|
+
raise
|
|
439
|
+
else:
|
|
440
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
441
|
+
|
|
442
|
+
|
|
420
443
|
def ModifyAccelerateAreas(self, request):
|
|
421
444
|
r"""修改加速地域
|
|
422
445
|
|
|
@@ -331,6 +331,24 @@ class Ga2Client(AbstractClient):
|
|
|
331
331
|
|
|
332
332
|
return await self.call_and_deserialize(**kwargs)
|
|
333
333
|
|
|
334
|
+
async def DescribeTaskResult(
|
|
335
|
+
self,
|
|
336
|
+
request: models.DescribeTaskResultRequest,
|
|
337
|
+
opts: Dict = None,
|
|
338
|
+
) -> models.DescribeTaskResultResponse:
|
|
339
|
+
"""
|
|
340
|
+
查询异步任务结果
|
|
341
|
+
"""
|
|
342
|
+
|
|
343
|
+
kwargs = {}
|
|
344
|
+
kwargs["action"] = "DescribeTaskResult"
|
|
345
|
+
kwargs["params"] = request._serialize()
|
|
346
|
+
kwargs["resp_cls"] = models.DescribeTaskResultResponse
|
|
347
|
+
kwargs["headers"] = request.headers
|
|
348
|
+
kwargs["opts"] = opts or {}
|
|
349
|
+
|
|
350
|
+
return await self.call_and_deserialize(**kwargs)
|
|
351
|
+
|
|
334
352
|
async def ModifyAccelerateAreas(
|
|
335
353
|
self,
|
|
336
354
|
request: models.ModifyAccelerateAreasRequest,
|
|
@@ -2624,6 +2624,85 @@ class DescribeListenersResponse(AbstractModel):
|
|
|
2624
2624
|
self._RequestId = params.get("RequestId")
|
|
2625
2625
|
|
|
2626
2626
|
|
|
2627
|
+
class DescribeTaskResultRequest(AbstractModel):
|
|
2628
|
+
r"""DescribeTaskResult请求参数结构体
|
|
2629
|
+
|
|
2630
|
+
"""
|
|
2631
|
+
|
|
2632
|
+
def __init__(self):
|
|
2633
|
+
r"""
|
|
2634
|
+
:param _TaskId: 异步任务ID。
|
|
2635
|
+
:type TaskId: str
|
|
2636
|
+
"""
|
|
2637
|
+
self._TaskId = None
|
|
2638
|
+
|
|
2639
|
+
@property
|
|
2640
|
+
def TaskId(self):
|
|
2641
|
+
r"""异步任务ID。
|
|
2642
|
+
:rtype: str
|
|
2643
|
+
"""
|
|
2644
|
+
return self._TaskId
|
|
2645
|
+
|
|
2646
|
+
@TaskId.setter
|
|
2647
|
+
def TaskId(self, TaskId):
|
|
2648
|
+
self._TaskId = TaskId
|
|
2649
|
+
|
|
2650
|
+
|
|
2651
|
+
def _deserialize(self, params):
|
|
2652
|
+
self._TaskId = params.get("TaskId")
|
|
2653
|
+
memeber_set = set(params.keys())
|
|
2654
|
+
for name, value in vars(self).items():
|
|
2655
|
+
property_name = name[1:]
|
|
2656
|
+
if property_name in memeber_set:
|
|
2657
|
+
memeber_set.remove(property_name)
|
|
2658
|
+
if len(memeber_set) > 0:
|
|
2659
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2660
|
+
|
|
2661
|
+
|
|
2662
|
+
|
|
2663
|
+
class DescribeTaskResultResponse(AbstractModel):
|
|
2664
|
+
r"""DescribeTaskResult返回参数结构体
|
|
2665
|
+
|
|
2666
|
+
"""
|
|
2667
|
+
|
|
2668
|
+
def __init__(self):
|
|
2669
|
+
r"""
|
|
2670
|
+
:param _Status: 任务状态。
|
|
2671
|
+
:type Status: str
|
|
2672
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2673
|
+
:type RequestId: str
|
|
2674
|
+
"""
|
|
2675
|
+
self._Status = None
|
|
2676
|
+
self._RequestId = None
|
|
2677
|
+
|
|
2678
|
+
@property
|
|
2679
|
+
def Status(self):
|
|
2680
|
+
r"""任务状态。
|
|
2681
|
+
:rtype: str
|
|
2682
|
+
"""
|
|
2683
|
+
return self._Status
|
|
2684
|
+
|
|
2685
|
+
@Status.setter
|
|
2686
|
+
def Status(self, Status):
|
|
2687
|
+
self._Status = Status
|
|
2688
|
+
|
|
2689
|
+
@property
|
|
2690
|
+
def RequestId(self):
|
|
2691
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2692
|
+
:rtype: str
|
|
2693
|
+
"""
|
|
2694
|
+
return self._RequestId
|
|
2695
|
+
|
|
2696
|
+
@RequestId.setter
|
|
2697
|
+
def RequestId(self, RequestId):
|
|
2698
|
+
self._RequestId = RequestId
|
|
2699
|
+
|
|
2700
|
+
|
|
2701
|
+
def _deserialize(self, params):
|
|
2702
|
+
self._Status = params.get("Status")
|
|
2703
|
+
self._RequestId = params.get("RequestId")
|
|
2704
|
+
|
|
2705
|
+
|
|
2627
2706
|
class EndpointConfigurations(AbstractModel):
|
|
2628
2707
|
r"""终端节点配置
|
|
2629
2708
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-ga2
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.101
|
|
4
4
|
Summary: Tencent Cloud Ga2 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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.101
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.101
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.100
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|