tencentcloud-sdk-python 3.0.1420__py2.py3-none-any.whl → 3.0.1421__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 +1 -1
- tencentcloud/autoscaling/v20180419/models.py +15 -0
- tencentcloud/cdb/v20170320/cdb_client.py +1 -1
- tencentcloud/cdb/v20170320/models.py +8 -8
- tencentcloud/cdn/v20180606/models.py +4 -4
- tencentcloud/cdwdoris/v20211228/errorcodes.py +6 -0
- tencentcloud/cdwdoris/v20211228/models.py +244 -4
- tencentcloud/cfg/v20210820/models.py +40 -0
- tencentcloud/gs/v20191118/models.py +71 -0
- tencentcloud/igtm/v20231024/igtm_client.py +69 -0
- tencentcloud/igtm/v20231024/models.py +1202 -198
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +3 -1
- tencentcloud/ocr/v20181119/models.py +4 -18
- tencentcloud/ocr/v20181119/ocr_client.py +3 -1
- tencentcloud/omics/v20221128/models.py +60 -0
- tencentcloud/ses/v20201002/models.py +171 -0
- tencentcloud/tcb/v20180608/models.py +64 -10
- tencentcloud/tdmq/v20200217/models.py +15 -0
- tencentcloud/teo/v20220901/models.py +664 -2
- tencentcloud/teo/v20220901/teo_client.py +115 -0
- tencentcloud/vrs/v20200824/vrs_client.py +1 -1
- {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/RECORD +26 -155
- tencentcloud/cis/__init__.py +0 -0
- tencentcloud/cis/v20180408/__init__.py +0 -0
- tencentcloud/cis/v20180408/cis_client.py +0 -187
- tencentcloud/cis/v20180408/errorcodes.py +0 -21
- tencentcloud/cis/v20180408/models.py +0 -1688
- tencentcloud/dataintegration/__init__.py +0 -0
- tencentcloud/dataintegration/v20220613/__init__.py +0 -0
- tencentcloud/dataintegration/v20220613/dataintegration_client.py +0 -49
- tencentcloud/dataintegration/v20220613/errorcodes.py +0 -15
- tencentcloud/dataintegration/v20220613/models.py +0 -168
- tencentcloud/dtf/__init__.py +0 -0
- tencentcloud/dtf/v20200506/__init__.py +0 -0
- tencentcloud/dtf/v20200506/dtf_client.py +0 -49
- tencentcloud/dtf/v20200506/errorcodes.py +0 -21
- tencentcloud/dtf/v20200506/models.py +0 -538
- tencentcloud/gpm/__init__.py +0 -0
- tencentcloud/gpm/v20200820/__init__.py +0 -0
- tencentcloud/gpm/v20200820/errorcodes.py +0 -168
- tencentcloud/gpm/v20200820/gpm_client.py +0 -476
- tencentcloud/gpm/v20200820/models.py +0 -4255
- tencentcloud/gse/__init__.py +0 -0
- tencentcloud/gse/v20191112/__init__.py +0 -0
- tencentcloud/gse/v20191112/errorcodes.py +0 -90
- tencentcloud/gse/v20191112/gse_client.py +0 -1993
- tencentcloud/gse/v20191112/models.py +0 -15093
- tencentcloud/iecp/__init__.py +0 -0
- tencentcloud/iecp/v20210914/__init__.py +0 -0
- tencentcloud/iecp/v20210914/errorcodes.py +0 -75
- tencentcloud/iecp/v20210914/iecp_client.py +0 -1912
- tencentcloud/iecp/v20210914/models.py +0 -17466
- tencentcloud/iir/__init__.py +0 -0
- tencentcloud/iir/v20200417/__init__.py +0 -0
- tencentcloud/iir/v20200417/errorcodes.py +0 -48
- tencentcloud/iir/v20200417/iir_client.py +0 -53
- tencentcloud/iir/v20200417/models.py +0 -451
- tencentcloud/iottid/__init__.py +0 -0
- tencentcloud/iottid/v20190411/__init__.py +0 -0
- tencentcloud/iottid/v20190411/errorcodes.py +0 -54
- tencentcloud/iottid/v20190411/iottid_client.py +0 -233
- tencentcloud/iottid/v20190411/models.py +0 -1053
- tencentcloud/mgobe/__init__.py +0 -0
- tencentcloud/mgobe/v20190929/__init__.py +0 -0
- tencentcloud/mgobe/v20190929/errorcodes.py +0 -945
- tencentcloud/mgobe/v20190929/mgobe_client.py +0 -49
- tencentcloud/mgobe/v20190929/models.py +0 -97
- tencentcloud/mgobe/v20201014/__init__.py +0 -0
- tencentcloud/mgobe/v20201014/errorcodes.py +0 -948
- tencentcloud/mgobe/v20201014/mgobe_client.py +0 -201
- tencentcloud/mgobe/v20201014/models.py +0 -1361
- tencentcloud/mvj/__init__.py +0 -0
- tencentcloud/mvj/v20190926/__init__.py +0 -0
- tencentcloud/mvj/v20190926/errorcodes.py +0 -30
- tencentcloud/mvj/v20190926/models.py +0 -263
- tencentcloud/mvj/v20190926/mvj_client.py +0 -51
- tencentcloud/pds/__init__.py +0 -0
- tencentcloud/pds/v20210701/__init__.py +0 -0
- tencentcloud/pds/v20210701/errorcodes.py +0 -48
- tencentcloud/pds/v20210701/models.py +0 -346
- tencentcloud/pds/v20210701/pds_client.py +0 -72
- tencentcloud/smpn/__init__.py +0 -0
- tencentcloud/smpn/v20190822/__init__.py +0 -0
- tencentcloud/smpn/v20190822/errorcodes.py +0 -27
- tencentcloud/smpn/v20190822/models.py +0 -389
- tencentcloud/smpn/v20190822/smpn_client.py +0 -76
- tencentcloud/solar/__init__.py +0 -0
- tencentcloud/solar/v20181011/__init__.py +0 -0
- tencentcloud/solar/v20181011/errorcodes.py +0 -42
- tencentcloud/solar/v20181011/models.py +0 -3848
- tencentcloud/solar/v20181011/solar_client.py +0 -417
- tencentcloud/tan/__init__.py +0 -0
- tencentcloud/tan/v20220420/__init__.py +0 -0
- tencentcloud/tan/v20220420/errorcodes.py +0 -81
- tencentcloud/tan/v20220420/models.py +0 -112
- tencentcloud/tan/v20220420/tan_client.py +0 -51
- tencentcloud/tav/__init__.py +0 -0
- tencentcloud/tav/v20190118/__init__.py +0 -0
- tencentcloud/tav/v20190118/errorcodes.py +0 -15
- tencentcloud/tav/v20190118/models.py +0 -550
- tencentcloud/tav/v20190118/tav_client.py +0 -118
- tencentcloud/tbm/__init__.py +0 -0
- tencentcloud/tbm/v20180129/__init__.py +0 -0
- tencentcloud/tbm/v20180129/errorcodes.py +0 -39
- tencentcloud/tbm/v20180129/models.py +0 -2354
- tencentcloud/tbm/v20180129/tbm_client.py +0 -233
- tencentcloud/tcex/__init__.py +0 -0
- tencentcloud/tcex/v20200727/__init__.py +0 -0
- tencentcloud/tcex/v20200727/errorcodes.py +0 -51
- tencentcloud/tcex/v20200727/models.py +0 -374
- tencentcloud/tcex/v20200727/tcex_client.py +0 -76
- tencentcloud/tci/__init__.py +0 -0
- tencentcloud/tci/v20190318/__init__.py +0 -0
- tencentcloud/tci/v20190318/errorcodes.py +0 -237
- tencentcloud/tci/v20190318/models.py +0 -11569
- tencentcloud/tci/v20190318/tci_client.py +0 -1017
- tencentcloud/tic/__init__.py +0 -0
- tencentcloud/tic/v20201117/__init__.py +0 -0
- tencentcloud/tic/v20201117/errorcodes.py +0 -48
- tencentcloud/tic/v20201117/models.py +0 -1952
- tencentcloud/tic/v20201117/tic_client.py +0 -342
- tencentcloud/ticm/__init__.py +0 -0
- tencentcloud/ticm/v20181127/__init__.py +0 -0
- tencentcloud/ticm/v20181127/errorcodes.py +0 -36
- tencentcloud/ticm/v20181127/models.py +0 -3385
- tencentcloud/ticm/v20181127/ticm_client.py +0 -95
- tencentcloud/tics/__init__.py +0 -0
- tencentcloud/tics/v20181115/__init__.py +0 -0
- tencentcloud/tics/v20181115/errorcodes.py +0 -30
- tencentcloud/tics/v20181115/models.py +0 -1324
- tencentcloud/tics/v20181115/tics_client.py +0 -118
- tencentcloud/tiems/__init__.py +0 -0
- tencentcloud/tiems/v20190416/__init__.py +0 -0
- tencentcloud/tiems/v20190416/errorcodes.py +0 -36
- tencentcloud/tiems/v20190416/models.py +0 -6644
- tencentcloud/tiems/v20190416/tiems_client.py +0 -651
- tencentcloud/trdp/__init__.py +0 -0
- tencentcloud/trdp/v20220726/__init__.py +0 -0
- tencentcloud/trdp/v20220726/errorcodes.py +0 -30
- tencentcloud/trdp/v20220726/models.py +0 -1609
- tencentcloud/trdp/v20220726/trdp_client.py +0 -49
- tencentcloud/ump/__init__.py +0 -0
- tencentcloud/ump/v20200918/__init__.py +0 -0
- tencentcloud/ump/v20200918/errorcodes.py +0 -57
- tencentcloud/ump/v20200918/models.py +0 -4089
- tencentcloud/ump/v20200918/ump_client.py +0 -454
- tencentcloud/youmall/__init__.py +0 -0
- tencentcloud/youmall/v20180228/__init__.py +0 -0
- tencentcloud/youmall/v20180228/errorcodes.py +0 -93
- tencentcloud/youmall/v20180228/models.py +0 -8181
- tencentcloud/youmall/v20180228/youmall_client.py +0 -740
- {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/top_level.txt +0 -0
@@ -1,538 +0,0 @@
|
|
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
|
-
import warnings
|
17
|
-
|
18
|
-
from tencentcloud.common.abstract_model import AbstractModel
|
19
|
-
|
20
|
-
|
21
|
-
class DescribeTransactionsRequest(AbstractModel):
|
22
|
-
"""DescribeTransactions请求参数结构体
|
23
|
-
|
24
|
-
"""
|
25
|
-
|
26
|
-
def __init__(self):
|
27
|
-
r"""
|
28
|
-
:param _GroupId: 事务分组ID
|
29
|
-
:type GroupId: str
|
30
|
-
:param _TransactionBeginFrom: 事务开始时间查询起始时间戳,UTC,精确到毫秒
|
31
|
-
:type TransactionBeginFrom: int
|
32
|
-
:param _TransactionBeginTo: 事务开始时间查询截止时间戳,UTC,精确到毫秒
|
33
|
-
:type TransactionBeginTo: int
|
34
|
-
:param _SearchError: 仅查询异常状态的事务,true:仅查询异常,false或不传入:查询所有
|
35
|
-
:type SearchError: bool
|
36
|
-
:param _TransactionId: 主事务ID,不传入时查询全量,高优先级
|
37
|
-
:type TransactionId: int
|
38
|
-
:param _TransactionIdList: 主事务ID列表,不传入时查询全量,低优先级
|
39
|
-
:type TransactionIdList: list of int
|
40
|
-
:param _Limit: 每页数量
|
41
|
-
:type Limit: int
|
42
|
-
:param _Offset: 起始偏移量
|
43
|
-
:type Offset: int
|
44
|
-
"""
|
45
|
-
self._GroupId = None
|
46
|
-
self._TransactionBeginFrom = None
|
47
|
-
self._TransactionBeginTo = None
|
48
|
-
self._SearchError = None
|
49
|
-
self._TransactionId = None
|
50
|
-
self._TransactionIdList = None
|
51
|
-
self._Limit = None
|
52
|
-
self._Offset = None
|
53
|
-
|
54
|
-
@property
|
55
|
-
def GroupId(self):
|
56
|
-
"""事务分组ID
|
57
|
-
:rtype: str
|
58
|
-
"""
|
59
|
-
return self._GroupId
|
60
|
-
|
61
|
-
@GroupId.setter
|
62
|
-
def GroupId(self, GroupId):
|
63
|
-
self._GroupId = GroupId
|
64
|
-
|
65
|
-
@property
|
66
|
-
def TransactionBeginFrom(self):
|
67
|
-
"""事务开始时间查询起始时间戳,UTC,精确到毫秒
|
68
|
-
:rtype: int
|
69
|
-
"""
|
70
|
-
return self._TransactionBeginFrom
|
71
|
-
|
72
|
-
@TransactionBeginFrom.setter
|
73
|
-
def TransactionBeginFrom(self, TransactionBeginFrom):
|
74
|
-
self._TransactionBeginFrom = TransactionBeginFrom
|
75
|
-
|
76
|
-
@property
|
77
|
-
def TransactionBeginTo(self):
|
78
|
-
"""事务开始时间查询截止时间戳,UTC,精确到毫秒
|
79
|
-
:rtype: int
|
80
|
-
"""
|
81
|
-
return self._TransactionBeginTo
|
82
|
-
|
83
|
-
@TransactionBeginTo.setter
|
84
|
-
def TransactionBeginTo(self, TransactionBeginTo):
|
85
|
-
self._TransactionBeginTo = TransactionBeginTo
|
86
|
-
|
87
|
-
@property
|
88
|
-
def SearchError(self):
|
89
|
-
"""仅查询异常状态的事务,true:仅查询异常,false或不传入:查询所有
|
90
|
-
:rtype: bool
|
91
|
-
"""
|
92
|
-
return self._SearchError
|
93
|
-
|
94
|
-
@SearchError.setter
|
95
|
-
def SearchError(self, SearchError):
|
96
|
-
self._SearchError = SearchError
|
97
|
-
|
98
|
-
@property
|
99
|
-
def TransactionId(self):
|
100
|
-
"""主事务ID,不传入时查询全量,高优先级
|
101
|
-
:rtype: int
|
102
|
-
"""
|
103
|
-
return self._TransactionId
|
104
|
-
|
105
|
-
@TransactionId.setter
|
106
|
-
def TransactionId(self, TransactionId):
|
107
|
-
self._TransactionId = TransactionId
|
108
|
-
|
109
|
-
@property
|
110
|
-
def TransactionIdList(self):
|
111
|
-
"""主事务ID列表,不传入时查询全量,低优先级
|
112
|
-
:rtype: list of int
|
113
|
-
"""
|
114
|
-
return self._TransactionIdList
|
115
|
-
|
116
|
-
@TransactionIdList.setter
|
117
|
-
def TransactionIdList(self, TransactionIdList):
|
118
|
-
self._TransactionIdList = TransactionIdList
|
119
|
-
|
120
|
-
@property
|
121
|
-
def Limit(self):
|
122
|
-
"""每页数量
|
123
|
-
:rtype: int
|
124
|
-
"""
|
125
|
-
return self._Limit
|
126
|
-
|
127
|
-
@Limit.setter
|
128
|
-
def Limit(self, Limit):
|
129
|
-
self._Limit = Limit
|
130
|
-
|
131
|
-
@property
|
132
|
-
def Offset(self):
|
133
|
-
"""起始偏移量
|
134
|
-
:rtype: int
|
135
|
-
"""
|
136
|
-
return self._Offset
|
137
|
-
|
138
|
-
@Offset.setter
|
139
|
-
def Offset(self, Offset):
|
140
|
-
self._Offset = Offset
|
141
|
-
|
142
|
-
|
143
|
-
def _deserialize(self, params):
|
144
|
-
self._GroupId = params.get("GroupId")
|
145
|
-
self._TransactionBeginFrom = params.get("TransactionBeginFrom")
|
146
|
-
self._TransactionBeginTo = params.get("TransactionBeginTo")
|
147
|
-
self._SearchError = params.get("SearchError")
|
148
|
-
self._TransactionId = params.get("TransactionId")
|
149
|
-
self._TransactionIdList = params.get("TransactionIdList")
|
150
|
-
self._Limit = params.get("Limit")
|
151
|
-
self._Offset = params.get("Offset")
|
152
|
-
memeber_set = set(params.keys())
|
153
|
-
for name, value in vars(self).items():
|
154
|
-
property_name = name[1:]
|
155
|
-
if property_name in memeber_set:
|
156
|
-
memeber_set.remove(property_name)
|
157
|
-
if len(memeber_set) > 0:
|
158
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
class DescribeTransactionsResponse(AbstractModel):
|
163
|
-
"""DescribeTransactions返回参数结构体
|
164
|
-
|
165
|
-
"""
|
166
|
-
|
167
|
-
def __init__(self):
|
168
|
-
r"""
|
169
|
-
:param _Result: 主事务分页列表
|
170
|
-
:type Result: :class:`tencentcloud.dtf.v20200506.models.PagedTransaction`
|
171
|
-
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
172
|
-
:type RequestId: str
|
173
|
-
"""
|
174
|
-
self._Result = None
|
175
|
-
self._RequestId = None
|
176
|
-
|
177
|
-
@property
|
178
|
-
def Result(self):
|
179
|
-
"""主事务分页列表
|
180
|
-
:rtype: :class:`tencentcloud.dtf.v20200506.models.PagedTransaction`
|
181
|
-
"""
|
182
|
-
return self._Result
|
183
|
-
|
184
|
-
@Result.setter
|
185
|
-
def Result(self, Result):
|
186
|
-
self._Result = Result
|
187
|
-
|
188
|
-
@property
|
189
|
-
def RequestId(self):
|
190
|
-
"""唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
191
|
-
:rtype: str
|
192
|
-
"""
|
193
|
-
return self._RequestId
|
194
|
-
|
195
|
-
@RequestId.setter
|
196
|
-
def RequestId(self, RequestId):
|
197
|
-
self._RequestId = RequestId
|
198
|
-
|
199
|
-
|
200
|
-
def _deserialize(self, params):
|
201
|
-
if params.get("Result") is not None:
|
202
|
-
self._Result = PagedTransaction()
|
203
|
-
self._Result._deserialize(params.get("Result"))
|
204
|
-
self._RequestId = params.get("RequestId")
|
205
|
-
|
206
|
-
|
207
|
-
class PagedTransaction(AbstractModel):
|
208
|
-
"""分页主事务
|
209
|
-
|
210
|
-
"""
|
211
|
-
|
212
|
-
def __init__(self):
|
213
|
-
r"""
|
214
|
-
:param _TotalCount: 总条数,特定在该接口中总是会返回null
|
215
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
216
|
-
:type TotalCount: int
|
217
|
-
:param _Content: 主事务分组列表
|
218
|
-
:type Content: list of Transaction
|
219
|
-
"""
|
220
|
-
self._TotalCount = None
|
221
|
-
self._Content = None
|
222
|
-
|
223
|
-
@property
|
224
|
-
def TotalCount(self):
|
225
|
-
"""总条数,特定在该接口中总是会返回null
|
226
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
227
|
-
:rtype: int
|
228
|
-
"""
|
229
|
-
return self._TotalCount
|
230
|
-
|
231
|
-
@TotalCount.setter
|
232
|
-
def TotalCount(self, TotalCount):
|
233
|
-
self._TotalCount = TotalCount
|
234
|
-
|
235
|
-
@property
|
236
|
-
def Content(self):
|
237
|
-
"""主事务分组列表
|
238
|
-
:rtype: list of Transaction
|
239
|
-
"""
|
240
|
-
return self._Content
|
241
|
-
|
242
|
-
@Content.setter
|
243
|
-
def Content(self, Content):
|
244
|
-
self._Content = Content
|
245
|
-
|
246
|
-
|
247
|
-
def _deserialize(self, params):
|
248
|
-
self._TotalCount = params.get("TotalCount")
|
249
|
-
if params.get("Content") is not None:
|
250
|
-
self._Content = []
|
251
|
-
for item in params.get("Content"):
|
252
|
-
obj = Transaction()
|
253
|
-
obj._deserialize(item)
|
254
|
-
self._Content.append(obj)
|
255
|
-
memeber_set = set(params.keys())
|
256
|
-
for name, value in vars(self).items():
|
257
|
-
property_name = name[1:]
|
258
|
-
if property_name in memeber_set:
|
259
|
-
memeber_set.remove(property_name)
|
260
|
-
if len(memeber_set) > 0:
|
261
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
class Transaction(AbstractModel):
|
266
|
-
"""主事务
|
267
|
-
|
268
|
-
"""
|
269
|
-
|
270
|
-
def __init__(self):
|
271
|
-
r"""
|
272
|
-
:param _TransactionId: 主事务ID
|
273
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
274
|
-
:type TransactionId: int
|
275
|
-
:param _TransactionBegin: 主事务开始时间戳,UTC,精确到毫秒
|
276
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
277
|
-
:type TransactionBegin: int
|
278
|
-
:param _TransactionEnd: 主事务结束时间戳,UTC,精确到毫秒
|
279
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
280
|
-
:type TransactionEnd: int
|
281
|
-
:param _TransactionCommit: 主事务提交时间戳,UTC,精确到毫秒
|
282
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
283
|
-
:type TransactionCommit: int
|
284
|
-
:param _TransactionRollback: 主事务回滚时间戳,UTC,精确到毫秒
|
285
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
286
|
-
:type TransactionRollback: int
|
287
|
-
:param _TransactionError: 主事务异常停止时间戳,UTC,精确到毫秒
|
288
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
289
|
-
:type TransactionError: int
|
290
|
-
:param _Timeout: 主事务超时时长,单位毫秒
|
291
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
292
|
-
:type Timeout: int
|
293
|
-
:param _Status: 主事务状态:0:Trying, 1:Confirming, 2: Confirmed, 3:Canceling, 4: Canceled
|
294
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
295
|
-
:type Status: int
|
296
|
-
:param _EndFlag: 主事务结束标识:0:运行中, 1: 已结束
|
297
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
298
|
-
:type EndFlag: int
|
299
|
-
:param _TimeoutFlag: 主事务超时标识:0:运行中, 1: 已超时
|
300
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
301
|
-
:type TimeoutFlag: int
|
302
|
-
:param _Comment: 异常信息
|
303
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
304
|
-
:type Comment: str
|
305
|
-
:param _GroupId: 事务分组ID
|
306
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
307
|
-
:type GroupId: str
|
308
|
-
:param _Server: 主事务来源服务标识
|
309
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
310
|
-
:type Server: str
|
311
|
-
:param _BranchQuantity: 分支事务数量
|
312
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
313
|
-
:type BranchQuantity: int
|
314
|
-
:param _RetryFlag: 重试标识:true:可以重试;false:不可重试
|
315
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
316
|
-
:type RetryFlag: bool
|
317
|
-
"""
|
318
|
-
self._TransactionId = None
|
319
|
-
self._TransactionBegin = None
|
320
|
-
self._TransactionEnd = None
|
321
|
-
self._TransactionCommit = None
|
322
|
-
self._TransactionRollback = None
|
323
|
-
self._TransactionError = None
|
324
|
-
self._Timeout = None
|
325
|
-
self._Status = None
|
326
|
-
self._EndFlag = None
|
327
|
-
self._TimeoutFlag = None
|
328
|
-
self._Comment = None
|
329
|
-
self._GroupId = None
|
330
|
-
self._Server = None
|
331
|
-
self._BranchQuantity = None
|
332
|
-
self._RetryFlag = None
|
333
|
-
|
334
|
-
@property
|
335
|
-
def TransactionId(self):
|
336
|
-
"""主事务ID
|
337
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
338
|
-
:rtype: int
|
339
|
-
"""
|
340
|
-
return self._TransactionId
|
341
|
-
|
342
|
-
@TransactionId.setter
|
343
|
-
def TransactionId(self, TransactionId):
|
344
|
-
self._TransactionId = TransactionId
|
345
|
-
|
346
|
-
@property
|
347
|
-
def TransactionBegin(self):
|
348
|
-
"""主事务开始时间戳,UTC,精确到毫秒
|
349
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
350
|
-
:rtype: int
|
351
|
-
"""
|
352
|
-
return self._TransactionBegin
|
353
|
-
|
354
|
-
@TransactionBegin.setter
|
355
|
-
def TransactionBegin(self, TransactionBegin):
|
356
|
-
self._TransactionBegin = TransactionBegin
|
357
|
-
|
358
|
-
@property
|
359
|
-
def TransactionEnd(self):
|
360
|
-
"""主事务结束时间戳,UTC,精确到毫秒
|
361
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
362
|
-
:rtype: int
|
363
|
-
"""
|
364
|
-
return self._TransactionEnd
|
365
|
-
|
366
|
-
@TransactionEnd.setter
|
367
|
-
def TransactionEnd(self, TransactionEnd):
|
368
|
-
self._TransactionEnd = TransactionEnd
|
369
|
-
|
370
|
-
@property
|
371
|
-
def TransactionCommit(self):
|
372
|
-
"""主事务提交时间戳,UTC,精确到毫秒
|
373
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
374
|
-
:rtype: int
|
375
|
-
"""
|
376
|
-
return self._TransactionCommit
|
377
|
-
|
378
|
-
@TransactionCommit.setter
|
379
|
-
def TransactionCommit(self, TransactionCommit):
|
380
|
-
self._TransactionCommit = TransactionCommit
|
381
|
-
|
382
|
-
@property
|
383
|
-
def TransactionRollback(self):
|
384
|
-
"""主事务回滚时间戳,UTC,精确到毫秒
|
385
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
386
|
-
:rtype: int
|
387
|
-
"""
|
388
|
-
return self._TransactionRollback
|
389
|
-
|
390
|
-
@TransactionRollback.setter
|
391
|
-
def TransactionRollback(self, TransactionRollback):
|
392
|
-
self._TransactionRollback = TransactionRollback
|
393
|
-
|
394
|
-
@property
|
395
|
-
def TransactionError(self):
|
396
|
-
"""主事务异常停止时间戳,UTC,精确到毫秒
|
397
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
398
|
-
:rtype: int
|
399
|
-
"""
|
400
|
-
return self._TransactionError
|
401
|
-
|
402
|
-
@TransactionError.setter
|
403
|
-
def TransactionError(self, TransactionError):
|
404
|
-
self._TransactionError = TransactionError
|
405
|
-
|
406
|
-
@property
|
407
|
-
def Timeout(self):
|
408
|
-
"""主事务超时时长,单位毫秒
|
409
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
410
|
-
:rtype: int
|
411
|
-
"""
|
412
|
-
return self._Timeout
|
413
|
-
|
414
|
-
@Timeout.setter
|
415
|
-
def Timeout(self, Timeout):
|
416
|
-
self._Timeout = Timeout
|
417
|
-
|
418
|
-
@property
|
419
|
-
def Status(self):
|
420
|
-
"""主事务状态:0:Trying, 1:Confirming, 2: Confirmed, 3:Canceling, 4: Canceled
|
421
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
422
|
-
:rtype: int
|
423
|
-
"""
|
424
|
-
return self._Status
|
425
|
-
|
426
|
-
@Status.setter
|
427
|
-
def Status(self, Status):
|
428
|
-
self._Status = Status
|
429
|
-
|
430
|
-
@property
|
431
|
-
def EndFlag(self):
|
432
|
-
"""主事务结束标识:0:运行中, 1: 已结束
|
433
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
434
|
-
:rtype: int
|
435
|
-
"""
|
436
|
-
return self._EndFlag
|
437
|
-
|
438
|
-
@EndFlag.setter
|
439
|
-
def EndFlag(self, EndFlag):
|
440
|
-
self._EndFlag = EndFlag
|
441
|
-
|
442
|
-
@property
|
443
|
-
def TimeoutFlag(self):
|
444
|
-
"""主事务超时标识:0:运行中, 1: 已超时
|
445
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
446
|
-
:rtype: int
|
447
|
-
"""
|
448
|
-
return self._TimeoutFlag
|
449
|
-
|
450
|
-
@TimeoutFlag.setter
|
451
|
-
def TimeoutFlag(self, TimeoutFlag):
|
452
|
-
self._TimeoutFlag = TimeoutFlag
|
453
|
-
|
454
|
-
@property
|
455
|
-
def Comment(self):
|
456
|
-
"""异常信息
|
457
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
458
|
-
:rtype: str
|
459
|
-
"""
|
460
|
-
return self._Comment
|
461
|
-
|
462
|
-
@Comment.setter
|
463
|
-
def Comment(self, Comment):
|
464
|
-
self._Comment = Comment
|
465
|
-
|
466
|
-
@property
|
467
|
-
def GroupId(self):
|
468
|
-
"""事务分组ID
|
469
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
470
|
-
:rtype: str
|
471
|
-
"""
|
472
|
-
return self._GroupId
|
473
|
-
|
474
|
-
@GroupId.setter
|
475
|
-
def GroupId(self, GroupId):
|
476
|
-
self._GroupId = GroupId
|
477
|
-
|
478
|
-
@property
|
479
|
-
def Server(self):
|
480
|
-
"""主事务来源服务标识
|
481
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
482
|
-
:rtype: str
|
483
|
-
"""
|
484
|
-
return self._Server
|
485
|
-
|
486
|
-
@Server.setter
|
487
|
-
def Server(self, Server):
|
488
|
-
self._Server = Server
|
489
|
-
|
490
|
-
@property
|
491
|
-
def BranchQuantity(self):
|
492
|
-
"""分支事务数量
|
493
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
494
|
-
:rtype: int
|
495
|
-
"""
|
496
|
-
return self._BranchQuantity
|
497
|
-
|
498
|
-
@BranchQuantity.setter
|
499
|
-
def BranchQuantity(self, BranchQuantity):
|
500
|
-
self._BranchQuantity = BranchQuantity
|
501
|
-
|
502
|
-
@property
|
503
|
-
def RetryFlag(self):
|
504
|
-
"""重试标识:true:可以重试;false:不可重试
|
505
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
506
|
-
:rtype: bool
|
507
|
-
"""
|
508
|
-
return self._RetryFlag
|
509
|
-
|
510
|
-
@RetryFlag.setter
|
511
|
-
def RetryFlag(self, RetryFlag):
|
512
|
-
self._RetryFlag = RetryFlag
|
513
|
-
|
514
|
-
|
515
|
-
def _deserialize(self, params):
|
516
|
-
self._TransactionId = params.get("TransactionId")
|
517
|
-
self._TransactionBegin = params.get("TransactionBegin")
|
518
|
-
self._TransactionEnd = params.get("TransactionEnd")
|
519
|
-
self._TransactionCommit = params.get("TransactionCommit")
|
520
|
-
self._TransactionRollback = params.get("TransactionRollback")
|
521
|
-
self._TransactionError = params.get("TransactionError")
|
522
|
-
self._Timeout = params.get("Timeout")
|
523
|
-
self._Status = params.get("Status")
|
524
|
-
self._EndFlag = params.get("EndFlag")
|
525
|
-
self._TimeoutFlag = params.get("TimeoutFlag")
|
526
|
-
self._Comment = params.get("Comment")
|
527
|
-
self._GroupId = params.get("GroupId")
|
528
|
-
self._Server = params.get("Server")
|
529
|
-
self._BranchQuantity = params.get("BranchQuantity")
|
530
|
-
self._RetryFlag = params.get("RetryFlag")
|
531
|
-
memeber_set = set(params.keys())
|
532
|
-
for name, value in vars(self).items():
|
533
|
-
property_name = name[1:]
|
534
|
-
if property_name in memeber_set:
|
535
|
-
memeber_set.remove(property_name)
|
536
|
-
if len(memeber_set) > 0:
|
537
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
538
|
-
|
tencentcloud/gpm/__init__.py
DELETED
File without changes
|
File without changes
|
@@ -1,168 +0,0 @@
|
|
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
|
-
# CAM签名/鉴权错误。
|
18
|
-
AUTHFAILURE = 'AuthFailure'
|
19
|
-
|
20
|
-
# DryRun 操作,代表请求将会是成功的,只是多传了 DryRun 参数。
|
21
|
-
DRYRUNOPERATION = 'DryRunOperation'
|
22
|
-
|
23
|
-
# 操作失败。
|
24
|
-
FAILEDOPERATION = 'FailedOperation'
|
25
|
-
|
26
|
-
# 匹配日志开通失败,请在线咨询。
|
27
|
-
FAILEDOPERATION_CLSFAILEDOPERATION = 'FailedOperation.CLSFailedOperation'
|
28
|
-
|
29
|
-
# 频率限制。玩家重复请求匹配的间隔不小于100ms。
|
30
|
-
FAILEDOPERATION_FREQUENCYSAMEPLAYERLIMITED = 'FailedOperation.FrequencySamePlayerLimited'
|
31
|
-
|
32
|
-
# 创建的匹配数超过限制。
|
33
|
-
FAILEDOPERATION_LIMITMATCHCOUNT = 'FailedOperation.LimitMatchCount'
|
34
|
-
|
35
|
-
# 创建的规则数超过限制。
|
36
|
-
FAILEDOPERATION_LIMITRULECOUNT = 'FailedOperation.LimitRuleCount'
|
37
|
-
|
38
|
-
# 系统错误。若无法解决,请在线咨询。
|
39
|
-
FAILEDOPERATION_SERVICEUNAVAILABLE = 'FailedOperation.ServiceUnavailable'
|
40
|
-
|
41
|
-
# 标签操作失败。
|
42
|
-
FAILEDOPERATION_TAGSOPEARTIONFAILED = 'FailedOperation.TagsOpeartionFailed'
|
43
|
-
|
44
|
-
# 内部错误。
|
45
|
-
INTERNALERROR = 'InternalError'
|
46
|
-
|
47
|
-
# 接口不存在。
|
48
|
-
INVALIDACTION = 'InvalidAction'
|
49
|
-
|
50
|
-
# 参数错误。
|
51
|
-
INVALIDPARAMETER = 'InvalidParameter'
|
52
|
-
|
53
|
-
# 参数取值错误。
|
54
|
-
INVALIDPARAMETERVALUE = 'InvalidParameterValue'
|
55
|
-
|
56
|
-
# GameServerSession正在匹配中,无法再发起匹配。
|
57
|
-
INVALIDPARAMETERVALUE_GAMESERVERSESSIONREPEATED = 'InvalidParameterValue.GameServerSessionRepeated'
|
58
|
-
|
59
|
-
# 规则脚本有误。
|
60
|
-
INVALIDPARAMETERVALUE_INVALIDRULESCRIPT = 'InvalidParameterValue.InvalidRuleScript'
|
61
|
-
|
62
|
-
# 匹配 Code 不存在。
|
63
|
-
INVALIDPARAMETERVALUE_MATCHCODENOTFOUND = 'InvalidParameterValue.MatchCodeNotFound'
|
64
|
-
|
65
|
-
# 字段值长度超过限制。
|
66
|
-
INVALIDPARAMETERVALUE_MATCHFEILDVALUELIMIT = 'InvalidParameterValue.MatchFeildValueLimit'
|
67
|
-
|
68
|
-
# 字段中包含非法的字符。
|
69
|
-
INVALIDPARAMETERVALUE_MATCHINVALIDCHARACTERS = 'InvalidParameterValue.MatchInvalidCharacters'
|
70
|
-
|
71
|
-
# 匹配不存在。
|
72
|
-
INVALIDPARAMETERVALUE_MATCHNOTFOUND = 'InvalidParameterValue.MatchNotFound'
|
73
|
-
|
74
|
-
# Players 长度超过限制。
|
75
|
-
INVALIDPARAMETERVALUE_MATCHPLAYERSLIMIT = 'InvalidParameterValue.MatchPlayersLimit'
|
76
|
-
|
77
|
-
# 重复的玩家Id。
|
78
|
-
INVALIDPARAMETERVALUE_MATCHPLAYERSREPEATED = 'InvalidParameterValue.MatchPlayersRepeated'
|
79
|
-
|
80
|
-
# 当前状态不能取消。
|
81
|
-
INVALIDPARAMETERVALUE_MATCHSTATUSNOTPERMITCANCEL = 'InvalidParameterValue.MatchStatusNotPermitCancel'
|
82
|
-
|
83
|
-
# 匹配 TicketId 不存在。
|
84
|
-
INVALIDPARAMETERVALUE_MATCHTICKETIDNOTFOUND = 'InvalidParameterValue.MatchTicketIdNotFound'
|
85
|
-
|
86
|
-
# 匹配 TicketId 重复。
|
87
|
-
INVALIDPARAMETERVALUE_MATCHTICKETIDREPEATED = 'InvalidParameterValue.MatchTicketIdRepeated'
|
88
|
-
|
89
|
-
# 匹配票据列表长度超过限制。
|
90
|
-
INVALIDPARAMETERVALUE_MATCHTICKETLIMIT = 'InvalidParameterValue.MatchTicketLimit'
|
91
|
-
|
92
|
-
# 规则存在关联的匹配。
|
93
|
-
INVALIDPARAMETERVALUE_RULEMATCHEXISTENT = 'InvalidParameterValue.RuleMatchExistent'
|
94
|
-
|
95
|
-
# 规则名称已存在。
|
96
|
-
INVALIDPARAMETERVALUE_RULENAMEDUPLICATED = 'InvalidParameterValue.RuleNameDuplicated'
|
97
|
-
|
98
|
-
# 规则不存在。
|
99
|
-
INVALIDPARAMETERVALUE_RULENOTFOUND = 'InvalidParameterValue.RuleNotFound'
|
100
|
-
|
101
|
-
# 没有该标签权限。
|
102
|
-
INVALIDPARAMETERVALUE_TAGSLIMITPERMISSION = 'InvalidParameterValue.TagsLimitPermission'
|
103
|
-
|
104
|
-
# Token CompatibleSpan 取值超出限制。
|
105
|
-
INVALIDPARAMETERVALUE_TOKENCOMPATIBLESPANINVALID = 'InvalidParameterValue.TokenCompatibleSpanInvalid'
|
106
|
-
|
107
|
-
# Token长度超出限制。
|
108
|
-
INVALIDPARAMETERVALUE_TOKENLIMIT = 'InvalidParameterValue.TokenLimit'
|
109
|
-
|
110
|
-
# 取值超出范围。
|
111
|
-
INVALIDPARAMETERVALUE_VALUERANGELIMIT = 'InvalidParameterValue.ValueRangeLimit'
|
112
|
-
|
113
|
-
# 超过配额限制。
|
114
|
-
LIMITEXCEEDED = 'LimitExceeded'
|
115
|
-
|
116
|
-
# Token更新的频率超出限制。
|
117
|
-
LIMITEXCEEDED_TOKENUPDATEEXCEED = 'LimitExceeded.TokenUpdateExceed'
|
118
|
-
|
119
|
-
# 缺少参数错误。
|
120
|
-
MISSINGPARAMETER = 'MissingParameter'
|
121
|
-
|
122
|
-
# 接口版本不存在。
|
123
|
-
NOSUCHVERSION = 'NoSuchVersion'
|
124
|
-
|
125
|
-
# 操作被拒绝。
|
126
|
-
OPERATIONDENIED = 'OperationDenied'
|
127
|
-
|
128
|
-
# 请求的次数超过了频率限制。
|
129
|
-
REQUESTLIMITEXCEEDED = 'RequestLimitExceeded'
|
130
|
-
|
131
|
-
# 资源被占用。
|
132
|
-
RESOURCEINUSE = 'ResourceInUse'
|
133
|
-
|
134
|
-
# 资源不足。
|
135
|
-
RESOURCEINSUFFICIENT = 'ResourceInsufficient'
|
136
|
-
|
137
|
-
# 资源不存在。
|
138
|
-
RESOURCENOTFOUND = 'ResourceNotFound'
|
139
|
-
|
140
|
-
# 资源不可用。
|
141
|
-
RESOURCEUNAVAILABLE = 'ResourceUnavailable'
|
142
|
-
|
143
|
-
# CLS日志服务未开通。
|
144
|
-
RESOURCEUNAVAILABLE_CLSSERVICENOTACTIVATED = 'ResourceUnavailable.CLSServiceNotActivated'
|
145
|
-
|
146
|
-
# 资源售罄。
|
147
|
-
RESOURCESSOLDOUT = 'ResourcesSoldOut'
|
148
|
-
|
149
|
-
# 未授权操作。
|
150
|
-
UNAUTHORIZEDOPERATION = 'UnauthorizedOperation'
|
151
|
-
|
152
|
-
# 需要授权GPM角色权限。
|
153
|
-
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZEDOPERATION = 'UnauthorizedOperation.CAMUnauthorizedOperation'
|
154
|
-
|
155
|
-
# 需要授权接口权限。
|
156
|
-
UNAUTHORIZEDOPERATION_UNAUTHORIZEDACTION = 'UnauthorizedOperation.UnauthorizedAction'
|
157
|
-
|
158
|
-
# 当前账号未完成实名认证,使用服务前请先进行实名认证。
|
159
|
-
UNAUTHORIZEDOPERATION_USERUNAUTH = 'UnauthorizedOperation.UserUnAuth'
|
160
|
-
|
161
|
-
# 未知参数错误。
|
162
|
-
UNKNOWNPARAMETER = 'UnknownParameter'
|
163
|
-
|
164
|
-
# 操作不支持。
|
165
|
-
UNSUPPORTEDOPERATION = 'UnsupportedOperation'
|
166
|
-
|
167
|
-
# 接口不支持所传地域。
|
168
|
-
UNSUPPORTEDREGION = 'UnsupportedRegion'
|