tencentcloud-sdk-python-rce 3.1.17__tar.gz → 3.1.35__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 (23) hide show
  1. {tencentcloud_sdk_python_rce-3.1.17 → tencentcloud_sdk_python_rce-3.1.35}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_rce-3.1.17 → tencentcloud_sdk_python_rce-3.1.35}/setup.py +1 -1
  3. {tencentcloud_sdk_python_rce-3.1.17 → tencentcloud_sdk_python_rce-3.1.35}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_rce-3.1.17 → tencentcloud_sdk_python_rce-3.1.35}/tencentcloud/rce/v20201103/models.py +2 -0
  5. tencentcloud_sdk_python_rce-3.1.35/tencentcloud/rce/v20250425/models.py +301 -0
  6. {tencentcloud_sdk_python_rce-3.1.17 → tencentcloud_sdk_python_rce-3.1.35}/tencentcloud_sdk_python_rce.egg-info/PKG-INFO +2 -2
  7. tencentcloud_sdk_python_rce-3.1.35/tencentcloud_sdk_python_rce.egg-info/requires.txt +1 -0
  8. tencentcloud_sdk_python_rce-3.1.17/tencentcloud/rce/v20250425/models.py +0 -52
  9. tencentcloud_sdk_python_rce-3.1.17/tencentcloud_sdk_python_rce.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_rce-3.1.17 → tencentcloud_sdk_python_rce-3.1.35}/README.rst +0 -0
  11. {tencentcloud_sdk_python_rce-3.1.17 → tencentcloud_sdk_python_rce-3.1.35}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_rce-3.1.17 → tencentcloud_sdk_python_rce-3.1.35}/tencentcloud/rce/__init__.py +0 -0
  13. {tencentcloud_sdk_python_rce-3.1.17 → tencentcloud_sdk_python_rce-3.1.35}/tencentcloud/rce/v20201103/__init__.py +0 -0
  14. {tencentcloud_sdk_python_rce-3.1.17 → tencentcloud_sdk_python_rce-3.1.35}/tencentcloud/rce/v20201103/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_rce-3.1.17 → tencentcloud_sdk_python_rce-3.1.35}/tencentcloud/rce/v20201103/rce_client.py +0 -0
  16. {tencentcloud_sdk_python_rce-3.1.17 → tencentcloud_sdk_python_rce-3.1.35}/tencentcloud/rce/v20201103/rce_client_async.py +0 -0
  17. {tencentcloud_sdk_python_rce-3.1.17 → tencentcloud_sdk_python_rce-3.1.35}/tencentcloud/rce/v20250425/__init__.py +0 -0
  18. {tencentcloud_sdk_python_rce-3.1.17 → tencentcloud_sdk_python_rce-3.1.35}/tencentcloud/rce/v20250425/errorcodes.py +0 -0
  19. {tencentcloud_sdk_python_rce-3.1.17 → tencentcloud_sdk_python_rce-3.1.35}/tencentcloud/rce/v20250425/rce_client.py +0 -0
  20. {tencentcloud_sdk_python_rce-3.1.17 → tencentcloud_sdk_python_rce-3.1.35}/tencentcloud/rce/v20250425/rce_client_async.py +0 -0
  21. {tencentcloud_sdk_python_rce-3.1.17 → tencentcloud_sdk_python_rce-3.1.35}/tencentcloud_sdk_python_rce.egg-info/SOURCES.txt +0 -0
  22. {tencentcloud_sdk_python_rce-3.1.17 → tencentcloud_sdk_python_rce-3.1.35}/tencentcloud_sdk_python_rce.egg-info/dependency_links.txt +0 -0
  23. {tencentcloud_sdk_python_rce-3.1.17 → tencentcloud_sdk_python_rce-3.1.35}/tencentcloud_sdk_python_rce.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-rce
3
- Version: 3.1.17
3
+ Version: 3.1.35
4
4
  Summary: Tencent Cloud Rce 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.17
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.35
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-rce',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.17,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.35,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Rce SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.17'
17
+ __version__ = '3.1.35'
@@ -1647,6 +1647,7 @@ class InputManageMarketingRisk(AbstractModel):
1647
1647
  4:小程序
1648
1648
  :type Platform: str
1649
1649
  :param _DataAuthorization: 数据授权信息。
1650
+ 注意:新接入通用业务欺诈保护(RCE)服务的客户该字段【必传】。
1650
1651
  :type DataAuthorization: :class:`tencentcloud.rce.v20201103.models.DataAuthorizationInfo`
1651
1652
  """
1652
1653
  self._Account = None
@@ -1931,6 +1932,7 @@ class InputManageMarketingRisk(AbstractModel):
1931
1932
  @property
1932
1933
  def DataAuthorization(self):
1933
1934
  r"""数据授权信息。
1935
+ 注意:新接入通用业务欺诈保护(RCE)服务的客户该字段【必传】。
1934
1936
  :rtype: :class:`tencentcloud.rce.v20201103.models.DataAuthorizationInfo`
1935
1937
  """
1936
1938
  return self._DataAuthorization
@@ -0,0 +1,301 @@
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 ManageIPPortraitRiskInput(AbstractModel):
22
+ r"""业务入参
23
+
24
+ """
25
+
26
+ def __init__(self):
27
+ r"""
28
+ :param _UserIp: 用户公网ip(仅支持IPv4)
29
+ :type UserIp: str
30
+ :param _Channel: 渠道号
31
+ :type Channel: int
32
+ """
33
+ self._UserIp = None
34
+ self._Channel = None
35
+
36
+ @property
37
+ def UserIp(self):
38
+ r"""用户公网ip(仅支持IPv4)
39
+ :rtype: str
40
+ """
41
+ return self._UserIp
42
+
43
+ @UserIp.setter
44
+ def UserIp(self, UserIp):
45
+ self._UserIp = UserIp
46
+
47
+ @property
48
+ def Channel(self):
49
+ r"""渠道号
50
+ :rtype: int
51
+ """
52
+ return self._Channel
53
+
54
+ @Channel.setter
55
+ def Channel(self, Channel):
56
+ self._Channel = Channel
57
+
58
+
59
+ def _deserialize(self, params):
60
+ self._UserIp = params.get("UserIp")
61
+ self._Channel = params.get("Channel")
62
+ memeber_set = set(params.keys())
63
+ for name, value in vars(self).items():
64
+ property_name = name[1:]
65
+ if property_name in memeber_set:
66
+ memeber_set.remove(property_name)
67
+ if len(memeber_set) > 0:
68
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
69
+
70
+
71
+
72
+ class ManageIPPortraitRiskOutput(AbstractModel):
73
+ r"""IP画像出参
74
+
75
+ """
76
+
77
+ def __init__(self):
78
+ r"""
79
+ :param _Code: 返回码
80
+ :type Code: int
81
+ :param _Message: 返回消息
82
+ :type Message: str
83
+ :param _Value: 结果
84
+ :type Value: :class:`tencentcloud.rce.v20250425.models.ManageIPPortraitRiskValueOutput`
85
+ """
86
+ self._Code = None
87
+ self._Message = None
88
+ self._Value = None
89
+
90
+ @property
91
+ def Code(self):
92
+ r"""返回码
93
+ :rtype: int
94
+ """
95
+ return self._Code
96
+
97
+ @Code.setter
98
+ def Code(self, Code):
99
+ self._Code = Code
100
+
101
+ @property
102
+ def Message(self):
103
+ r"""返回消息
104
+ :rtype: str
105
+ """
106
+ return self._Message
107
+
108
+ @Message.setter
109
+ def Message(self, Message):
110
+ self._Message = Message
111
+
112
+ @property
113
+ def Value(self):
114
+ r"""结果
115
+ :rtype: :class:`tencentcloud.rce.v20250425.models.ManageIPPortraitRiskValueOutput`
116
+ """
117
+ return self._Value
118
+
119
+ @Value.setter
120
+ def Value(self, Value):
121
+ self._Value = Value
122
+
123
+
124
+ def _deserialize(self, params):
125
+ self._Code = params.get("Code")
126
+ self._Message = params.get("Message")
127
+ if params.get("Value") is not None:
128
+ self._Value = ManageIPPortraitRiskValueOutput()
129
+ self._Value._deserialize(params.get("Value"))
130
+ memeber_set = set(params.keys())
131
+ for name, value in vars(self).items():
132
+ property_name = name[1:]
133
+ if property_name in memeber_set:
134
+ memeber_set.remove(property_name)
135
+ if len(memeber_set) > 0:
136
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
137
+
138
+
139
+
140
+ class ManageIPPortraitRiskRequest(AbstractModel):
141
+ r"""ManageIPPortraitRisk请求参数结构体
142
+
143
+ """
144
+
145
+ def __init__(self):
146
+ r"""
147
+ :param _PostTime: 请求秒级时间戳
148
+ :type PostTime: int
149
+ :param _BusinessSecurityData: 业务入参
150
+ :type BusinessSecurityData: :class:`tencentcloud.rce.v20250425.models.ManageIPPortraitRiskInput`
151
+ """
152
+ self._PostTime = None
153
+ self._BusinessSecurityData = None
154
+
155
+ @property
156
+ def PostTime(self):
157
+ r"""请求秒级时间戳
158
+ :rtype: int
159
+ """
160
+ return self._PostTime
161
+
162
+ @PostTime.setter
163
+ def PostTime(self, PostTime):
164
+ self._PostTime = PostTime
165
+
166
+ @property
167
+ def BusinessSecurityData(self):
168
+ r"""业务入参
169
+ :rtype: :class:`tencentcloud.rce.v20250425.models.ManageIPPortraitRiskInput`
170
+ """
171
+ return self._BusinessSecurityData
172
+
173
+ @BusinessSecurityData.setter
174
+ def BusinessSecurityData(self, BusinessSecurityData):
175
+ self._BusinessSecurityData = BusinessSecurityData
176
+
177
+
178
+ def _deserialize(self, params):
179
+ self._PostTime = params.get("PostTime")
180
+ if params.get("BusinessSecurityData") is not None:
181
+ self._BusinessSecurityData = ManageIPPortraitRiskInput()
182
+ self._BusinessSecurityData._deserialize(params.get("BusinessSecurityData"))
183
+ memeber_set = set(params.keys())
184
+ for name, value in vars(self).items():
185
+ property_name = name[1:]
186
+ if property_name in memeber_set:
187
+ memeber_set.remove(property_name)
188
+ if len(memeber_set) > 0:
189
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
190
+
191
+
192
+
193
+ class ManageIPPortraitRiskResponse(AbstractModel):
194
+ r"""ManageIPPortraitRisk返回参数结构体
195
+
196
+ """
197
+
198
+ def __init__(self):
199
+ r"""
200
+ :param _Data: 出参
201
+ :type Data: :class:`tencentcloud.rce.v20250425.models.ManageIPPortraitRiskOutput`
202
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
203
+ :type RequestId: str
204
+ """
205
+ self._Data = None
206
+ self._RequestId = None
207
+
208
+ @property
209
+ def Data(self):
210
+ r"""出参
211
+ :rtype: :class:`tencentcloud.rce.v20250425.models.ManageIPPortraitRiskOutput`
212
+ """
213
+ return self._Data
214
+
215
+ @Data.setter
216
+ def Data(self, Data):
217
+ self._Data = Data
218
+
219
+ @property
220
+ def RequestId(self):
221
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
222
+ :rtype: str
223
+ """
224
+ return self._RequestId
225
+
226
+ @RequestId.setter
227
+ def RequestId(self, RequestId):
228
+ self._RequestId = RequestId
229
+
230
+
231
+ def _deserialize(self, params):
232
+ if params.get("Data") is not None:
233
+ self._Data = ManageIPPortraitRiskOutput()
234
+ self._Data._deserialize(params.get("Data"))
235
+ self._RequestId = params.get("RequestId")
236
+
237
+
238
+ class ManageIPPortraitRiskValueOutput(AbstractModel):
239
+ r"""业务出参
240
+
241
+ """
242
+
243
+ def __init__(self):
244
+ r"""
245
+ :param _UserIp: 对应的IP
246
+ :type UserIp: str
247
+ :param _RiskScore: 返回风险等级, 0 - 4,0代表无风险,数值越大,风险越高
248
+ :type RiskScore: int
249
+ :param _RiskType: 风险类型
250
+ :type RiskType: list of int
251
+ """
252
+ self._UserIp = None
253
+ self._RiskScore = None
254
+ self._RiskType = None
255
+
256
+ @property
257
+ def UserIp(self):
258
+ r"""对应的IP
259
+ :rtype: str
260
+ """
261
+ return self._UserIp
262
+
263
+ @UserIp.setter
264
+ def UserIp(self, UserIp):
265
+ self._UserIp = UserIp
266
+
267
+ @property
268
+ def RiskScore(self):
269
+ r"""返回风险等级, 0 - 4,0代表无风险,数值越大,风险越高
270
+ :rtype: int
271
+ """
272
+ return self._RiskScore
273
+
274
+ @RiskScore.setter
275
+ def RiskScore(self, RiskScore):
276
+ self._RiskScore = RiskScore
277
+
278
+ @property
279
+ def RiskType(self):
280
+ r"""风险类型
281
+ :rtype: list of int
282
+ """
283
+ return self._RiskType
284
+
285
+ @RiskType.setter
286
+ def RiskType(self, RiskType):
287
+ self._RiskType = RiskType
288
+
289
+
290
+ def _deserialize(self, params):
291
+ self._UserIp = params.get("UserIp")
292
+ self._RiskScore = params.get("RiskScore")
293
+ self._RiskType = params.get("RiskType")
294
+ memeber_set = set(params.keys())
295
+ for name, value in vars(self).items():
296
+ property_name = name[1:]
297
+ if property_name in memeber_set:
298
+ memeber_set.remove(property_name)
299
+ if len(memeber_set) > 0:
300
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
301
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-rce
3
- Version: 3.1.17
3
+ Version: 3.1.35
4
4
  Summary: Tencent Cloud Rce 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.17
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.35
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.35
@@ -1,52 +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 ManageIPPortraitRiskRequest(AbstractModel):
22
- r"""ManageIPPortraitRisk请求参数结构体
23
-
24
- """
25
-
26
-
27
- class ManageIPPortraitRiskResponse(AbstractModel):
28
- r"""ManageIPPortraitRisk返回参数结构体
29
-
30
- """
31
-
32
- def __init__(self):
33
- r"""
34
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
35
- :type RequestId: str
36
- """
37
- self._RequestId = None
38
-
39
- @property
40
- def RequestId(self):
41
- r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
42
- :rtype: str
43
- """
44
- return self._RequestId
45
-
46
- @RequestId.setter
47
- def RequestId(self, RequestId):
48
- self._RequestId = RequestId
49
-
50
-
51
- def _deserialize(self, params):
52
- self._RequestId = params.get("RequestId")
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.17