tencentcloud-sdk-taf 3.0.390 → 3.0.392

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: 8f53bae5dc8de396d05f468d4f010a747b0bc19b
4
- data.tar.gz: e8f50b0f1fc1ff39a5fb5336f7b654ceb8f76234
3
+ metadata.gz: 1e1553476421e998cb057b01604eff9014292946
4
+ data.tar.gz: a4cfaa1f0221dd95546edc4b661f5812e89b35a9
5
5
  SHA512:
6
- metadata.gz: d2b8e1b39421c55fe28ca58bdd56810feb2c83d54523d30e497533cc736b3d761e13018e8279ea50e7f7e7d1ab4641ac5810ca43bf946bb4a53601878cd6ce36
7
- data.tar.gz: 5537518f17e1ee19b509ad089e9157027c64b0c5bc834f4bfb65586263f1f9277ca33360bdfc45aaa2bdfb1f3b84e370a4fc3ad000d22561cbc46cbc62a5a6bf
6
+ metadata.gz: 5980f7d66ca0360c9a52d357f3140466e67d8eccb774dc4ecd1627a32b1254b230a4e3c66d25f4800975d39ead7a7def544d999ea7cc532abfd1207106643d1d
7
+ data.tar.gz: 754a6b48d453c44c8edf4a25a4e39c0e42bd25ede7806a3810bc725a3f644640e36e20998126c2dca729bd67362c0337872c68cce79bbf7f3ceb10ca4f897ec2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.390
1
+ 3.0.392
@@ -29,30 +29,6 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
- # 流量反欺诈-KOL欺诈识别
33
-
34
- # @param request: Request instance for DetectFraudKOL.
35
- # @type request: :class:`Tencentcloud::taf::V20200210::DetectFraudKOLRequest`
36
- # @rtype: :class:`Tencentcloud::taf::V20200210::DetectFraudKOLResponse`
37
- def DetectFraudKOL(request)
38
- body = send_request('DetectFraudKOL', request.serialize)
39
- response = JSON.parse(body)
40
- if response['Response'].key?('Error') == false
41
- model = DetectFraudKOLResponse.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
32
  # 流量反欺诈-流量验准定制版
57
33
 
58
34
  # @param request: Request instance for RecognizeCustomizedAudience.
@@ -17,56 +17,6 @@
17
17
  module TencentCloud
18
18
  module Taf
19
19
  module V20200210
20
- # DetectFraudKOL请求参数结构体
21
- class DetectFraudKOLRequest < TencentCloud::Common::AbstractModel
22
- # @param BspData: 业务数据
23
- # @type BspData: :class:`Tencentcloud::Taf.v20200210.models.InputKolBspData`
24
- # @param BusinessEncryptData: 业务加密数据
25
- # @type BusinessEncryptData: :class:`Tencentcloud::Taf.v20200210.models.InputBusinessEncryptData`
26
-
27
- attr_accessor :BspData, :BusinessEncryptData
28
-
29
- def initialize(bspdata=nil, businessencryptdata=nil)
30
- @BspData = bspdata
31
- @BusinessEncryptData = businessencryptdata
32
- end
33
-
34
- def deserialize(params)
35
- unless params['BspData'].nil?
36
- @BspData = InputKolBspData.new
37
- @BspData.deserialize(params['BspData'])
38
- end
39
- unless params['BusinessEncryptData'].nil?
40
- @BusinessEncryptData = InputBusinessEncryptData.new
41
- @BusinessEncryptData.deserialize(params['BusinessEncryptData'])
42
- end
43
- end
44
- end
45
-
46
- # DetectFraudKOL返回参数结构体
47
- class DetectFraudKOLResponse < TencentCloud::Common::AbstractModel
48
- # @param Data: 回包数据
49
- # 注意:此字段可能返回 null,表示取不到有效值。
50
- # @type Data: :class:`Tencentcloud::Taf.v20200210.models.OutputKolData`
51
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
52
- # @type RequestId: String
53
-
54
- attr_accessor :Data, :RequestId
55
-
56
- def initialize(data=nil, requestid=nil)
57
- @Data = data
58
- @RequestId = requestid
59
- end
60
-
61
- def deserialize(params)
62
- unless params['Data'].nil?
63
- @Data = OutputKolData.new
64
- @Data.deserialize(params['Data'])
65
- end
66
- @RequestId = params['RequestId']
67
- end
68
- end
69
-
70
20
  # 业务入参
71
21
  class Device < TencentCloud::Common::AbstractModel
72
22
  # @param DeviceId: 业务入参id
@@ -98,65 +48,6 @@ module TencentCloud
98
48
  end
99
49
  end
100
50
 
101
- # CheckKol
102
- class InputKolBspData < TencentCloud::Common::AbstractModel
103
- # @param DataList: BspData
104
- # @type DataList: Array
105
-
106
- attr_accessor :DataList
107
-
108
- def initialize(datalist=nil)
109
- @DataList = datalist
110
- end
111
-
112
- def deserialize(params)
113
- unless params['DataList'].nil?
114
- @DataList = []
115
- params['DataList'].each do |i|
116
- inputkoldatalist_tmp = InputKolDataList.new
117
- inputkoldatalist_tmp.deserialize(i)
118
- @DataList << inputkoldatalist_tmp
119
- end
120
- end
121
- end
122
- end
123
-
124
- # CheckKOL
125
- class InputKolDataList < TencentCloud::Common::AbstractModel
126
- # @param Type: 账号类型[1:微信;2:qq;3:微博]
127
- # @type Type: Integer
128
- # @param Id: KOL账号ID[比如微信公众号ID]
129
- # @type Id: String
130
- # @param Name: KOL名称
131
- # @type Name: String
132
- # @param Phone: 手机号
133
- # @type Phone: String
134
- # @param AgentInfo: 代理商名称
135
- # @type AgentInfo: String
136
- # @param IsAuthorized: 是否授权
137
- # @type IsAuthorized: Integer
138
-
139
- attr_accessor :Type, :Id, :Name, :Phone, :AgentInfo, :IsAuthorized
140
-
141
- def initialize(type=nil, id=nil, name=nil, phone=nil, agentinfo=nil, isauthorized=nil)
142
- @Type = type
143
- @Id = id
144
- @Name = name
145
- @Phone = phone
146
- @AgentInfo = agentinfo
147
- @IsAuthorized = isauthorized
148
- end
149
-
150
- def deserialize(params)
151
- @Type = params['Type']
152
- @Id = params['Id']
153
- @Name = params['Name']
154
- @Phone = params['Phone']
155
- @AgentInfo = params['AgentInfo']
156
- @IsAuthorized = params['IsAuthorized']
157
- end
158
- end
159
-
160
51
  # 流量反欺诈-验准入参
161
52
  class InputRecognizeTargetAudience < TencentCloud::Common::AbstractModel
162
53
  # @param ModelIdList: 模型ID列表
@@ -376,72 +267,6 @@ module TencentCloud
376
267
  end
377
268
  end
378
269
 
379
- # CheckKol
380
- class OutputKolData < TencentCloud::Common::AbstractModel
381
- # @param Code: 错误码[0:成功;非0:失败的错误码]
382
- # 注意:此字段可能返回 null,表示取不到有效值。
383
- # @type Code: Integer
384
- # @param Message: 错误信息
385
- # 注意:此字段可能返回 null,表示取不到有效值。
386
- # @type Message: String
387
- # @param Value: 业务返回数据
388
- # 注意:此字段可能返回 null,表示取不到有效值。
389
- # @type Value: Array
390
-
391
- attr_accessor :Code, :Message, :Value
392
-
393
- def initialize(code=nil, message=nil, value=nil)
394
- @Code = code
395
- @Message = message
396
- @Value = value
397
- end
398
-
399
- def deserialize(params)
400
- @Code = params['Code']
401
- @Message = params['Message']
402
- unless params['Value'].nil?
403
- @Value = []
404
- params['Value'].each do |i|
405
- outputkolvalue_tmp = OutputKolValue.new
406
- outputkolvalue_tmp.deserialize(i)
407
- @Value << outputkolvalue_tmp
408
- end
409
- end
410
- end
411
- end
412
-
413
- # CheckKol
414
- class OutputKolValue < TencentCloud::Common::AbstractModel
415
- # @param Id: KOL账号ID[比如微信公众号ID]
416
- # 注意:此字段可能返回 null,表示取不到有效值。
417
- # @type Id: String
418
- # @param IsCheck: 是否查得[0:未查得;1:查得]
419
- # 注意:此字段可能返回 null,表示取不到有效值。
420
- # @type IsCheck: Integer
421
- # @param FraudPScore: 作弊的可能性[0~100]
422
- # 注意:此字段可能返回 null,表示取不到有效值。
423
- # @type FraudPScore: Integer
424
- # @param EvilPScore: 作弊的严重性[0~100]
425
- # 注意:此字段可能返回 null,表示取不到有效值。
426
- # @type EvilPScore: Integer
427
-
428
- attr_accessor :Id, :IsCheck, :FraudPScore, :EvilPScore
429
-
430
- def initialize(id=nil, ischeck=nil, fraudpscore=nil, evilpscore=nil)
431
- @Id = id
432
- @IsCheck = ischeck
433
- @FraudPScore = fraudpscore
434
- @EvilPScore = evilpscore
435
- end
436
-
437
- def deserialize(params)
438
- @Id = params['Id']
439
- @IsCheck = params['IsCheck']
440
- @FraudPScore = params['FraudPScore']
441
- @EvilPScore = params['EvilPScore']
442
- end
443
- end
444
-
445
270
  # 流量反欺诈-验准返回值
446
271
  class OutputRecognizeTargetAudience < TencentCloud::Common::AbstractModel
447
272
  # @param Code: 返回码(0,成功,其他失败)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-taf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.390
4
+ version: 3.0.392
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-18 00:00:00.000000000 Z
11
+ date: 2022-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common