tencentcloud-sdk-python-car 3.0.1459__tar.gz → 3.1.208__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.
Files changed (19) hide show
  1. tencentcloud_sdk_python_car-3.1.208/PKG-INFO +46 -0
  2. {tencentcloud-sdk-python-car-3.0.1459 → tencentcloud_sdk_python_car-3.1.208}/setup.py +2 -1
  3. {tencentcloud-sdk-python-car-3.0.1459 → tencentcloud_sdk_python_car-3.1.208}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-car-3.0.1459 → tencentcloud_sdk_python_car-3.1.208}/tencentcloud/car/v20220110/car_client.py +92 -0
  5. tencentcloud_sdk_python_car-3.1.208/tencentcloud/car/v20220110/car_client_async.py +206 -0
  6. {tencentcloud-sdk-python-car-3.0.1459 → tencentcloud_sdk_python_car-3.1.208}/tencentcloud/car/v20220110/errorcodes.py +21 -0
  7. {tencentcloud-sdk-python-car-3.0.1459 → tencentcloud_sdk_python_car-3.1.208}/tencentcloud/car/v20220110/models.py +211 -0
  8. tencentcloud_sdk_python_car-3.1.208/tencentcloud_sdk_python_car.egg-info/PKG-INFO +46 -0
  9. {tencentcloud-sdk-python-car-3.0.1459 → tencentcloud_sdk_python_car-3.1.208}/tencentcloud_sdk_python_car.egg-info/SOURCES.txt +1 -0
  10. tencentcloud_sdk_python_car-3.1.208/tencentcloud_sdk_python_car.egg-info/requires.txt +1 -0
  11. tencentcloud-sdk-python-car-3.0.1459/PKG-INFO +0 -45
  12. tencentcloud-sdk-python-car-3.0.1459/tencentcloud_sdk_python_car.egg-info/PKG-INFO +0 -45
  13. tencentcloud-sdk-python-car-3.0.1459/tencentcloud_sdk_python_car.egg-info/requires.txt +0 -1
  14. {tencentcloud-sdk-python-car-3.0.1459 → tencentcloud_sdk_python_car-3.1.208}/README.rst +0 -0
  15. {tencentcloud-sdk-python-car-3.0.1459 → tencentcloud_sdk_python_car-3.1.208}/setup.cfg +0 -0
  16. {tencentcloud-sdk-python-car-3.0.1459 → tencentcloud_sdk_python_car-3.1.208}/tencentcloud/car/__init__.py +0 -0
  17. {tencentcloud-sdk-python-car-3.0.1459 → tencentcloud_sdk_python_car-3.1.208}/tencentcloud/car/v20220110/__init__.py +0 -0
  18. {tencentcloud-sdk-python-car-3.0.1459 → tencentcloud_sdk_python_car-3.1.208}/tencentcloud_sdk_python_car.egg-info/dependency_links.txt +0 -0
  19. {tencentcloud-sdk-python-car-3.0.1459 → tencentcloud_sdk_python_car-3.1.208}/tencentcloud_sdk_python_car.egg-info/top_level.txt +0 -0
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.1
2
+ Name: tencentcloud-sdk-python-car
3
+ Version: 3.1.208
4
+ Summary: Tencent Cloud Car SDK for Python
5
+ Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
+ Author: Tencent Cloud
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
+ License: Apache License 2.0
9
+ Platform: any
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Programming Language :: Python
14
+ Classifier: Programming Language :: Python :: 2.7
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.6
17
+ Classifier: Programming Language :: Python :: 3.7
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.208
19
+
20
+ ============================
21
+ Tencent Cloud SDK for Python
22
+ ============================
23
+
24
+ Tencent Cloud Python Car SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
25
+ The SDK works on Python versions:
26
+
27
+ * 2.7 and greater, including 3.x
28
+
29
+ Quick Start
30
+ -----------
31
+
32
+ First, install the library:
33
+
34
+ .. code-block:: sh
35
+
36
+ $ pip install tencentcloud-sdk-python-common
37
+ $ pip install tencentcloud-sdk-python-car
38
+
39
+ or download source code from github and install:
40
+
41
+ .. code-block:: sh
42
+
43
+ $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
44
+ $ cd tencentcloud-sdk-python
45
+ $ python package.py --components common car
46
+
@@ -8,7 +8,8 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-car',
11
- install_requires=["tencentcloud-sdk-python-common>=3.0.1459,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.208,<4.0.0"],
12
+
12
13
  version=tencentcloud.__version__,
13
14
  description='Tencent Cloud Car SDK for Python',
14
15
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1459'
17
+ __version__ = '3.1.208'
@@ -49,6 +49,29 @@ class CarClient(AbstractClient):
49
49
  raise TencentCloudSDKException(type(e).__name__, str(e))
50
50
 
51
51
 
52
+ def CreateMCPToken(self, request):
53
+ r"""创建 MCP Token(签发令牌)
54
+
55
+ :param request: Request instance for CreateMCPToken.
56
+ :type request: :class:`tencentcloud.car.v20220110.models.CreateMCPTokenRequest`
57
+ :rtype: :class:`tencentcloud.car.v20220110.models.CreateMCPTokenResponse`
58
+
59
+ """
60
+ try:
61
+ params = request._serialize()
62
+ headers = request.headers
63
+ body = self.call("CreateMCPToken", params, headers=headers)
64
+ response = json.loads(body)
65
+ model = models.CreateMCPTokenResponse()
66
+ model._deserialize(response["Response"])
67
+ return model
68
+ except Exception as e:
69
+ if isinstance(e, TencentCloudSDKException):
70
+ raise
71
+ else:
72
+ raise TencentCloudSDKException(type(e).__name__, str(e))
73
+
74
+
52
75
  def CreateSession(self, request):
53
76
  r"""本接口用于创建会话。接口超时时间:5秒。
54
77
 
@@ -72,6 +95,52 @@ class CarClient(AbstractClient):
72
95
  raise TencentCloudSDKException(type(e).__name__, str(e))
73
96
 
74
97
 
98
+ def DescribeConcurrentCount(self, request):
99
+ r"""获取并发计数
100
+
101
+ :param request: Request instance for DescribeConcurrentCount.
102
+ :type request: :class:`tencentcloud.car.v20220110.models.DescribeConcurrentCountRequest`
103
+ :rtype: :class:`tencentcloud.car.v20220110.models.DescribeConcurrentCountResponse`
104
+
105
+ """
106
+ try:
107
+ params = request._serialize()
108
+ headers = request.headers
109
+ body = self.call("DescribeConcurrentCount", params, headers=headers)
110
+ response = json.loads(body)
111
+ model = models.DescribeConcurrentCountResponse()
112
+ model._deserialize(response["Response"])
113
+ return model
114
+ except Exception as e:
115
+ if isinstance(e, TencentCloudSDKException):
116
+ raise
117
+ else:
118
+ raise TencentCloudSDKException(type(e).__name__, str(e))
119
+
120
+
121
+ def DescribeMCPTokens(self, request):
122
+ r"""查询 MCP Token 列表
123
+
124
+ :param request: Request instance for DescribeMCPTokens.
125
+ :type request: :class:`tencentcloud.car.v20220110.models.DescribeMCPTokensRequest`
126
+ :rtype: :class:`tencentcloud.car.v20220110.models.DescribeMCPTokensResponse`
127
+
128
+ """
129
+ try:
130
+ params = request._serialize()
131
+ headers = request.headers
132
+ body = self.call("DescribeMCPTokens", params, headers=headers)
133
+ response = json.loads(body)
134
+ model = models.DescribeMCPTokensResponse()
135
+ model._deserialize(response["Response"])
136
+ return model
137
+ except Exception as e:
138
+ if isinstance(e, TencentCloudSDKException):
139
+ raise
140
+ else:
141
+ raise TencentCloudSDKException(type(e).__name__, str(e))
142
+
143
+
75
144
  def DestroySession(self, request):
76
145
  r"""销毁会话。如果该会话开启了云端推流,那么销毁会话时会结束云端推流。
77
146
 
@@ -95,6 +164,29 @@ class CarClient(AbstractClient):
95
164
  raise TencentCloudSDKException(type(e).__name__, str(e))
96
165
 
97
166
 
167
+ def RenewMCPToken(self, request):
168
+ r"""续期 MCP Token(续期令牌)
169
+
170
+ :param request: Request instance for RenewMCPToken.
171
+ :type request: :class:`tencentcloud.car.v20220110.models.RenewMCPTokenRequest`
172
+ :rtype: :class:`tencentcloud.car.v20220110.models.RenewMCPTokenResponse`
173
+
174
+ """
175
+ try:
176
+ params = request._serialize()
177
+ headers = request.headers
178
+ body = self.call("RenewMCPToken", params, headers=headers)
179
+ response = json.loads(body)
180
+ model = models.RenewMCPTokenResponse()
181
+ model._deserialize(response["Response"])
182
+ return model
183
+ except Exception as e:
184
+ if isinstance(e, TencentCloudSDKException):
185
+ raise
186
+ else:
187
+ raise TencentCloudSDKException(type(e).__name__, str(e))
188
+
189
+
98
190
  def StartPublishStream(self, request):
99
191
  r"""开始云端推流。云端推流 codec 根据客户端(SDK)能力来自动选择,默认优先顺序为 H265、H264、VP8、VP9。
100
192
 
@@ -0,0 +1,206 @@
1
+ # -*- coding: utf8 -*-
2
+ # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+
17
+
18
+ from tencentcloud.common.abstract_client_async import AbstractClient
19
+ from tencentcloud.car.v20220110 import models
20
+ from typing import Dict
21
+
22
+
23
+ class CarClient(AbstractClient):
24
+ _apiVersion = '2022-01-10'
25
+ _endpoint = 'car.tencentcloudapi.com'
26
+ _service = 'car'
27
+
28
+ async def ApplyConcurrent(
29
+ self,
30
+ request: models.ApplyConcurrentRequest,
31
+ opts: Dict = None,
32
+ ) -> models.ApplyConcurrentResponse:
33
+ """
34
+ 本接口用于申请并发。接口超时时间:20秒。
35
+ """
36
+
37
+ kwargs = {}
38
+ kwargs["action"] = "ApplyConcurrent"
39
+ kwargs["params"] = request._serialize()
40
+ kwargs["resp_cls"] = models.ApplyConcurrentResponse
41
+ kwargs["headers"] = request.headers
42
+ kwargs["opts"] = opts or {}
43
+
44
+ return await self.call_and_deserialize(**kwargs)
45
+
46
+ async def CreateMCPToken(
47
+ self,
48
+ request: models.CreateMCPTokenRequest,
49
+ opts: Dict = None,
50
+ ) -> models.CreateMCPTokenResponse:
51
+ """
52
+ 创建 MCP Token(签发令牌)
53
+ """
54
+
55
+ kwargs = {}
56
+ kwargs["action"] = "CreateMCPToken"
57
+ kwargs["params"] = request._serialize()
58
+ kwargs["resp_cls"] = models.CreateMCPTokenResponse
59
+ kwargs["headers"] = request.headers
60
+ kwargs["opts"] = opts or {}
61
+
62
+ return await self.call_and_deserialize(**kwargs)
63
+
64
+ async def CreateSession(
65
+ self,
66
+ request: models.CreateSessionRequest,
67
+ opts: Dict = None,
68
+ ) -> models.CreateSessionResponse:
69
+ """
70
+ 本接口用于创建会话。接口超时时间:5秒。
71
+ """
72
+
73
+ kwargs = {}
74
+ kwargs["action"] = "CreateSession"
75
+ kwargs["params"] = request._serialize()
76
+ kwargs["resp_cls"] = models.CreateSessionResponse
77
+ kwargs["headers"] = request.headers
78
+ kwargs["opts"] = opts or {}
79
+
80
+ return await self.call_and_deserialize(**kwargs)
81
+
82
+ async def DescribeConcurrentCount(
83
+ self,
84
+ request: models.DescribeConcurrentCountRequest,
85
+ opts: Dict = None,
86
+ ) -> models.DescribeConcurrentCountResponse:
87
+ """
88
+ 获取并发计数
89
+ """
90
+
91
+ kwargs = {}
92
+ kwargs["action"] = "DescribeConcurrentCount"
93
+ kwargs["params"] = request._serialize()
94
+ kwargs["resp_cls"] = models.DescribeConcurrentCountResponse
95
+ kwargs["headers"] = request.headers
96
+ kwargs["opts"] = opts or {}
97
+
98
+ return await self.call_and_deserialize(**kwargs)
99
+
100
+ async def DescribeMCPTokens(
101
+ self,
102
+ request: models.DescribeMCPTokensRequest,
103
+ opts: Dict = None,
104
+ ) -> models.DescribeMCPTokensResponse:
105
+ """
106
+ 查询 MCP Token 列表
107
+ """
108
+
109
+ kwargs = {}
110
+ kwargs["action"] = "DescribeMCPTokens"
111
+ kwargs["params"] = request._serialize()
112
+ kwargs["resp_cls"] = models.DescribeMCPTokensResponse
113
+ kwargs["headers"] = request.headers
114
+ kwargs["opts"] = opts or {}
115
+
116
+ return await self.call_and_deserialize(**kwargs)
117
+
118
+ async def DestroySession(
119
+ self,
120
+ request: models.DestroySessionRequest,
121
+ opts: Dict = None,
122
+ ) -> models.DestroySessionResponse:
123
+ """
124
+ 销毁会话。如果该会话开启了云端推流,那么销毁会话时会结束云端推流。
125
+ """
126
+
127
+ kwargs = {}
128
+ kwargs["action"] = "DestroySession"
129
+ kwargs["params"] = request._serialize()
130
+ kwargs["resp_cls"] = models.DestroySessionResponse
131
+ kwargs["headers"] = request.headers
132
+ kwargs["opts"] = opts or {}
133
+
134
+ return await self.call_and_deserialize(**kwargs)
135
+
136
+ async def RenewMCPToken(
137
+ self,
138
+ request: models.RenewMCPTokenRequest,
139
+ opts: Dict = None,
140
+ ) -> models.RenewMCPTokenResponse:
141
+ """
142
+ 续期 MCP Token(续期令牌)
143
+ """
144
+
145
+ kwargs = {}
146
+ kwargs["action"] = "RenewMCPToken"
147
+ kwargs["params"] = request._serialize()
148
+ kwargs["resp_cls"] = models.RenewMCPTokenResponse
149
+ kwargs["headers"] = request.headers
150
+ kwargs["opts"] = opts or {}
151
+
152
+ return await self.call_and_deserialize(**kwargs)
153
+
154
+ async def StartPublishStream(
155
+ self,
156
+ request: models.StartPublishStreamRequest,
157
+ opts: Dict = None,
158
+ ) -> models.StartPublishStreamResponse:
159
+ """
160
+ 开始云端推流。云端推流 codec 根据客户端(SDK)能力来自动选择,默认优先顺序为 H265、H264、VP8、VP9。
161
+ """
162
+
163
+ kwargs = {}
164
+ kwargs["action"] = "StartPublishStream"
165
+ kwargs["params"] = request._serialize()
166
+ kwargs["resp_cls"] = models.StartPublishStreamResponse
167
+ kwargs["headers"] = request.headers
168
+ kwargs["opts"] = opts or {}
169
+
170
+ return await self.call_and_deserialize(**kwargs)
171
+
172
+ async def StartPublishStreamWithURL(
173
+ self,
174
+ request: models.StartPublishStreamWithURLRequest,
175
+ opts: Dict = None,
176
+ ) -> models.StartPublishStreamWithURLResponse:
177
+ """
178
+ 开始云端推流到指定URL。云端推流 codec 根据客户端(SDK)能力来自动选择,默认优先顺序为 H265、H264、VP8、VP9。该推流方式需要单独计费,详细计费方式请查看[指定地址推流费用说明](https://cloud.tencent.com/document/product/1547/72168#98ac188a-d122-4caf-88be-05268ecefdf6)
179
+ """
180
+
181
+ kwargs = {}
182
+ kwargs["action"] = "StartPublishStreamWithURL"
183
+ kwargs["params"] = request._serialize()
184
+ kwargs["resp_cls"] = models.StartPublishStreamWithURLResponse
185
+ kwargs["headers"] = request.headers
186
+ kwargs["opts"] = opts or {}
187
+
188
+ return await self.call_and_deserialize(**kwargs)
189
+
190
+ async def StopPublishStream(
191
+ self,
192
+ request: models.StopPublishStreamRequest,
193
+ opts: Dict = None,
194
+ ) -> models.StopPublishStreamResponse:
195
+ """
196
+ 停止云端推流
197
+ """
198
+
199
+ kwargs = {}
200
+ kwargs["action"] = "StopPublishStream"
201
+ kwargs["params"] = request._serialize()
202
+ kwargs["resp_cls"] = models.StopPublishStreamResponse
203
+ kwargs["headers"] = request.headers
204
+ kwargs["opts"] = opts or {}
205
+
206
+ return await self.call_and_deserialize(**kwargs)
@@ -14,6 +14,12 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
+ # CAM签名/鉴权错误。
18
+ AUTHFAILURE = 'AuthFailure'
19
+
20
+ # 请求未授权。
21
+ AUTHFAILURE_UNAUTHORIZEDOPERATION = 'AuthFailure.UnauthorizedOperation'
22
+
17
23
  # 操作失败。
18
24
  FAILEDOPERATION = 'FailedOperation'
19
25
 
@@ -41,12 +47,24 @@ INVALIDPARAMETER_JSONPARSEERROR = 'InvalidParameter.JsonParseError'
41
47
  # 参数取值错误。
42
48
  INVALIDPARAMETERVALUE = 'InvalidParameterValue'
43
49
 
50
+ # MCP Token 数量超过配额限制。
51
+ LIMITEXCEEDED_MCPTOKEN = 'LimitExceeded.MCPToken'
52
+
44
53
  # 【多人互动】对应的角色人数超过限制。
45
54
  LIMITEXCEEDED_ROLE = 'LimitExceeded.Role'
46
55
 
56
+ # 缺少参数错误。
57
+ MISSINGPARAMETER = 'MissingParameter'
58
+
47
59
  # 操作被拒绝。
48
60
  OPERATIONDENIED = 'OperationDenied'
49
61
 
62
+ # 资源被占用。
63
+ RESOURCEINUSE = 'ResourceInUse'
64
+
65
+ # 资源不存在。
66
+ RESOURCENOTFOUND = 'ResourceNotFound'
67
+
50
68
  # 没有空闲并发。
51
69
  RESOURCENOTFOUND_NOIDLE = 'ResourceNotFound.NoIdle'
52
70
 
@@ -59,5 +77,8 @@ RESOURCEUNAVAILABLE_ACCESSFAILED = 'ResourceUnavailable.AccessFailed'
59
77
  # 初始化中。
60
78
  RESOURCEUNAVAILABLE_INITIALIZATION = 'ResourceUnavailable.Initialization'
61
79
 
80
+ # 操作不支持。
81
+ UNSUPPORTEDOPERATION = 'UnsupportedOperation'
82
+
62
83
  # 销毁会话中。
63
84
  UNSUPPORTEDOPERATION_STOPPING = 'UnsupportedOperation.Stopping'
@@ -142,6 +142,40 @@ class ApplyConcurrentResponse(AbstractModel):
142
142
  self._RequestId = params.get("RequestId")
143
143
 
144
144
 
145
+ class CreateMCPTokenRequest(AbstractModel):
146
+ r"""CreateMCPToken请求参数结构体
147
+
148
+ """
149
+
150
+
151
+ class CreateMCPTokenResponse(AbstractModel):
152
+ r"""CreateMCPToken返回参数结构体
153
+
154
+ """
155
+
156
+ def __init__(self):
157
+ r"""
158
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
159
+ :type RequestId: str
160
+ """
161
+ self._RequestId = None
162
+
163
+ @property
164
+ def RequestId(self):
165
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
166
+ :rtype: str
167
+ """
168
+ return self._RequestId
169
+
170
+ @RequestId.setter
171
+ def RequestId(self, RequestId):
172
+ self._RequestId = RequestId
173
+
174
+
175
+ def _deserialize(self, params):
176
+ self._RequestId = params.get("RequestId")
177
+
178
+
145
179
  class CreateSessionRequest(AbstractModel):
146
180
  r"""CreateSession请求参数结构体
147
181
 
@@ -335,6 +369,149 @@ class CreateSessionResponse(AbstractModel):
335
369
  self._RequestId = params.get("RequestId")
336
370
 
337
371
 
372
+ class DescribeConcurrentCountRequest(AbstractModel):
373
+ r"""DescribeConcurrentCount请求参数结构体
374
+
375
+ """
376
+
377
+ def __init__(self):
378
+ r"""
379
+ :param _ProjectId: 项目ID
380
+ :type ProjectId: str
381
+ :param _ApplicationCategory: 应用类别(DESKTOP: 桌面端,MOBILE:移动端)
382
+ :type ApplicationCategory: str
383
+ """
384
+ self._ProjectId = None
385
+ self._ApplicationCategory = None
386
+
387
+ @property
388
+ def ProjectId(self):
389
+ r"""项目ID
390
+ :rtype: str
391
+ """
392
+ return self._ProjectId
393
+
394
+ @ProjectId.setter
395
+ def ProjectId(self, ProjectId):
396
+ self._ProjectId = ProjectId
397
+
398
+ @property
399
+ def ApplicationCategory(self):
400
+ r"""应用类别(DESKTOP: 桌面端,MOBILE:移动端)
401
+ :rtype: str
402
+ """
403
+ return self._ApplicationCategory
404
+
405
+ @ApplicationCategory.setter
406
+ def ApplicationCategory(self, ApplicationCategory):
407
+ self._ApplicationCategory = ApplicationCategory
408
+
409
+
410
+ def _deserialize(self, params):
411
+ self._ProjectId = params.get("ProjectId")
412
+ self._ApplicationCategory = params.get("ApplicationCategory")
413
+ memeber_set = set(params.keys())
414
+ for name, value in vars(self).items():
415
+ property_name = name[1:]
416
+ if property_name in memeber_set:
417
+ memeber_set.remove(property_name)
418
+ if len(memeber_set) > 0:
419
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
420
+
421
+
422
+
423
+ class DescribeConcurrentCountResponse(AbstractModel):
424
+ r"""DescribeConcurrentCount返回参数结构体
425
+
426
+ """
427
+
428
+ def __init__(self):
429
+ r"""
430
+ :param _Total: 并发总数
431
+ :type Total: int
432
+ :param _Running: 并发运行数,包括预启动中的、已连接的、等待重连、清理恢复等所有非空闲的并发数,所以刷新项目或断开并发包的用户连接,都会影响到该值
433
+ :type Running: int
434
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
435
+ :type RequestId: str
436
+ """
437
+ self._Total = None
438
+ self._Running = None
439
+ self._RequestId = None
440
+
441
+ @property
442
+ def Total(self):
443
+ r"""并发总数
444
+ :rtype: int
445
+ """
446
+ return self._Total
447
+
448
+ @Total.setter
449
+ def Total(self, Total):
450
+ self._Total = Total
451
+
452
+ @property
453
+ def Running(self):
454
+ r"""并发运行数,包括预启动中的、已连接的、等待重连、清理恢复等所有非空闲的并发数,所以刷新项目或断开并发包的用户连接,都会影响到该值
455
+ :rtype: int
456
+ """
457
+ return self._Running
458
+
459
+ @Running.setter
460
+ def Running(self, Running):
461
+ self._Running = Running
462
+
463
+ @property
464
+ def RequestId(self):
465
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
466
+ :rtype: str
467
+ """
468
+ return self._RequestId
469
+
470
+ @RequestId.setter
471
+ def RequestId(self, RequestId):
472
+ self._RequestId = RequestId
473
+
474
+
475
+ def _deserialize(self, params):
476
+ self._Total = params.get("Total")
477
+ self._Running = params.get("Running")
478
+ self._RequestId = params.get("RequestId")
479
+
480
+
481
+ class DescribeMCPTokensRequest(AbstractModel):
482
+ r"""DescribeMCPTokens请求参数结构体
483
+
484
+ """
485
+
486
+
487
+ class DescribeMCPTokensResponse(AbstractModel):
488
+ r"""DescribeMCPTokens返回参数结构体
489
+
490
+ """
491
+
492
+ def __init__(self):
493
+ r"""
494
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
495
+ :type RequestId: str
496
+ """
497
+ self._RequestId = None
498
+
499
+ @property
500
+ def RequestId(self):
501
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
502
+ :rtype: str
503
+ """
504
+ return self._RequestId
505
+
506
+ @RequestId.setter
507
+ def RequestId(self, RequestId):
508
+ self._RequestId = RequestId
509
+
510
+
511
+ def _deserialize(self, params):
512
+ self._RequestId = params.get("RequestId")
513
+
514
+
338
515
  class DestroySessionRequest(AbstractModel):
339
516
  r"""DestroySession请求参数结构体
340
517
 
@@ -399,6 +576,40 @@ class DestroySessionResponse(AbstractModel):
399
576
  self._RequestId = params.get("RequestId")
400
577
 
401
578
 
579
+ class RenewMCPTokenRequest(AbstractModel):
580
+ r"""RenewMCPToken请求参数结构体
581
+
582
+ """
583
+
584
+
585
+ class RenewMCPTokenResponse(AbstractModel):
586
+ r"""RenewMCPToken返回参数结构体
587
+
588
+ """
589
+
590
+ def __init__(self):
591
+ r"""
592
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
593
+ :type RequestId: str
594
+ """
595
+ self._RequestId = None
596
+
597
+ @property
598
+ def RequestId(self):
599
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
600
+ :rtype: str
601
+ """
602
+ return self._RequestId
603
+
604
+ @RequestId.setter
605
+ def RequestId(self, RequestId):
606
+ self._RequestId = RequestId
607
+
608
+
609
+ def _deserialize(self, params):
610
+ self._RequestId = params.get("RequestId")
611
+
612
+
402
613
  class StartPublishStreamRequest(AbstractModel):
403
614
  r"""StartPublishStream请求参数结构体
404
615
 
@@ -0,0 +1,46 @@
1
+ Metadata-Version: 2.1
2
+ Name: tencentcloud-sdk-python-car
3
+ Version: 3.1.208
4
+ Summary: Tencent Cloud Car SDK for Python
5
+ Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
+ Author: Tencent Cloud
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
+ License: Apache License 2.0
9
+ Platform: any
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Programming Language :: Python
14
+ Classifier: Programming Language :: Python :: 2.7
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.6
17
+ Classifier: Programming Language :: Python :: 3.7
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.208
19
+
20
+ ============================
21
+ Tencent Cloud SDK for Python
22
+ ============================
23
+
24
+ Tencent Cloud Python Car SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
25
+ The SDK works on Python versions:
26
+
27
+ * 2.7 and greater, including 3.x
28
+
29
+ Quick Start
30
+ -----------
31
+
32
+ First, install the library:
33
+
34
+ .. code-block:: sh
35
+
36
+ $ pip install tencentcloud-sdk-python-common
37
+ $ pip install tencentcloud-sdk-python-car
38
+
39
+ or download source code from github and install:
40
+
41
+ .. code-block:: sh
42
+
43
+ $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
44
+ $ cd tencentcloud-sdk-python
45
+ $ python package.py --components common car
46
+
@@ -5,6 +5,7 @@ tencentcloud/__init__.py
5
5
  tencentcloud/car/__init__.py
6
6
  tencentcloud/car/v20220110/__init__.py
7
7
  tencentcloud/car/v20220110/car_client.py
8
+ tencentcloud/car/v20220110/car_client_async.py
8
9
  tencentcloud/car/v20220110/errorcodes.py
9
10
  tencentcloud/car/v20220110/models.py
10
11
  tencentcloud_sdk_python_car.egg-info/PKG-INFO
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.208
@@ -1,45 +0,0 @@
1
- Metadata-Version: 1.2
2
- Name: tencentcloud-sdk-python-car
3
- Version: 3.0.1459
4
- Summary: Tencent Cloud Car SDK for Python
5
- Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
- Author: Tencent Cloud
7
- Maintainer-email: tencentcloudapi@tencent.com
8
- License: Apache License 2.0
9
- Description: ============================
10
- Tencent Cloud SDK for Python
11
- ============================
12
-
13
- Tencent Cloud Python Car SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
14
- The SDK works on Python versions:
15
-
16
- * 2.7 and greater, including 3.x
17
-
18
- Quick Start
19
- -----------
20
-
21
- First, install the library:
22
-
23
- .. code-block:: sh
24
-
25
- $ pip install tencentcloud-sdk-python-common
26
- $ pip install tencentcloud-sdk-python-car
27
-
28
- or download source code from github and install:
29
-
30
- .. code-block:: sh
31
-
32
- $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
33
- $ cd tencentcloud-sdk-python
34
- $ python package.py --components common car
35
-
36
-
37
- Platform: any
38
- Classifier: Development Status :: 5 - Production/Stable
39
- Classifier: Intended Audience :: Developers
40
- Classifier: License :: OSI Approved :: Apache Software License
41
- Classifier: Programming Language :: Python
42
- Classifier: Programming Language :: Python :: 2.7
43
- Classifier: Programming Language :: Python :: 3
44
- Classifier: Programming Language :: Python :: 3.6
45
- Classifier: Programming Language :: Python :: 3.7
@@ -1,45 +0,0 @@
1
- Metadata-Version: 1.2
2
- Name: tencentcloud-sdk-python-car
3
- Version: 3.0.1459
4
- Summary: Tencent Cloud Car SDK for Python
5
- Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
- Author: Tencent Cloud
7
- Maintainer-email: tencentcloudapi@tencent.com
8
- License: Apache License 2.0
9
- Description: ============================
10
- Tencent Cloud SDK for Python
11
- ============================
12
-
13
- Tencent Cloud Python Car SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
14
- The SDK works on Python versions:
15
-
16
- * 2.7 and greater, including 3.x
17
-
18
- Quick Start
19
- -----------
20
-
21
- First, install the library:
22
-
23
- .. code-block:: sh
24
-
25
- $ pip install tencentcloud-sdk-python-common
26
- $ pip install tencentcloud-sdk-python-car
27
-
28
- or download source code from github and install:
29
-
30
- .. code-block:: sh
31
-
32
- $ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
33
- $ cd tencentcloud-sdk-python
34
- $ python package.py --components common car
35
-
36
-
37
- Platform: any
38
- Classifier: Development Status :: 5 - Production/Stable
39
- Classifier: Intended Audience :: Developers
40
- Classifier: License :: OSI Approved :: Apache Software License
41
- Classifier: Programming Language :: Python
42
- Classifier: Programming Language :: Python :: 2.7
43
- Classifier: Programming Language :: Python :: 3
44
- Classifier: Programming Language :: Python :: 3.6
45
- Classifier: Programming Language :: Python :: 3.7
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.0.1459