tencentcloud-sdk-rce 3.0.816 → 3.0.818

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: c818e52c0976827f8ebb5a7fd48e5a3e15e18c7e
4
- data.tar.gz: 95c0bbbfa2f1ebd7cfcacb86b43bce6dec52d4bd
3
+ metadata.gz: 935bc973cb6cd8053fb120945523ddc963b53c23
4
+ data.tar.gz: eb3fac8ded72f91f001d93e9190a681d049e6a72
5
5
  SHA512:
6
- metadata.gz: 4135a040e529dae5aec7c08ad15bc99266548a71405ed01bee3b0be3488214a4cf0ff55e16e9c1f535e09a027f9efb36156c95a54b200faeffc896819fb50370
7
- data.tar.gz: 89eeca9ca19e9647ffc6e2618ea3c2901af8daa00913af9ce2600ba63220c085251972039602cc963ed050d2f07d2b1ab91711cc75d69833bd927367436978e6
6
+ metadata.gz: 3fa2d6640f4e4983178e5ee043e2ca4f562d0a0f0a814d7966653908dc6c5adf827ed6a70cee12ed4d6906b4fce9a2524b48e87ade40c42021a814854b19c270
7
+ data.tar.gz: dfd49280f30fae5035e844ed33fb5cbd41c9b8ab53f8083889c556eed7f9900beba847db45eba641ea4489ed235f5c443a33a6079a3e91a643fc9a9c71fb567a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.816
1
+ 3.0.818
@@ -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.
@@ -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.816
4
+ version: 3.0.818
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-07 00:00:00.000000000 Z
11
+ date: 2024-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
+ - lib/tencentcloud-sdk-rce.rb
36
37
  - lib/v20201103/client.rb
37
38
  - lib/v20201103/models.rb
38
- - lib/tencentcloud-sdk-rce.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: