tencentcloud-sdk-python 3.0.1327__py2.py3-none-any.whl → 3.0.1329__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/asr/v20190614/asr_client.py +1 -1
- tencentcloud/captcha/v20190722/models.py +0 -48
- tencentcloud/cdwch/v20200915/models.py +83 -0
- tencentcloud/cdwdoris/v20211228/models.py +30 -0
- tencentcloud/clb/v20180317/models.py +60 -0
- tencentcloud/dlc/v20210125/models.py +0 -10
- tencentcloud/dts/v20211206/models.py +2 -2
- tencentcloud/faceid/v20180301/models.py +46 -24
- tencentcloud/hunyuan/v20230901/models.py +2 -10
- tencentcloud/live/v20180801/models.py +10 -110
- tencentcloud/lke/v20231130/models.py +115 -6
- tencentcloud/lkeap/v20240522/lkeap_client.py +2 -5
- tencentcloud/lkeap/v20240522/models.py +12 -2
- tencentcloud/lowcode/v20210108/errorcodes.py +3 -0
- tencentcloud/lowcode/v20210108/lowcode_client.py +207 -0
- tencentcloud/lowcode/v20210108/models.py +2996 -124
- tencentcloud/monitor/v20180724/models.py +333 -0
- tencentcloud/monitor/v20180724/monitor_client.py +23 -0
- tencentcloud/ocr/v20181119/models.py +23 -0
- tencentcloud/ocr/v20181119/ocr_client.py +10 -0
- tencentcloud/organization/v20210331/models.py +30 -0
- tencentcloud/rce/v20201103/models.py +2 -24
- tencentcloud/redis/v20180412/models.py +0 -110
- tencentcloud/tcbr/v20220217/models.py +30 -0
- tencentcloud/tdid/v20210519/models.py +130 -22
- tencentcloud/tdid/v20210519/tdid_client.py +4 -1
- tencentcloud/tke/v20180525/models.py +0 -142
- tencentcloud/tke/v20220501/models.py +0 -8
- tencentcloud/tsf/v20180326/models.py +0 -88
- tencentcloud/vpc/v20170312/vpc_client.py +1 -1
- tencentcloud/waf/v20180125/models.py +2 -2
- tencentcloud/weilingwith/v20230427/models.py +0 -20
- {tencentcloud_sdk_python-3.0.1327.dist-info → tencentcloud_sdk_python-3.0.1329.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1327.dist-info → tencentcloud_sdk_python-3.0.1329.dist-info}/RECORD +38 -53
- tencentcloud/lp/__init__.py +0 -0
- tencentcloud/lp/v20200224/__init__.py +0 -0
- tencentcloud/lp/v20200224/errorcodes.py +0 -78
- tencentcloud/lp/v20200224/lp_client.py +0 -49
- tencentcloud/lp/v20200224/models.py +0 -748
- tencentcloud/rkp/__init__.py +0 -0
- tencentcloud/rkp/v20191209/__init__.py +0 -0
- tencentcloud/rkp/v20191209/errorcodes.py +0 -102
- tencentcloud/rkp/v20191209/models.py +0 -1007
- tencentcloud/rkp/v20191209/rkp_client.py +0 -101
- tencentcloud/rp/__init__.py +0 -0
- tencentcloud/rp/v20200224/__init__.py +0 -0
- tencentcloud/rp/v20200224/errorcodes.py +0 -78
- tencentcloud/rp/v20200224/models.py +0 -655
- tencentcloud/rp/v20200224/rp_client.py +0 -49
- {tencentcloud_sdk_python-3.0.1327.dist-info → tencentcloud_sdk_python-3.0.1329.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1327.dist-info → tencentcloud_sdk_python-3.0.1329.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1327.dist-info → tencentcloud_sdk_python-3.0.1329.dist-info}/top_level.txt +0 -0
@@ -1,655 +0,0 @@
|
|
1
|
-
# -*- coding: utf8 -*-
|
2
|
-
# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. 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 QueryRegisterProtectionRequest(AbstractModel):
|
22
|
-
"""QueryRegisterProtection请求参数结构体
|
23
|
-
|
24
|
-
"""
|
25
|
-
|
26
|
-
def __init__(self):
|
27
|
-
r"""
|
28
|
-
:param _RegisterIp: 注册来源的外网 IP。
|
29
|
-
:type RegisterIp: str
|
30
|
-
:param _Uid: 用户 ID 不同的 accountType 对应不同的用户 ID。如果是 QQ,则填入对应的 openid,微信用户则填入对应的 openid/unionid,手机号则填入对应真实用户手机号(如13123456789)。
|
31
|
-
:type Uid: str
|
32
|
-
:param _RegisterTime: 注册时间戳,单位:秒。
|
33
|
-
:type RegisterTime: str
|
34
|
-
:param _AccountType: 用户账号类型(QQ 开放帐号、微信开放账号需要 提交工单 由腾讯云进行资格审核):
|
35
|
-
1:QQ 开放帐号。
|
36
|
-
2:微信开放账号。
|
37
|
-
4:手机号。
|
38
|
-
0:其他。
|
39
|
-
10004:手机号 MD5。
|
40
|
-
:type AccountType: str
|
41
|
-
:param _AppIdU: accountType 是 QQ 或微信开放账号时,该参数必填,表示 QQ 或微信分配给网站或应用的 AppID,用来唯一标识网站或应用。
|
42
|
-
:type AppIdU: str
|
43
|
-
:param _AssociateAccount: accountType 是 QQ 或微信开放账号时,用于标识 QQ 或微信用户登录后关联业务自身的账号 ID。
|
44
|
-
:type AssociateAccount: str
|
45
|
-
:param _NickName: 昵称,UTF-8 编码。
|
46
|
-
:type NickName: str
|
47
|
-
:param _PhoneNumber: 手机号:国家代码-手机号, 如0086-15912345687(0086前不需要+号)。
|
48
|
-
:type PhoneNumber: str
|
49
|
-
:param _EmailAddress: 用户邮箱地址(非系统自动生成)。
|
50
|
-
:type EmailAddress: str
|
51
|
-
:param _Address: 地址。
|
52
|
-
:type Address: str
|
53
|
-
:param _CookieHash: 用户 HTTP 请求中的 cookie 进行2次 hash 的值,只要保证相同 cookie 的 hash 值一致即可。
|
54
|
-
:type CookieHash: str
|
55
|
-
:param _RegisterSource: 注册来源:
|
56
|
-
0:其他。
|
57
|
-
1:PC 网页。
|
58
|
-
2:移动页面。
|
59
|
-
3:App。
|
60
|
-
4:微信公众号。
|
61
|
-
:type RegisterSource: str
|
62
|
-
:param _Referer: 用户 HTTP 请求的 referer 值。
|
63
|
-
:type Referer: str
|
64
|
-
:param _JumpUrl: 注册成功后跳转页面。
|
65
|
-
:type JumpUrl: str
|
66
|
-
:param _UserAgent: 用户 HTTP 请求的 userAgent。
|
67
|
-
:type UserAgent: str
|
68
|
-
:param _XForwardedFor: 用户 HTTP 请求中的 x_forward_for。
|
69
|
-
:type XForwardedFor: str
|
70
|
-
:param _MouseClickCount: 用户操作过程中鼠标单击次数。
|
71
|
-
:type MouseClickCount: str
|
72
|
-
:param _KeyboardClickCount: 用户操作过程中键盘单击次数。
|
73
|
-
:type KeyboardClickCount: str
|
74
|
-
:param _Result: 注册结果:
|
75
|
-
0:失败。
|
76
|
-
1:成功。
|
77
|
-
:type Result: str
|
78
|
-
:param _Reason: 失败原因:
|
79
|
-
0:其他。
|
80
|
-
1:参数错误。
|
81
|
-
2:帐号冲突。
|
82
|
-
3:验证错误。
|
83
|
-
:type Reason: str
|
84
|
-
:param _RegisterSpend: 登录耗时,单位:秒。
|
85
|
-
:type RegisterSpend: str
|
86
|
-
:param _MacAddress: MAC 地址或设备唯一标识。
|
87
|
-
:type MacAddress: str
|
88
|
-
:param _VendorId: 手机制造商 ID,如果手机注册,请带上此信息。
|
89
|
-
:type VendorId: str
|
90
|
-
:param _AppVersion: App 客户端版本。
|
91
|
-
:type AppVersion: str
|
92
|
-
:param _Imei: 手机设备号。
|
93
|
-
:type Imei: str
|
94
|
-
:param _BusinessId: 业务 ID 网站或应用在多个业务中使用此服务,通过此 ID 区分统计数据。
|
95
|
-
:type BusinessId: str
|
96
|
-
:param _WxSubType: 1:微信公众号。
|
97
|
-
2:微信小程序。
|
98
|
-
:type WxSubType: str
|
99
|
-
:param _RandNum: Token 签名随机数,微信小程序必填,建议16个字符。
|
100
|
-
:type RandNum: str
|
101
|
-
:param _WxToken: 如果是微信小程序,该字段为以 ssesion_key 为 key 去签名随机数 radnNum 得到的值(hmac_sha256签名算法)。
|
102
|
-
如果是微信公众号或第三方登录,则为授权的 access_token(注意:不是普通 access_token,具体看 微信官方文档)。
|
103
|
-
:type WxToken: str
|
104
|
-
"""
|
105
|
-
self._RegisterIp = None
|
106
|
-
self._Uid = None
|
107
|
-
self._RegisterTime = None
|
108
|
-
self._AccountType = None
|
109
|
-
self._AppIdU = None
|
110
|
-
self._AssociateAccount = None
|
111
|
-
self._NickName = None
|
112
|
-
self._PhoneNumber = None
|
113
|
-
self._EmailAddress = None
|
114
|
-
self._Address = None
|
115
|
-
self._CookieHash = None
|
116
|
-
self._RegisterSource = None
|
117
|
-
self._Referer = None
|
118
|
-
self._JumpUrl = None
|
119
|
-
self._UserAgent = None
|
120
|
-
self._XForwardedFor = None
|
121
|
-
self._MouseClickCount = None
|
122
|
-
self._KeyboardClickCount = None
|
123
|
-
self._Result = None
|
124
|
-
self._Reason = None
|
125
|
-
self._RegisterSpend = None
|
126
|
-
self._MacAddress = None
|
127
|
-
self._VendorId = None
|
128
|
-
self._AppVersion = None
|
129
|
-
self._Imei = None
|
130
|
-
self._BusinessId = None
|
131
|
-
self._WxSubType = None
|
132
|
-
self._RandNum = None
|
133
|
-
self._WxToken = None
|
134
|
-
|
135
|
-
@property
|
136
|
-
def RegisterIp(self):
|
137
|
-
"""注册来源的外网 IP。
|
138
|
-
:rtype: str
|
139
|
-
"""
|
140
|
-
return self._RegisterIp
|
141
|
-
|
142
|
-
@RegisterIp.setter
|
143
|
-
def RegisterIp(self, RegisterIp):
|
144
|
-
self._RegisterIp = RegisterIp
|
145
|
-
|
146
|
-
@property
|
147
|
-
def Uid(self):
|
148
|
-
"""用户 ID 不同的 accountType 对应不同的用户 ID。如果是 QQ,则填入对应的 openid,微信用户则填入对应的 openid/unionid,手机号则填入对应真实用户手机号(如13123456789)。
|
149
|
-
:rtype: str
|
150
|
-
"""
|
151
|
-
return self._Uid
|
152
|
-
|
153
|
-
@Uid.setter
|
154
|
-
def Uid(self, Uid):
|
155
|
-
self._Uid = Uid
|
156
|
-
|
157
|
-
@property
|
158
|
-
def RegisterTime(self):
|
159
|
-
"""注册时间戳,单位:秒。
|
160
|
-
:rtype: str
|
161
|
-
"""
|
162
|
-
return self._RegisterTime
|
163
|
-
|
164
|
-
@RegisterTime.setter
|
165
|
-
def RegisterTime(self, RegisterTime):
|
166
|
-
self._RegisterTime = RegisterTime
|
167
|
-
|
168
|
-
@property
|
169
|
-
def AccountType(self):
|
170
|
-
"""用户账号类型(QQ 开放帐号、微信开放账号需要 提交工单 由腾讯云进行资格审核):
|
171
|
-
1:QQ 开放帐号。
|
172
|
-
2:微信开放账号。
|
173
|
-
4:手机号。
|
174
|
-
0:其他。
|
175
|
-
10004:手机号 MD5。
|
176
|
-
:rtype: str
|
177
|
-
"""
|
178
|
-
return self._AccountType
|
179
|
-
|
180
|
-
@AccountType.setter
|
181
|
-
def AccountType(self, AccountType):
|
182
|
-
self._AccountType = AccountType
|
183
|
-
|
184
|
-
@property
|
185
|
-
def AppIdU(self):
|
186
|
-
"""accountType 是 QQ 或微信开放账号时,该参数必填,表示 QQ 或微信分配给网站或应用的 AppID,用来唯一标识网站或应用。
|
187
|
-
:rtype: str
|
188
|
-
"""
|
189
|
-
return self._AppIdU
|
190
|
-
|
191
|
-
@AppIdU.setter
|
192
|
-
def AppIdU(self, AppIdU):
|
193
|
-
self._AppIdU = AppIdU
|
194
|
-
|
195
|
-
@property
|
196
|
-
def AssociateAccount(self):
|
197
|
-
"""accountType 是 QQ 或微信开放账号时,用于标识 QQ 或微信用户登录后关联业务自身的账号 ID。
|
198
|
-
:rtype: str
|
199
|
-
"""
|
200
|
-
return self._AssociateAccount
|
201
|
-
|
202
|
-
@AssociateAccount.setter
|
203
|
-
def AssociateAccount(self, AssociateAccount):
|
204
|
-
self._AssociateAccount = AssociateAccount
|
205
|
-
|
206
|
-
@property
|
207
|
-
def NickName(self):
|
208
|
-
"""昵称,UTF-8 编码。
|
209
|
-
:rtype: str
|
210
|
-
"""
|
211
|
-
return self._NickName
|
212
|
-
|
213
|
-
@NickName.setter
|
214
|
-
def NickName(self, NickName):
|
215
|
-
self._NickName = NickName
|
216
|
-
|
217
|
-
@property
|
218
|
-
def PhoneNumber(self):
|
219
|
-
"""手机号:国家代码-手机号, 如0086-15912345687(0086前不需要+号)。
|
220
|
-
:rtype: str
|
221
|
-
"""
|
222
|
-
return self._PhoneNumber
|
223
|
-
|
224
|
-
@PhoneNumber.setter
|
225
|
-
def PhoneNumber(self, PhoneNumber):
|
226
|
-
self._PhoneNumber = PhoneNumber
|
227
|
-
|
228
|
-
@property
|
229
|
-
def EmailAddress(self):
|
230
|
-
"""用户邮箱地址(非系统自动生成)。
|
231
|
-
:rtype: str
|
232
|
-
"""
|
233
|
-
return self._EmailAddress
|
234
|
-
|
235
|
-
@EmailAddress.setter
|
236
|
-
def EmailAddress(self, EmailAddress):
|
237
|
-
self._EmailAddress = EmailAddress
|
238
|
-
|
239
|
-
@property
|
240
|
-
def Address(self):
|
241
|
-
"""地址。
|
242
|
-
:rtype: str
|
243
|
-
"""
|
244
|
-
return self._Address
|
245
|
-
|
246
|
-
@Address.setter
|
247
|
-
def Address(self, Address):
|
248
|
-
self._Address = Address
|
249
|
-
|
250
|
-
@property
|
251
|
-
def CookieHash(self):
|
252
|
-
"""用户 HTTP 请求中的 cookie 进行2次 hash 的值,只要保证相同 cookie 的 hash 值一致即可。
|
253
|
-
:rtype: str
|
254
|
-
"""
|
255
|
-
return self._CookieHash
|
256
|
-
|
257
|
-
@CookieHash.setter
|
258
|
-
def CookieHash(self, CookieHash):
|
259
|
-
self._CookieHash = CookieHash
|
260
|
-
|
261
|
-
@property
|
262
|
-
def RegisterSource(self):
|
263
|
-
"""注册来源:
|
264
|
-
0:其他。
|
265
|
-
1:PC 网页。
|
266
|
-
2:移动页面。
|
267
|
-
3:App。
|
268
|
-
4:微信公众号。
|
269
|
-
:rtype: str
|
270
|
-
"""
|
271
|
-
return self._RegisterSource
|
272
|
-
|
273
|
-
@RegisterSource.setter
|
274
|
-
def RegisterSource(self, RegisterSource):
|
275
|
-
self._RegisterSource = RegisterSource
|
276
|
-
|
277
|
-
@property
|
278
|
-
def Referer(self):
|
279
|
-
"""用户 HTTP 请求的 referer 值。
|
280
|
-
:rtype: str
|
281
|
-
"""
|
282
|
-
return self._Referer
|
283
|
-
|
284
|
-
@Referer.setter
|
285
|
-
def Referer(self, Referer):
|
286
|
-
self._Referer = Referer
|
287
|
-
|
288
|
-
@property
|
289
|
-
def JumpUrl(self):
|
290
|
-
"""注册成功后跳转页面。
|
291
|
-
:rtype: str
|
292
|
-
"""
|
293
|
-
return self._JumpUrl
|
294
|
-
|
295
|
-
@JumpUrl.setter
|
296
|
-
def JumpUrl(self, JumpUrl):
|
297
|
-
self._JumpUrl = JumpUrl
|
298
|
-
|
299
|
-
@property
|
300
|
-
def UserAgent(self):
|
301
|
-
"""用户 HTTP 请求的 userAgent。
|
302
|
-
:rtype: str
|
303
|
-
"""
|
304
|
-
return self._UserAgent
|
305
|
-
|
306
|
-
@UserAgent.setter
|
307
|
-
def UserAgent(self, UserAgent):
|
308
|
-
self._UserAgent = UserAgent
|
309
|
-
|
310
|
-
@property
|
311
|
-
def XForwardedFor(self):
|
312
|
-
"""用户 HTTP 请求中的 x_forward_for。
|
313
|
-
:rtype: str
|
314
|
-
"""
|
315
|
-
return self._XForwardedFor
|
316
|
-
|
317
|
-
@XForwardedFor.setter
|
318
|
-
def XForwardedFor(self, XForwardedFor):
|
319
|
-
self._XForwardedFor = XForwardedFor
|
320
|
-
|
321
|
-
@property
|
322
|
-
def MouseClickCount(self):
|
323
|
-
"""用户操作过程中鼠标单击次数。
|
324
|
-
:rtype: str
|
325
|
-
"""
|
326
|
-
return self._MouseClickCount
|
327
|
-
|
328
|
-
@MouseClickCount.setter
|
329
|
-
def MouseClickCount(self, MouseClickCount):
|
330
|
-
self._MouseClickCount = MouseClickCount
|
331
|
-
|
332
|
-
@property
|
333
|
-
def KeyboardClickCount(self):
|
334
|
-
"""用户操作过程中键盘单击次数。
|
335
|
-
:rtype: str
|
336
|
-
"""
|
337
|
-
return self._KeyboardClickCount
|
338
|
-
|
339
|
-
@KeyboardClickCount.setter
|
340
|
-
def KeyboardClickCount(self, KeyboardClickCount):
|
341
|
-
self._KeyboardClickCount = KeyboardClickCount
|
342
|
-
|
343
|
-
@property
|
344
|
-
def Result(self):
|
345
|
-
"""注册结果:
|
346
|
-
0:失败。
|
347
|
-
1:成功。
|
348
|
-
:rtype: str
|
349
|
-
"""
|
350
|
-
return self._Result
|
351
|
-
|
352
|
-
@Result.setter
|
353
|
-
def Result(self, Result):
|
354
|
-
self._Result = Result
|
355
|
-
|
356
|
-
@property
|
357
|
-
def Reason(self):
|
358
|
-
"""失败原因:
|
359
|
-
0:其他。
|
360
|
-
1:参数错误。
|
361
|
-
2:帐号冲突。
|
362
|
-
3:验证错误。
|
363
|
-
:rtype: str
|
364
|
-
"""
|
365
|
-
return self._Reason
|
366
|
-
|
367
|
-
@Reason.setter
|
368
|
-
def Reason(self, Reason):
|
369
|
-
self._Reason = Reason
|
370
|
-
|
371
|
-
@property
|
372
|
-
def RegisterSpend(self):
|
373
|
-
"""登录耗时,单位:秒。
|
374
|
-
:rtype: str
|
375
|
-
"""
|
376
|
-
return self._RegisterSpend
|
377
|
-
|
378
|
-
@RegisterSpend.setter
|
379
|
-
def RegisterSpend(self, RegisterSpend):
|
380
|
-
self._RegisterSpend = RegisterSpend
|
381
|
-
|
382
|
-
@property
|
383
|
-
def MacAddress(self):
|
384
|
-
"""MAC 地址或设备唯一标识。
|
385
|
-
:rtype: str
|
386
|
-
"""
|
387
|
-
return self._MacAddress
|
388
|
-
|
389
|
-
@MacAddress.setter
|
390
|
-
def MacAddress(self, MacAddress):
|
391
|
-
self._MacAddress = MacAddress
|
392
|
-
|
393
|
-
@property
|
394
|
-
def VendorId(self):
|
395
|
-
"""手机制造商 ID,如果手机注册,请带上此信息。
|
396
|
-
:rtype: str
|
397
|
-
"""
|
398
|
-
return self._VendorId
|
399
|
-
|
400
|
-
@VendorId.setter
|
401
|
-
def VendorId(self, VendorId):
|
402
|
-
self._VendorId = VendorId
|
403
|
-
|
404
|
-
@property
|
405
|
-
def AppVersion(self):
|
406
|
-
"""App 客户端版本。
|
407
|
-
:rtype: str
|
408
|
-
"""
|
409
|
-
return self._AppVersion
|
410
|
-
|
411
|
-
@AppVersion.setter
|
412
|
-
def AppVersion(self, AppVersion):
|
413
|
-
self._AppVersion = AppVersion
|
414
|
-
|
415
|
-
@property
|
416
|
-
def Imei(self):
|
417
|
-
"""手机设备号。
|
418
|
-
:rtype: str
|
419
|
-
"""
|
420
|
-
return self._Imei
|
421
|
-
|
422
|
-
@Imei.setter
|
423
|
-
def Imei(self, Imei):
|
424
|
-
self._Imei = Imei
|
425
|
-
|
426
|
-
@property
|
427
|
-
def BusinessId(self):
|
428
|
-
"""业务 ID 网站或应用在多个业务中使用此服务,通过此 ID 区分统计数据。
|
429
|
-
:rtype: str
|
430
|
-
"""
|
431
|
-
return self._BusinessId
|
432
|
-
|
433
|
-
@BusinessId.setter
|
434
|
-
def BusinessId(self, BusinessId):
|
435
|
-
self._BusinessId = BusinessId
|
436
|
-
|
437
|
-
@property
|
438
|
-
def WxSubType(self):
|
439
|
-
"""1:微信公众号。
|
440
|
-
2:微信小程序。
|
441
|
-
:rtype: str
|
442
|
-
"""
|
443
|
-
return self._WxSubType
|
444
|
-
|
445
|
-
@WxSubType.setter
|
446
|
-
def WxSubType(self, WxSubType):
|
447
|
-
self._WxSubType = WxSubType
|
448
|
-
|
449
|
-
@property
|
450
|
-
def RandNum(self):
|
451
|
-
"""Token 签名随机数,微信小程序必填,建议16个字符。
|
452
|
-
:rtype: str
|
453
|
-
"""
|
454
|
-
return self._RandNum
|
455
|
-
|
456
|
-
@RandNum.setter
|
457
|
-
def RandNum(self, RandNum):
|
458
|
-
self._RandNum = RandNum
|
459
|
-
|
460
|
-
@property
|
461
|
-
def WxToken(self):
|
462
|
-
"""如果是微信小程序,该字段为以 ssesion_key 为 key 去签名随机数 radnNum 得到的值(hmac_sha256签名算法)。
|
463
|
-
如果是微信公众号或第三方登录,则为授权的 access_token(注意:不是普通 access_token,具体看 微信官方文档)。
|
464
|
-
:rtype: str
|
465
|
-
"""
|
466
|
-
return self._WxToken
|
467
|
-
|
468
|
-
@WxToken.setter
|
469
|
-
def WxToken(self, WxToken):
|
470
|
-
self._WxToken = WxToken
|
471
|
-
|
472
|
-
|
473
|
-
def _deserialize(self, params):
|
474
|
-
self._RegisterIp = params.get("RegisterIp")
|
475
|
-
self._Uid = params.get("Uid")
|
476
|
-
self._RegisterTime = params.get("RegisterTime")
|
477
|
-
self._AccountType = params.get("AccountType")
|
478
|
-
self._AppIdU = params.get("AppIdU")
|
479
|
-
self._AssociateAccount = params.get("AssociateAccount")
|
480
|
-
self._NickName = params.get("NickName")
|
481
|
-
self._PhoneNumber = params.get("PhoneNumber")
|
482
|
-
self._EmailAddress = params.get("EmailAddress")
|
483
|
-
self._Address = params.get("Address")
|
484
|
-
self._CookieHash = params.get("CookieHash")
|
485
|
-
self._RegisterSource = params.get("RegisterSource")
|
486
|
-
self._Referer = params.get("Referer")
|
487
|
-
self._JumpUrl = params.get("JumpUrl")
|
488
|
-
self._UserAgent = params.get("UserAgent")
|
489
|
-
self._XForwardedFor = params.get("XForwardedFor")
|
490
|
-
self._MouseClickCount = params.get("MouseClickCount")
|
491
|
-
self._KeyboardClickCount = params.get("KeyboardClickCount")
|
492
|
-
self._Result = params.get("Result")
|
493
|
-
self._Reason = params.get("Reason")
|
494
|
-
self._RegisterSpend = params.get("RegisterSpend")
|
495
|
-
self._MacAddress = params.get("MacAddress")
|
496
|
-
self._VendorId = params.get("VendorId")
|
497
|
-
self._AppVersion = params.get("AppVersion")
|
498
|
-
self._Imei = params.get("Imei")
|
499
|
-
self._BusinessId = params.get("BusinessId")
|
500
|
-
self._WxSubType = params.get("WxSubType")
|
501
|
-
self._RandNum = params.get("RandNum")
|
502
|
-
self._WxToken = params.get("WxToken")
|
503
|
-
memeber_set = set(params.keys())
|
504
|
-
for name, value in vars(self).items():
|
505
|
-
property_name = name[1:]
|
506
|
-
if property_name in memeber_set:
|
507
|
-
memeber_set.remove(property_name)
|
508
|
-
if len(memeber_set) > 0:
|
509
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
class QueryRegisterProtectionResponse(AbstractModel):
|
514
|
-
"""QueryRegisterProtection返回参数结构体
|
515
|
-
|
516
|
-
"""
|
517
|
-
|
518
|
-
def __init__(self):
|
519
|
-
r"""
|
520
|
-
:param _CodeDesc: 业务侧错误码,成功时返回 Success,错误时返回具体业务错误原因。
|
521
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
522
|
-
:type CodeDesc: str
|
523
|
-
:param _AssociateAccount: accountType 是 QQ 或微信开放账号时,用于标识 QQ 或微信用户登录后关联业务自身的账号 ID。
|
524
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
525
|
-
:type AssociateAccount: str
|
526
|
-
:param _RegisterTime: 注册时间戳,单位:秒。
|
527
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
528
|
-
:type RegisterTime: str
|
529
|
-
:param _Uid: 用户 ID 不同的 accountType 对应不同的用户 ID。如果是 QQ,则填入对应的 openid,微信用户则填入对应的 openid/unionid,手机号则填入对应真实用户手机号(如13123456789)。
|
530
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
531
|
-
:type Uid: str
|
532
|
-
:param _RegisterIp: 注册来源的外网 IP。
|
533
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
534
|
-
:type RegisterIp: str
|
535
|
-
:param _Level: 0:表示无恶意。
|
536
|
-
1 - 4:恶意等级由低到高。
|
537
|
-
:type Level: int
|
538
|
-
:param _RiskType: 风险类型。
|
539
|
-
:type RiskType: list of int
|
540
|
-
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
541
|
-
:type RequestId: str
|
542
|
-
"""
|
543
|
-
self._CodeDesc = None
|
544
|
-
self._AssociateAccount = None
|
545
|
-
self._RegisterTime = None
|
546
|
-
self._Uid = None
|
547
|
-
self._RegisterIp = None
|
548
|
-
self._Level = None
|
549
|
-
self._RiskType = None
|
550
|
-
self._RequestId = None
|
551
|
-
|
552
|
-
@property
|
553
|
-
def CodeDesc(self):
|
554
|
-
"""业务侧错误码,成功时返回 Success,错误时返回具体业务错误原因。
|
555
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
556
|
-
:rtype: str
|
557
|
-
"""
|
558
|
-
return self._CodeDesc
|
559
|
-
|
560
|
-
@CodeDesc.setter
|
561
|
-
def CodeDesc(self, CodeDesc):
|
562
|
-
self._CodeDesc = CodeDesc
|
563
|
-
|
564
|
-
@property
|
565
|
-
def AssociateAccount(self):
|
566
|
-
"""accountType 是 QQ 或微信开放账号时,用于标识 QQ 或微信用户登录后关联业务自身的账号 ID。
|
567
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
568
|
-
:rtype: str
|
569
|
-
"""
|
570
|
-
return self._AssociateAccount
|
571
|
-
|
572
|
-
@AssociateAccount.setter
|
573
|
-
def AssociateAccount(self, AssociateAccount):
|
574
|
-
self._AssociateAccount = AssociateAccount
|
575
|
-
|
576
|
-
@property
|
577
|
-
def RegisterTime(self):
|
578
|
-
"""注册时间戳,单位:秒。
|
579
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
580
|
-
:rtype: str
|
581
|
-
"""
|
582
|
-
return self._RegisterTime
|
583
|
-
|
584
|
-
@RegisterTime.setter
|
585
|
-
def RegisterTime(self, RegisterTime):
|
586
|
-
self._RegisterTime = RegisterTime
|
587
|
-
|
588
|
-
@property
|
589
|
-
def Uid(self):
|
590
|
-
"""用户 ID 不同的 accountType 对应不同的用户 ID。如果是 QQ,则填入对应的 openid,微信用户则填入对应的 openid/unionid,手机号则填入对应真实用户手机号(如13123456789)。
|
591
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
592
|
-
:rtype: str
|
593
|
-
"""
|
594
|
-
return self._Uid
|
595
|
-
|
596
|
-
@Uid.setter
|
597
|
-
def Uid(self, Uid):
|
598
|
-
self._Uid = Uid
|
599
|
-
|
600
|
-
@property
|
601
|
-
def RegisterIp(self):
|
602
|
-
"""注册来源的外网 IP。
|
603
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
604
|
-
:rtype: str
|
605
|
-
"""
|
606
|
-
return self._RegisterIp
|
607
|
-
|
608
|
-
@RegisterIp.setter
|
609
|
-
def RegisterIp(self, RegisterIp):
|
610
|
-
self._RegisterIp = RegisterIp
|
611
|
-
|
612
|
-
@property
|
613
|
-
def Level(self):
|
614
|
-
"""0:表示无恶意。
|
615
|
-
1 - 4:恶意等级由低到高。
|
616
|
-
:rtype: int
|
617
|
-
"""
|
618
|
-
return self._Level
|
619
|
-
|
620
|
-
@Level.setter
|
621
|
-
def Level(self, Level):
|
622
|
-
self._Level = Level
|
623
|
-
|
624
|
-
@property
|
625
|
-
def RiskType(self):
|
626
|
-
"""风险类型。
|
627
|
-
:rtype: list of int
|
628
|
-
"""
|
629
|
-
return self._RiskType
|
630
|
-
|
631
|
-
@RiskType.setter
|
632
|
-
def RiskType(self, RiskType):
|
633
|
-
self._RiskType = RiskType
|
634
|
-
|
635
|
-
@property
|
636
|
-
def RequestId(self):
|
637
|
-
"""唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
638
|
-
:rtype: str
|
639
|
-
"""
|
640
|
-
return self._RequestId
|
641
|
-
|
642
|
-
@RequestId.setter
|
643
|
-
def RequestId(self, RequestId):
|
644
|
-
self._RequestId = RequestId
|
645
|
-
|
646
|
-
|
647
|
-
def _deserialize(self, params):
|
648
|
-
self._CodeDesc = params.get("CodeDesc")
|
649
|
-
self._AssociateAccount = params.get("AssociateAccount")
|
650
|
-
self._RegisterTime = params.get("RegisterTime")
|
651
|
-
self._Uid = params.get("Uid")
|
652
|
-
self._RegisterIp = params.get("RegisterIp")
|
653
|
-
self._Level = params.get("Level")
|
654
|
-
self._RiskType = params.get("RiskType")
|
655
|
-
self._RequestId = params.get("RequestId")
|
@@ -1,49 +0,0 @@
|
|
1
|
-
# -*- coding: utf8 -*-
|
2
|
-
# Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. 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 json
|
17
|
-
|
18
|
-
from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
|
19
|
-
from tencentcloud.common.abstract_client import AbstractClient
|
20
|
-
from tencentcloud.rp.v20200224 import models
|
21
|
-
|
22
|
-
|
23
|
-
class RpClient(AbstractClient):
|
24
|
-
_apiVersion = '2020-02-24'
|
25
|
-
_endpoint = 'rp.tencentcloudapi.com'
|
26
|
-
_service = 'rp'
|
27
|
-
|
28
|
-
|
29
|
-
def QueryRegisterProtection(self, request):
|
30
|
-
"""注册保护服务(RegisterProtection,RP)针对网站、APP 的线上注册场景,遇到 “恶意注册” 、“小号注册” 、“注册器注册” 等恶意行为,提供基于天御 DNA 算法的恶意防护引擎,从账号、设备、行为三个维度有效识别 “恶意注册”,从“源头”上防范业务风险。
|
31
|
-
|
32
|
-
:param request: Request instance for QueryRegisterProtection.
|
33
|
-
:type request: :class:`tencentcloud.rp.v20200224.models.QueryRegisterProtectionRequest`
|
34
|
-
:rtype: :class:`tencentcloud.rp.v20200224.models.QueryRegisterProtectionResponse`
|
35
|
-
|
36
|
-
"""
|
37
|
-
try:
|
38
|
-
params = request._serialize()
|
39
|
-
headers = request.headers
|
40
|
-
body = self.call("QueryRegisterProtection", params, headers=headers)
|
41
|
-
response = json.loads(body)
|
42
|
-
model = models.QueryRegisterProtectionResponse()
|
43
|
-
model._deserialize(response["Response"])
|
44
|
-
return model
|
45
|
-
except Exception as e:
|
46
|
-
if isinstance(e, TencentCloudSDKException):
|
47
|
-
raise
|
48
|
-
else:
|
49
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
{tencentcloud_sdk_python-3.0.1327.dist-info → tencentcloud_sdk_python-3.0.1329.dist-info}/LICENSE
RENAMED
File without changes
|
{tencentcloud_sdk_python-3.0.1327.dist-info → tencentcloud_sdk_python-3.0.1329.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|