tencentcloud-sdk-rce 3.0.876 → 3.0.877

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7200d956489c5c6a5f60960041946131c0a4680d
4
- data.tar.gz: 0ca2b97ab5d0bd505d397307e46f720e5e157e9c
3
+ metadata.gz: f72e134815e886e474ab201e12b5ef9c6af733bb
4
+ data.tar.gz: 9e0137362801857197ce61f3652f7cb7b27494ed
5
5
  SHA512:
6
- metadata.gz: d536c430e12258f8eae1c093c7c1997920441d30ed249e45e2252b1a7fbdc86cc8fb44dc7f9b276af4817922d2f0799e619372e67571cc41eba8696c5ae1183c
7
- data.tar.gz: b5639656ad1232582f7286107c3c560289b5aa7df0acdc4ae0643c869882dc4c46a277a43774eace64c833a8b4ad4b244535bddde8d9a7f0e799144eb9bd3caa
6
+ metadata.gz: 24eeb4fa1fab5863447af7038c699e79713044d99a58d0076e4bacd540a9d59542e96629391b5a7fdd4051161c21276f7f07bcce606c9694cd0db83bebfc691d
7
+ data.tar.gz: 8fdc0295267636b602d9ca7bc15c84da9ba08bf1862ee2cb31e27308e6b0dbb4d7b8ef527beb6516343cbfcc11fca949466c9cc630d782421e36aa0c1f2e6c30
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.876
1
+ 3.0.877
@@ -29,6 +29,174 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 创建黑白名单列表的数据 包含列表名称 列表名单类型id 关联场景id 数据类型id 记录状态 备注 数据来源 手动输入数据或cos文件key
33
+
34
+ # @param request: Request instance for CreateNameList.
35
+ # @type request: :class:`Tencentcloud::rce::V20201103::CreateNameListRequest`
36
+ # @rtype: :class:`Tencentcloud::rce::V20201103::CreateNameListResponse`
37
+ def CreateNameList(request)
38
+ body = send_request('CreateNameList', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = CreateNameListResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
56
+ # 修改黑白名单状态 关闭 开启 删除
57
+
58
+ # @param request: Request instance for DeleteNameList.
59
+ # @type request: :class:`Tencentcloud::rce::V20201103::DeleteNameListRequest`
60
+ # @rtype: :class:`Tencentcloud::rce::V20201103::DeleteNameListResponse`
61
+ def DeleteNameList(request)
62
+ body = send_request('DeleteNameList', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = DeleteNameListResponse.new
66
+ model.deserialize(response['Response'])
67
+ model
68
+ else
69
+ code = response['Response']['Error']['Code']
70
+ message = response['Response']['Error']['Message']
71
+ reqid = response['Response']['RequestId']
72
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
+ end
74
+ rescue TencentCloud::Common::TencentCloudSDKException => e
75
+ raise e
76
+ rescue StandardError => e
77
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
+ end
79
+
80
+ # 删除黑白名单数据
81
+
82
+ # @param request: Request instance for DeleteNameListData.
83
+ # @type request: :class:`Tencentcloud::rce::V20201103::DeleteNameListDataRequest`
84
+ # @rtype: :class:`Tencentcloud::rce::V20201103::DeleteNameListDataResponse`
85
+ def DeleteNameListData(request)
86
+ body = send_request('DeleteNameListData', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = DeleteNameListDataResponse.new
90
+ model.deserialize(response['Response'])
91
+ model
92
+ else
93
+ code = response['Response']['Error']['Code']
94
+ message = response['Response']['Error']['Message']
95
+ reqid = response['Response']['RequestId']
96
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
97
+ end
98
+ rescue TencentCloud::Common::TencentCloudSDKException => e
99
+ raise e
100
+ rescue StandardError => e
101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
+ end
103
+
104
+ # 列表展示黑白名单列表数据, 包含列表名称, 名单类型, 数据类型, 数据来源, 描述, 状态等
105
+
106
+ # @param request: Request instance for DescribeNameList.
107
+ # @type request: :class:`Tencentcloud::rce::V20201103::DescribeNameListRequest`
108
+ # @rtype: :class:`Tencentcloud::rce::V20201103::DescribeNameListResponse`
109
+ def DescribeNameList(request)
110
+ body = send_request('DescribeNameList', request.serialize)
111
+ response = JSON.parse(body)
112
+ if response['Response'].key?('Error') == false
113
+ model = DescribeNameListResponse.new
114
+ model.deserialize(response['Response'])
115
+ model
116
+ else
117
+ code = response['Response']['Error']['Code']
118
+ message = response['Response']['Error']['Message']
119
+ reqid = response['Response']['RequestId']
120
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
121
+ end
122
+ rescue TencentCloud::Common::TencentCloudSDKException => e
123
+ raise e
124
+ rescue StandardError => e
125
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
+ end
127
+
128
+ # 黑白名单详情数据展示 名单id 客户appid uin 数据内容 开始时间和结束时间 状态 描述
129
+
130
+ # @param request: Request instance for DescribeNameListDataList.
131
+ # @type request: :class:`Tencentcloud::rce::V20201103::DescribeNameListDataListRequest`
132
+ # @rtype: :class:`Tencentcloud::rce::V20201103::DescribeNameListDataListResponse`
133
+ def DescribeNameListDataList(request)
134
+ body = send_request('DescribeNameListDataList', request.serialize)
135
+ response = JSON.parse(body)
136
+ if response['Response'].key?('Error') == false
137
+ model = DescribeNameListDataListResponse.new
138
+ model.deserialize(response['Response'])
139
+ model
140
+ else
141
+ code = response['Response']['Error']['Code']
142
+ message = response['Response']['Error']['Message']
143
+ reqid = response['Response']['RequestId']
144
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
145
+ end
146
+ rescue TencentCloud::Common::TencentCloudSDKException => e
147
+ raise e
148
+ rescue StandardError => e
149
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
+ end
151
+
152
+ # 查询黑白名单列表详情
153
+
154
+ # @param request: Request instance for DescribeNameListDetail.
155
+ # @type request: :class:`Tencentcloud::rce::V20201103::DescribeNameListDetailRequest`
156
+ # @rtype: :class:`Tencentcloud::rce::V20201103::DescribeNameListDetailResponse`
157
+ def DescribeNameListDetail(request)
158
+ body = send_request('DescribeNameListDetail', request.serialize)
159
+ response = JSON.parse(body)
160
+ if response['Response'].key?('Error') == false
161
+ model = DescribeNameListDetailResponse.new
162
+ model.deserialize(response['Response'])
163
+ model
164
+ else
165
+ code = response['Response']['Error']['Code']
166
+ message = response['Response']['Error']['Message']
167
+ reqid = response['Response']['RequestId']
168
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
169
+ end
170
+ rescue TencentCloud::Common::TencentCloudSDKException => e
171
+ raise e
172
+ rescue StandardError => e
173
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
+ end
175
+
176
+ # 新增黑白名单详情数据 手动导入或批量导入
177
+
178
+ # @param request: Request instance for ImportNameListData.
179
+ # @type request: :class:`Tencentcloud::rce::V20201103::ImportNameListDataRequest`
180
+ # @rtype: :class:`Tencentcloud::rce::V20201103::ImportNameListDataResponse`
181
+ def ImportNameListData(request)
182
+ body = send_request('ImportNameListData', request.serialize)
183
+ response = JSON.parse(body)
184
+ if response['Response'].key?('Error') == false
185
+ model = ImportNameListDataResponse.new
186
+ model.deserialize(response['Response'])
187
+ model
188
+ else
189
+ code = response['Response']['Error']['Code']
190
+ message = response['Response']['Error']['Message']
191
+ reqid = response['Response']['RequestId']
192
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
193
+ end
194
+ rescue TencentCloud::Common::TencentCloudSDKException => e
195
+ raise e
196
+ rescue StandardError => e
197
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
+ end
199
+
32
200
  # 全栈式风控引擎(RiskControlEngine,RCE)是基于人工智能技术和腾讯20年风控实战沉淀,依托腾讯海量业务构建的风控引擎,以轻量级的 SaaS 服务方式接入,帮助您快速解决注册、登录、营销活动等关键场景遇到的欺诈问题,实时防御黑灰产作恶。
33
201
 
34
202
  # @param request: Request instance for ManageMarketingRisk.
@@ -53,6 +221,54 @@ module TencentCloud
53
221
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
222
  end
55
223
 
224
+ # 修改列表数据 列表名称 列表类型 数据类型 状态 备注
225
+
226
+ # @param request: Request instance for ModifyNameList.
227
+ # @type request: :class:`Tencentcloud::rce::V20201103::ModifyNameListRequest`
228
+ # @rtype: :class:`Tencentcloud::rce::V20201103::ModifyNameListResponse`
229
+ def ModifyNameList(request)
230
+ body = send_request('ModifyNameList', request.serialize)
231
+ response = JSON.parse(body)
232
+ if response['Response'].key?('Error') == false
233
+ model = ModifyNameListResponse.new
234
+ model.deserialize(response['Response'])
235
+ model
236
+ else
237
+ code = response['Response']['Error']['Code']
238
+ message = response['Response']['Error']['Message']
239
+ reqid = response['Response']['RequestId']
240
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
241
+ end
242
+ rescue TencentCloud::Common::TencentCloudSDKException => e
243
+ raise e
244
+ rescue StandardError => e
245
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
+ end
247
+
248
+ # 修改黑白名单列表详情 详情内容 开始和结束时间 状态 备注等
249
+
250
+ # @param request: Request instance for ModifyNameListData.
251
+ # @type request: :class:`Tencentcloud::rce::V20201103::ModifyNameListDataRequest`
252
+ # @rtype: :class:`Tencentcloud::rce::V20201103::ModifyNameListDataResponse`
253
+ def ModifyNameListData(request)
254
+ body = send_request('ModifyNameListData', request.serialize)
255
+ response = JSON.parse(body)
256
+ if response['Response'].key?('Error') == false
257
+ model = ModifyNameListDataResponse.new
258
+ model.deserialize(response['Response'])
259
+ model
260
+ else
261
+ code = response['Response']['Error']['Code']
262
+ message = response['Response']['Error']['Message']
263
+ reqid = response['Response']['RequestId']
264
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
265
+ end
266
+ rescue TencentCloud::Common::TencentCloudSDKException => e
267
+ raise e
268
+ rescue StandardError => e
269
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
+ end
271
+
56
272
 
57
273
  end
58
274
  end