tencentcloud-sdk-rce 1.0.229 → 1.0.233

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: f3f366161f55431f8e9322a5e28210db40cb1a11
4
- data.tar.gz: 33d5f8741cd300bc88501825524785753c504b59
3
+ metadata.gz: d6325fab9f17a194b108143f1daee8f6dae54789
4
+ data.tar.gz: 68e4bed56a4acf18bc8f22bb13d645523f55fc5d
5
5
  SHA512:
6
- metadata.gz: 4da9141de7fb1e28fe2ce10424a2946b90b372352bee4a10caac44351cd74fc07773f206aaa59efc23b28a33ecdbe78eba4066e59d73abfc86c4664e7324a0b7
7
- data.tar.gz: 3e1c472562d7e1ff759d7b4eb8355023349cd75bec4e545e3fe66b2555a8cd90d1999fa2d0ee4333b186dd1355f20159b3d8d84e22fec4eb508fa7fbf011e8d6
6
+ metadata.gz: 25699e55b1397383208e91d9afa9b7cabf3ff5b8e247398ba9d3c12ffae9e65f2947badfbc49f1d4169168122981f7c4b88b4fb0f8e73cb3622713f58250d97e
7
+ data.tar.gz: 0167b8b74f23b7a7de85c6620e79f423d2f1df26914deccf63becc91ed3aeadfd22b4ae532eaf4fad69f941b0b5683d026e66f1006422a90cb376ad60348a0bb
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.229
1
+ 1.0.233
@@ -29,6 +29,30 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 此接口用于查询风险评估结果
33
+
34
+ # @param request: Request instance for DescribeRiskAssessment.
35
+ # @type request: :class:`Tencentcloud::rce::V20201103::DescribeRiskAssessmentRequest`
36
+ # @rtype: :class:`Tencentcloud::rce::V20201103::DescribeRiskAssessmentResponse`
37
+ def DescribeRiskAssessment(request)
38
+ body = send_request('DescribeRiskAssessment', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = DescribeRiskAssessmentResponse.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
+
32
56
  # 依托人工智能技术和腾讯丰富的风控实战经验,根据用户提供的数据和业务场景,给客户提供定制化模型服务
33
57
 
34
58
  # @param request: Request instance for DescribeRiskModel.
@@ -53,6 +77,30 @@ module TencentCloud
53
77
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
78
  end
55
79
 
80
+ # 以图表形式展示三种请求状态的趋势变化
81
+
82
+ # @param request: Request instance for DescribeRiskTrends.
83
+ # @type request: :class:`Tencentcloud::rce::V20201103::DescribeRiskTrendsRequest`
84
+ # @rtype: :class:`Tencentcloud::rce::V20201103::DescribeRiskTrendsResponse`
85
+ def DescribeRiskTrends(request)
86
+ body = send_request('DescribeRiskTrends', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = DescribeRiskTrendsResponse.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
+
56
104
  # 全栈式风控引擎(RiskControlEngine,RCE)是基于人工智能技术和腾讯20年风控实战沉淀,依托腾讯海量业务构建的风控引擎,以轻量级的 SaaS 服务方式接入,帮助您快速解决注册、登录、营销活动等关键场景遇到的欺诈问题,实时防御黑灰产作恶。
57
105
 
58
106
  # @param request: Request instance for ManageMarketingRisk.
@@ -54,6 +54,33 @@ module TencentCloud
54
54
  end
55
55
  end
56
56
 
57
+ # DescribeRiskAssessment请求参数结构体
58
+ class DescribeRiskAssessmentRequest < TencentCloud::Common::AbstractModel
59
+
60
+
61
+ def initialize()
62
+ end
63
+
64
+ def deserialize(params)
65
+ end
66
+ end
67
+
68
+ # DescribeRiskAssessment返回参数结构体
69
+ class DescribeRiskAssessmentResponse < TencentCloud::Common::AbstractModel
70
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
71
+ # @type RequestId: String
72
+
73
+ attr_accessor :RequestId
74
+
75
+ def initialize(requestid=nil)
76
+ @RequestId = requestid
77
+ end
78
+
79
+ def deserialize(params)
80
+ @RequestId = params['RequestId']
81
+ end
82
+ end
83
+
57
84
  # DescribeRiskModel请求参数结构体
58
85
  class DescribeRiskModelRequest < TencentCloud::Common::AbstractModel
59
86
  # @param BusinessSecurityData: 业务入参
@@ -96,6 +123,48 @@ module TencentCloud
96
123
  end
97
124
  end
98
125
 
126
+ # DescribeRiskTrends请求参数结构体
127
+ class DescribeRiskTrendsRequest < TencentCloud::Common::AbstractModel
128
+ # @param BusinessSecurityData: 业务入参
129
+ # @type BusinessSecurityData: :class:`Tencentcloud::Rce.v20201103.models.InputFrontRisk`
130
+
131
+ attr_accessor :BusinessSecurityData
132
+
133
+ def initialize(businesssecuritydata=nil)
134
+ @BusinessSecurityData = businesssecuritydata
135
+ end
136
+
137
+ def deserialize(params)
138
+ unless params['BusinessSecurityData'].nil?
139
+ @BusinessSecurityData = InputFrontRisk.new
140
+ @BusinessSecurityData.deserialize(params['BusinessSecurityData'])
141
+ end
142
+ end
143
+ end
144
+
145
+ # DescribeRiskTrends返回参数结构体
146
+ class DescribeRiskTrendsResponse < TencentCloud::Common::AbstractModel
147
+ # @param Data: 业务出参
148
+ # @type Data: :class:`Tencentcloud::Rce.v20201103.models.OutputFrontRiskData`
149
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
150
+ # @type RequestId: String
151
+
152
+ attr_accessor :Data, :RequestId
153
+
154
+ def initialize(data=nil, requestid=nil)
155
+ @Data = data
156
+ @RequestId = requestid
157
+ end
158
+
159
+ def deserialize(params)
160
+ unless params['Data'].nil?
161
+ @Data = OutputFrontRiskData.new
162
+ @Data.deserialize(params['Data'])
163
+ end
164
+ @RequestId = params['RequestId']
165
+ end
166
+ end
167
+
99
168
  # 全栈式风控引擎入参
100
169
  class InputCryptoManageMarketingRisk < TencentCloud::Common::AbstractModel
101
170
  # @param IsAuthorized: 是否授权
@@ -164,6 +233,42 @@ module TencentCloud
164
233
  end
165
234
  end
166
235
 
236
+ # 风险趋势统计--入参
237
+ class InputFrontRisk < TencentCloud::Common::AbstractModel
238
+ # @param EventId: 事件ID
239
+ # @type EventId: Integer
240
+ # @param StartTime: 开始时间
241
+ # @type StartTime: String
242
+ # @param EndTime: 结束时间
243
+ # @type EndTime: String
244
+ # @param Type: 趋势类型
245
+ # @type Type: Integer
246
+ # @param CurrentStartTime: 当前开始时间
247
+ # @type CurrentStartTime: String
248
+ # @param CurrentEndTime: 当前结束时间
249
+ # @type CurrentEndTime: String
250
+
251
+ attr_accessor :EventId, :StartTime, :EndTime, :Type, :CurrentStartTime, :CurrentEndTime
252
+
253
+ def initialize(eventid=nil, starttime=nil, endtime=nil, type=nil, currentstarttime=nil, currentendtime=nil)
254
+ @EventId = eventid
255
+ @StartTime = starttime
256
+ @EndTime = endtime
257
+ @Type = type
258
+ @CurrentStartTime = currentstarttime
259
+ @CurrentEndTime = currentendtime
260
+ end
261
+
262
+ def deserialize(params)
263
+ @EventId = params['EventId']
264
+ @StartTime = params['StartTime']
265
+ @EndTime = params['EndTime']
266
+ @Type = params['Type']
267
+ @CurrentStartTime = params['CurrentStartTime']
268
+ @CurrentEndTime = params['CurrentEndTime']
269
+ end
270
+ end
271
+
167
272
  # 全栈式风控引擎入参
168
273
  class InputManageMarketingRisk < TencentCloud::Common::AbstractModel
169
274
  # @param Account: 账号信息。
@@ -435,6 +540,91 @@ module TencentCloud
435
540
  end
436
541
  end
437
542
 
543
+ # 风险趋势统计出参,需要为数组
544
+ class OutputFrontRisk < TencentCloud::Common::AbstractModel
545
+ # @param Name: 名称
546
+ # 注意:此字段可能返回 null,表示取不到有效值。
547
+ # @type Name: String
548
+ # @param Value: 参数值
549
+ # 注意:此字段可能返回 null,表示取不到有效值。
550
+ # @type Value: Array
551
+
552
+ attr_accessor :Name, :Value
553
+
554
+ def initialize(name=nil, value=nil)
555
+ @Name = name
556
+ @Value = value
557
+ end
558
+
559
+ def deserialize(params)
560
+ @Name = params['Name']
561
+ unless params['Value'].nil?
562
+ @Value = []
563
+ params['Value'].each do |i|
564
+ outputfrontriskvalue_tmp = OutputFrontRiskValue.new
565
+ outputfrontriskvalue_tmp.deserialize(i)
566
+ @Value << outputfrontriskvalue_tmp
567
+ end
568
+ end
569
+ end
570
+ end
571
+
572
+ # 风险趋势统计--出参
573
+ class OutputFrontRiskData < TencentCloud::Common::AbstractModel
574
+ # @param Code: 返回码[0:成功;非0:标识失败错误码]。
575
+ # 注意:此字段可能返回 null,表示取不到有效值。
576
+ # @type Code: Integer
577
+ # @param Message: 出错消息[UTF-8编码]。
578
+ # 注意:此字段可能返回 null,表示取不到有效值。
579
+ # @type Message: String
580
+ # @param Value: 返回结果。
581
+ # 注意:此字段可能返回 null,表示取不到有效值。
582
+ # @type Value: Array
583
+
584
+ attr_accessor :Code, :Message, :Value
585
+
586
+ def initialize(code=nil, message=nil, value=nil)
587
+ @Code = code
588
+ @Message = message
589
+ @Value = value
590
+ end
591
+
592
+ def deserialize(params)
593
+ @Code = params['Code']
594
+ @Message = params['Message']
595
+ unless params['Value'].nil?
596
+ @Value = []
597
+ params['Value'].each do |i|
598
+ outputfrontrisk_tmp = OutputFrontRisk.new
599
+ outputfrontrisk_tmp.deserialize(i)
600
+ @Value << outputfrontrisk_tmp
601
+ end
602
+ end
603
+ end
604
+ end
605
+
606
+ # 风险趋势统计--值
607
+ class OutputFrontRiskValue < TencentCloud::Common::AbstractModel
608
+ # @param Requests: 请求次数
609
+ # 注意:此字段可能返回 null,表示取不到有效值。
610
+ # @type Requests: Integer
611
+ # @param Index: 日期标签
612
+ # 注意:此字段可能返回 null,表示取不到有效值。
613
+ # @type Index: String
614
+
615
+ attr_accessor :Requests, :Index
616
+
617
+ def initialize(requests=nil, index=nil)
618
+ @Requests = requests
619
+ @Index = index
620
+ end
621
+
622
+ def deserialize(params)
623
+ @Requests = params['Requests']
624
+ @Index = params['Index']
625
+ end
626
+ end
627
+
438
628
  # 全栈式风控引擎出参
439
629
  class OutputManageMarketingRisk < TencentCloud::Common::AbstractModel
440
630
  # @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: 1.0.229
4
+ version: 1.0.233
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-22 00:00:00.000000000 Z
11
+ date: 2021-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common