tencentcloud-sdk-rce 3.0.815 → 3.0.817
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201103/client.rb +0 -24
- data/lib/v20201103/models.rb +0 -163
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4303d0c95e81ba9dc211f7e9ecf102b11956c9a
|
4
|
+
data.tar.gz: 2486eaddef3bc717316c65bb131cc41d59d57326
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8497d529d946e786e4df03057ca35a540731e081e95e0bb6d4235dceef07b9ac0bf7cad9dbbdbfdd805bf3f9998d28bcf96cb67d1816cc49f02ef005960e6c0
|
7
|
+
data.tar.gz: d9299615b1b902170bdcbc061105796a1703c024d1a6068b788420c11bb9d61ee532670866b867581fa48d1dc3221761f3ccb96cc946f228164fc382eba83483
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.817
|
data/lib/v20201103/client.rb
CHANGED
@@ -53,30 +53,6 @@ module TencentCloud
|
|
53
53
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
54
|
end
|
55
55
|
|
56
|
-
# 以图表形式展示三种请求状态的趋势变化
|
57
|
-
|
58
|
-
# @param request: Request instance for DescribeRiskTrends.
|
59
|
-
# @type request: :class:`Tencentcloud::rce::V20201103::DescribeRiskTrendsRequest`
|
60
|
-
# @rtype: :class:`Tencentcloud::rce::V20201103::DescribeRiskTrendsResponse`
|
61
|
-
def DescribeRiskTrends(request)
|
62
|
-
body = send_request('DescribeRiskTrends', request.serialize)
|
63
|
-
response = JSON.parse(body)
|
64
|
-
if response['Response'].key?('Error') == false
|
65
|
-
model = DescribeRiskTrendsResponse.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
56
|
# 全栈式风控引擎(RiskControlEngine,RCE)是基于人工智能技术和腾讯20年风控实战沉淀,依托腾讯海量业务构建的风控引擎,以轻量级的 SaaS 服务方式接入,帮助您快速解决注册、登录、营销活动等关键场景遇到的欺诈问题,实时防御黑灰产作恶。
|
81
57
|
|
82
58
|
# @param request: Request instance for ManageMarketingRisk.
|
data/lib/v20201103/models.rb
CHANGED
@@ -85,48 +85,6 @@ module TencentCloud
|
|
85
85
|
end
|
86
86
|
end
|
87
87
|
|
88
|
-
# DescribeRiskTrends请求参数结构体
|
89
|
-
class DescribeRiskTrendsRequest < TencentCloud::Common::AbstractModel
|
90
|
-
# @param BusinessSecurityData: 业务入参
|
91
|
-
# @type BusinessSecurityData: :class:`Tencentcloud::Rce.v20201103.models.InputFrontRisk`
|
92
|
-
|
93
|
-
attr_accessor :BusinessSecurityData
|
94
|
-
|
95
|
-
def initialize(businesssecuritydata=nil)
|
96
|
-
@BusinessSecurityData = businesssecuritydata
|
97
|
-
end
|
98
|
-
|
99
|
-
def deserialize(params)
|
100
|
-
unless params['BusinessSecurityData'].nil?
|
101
|
-
@BusinessSecurityData = InputFrontRisk.new
|
102
|
-
@BusinessSecurityData.deserialize(params['BusinessSecurityData'])
|
103
|
-
end
|
104
|
-
end
|
105
|
-
end
|
106
|
-
|
107
|
-
# DescribeRiskTrends返回参数结构体
|
108
|
-
class DescribeRiskTrendsResponse < TencentCloud::Common::AbstractModel
|
109
|
-
# @param Data: 业务出参
|
110
|
-
# @type Data: :class:`Tencentcloud::Rce.v20201103.models.OutputFrontRiskData`
|
111
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
112
|
-
# @type RequestId: String
|
113
|
-
|
114
|
-
attr_accessor :Data, :RequestId
|
115
|
-
|
116
|
-
def initialize(data=nil, requestid=nil)
|
117
|
-
@Data = data
|
118
|
-
@RequestId = requestid
|
119
|
-
end
|
120
|
-
|
121
|
-
def deserialize(params)
|
122
|
-
unless params['Data'].nil?
|
123
|
-
@Data = OutputFrontRiskData.new
|
124
|
-
@Data.deserialize(params['Data'])
|
125
|
-
end
|
126
|
-
@RequestId = params['RequestId']
|
127
|
-
end
|
128
|
-
end
|
129
|
-
|
130
88
|
# 全栈式风控引擎入参
|
131
89
|
class InputCryptoManageMarketingRisk < TencentCloud::Common::AbstractModel
|
132
90
|
# @param IsAuthorized: 是否授权:1已授权,否则未授权。
|
@@ -173,42 +131,6 @@ module TencentCloud
|
|
173
131
|
end
|
174
132
|
end
|
175
133
|
|
176
|
-
# 风险趋势统计--入参
|
177
|
-
class InputFrontRisk < TencentCloud::Common::AbstractModel
|
178
|
-
# @param EventId: 事件ID
|
179
|
-
# @type EventId: Integer
|
180
|
-
# @param StartTime: 开始时间
|
181
|
-
# @type StartTime: String
|
182
|
-
# @param EndTime: 结束时间
|
183
|
-
# @type EndTime: String
|
184
|
-
# @param Type: 趋势类型
|
185
|
-
# @type Type: Integer
|
186
|
-
# @param CurrentStartTime: 当前开始时间
|
187
|
-
# @type CurrentStartTime: String
|
188
|
-
# @param CurrentEndTime: 当前结束时间
|
189
|
-
# @type CurrentEndTime: String
|
190
|
-
|
191
|
-
attr_accessor :EventId, :StartTime, :EndTime, :Type, :CurrentStartTime, :CurrentEndTime
|
192
|
-
|
193
|
-
def initialize(eventid=nil, starttime=nil, endtime=nil, type=nil, currentstarttime=nil, currentendtime=nil)
|
194
|
-
@EventId = eventid
|
195
|
-
@StartTime = starttime
|
196
|
-
@EndTime = endtime
|
197
|
-
@Type = type
|
198
|
-
@CurrentStartTime = currentstarttime
|
199
|
-
@CurrentEndTime = currentendtime
|
200
|
-
end
|
201
|
-
|
202
|
-
def deserialize(params)
|
203
|
-
@EventId = params['EventId']
|
204
|
-
@StartTime = params['StartTime']
|
205
|
-
@EndTime = params['EndTime']
|
206
|
-
@Type = params['Type']
|
207
|
-
@CurrentStartTime = params['CurrentStartTime']
|
208
|
-
@CurrentEndTime = params['CurrentEndTime']
|
209
|
-
end
|
210
|
-
end
|
211
|
-
|
212
134
|
# 全栈式风控引擎入参
|
213
135
|
class InputManageMarketingRisk < TencentCloud::Common::AbstractModel
|
214
136
|
# @param Account: 用户账号类型;默认开通QQOpenId、手机号MD5权限;如果需要使用微信OpenId入参,则需要"提交工单"或联系对接人进行资格审核,审核通过后方可正常使用微信开放账号。
|
@@ -458,91 +380,6 @@ module TencentCloud
|
|
458
380
|
end
|
459
381
|
end
|
460
382
|
|
461
|
-
# 风险趋势统计出参,需要为数组
|
462
|
-
class OutputFrontRisk < TencentCloud::Common::AbstractModel
|
463
|
-
# @param Name: 名称
|
464
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
465
|
-
# @type Name: String
|
466
|
-
# @param Value: 参数值
|
467
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
468
|
-
# @type Value: Array
|
469
|
-
|
470
|
-
attr_accessor :Name, :Value
|
471
|
-
|
472
|
-
def initialize(name=nil, value=nil)
|
473
|
-
@Name = name
|
474
|
-
@Value = value
|
475
|
-
end
|
476
|
-
|
477
|
-
def deserialize(params)
|
478
|
-
@Name = params['Name']
|
479
|
-
unless params['Value'].nil?
|
480
|
-
@Value = []
|
481
|
-
params['Value'].each do |i|
|
482
|
-
outputfrontriskvalue_tmp = OutputFrontRiskValue.new
|
483
|
-
outputfrontriskvalue_tmp.deserialize(i)
|
484
|
-
@Value << outputfrontriskvalue_tmp
|
485
|
-
end
|
486
|
-
end
|
487
|
-
end
|
488
|
-
end
|
489
|
-
|
490
|
-
# 风险趋势统计--出参
|
491
|
-
class OutputFrontRiskData < TencentCloud::Common::AbstractModel
|
492
|
-
# @param Code: 返回码[0:成功;非0:标识失败错误码]。
|
493
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
494
|
-
# @type Code: Integer
|
495
|
-
# @param Message: 出错消息[UTF-8编码]。
|
496
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
497
|
-
# @type Message: String
|
498
|
-
# @param Value: 返回结果。
|
499
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
500
|
-
# @type Value: Array
|
501
|
-
|
502
|
-
attr_accessor :Code, :Message, :Value
|
503
|
-
|
504
|
-
def initialize(code=nil, message=nil, value=nil)
|
505
|
-
@Code = code
|
506
|
-
@Message = message
|
507
|
-
@Value = value
|
508
|
-
end
|
509
|
-
|
510
|
-
def deserialize(params)
|
511
|
-
@Code = params['Code']
|
512
|
-
@Message = params['Message']
|
513
|
-
unless params['Value'].nil?
|
514
|
-
@Value = []
|
515
|
-
params['Value'].each do |i|
|
516
|
-
outputfrontrisk_tmp = OutputFrontRisk.new
|
517
|
-
outputfrontrisk_tmp.deserialize(i)
|
518
|
-
@Value << outputfrontrisk_tmp
|
519
|
-
end
|
520
|
-
end
|
521
|
-
end
|
522
|
-
end
|
523
|
-
|
524
|
-
# 风险趋势统计--值
|
525
|
-
class OutputFrontRiskValue < TencentCloud::Common::AbstractModel
|
526
|
-
# @param Requests: 请求次数
|
527
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
528
|
-
# @type Requests: Integer
|
529
|
-
# @param Index: 日期标签
|
530
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
531
|
-
# @type Index: String
|
532
|
-
|
533
|
-
attr_accessor :Requests, :Index
|
534
|
-
|
535
|
-
def initialize(requests=nil, index=nil)
|
536
|
-
@Requests = requests
|
537
|
-
@Index = index
|
538
|
-
end
|
539
|
-
|
540
|
-
def deserialize(params)
|
541
|
-
@Requests = params['Requests']
|
542
|
-
@Index = params['Index']
|
543
|
-
end
|
544
|
-
end
|
545
|
-
|
546
383
|
# 全栈式风控引擎出参
|
547
384
|
class OutputManageMarketingRisk < TencentCloud::Common::AbstractModel
|
548
385
|
# @param Code: 错误码,0 表示成功,非0表示失败错误码。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-rce
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.817
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|