tencentcloud-sdk-aa 3.0.379 → 3.0.382

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ed96625cd53815262dfb96dc5d161cc589c5b89b
4
- data.tar.gz: 5415820f9ab01d892c8f1a50aeeb0dc4fc6617b4
3
+ metadata.gz: 802ac2e61b6ff15095b499267158b9e71726923e
4
+ data.tar.gz: 07d7cf78a126ac0bf2f631d209931ee4ce02d0b1
5
5
  SHA512:
6
- metadata.gz: af9d7b8402a6889b5e6bc93c93dec7879c24efce8f4d8539075cdaec7ad26d12288d868269bb8339f0d902ef843206006b205af8db93ebb662f3935c660617cb
7
- data.tar.gz: 612edd02156788ece04869aaf428edd0321fc8acca2b30a21e8bd8d49f1d3a4844c362c6fae596b6f4e375cb8d58bec6fddbaa9746fdfe77ed032cf47cf8f2cd
6
+ metadata.gz: 9af7bb8502bef7eaf17ef5ef5c689db7d37295a83f4a39829ee9350d018bc573c0cfbeb62d70cadb5e1b17ab8e95562b8aeca5f78dc457cea2833f5d9da04361
7
+ data.tar.gz: d0681a20e443d7dcb3b0bf0b16958e0936078e843685056ab5ff729207cf59cb84be5abf87aee1d6c63c5507fedb20309400be3caeb5df662506863433acd36b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.379
1
+ 3.0.382
@@ -29,30 +29,6 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
- # 活动防刷、注册保护、登录保护等营销产品的高级版本
33
-
34
- # @param request: Request instance for ManageMarketingRisk.
35
- # @type request: :class:`Tencentcloud::aa::V20200224::ManageMarketingRiskRequest`
36
- # @rtype: :class:`Tencentcloud::aa::V20200224::ManageMarketingRiskResponse`
37
- def ManageMarketingRisk(request)
38
- body = send_request('ManageMarketingRisk', request.serialize)
39
- response = JSON.parse(body)
40
- if response['Response'].key?('Error') == false
41
- model = ManageMarketingRiskResponse.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
  # 腾讯云活动防刷(ActivityAntiRush,AA)是针对电商、O2O、P2P、游戏、支付等行业在促销活动中遇到“羊毛党”恶意刷取优惠福利的行为时,通过防刷引擎,精准识别出“薅羊毛”恶意行为的活动防刷服务,避免了企业被刷带来的巨大经济损失。
57
33
 
58
34
  # @param request: Request instance for QueryActivityAntiRush.
@@ -77,30 +53,6 @@ module TencentCloud
77
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
54
  end
79
55
 
80
- # 活动防刷高级版,支持对网赚众包、网赚防刷、引流反诈骗场景的检测识别
81
-
82
- # @param request: Request instance for QueryActivityAntiRushAdvanced.
83
- # @type request: :class:`Tencentcloud::aa::V20200224::QueryActivityAntiRushAdvancedRequest`
84
- # @rtype: :class:`Tencentcloud::aa::V20200224::QueryActivityAntiRushAdvancedResponse`
85
- def QueryActivityAntiRushAdvanced(request)
86
- body = send_request('QueryActivityAntiRushAdvanced', request.serialize)
87
- response = JSON.parse(body)
88
- if response['Response'].key?('Error') == false
89
- model = QueryActivityAntiRushAdvancedResponse.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
56
 
105
57
  end
106
58
  end
@@ -17,635 +17,6 @@
17
17
  module TencentCloud
18
18
  module Aa
19
19
  module V20200224
20
- # 账号信息。
21
- class AccountInfo < TencentCloud::Common::AbstractModel
22
- # @param AccountType: 用户账号类型(默认开通 QQ 开放账号、手机号,手机 MD5 账号类型查询。如需使用微信开放账号,则需要 提交工单 由腾讯云进行资格审核,审核通过后方可正常使用微信开放账号):
23
- # 1:QQ开放账号。
24
- # 2:微信开放账号。
25
- # 4:手机号(暂仅支持国内手机号)。
26
- # 8:设备号(imei/imeiMD5/idfa/idfaMd5)。
27
- # 0:其他。
28
- # 10004:手机号MD5(标准中国大陆手机号11位,MD5后取32位小写值)
29
- # @type AccountType: Integer
30
- # @param QQAccount: QQ账号信息,AccountType是1时,该字段必填。
31
- # @type QQAccount: :class:`Tencentcloud::Aa.v20200224.models.QQAccountInfo`
32
- # @param WeChatAccount: 微信账号信息,AccountType是2时,该字段必填。
33
- # @type WeChatAccount: :class:`Tencentcloud::Aa.v20200224.models.WeChatAccountInfo`
34
- # @param OtherAccount: 其它账号信息,AccountType是0、4、8或10004时,该字段必填。
35
- # @type OtherAccount: :class:`Tencentcloud::Aa.v20200224.models.OtherAccountInfo`
36
-
37
- attr_accessor :AccountType, :QQAccount, :WeChatAccount, :OtherAccount
38
-
39
- def initialize(accounttype=nil, qqaccount=nil, wechataccount=nil, otheraccount=nil)
40
- @AccountType = accounttype
41
- @QQAccount = qqaccount
42
- @WeChatAccount = wechataccount
43
- @OtherAccount = otheraccount
44
- end
45
-
46
- def deserialize(params)
47
- @AccountType = params['AccountType']
48
- unless params['QQAccount'].nil?
49
- @QQAccount = QQAccountInfo.new
50
- @QQAccount.deserialize(params['QQAccount'])
51
- end
52
- unless params['WeChatAccount'].nil?
53
- @WeChatAccount = WeChatAccountInfo.new
54
- @WeChatAccount.deserialize(params['WeChatAccount'])
55
- end
56
- unless params['OtherAccount'].nil?
57
- @OtherAccount = OtherAccountInfo.new
58
- @OtherAccount.deserialize(params['OtherAccount'])
59
- end
60
- end
61
- end
62
-
63
- # 网赚防刷相关参数
64
- class CrowdAntiRushInfo < TencentCloud::Common::AbstractModel
65
- # @param SponsorOpenId: 助力场景建议填写:活动发起人微信OpenID。
66
- # @type SponsorOpenId: String
67
- # @param SponsorDeviceNumber: 助力场景建议填写:发起人设备号。
68
- # @type SponsorDeviceNumber: String
69
- # @param SponsorPhone: 助力场景建议填写:发起人手机号。
70
- # @type SponsorPhone: String
71
- # @param SponsorIp: 助力场景建议填写:发起人IP。
72
- # @type SponsorIp: String
73
- # @param CampaignUrl: 助力场景建议填写:活动链接。
74
- # @type CampaignUrl: String
75
-
76
- attr_accessor :SponsorOpenId, :SponsorDeviceNumber, :SponsorPhone, :SponsorIp, :CampaignUrl
77
-
78
- def initialize(sponsoropenid=nil, sponsordevicenumber=nil, sponsorphone=nil, sponsorip=nil, campaignurl=nil)
79
- @SponsorOpenId = sponsoropenid
80
- @SponsorDeviceNumber = sponsordevicenumber
81
- @SponsorPhone = sponsorphone
82
- @SponsorIp = sponsorip
83
- @CampaignUrl = campaignurl
84
- end
85
-
86
- def deserialize(params)
87
- @SponsorOpenId = params['SponsorOpenId']
88
- @SponsorDeviceNumber = params['SponsorDeviceNumber']
89
- @SponsorPhone = params['SponsorPhone']
90
- @SponsorIp = params['SponsorIp']
91
- @CampaignUrl = params['CampaignUrl']
92
- end
93
- end
94
-
95
- # 活动防刷高级版业务入参。
96
- class InputActivityAntiRushAdvanced < TencentCloud::Common::AbstractModel
97
- # @param Account: 账号信息。
98
- # @type Account: :class:`Tencentcloud::Aa.v20200224.models.AccountInfo`
99
- # @param UserIp: 用户IP(外网有效IP地址)。
100
- # @type UserIp: String
101
- # @param PostTime: 用户操作时间戳,单位秒(格林威治时间精确到秒,如1501590972)。
102
- # @type PostTime: Integer
103
- # @param Sponsor: 可选填写。详情请跳转至SponsorInfo查看。
104
- # @type Sponsor: :class:`Tencentcloud::Aa.v20200224.models.SponsorInfo`
105
- # @param OnlineScam: 可选填写。详情请跳转至OnlineScamInfo查看。
106
- # @type OnlineScam: :class:`Tencentcloud::Aa.v20200224.models.OnlineScamInfo`
107
- # @param BusinessId: 业务ID。网站或应用在多个业务中使用此服务,通过此ID区分统计数据。
108
- # @type BusinessId: Integer
109
- # @param Nickname: 昵称,UTF-8 编码。
110
- # @type Nickname: String
111
- # @param EmailAddress: 用户邮箱地址(非系统自动生成)。
112
- # @type EmailAddress: String
113
- # @param CheckDevice: 是否识别设备异常:
114
- # 0:不识别。
115
- # 1:识别。
116
- # @type CheckDevice: Integer
117
- # @param CookieHash: 用户HTTP请求中的Cookie进行2次hash的值,只要保证相同Cookie的hash值一致即可。
118
- # @type CookieHash: String
119
- # @param Referer: 用户HTTP请求的Referer值。
120
- # @type Referer: String
121
- # @param UserAgent: 用户HTTP请求的User-Agent值。
122
- # @type UserAgent: String
123
- # @param XForwardedFor: 用户HTTP请求的X-Forwarded-For值。
124
- # @type XForwardedFor: String
125
- # @param MacAddress: MAC地址或设备唯一标识。
126
- # @type MacAddress: String
127
- # @param VendorId: 手机制造商ID,如果手机注册,请带上此信息。
128
- # @type VendorId: String
129
-
130
- attr_accessor :Account, :UserIp, :PostTime, :Sponsor, :OnlineScam, :BusinessId, :Nickname, :EmailAddress, :CheckDevice, :CookieHash, :Referer, :UserAgent, :XForwardedFor, :MacAddress, :VendorId
131
-
132
- def initialize(account=nil, userip=nil, posttime=nil, sponsor=nil, onlinescam=nil, businessid=nil, nickname=nil, emailaddress=nil, checkdevice=nil, cookiehash=nil, referer=nil, useragent=nil, xforwardedfor=nil, macaddress=nil, vendorid=nil)
133
- @Account = account
134
- @UserIp = userip
135
- @PostTime = posttime
136
- @Sponsor = sponsor
137
- @OnlineScam = onlinescam
138
- @BusinessId = businessid
139
- @Nickname = nickname
140
- @EmailAddress = emailaddress
141
- @CheckDevice = checkdevice
142
- @CookieHash = cookiehash
143
- @Referer = referer
144
- @UserAgent = useragent
145
- @XForwardedFor = xforwardedfor
146
- @MacAddress = macaddress
147
- @VendorId = vendorid
148
- end
149
-
150
- def deserialize(params)
151
- unless params['Account'].nil?
152
- @Account = AccountInfo.new
153
- @Account.deserialize(params['Account'])
154
- end
155
- @UserIp = params['UserIp']
156
- @PostTime = params['PostTime']
157
- unless params['Sponsor'].nil?
158
- @Sponsor = SponsorInfo.new
159
- @Sponsor.deserialize(params['Sponsor'])
160
- end
161
- unless params['OnlineScam'].nil?
162
- @OnlineScam = OnlineScamInfo.new
163
- @OnlineScam.deserialize(params['OnlineScam'])
164
- end
165
- @BusinessId = params['BusinessId']
166
- @Nickname = params['Nickname']
167
- @EmailAddress = params['EmailAddress']
168
- @CheckDevice = params['CheckDevice']
169
- @CookieHash = params['CookieHash']
170
- @Referer = params['Referer']
171
- @UserAgent = params['UserAgent']
172
- @XForwardedFor = params['XForwardedFor']
173
- @MacAddress = params['MacAddress']
174
- @VendorId = params['VendorId']
175
- end
176
- end
177
-
178
- # 入参的详细参数信息
179
- class InputDetails < TencentCloud::Common::AbstractModel
180
- # @param FieldName: 字段名称
181
- # @type FieldName: String
182
- # @param FieldValue: 字段值
183
- # @type FieldValue: String
184
-
185
- attr_accessor :FieldName, :FieldValue
186
-
187
- def initialize(fieldname=nil, fieldvalue=nil)
188
- @FieldName = fieldname
189
- @FieldValue = fieldvalue
190
- end
191
-
192
- def deserialize(params)
193
- @FieldName = params['FieldName']
194
- @FieldValue = params['FieldValue']
195
- end
196
- end
197
-
198
- # 营销风控入参
199
- class InputManageMarketingRisk < TencentCloud::Common::AbstractModel
200
- # @param Account: 账号信息。
201
- # @type Account: :class:`Tencentcloud::Aa.v20200224.models.AccountInfo`
202
- # @param UserIp: 登录来源的外网IP
203
- # @type UserIp: String
204
- # @param PostTime: 用户操作时间戳,单位秒(格林威治时间精确到秒,如1501590972)。
205
- # @type PostTime: Integer
206
- # @param SceneType: 场景类型。(后续不再支持,请使用SceneCode字段)
207
- # 1:活动防刷
208
- # 2:登录保护
209
- # 3:注册保护
210
- # 4:活动防刷高级版(网赚)
211
- # @type SceneType: Integer
212
- # @param UserId: 用户唯一标识。
213
- # @type UserId: String
214
- # @param DeviceToken: 设备指纹token。
215
- # @type DeviceToken: String
216
- # @param DeviceBusinessId: 设备指纹BusinessId
217
- # @type DeviceBusinessId: Integer
218
- # @param BusinessId: 业务ID。网站或应用在多个业务中使用此服务,通过此ID区分统计数据。
219
- # @type BusinessId: Integer
220
- # @param Nickname: 昵称,UTF-8 编码。
221
- # @type Nickname: String
222
- # @param EmailAddress: 用户邮箱地址(非系统自动生成)。
223
- # @type EmailAddress: String
224
- # @param CheckDevice: 是否识别设备异常:
225
- # 0:不识别。
226
- # 1:识别。
227
- # @type CheckDevice: Integer
228
- # @param CookieHash: 用户HTTP请求中的Cookie进行2次hash的值,只要保证相同Cookie的hash值一致即可。
229
- # @type CookieHash: String
230
- # @param Referer: 用户HTTP请求的Referer值。
231
- # @type Referer: String
232
- # @param UserAgent: 用户HTTP请求的User-Agent值。
233
- # @type UserAgent: String
234
- # @param XForwardedFor: 用户HTTP请求的X-Forwarded-For值。
235
- # @type XForwardedFor: String
236
- # @param MacAddress: MAC地址或设备唯一标识。
237
- # @type MacAddress: String
238
- # @param CrowdAntiRush: 网赚防刷相关信息。SceneType为4时填写。
239
- # @type CrowdAntiRush: :class:`Tencentcloud::Aa.v20200224.models.CrowdAntiRushInfo`
240
- # @param SceneCode: 场景Code,控制台上获取
241
- # @type SceneCode: String
242
- # @param Details: 详细信息
243
- # @type Details: Array
244
- # @param DeviceType: 设备类型:
245
- # 1:Android
246
- # 2:IOS
247
- # @type DeviceType: Integer
248
-
249
- attr_accessor :Account, :UserIp, :PostTime, :SceneType, :UserId, :DeviceToken, :DeviceBusinessId, :BusinessId, :Nickname, :EmailAddress, :CheckDevice, :CookieHash, :Referer, :UserAgent, :XForwardedFor, :MacAddress, :CrowdAntiRush, :SceneCode, :Details, :DeviceType
250
-
251
- def initialize(account=nil, userip=nil, posttime=nil, scenetype=nil, userid=nil, devicetoken=nil, devicebusinessid=nil, businessid=nil, nickname=nil, emailaddress=nil, checkdevice=nil, cookiehash=nil, referer=nil, useragent=nil, xforwardedfor=nil, macaddress=nil, crowdantirush=nil, scenecode=nil, details=nil, devicetype=nil)
252
- @Account = account
253
- @UserIp = userip
254
- @PostTime = posttime
255
- @SceneType = scenetype
256
- @UserId = userid
257
- @DeviceToken = devicetoken
258
- @DeviceBusinessId = devicebusinessid
259
- @BusinessId = businessid
260
- @Nickname = nickname
261
- @EmailAddress = emailaddress
262
- @CheckDevice = checkdevice
263
- @CookieHash = cookiehash
264
- @Referer = referer
265
- @UserAgent = useragent
266
- @XForwardedFor = xforwardedfor
267
- @MacAddress = macaddress
268
- @CrowdAntiRush = crowdantirush
269
- @SceneCode = scenecode
270
- @Details = details
271
- @DeviceType = devicetype
272
- end
273
-
274
- def deserialize(params)
275
- unless params['Account'].nil?
276
- @Account = AccountInfo.new
277
- @Account.deserialize(params['Account'])
278
- end
279
- @UserIp = params['UserIp']
280
- @PostTime = params['PostTime']
281
- @SceneType = params['SceneType']
282
- @UserId = params['UserId']
283
- @DeviceToken = params['DeviceToken']
284
- @DeviceBusinessId = params['DeviceBusinessId']
285
- @BusinessId = params['BusinessId']
286
- @Nickname = params['Nickname']
287
- @EmailAddress = params['EmailAddress']
288
- @CheckDevice = params['CheckDevice']
289
- @CookieHash = params['CookieHash']
290
- @Referer = params['Referer']
291
- @UserAgent = params['UserAgent']
292
- @XForwardedFor = params['XForwardedFor']
293
- @MacAddress = params['MacAddress']
294
- unless params['CrowdAntiRush'].nil?
295
- @CrowdAntiRush = CrowdAntiRushInfo.new
296
- @CrowdAntiRush.deserialize(params['CrowdAntiRush'])
297
- end
298
- @SceneCode = params['SceneCode']
299
- unless params['Details'].nil?
300
- @Details = []
301
- params['Details'].each do |i|
302
- inputdetails_tmp = InputDetails.new
303
- inputdetails_tmp.deserialize(i)
304
- @Details << inputdetails_tmp
305
- end
306
- end
307
- @DeviceType = params['DeviceType']
308
- end
309
- end
310
-
311
- # ManageMarketingRisk请求参数结构体
312
- class ManageMarketingRiskRequest < TencentCloud::Common::AbstractModel
313
- # @param BusinessSecurityData: 业务入参
314
- # @type BusinessSecurityData: :class:`Tencentcloud::Aa.v20200224.models.InputManageMarketingRisk`
315
-
316
- attr_accessor :BusinessSecurityData
317
-
318
- def initialize(businesssecuritydata=nil)
319
- @BusinessSecurityData = businesssecuritydata
320
- end
321
-
322
- def deserialize(params)
323
- unless params['BusinessSecurityData'].nil?
324
- @BusinessSecurityData = InputManageMarketingRisk.new
325
- @BusinessSecurityData.deserialize(params['BusinessSecurityData'])
326
- end
327
- end
328
- end
329
-
330
- # ManageMarketingRisk返回参数结构体
331
- class ManageMarketingRiskResponse < TencentCloud::Common::AbstractModel
332
- # @param Data: 业务出参
333
- # 注意:此字段可能返回 null,表示取不到有效值。
334
- # @type Data: :class:`Tencentcloud::Aa.v20200224.models.OutputManageMarketingRisk`
335
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
336
- # @type RequestId: String
337
-
338
- attr_accessor :Data, :RequestId
339
-
340
- def initialize(data=nil, requestid=nil)
341
- @Data = data
342
- @RequestId = requestid
343
- end
344
-
345
- def deserialize(params)
346
- unless params['Data'].nil?
347
- @Data = OutputManageMarketingRisk.new
348
- @Data.deserialize(params['Data'])
349
- end
350
- @RequestId = params['RequestId']
351
- end
352
- end
353
-
354
- # 诈骗信息。
355
- class OnlineScamInfo < TencentCloud::Common::AbstractModel
356
- # @param ContentLabel: 内容标签。
357
- # @type ContentLabel: String
358
- # @param ContentRiskLevel: 内容风险等级:
359
- # 0:正常。
360
- # 1:可疑。
361
- # @type ContentRiskLevel: Integer
362
- # @param ContentType: 内容产生形式:
363
- # 0:对话。
364
- # 1:广播。
365
- # @type ContentType: Integer
366
- # @param FraudType: 诈骗账号类型:
367
- # 1:11位手机号。
368
- # 2:QQ账号。
369
- # @type FraudType: Integer
370
- # @param FraudAccount: 诈骗账号,手机号或QQ账号。
371
- # @type FraudAccount: String
372
-
373
- attr_accessor :ContentLabel, :ContentRiskLevel, :ContentType, :FraudType, :FraudAccount
374
-
375
- def initialize(contentlabel=nil, contentrisklevel=nil, contenttype=nil, fraudtype=nil, fraudaccount=nil)
376
- @ContentLabel = contentlabel
377
- @ContentRiskLevel = contentrisklevel
378
- @ContentType = contenttype
379
- @FraudType = fraudtype
380
- @FraudAccount = fraudaccount
381
- end
382
-
383
- def deserialize(params)
384
- @ContentLabel = params['ContentLabel']
385
- @ContentRiskLevel = params['ContentRiskLevel']
386
- @ContentType = params['ContentType']
387
- @FraudType = params['FraudType']
388
- @FraudAccount = params['FraudAccount']
389
- end
390
- end
391
-
392
- # 其它账号信息。
393
- class OtherAccountInfo < TencentCloud::Common::AbstractModel
394
- # @param AccountId: 其它账号信息:
395
- # AccountType是4时,填入真实的手机号(如13123456789)。
396
- # AccountType是8时,支持 imei、idfa、imeiMD5、idfaMD5 入参。
397
- # AccountType是0时,填入账号信息。
398
- # AccountType是10004时,填入手机号的MD5值。
399
- # 注:imeiMd5 加密方式为:imei 明文小写后,进行 MD5 加密,加密后取小写值。IdfaMd5 加密方式为:idfa 明文大写后,进行 MD5 加密,加密后取小写值。
400
- # @type AccountId: String
401
- # @param MobilePhone: 手机号,若 AccountType 是4(手机号)、或10004(手机号 MD5),则无需重复填写,否则填入对应的手机号(如13123456789)。
402
- # @type MobilePhone: String
403
- # @param DeviceId: 用户设备号。若 AccountType 是8(设备号),则无需重复填写,否则填入对应的设备号。
404
- # @type DeviceId: String
405
-
406
- attr_accessor :AccountId, :MobilePhone, :DeviceId
407
-
408
- def initialize(accountid=nil, mobilephone=nil, deviceid=nil)
409
- @AccountId = accountid
410
- @MobilePhone = mobilephone
411
- @DeviceId = deviceid
412
- end
413
-
414
- def deserialize(params)
415
- @AccountId = params['AccountId']
416
- @MobilePhone = params['MobilePhone']
417
- @DeviceId = params['DeviceId']
418
- end
419
- end
420
-
421
- # 活动防刷高级版业务出参。
422
- class OutputActivityAntiRushAdvanced < TencentCloud::Common::AbstractModel
423
- # @param Code: 返回码。0表示成功,非0标识失败错误码。
424
- # @type Code: Integer
425
- # @param Message: UTF-8编码,出错消息。
426
- # @type Message: String
427
- # @param Value: 服务调用结果。
428
- # @type Value: :class:`Tencentcloud::Aa.v20200224.models.OutputActivityAntiRushAdvancedValue`
429
-
430
- attr_accessor :Code, :Message, :Value
431
-
432
- def initialize(code=nil, message=nil, value=nil)
433
- @Code = code
434
- @Message = message
435
- @Value = value
436
- end
437
-
438
- def deserialize(params)
439
- @Code = params['Code']
440
- @Message = params['Message']
441
- unless params['Value'].nil?
442
- @Value = OutputActivityAntiRushAdvancedValue.new
443
- @Value.deserialize(params['Value'])
444
- end
445
- end
446
- end
447
-
448
- # 活动防刷高级版业务出参。
449
- class OutputActivityAntiRushAdvancedValue < TencentCloud::Common::AbstractModel
450
- # @param UserId: 账号ID。对应输入参数:
451
- # AccountType是1时,对应QQ的OpenID。
452
- # AccountType是2时,对应微信的OpenID/UnionID。
453
- # AccountType是4时,对应手机号。
454
- # AccountType是8时,对应imei、idfa、imeiMD5或者idfaMD5。
455
- # AccountType是0时,对应账号信息。
456
- # AccountType是10004时,对应手机号的MD5。
457
- # @type UserId: String
458
- # @param PostTime: 操作时间戳,单位秒(对应输入参数)。
459
- # @type PostTime: Integer
460
- # @param AssociateAccount: AccountType 是 QQ 或微信开放账号时,用于标识 QQ 或微信用户登录后关联业务自身的账号ID(对应输入参数)。
461
- # 注意:此字段可能返回 null,表示取不到有效值。
462
- # @type AssociateAccount: String
463
- # @param UserIp: 操作来源的外网IP(对应输入参数)。
464
- # @type UserIp: String
465
- # @param Level: 风险值:
466
- # 0:表示无恶意。
467
- # 1~4:恶意等级由低到高。
468
- # @type Level: Integer
469
- # @param RiskType: 风险类型,详情请参见下文RiskType详细说明。
470
- # 注意:此字段可能返回 null,表示取不到有效值。
471
- # @type RiskType: Array
472
-
473
- attr_accessor :UserId, :PostTime, :AssociateAccount, :UserIp, :Level, :RiskType
474
-
475
- def initialize(userid=nil, posttime=nil, associateaccount=nil, userip=nil, level=nil, risktype=nil)
476
- @UserId = userid
477
- @PostTime = posttime
478
- @AssociateAccount = associateaccount
479
- @UserIp = userip
480
- @Level = level
481
- @RiskType = risktype
482
- end
483
-
484
- def deserialize(params)
485
- @UserId = params['UserId']
486
- @PostTime = params['PostTime']
487
- @AssociateAccount = params['AssociateAccount']
488
- @UserIp = params['UserIp']
489
- @Level = params['Level']
490
- @RiskType = params['RiskType']
491
- end
492
- end
493
-
494
- # 影响风控出参
495
- class OutputManageMarketingRisk < TencentCloud::Common::AbstractModel
496
- # @param Code: 返回码。0表示成功,非0标识失败错误码。
497
- # 注意:此字段可能返回 null,表示取不到有效值。
498
- # @type Code: Integer
499
- # @param Message: UTF-8编码,出错消息。
500
- # 注意:此字段可能返回 null,表示取不到有效值。
501
- # @type Message: String
502
- # @param Value: 业务详情。
503
- # 注意:此字段可能返回 null,表示取不到有效值。
504
- # @type Value: :class:`Tencentcloud::Aa.v20200224.models.OutputManageMarketingRiskValue`
505
-
506
- attr_accessor :Code, :Message, :Value
507
-
508
- def initialize(code=nil, message=nil, value=nil)
509
- @Code = code
510
- @Message = message
511
- @Value = value
512
- end
513
-
514
- def deserialize(params)
515
- @Code = params['Code']
516
- @Message = params['Message']
517
- unless params['Value'].nil?
518
- @Value = OutputManageMarketingRiskValue.new
519
- @Value.deserialize(params['Value'])
520
- end
521
- end
522
- end
523
-
524
- # 营销风控出参值
525
- class OutputManageMarketingRiskValue < TencentCloud::Common::AbstractModel
526
- # @param UserId: 账号ID。对应输入参数:
527
- # AccountType是1时,对应QQ的OpenID。
528
- # AccountType是2时,对应微信的OpenID/UnionID。
529
- # AccountType是4时,对应手机号。
530
- # AccountType是8时,对应imei、idfa、imeiMD5或者idfaMD5。
531
- # AccountType是0时,对应账号信息。
532
- # AccountType是10004时,对应手机号的MD5。
533
- # 注意:此字段可能返回 null,表示取不到有效值。
534
- # @type UserId: String
535
- # @param PostTime: 操作时间戳,单位秒(对应输入参数)。
536
- # 注意:此字段可能返回 null,表示取不到有效值。
537
- # @type PostTime: Integer
538
- # @param AssociateAccount: 对应输入参数,AccountType 是 QQ 或微信开放账号时,用于标识 QQ 或微信用户登录后关联业务自身的账号ID。
539
- # 注意:此字段可能返回 null,表示取不到有效值。
540
- # @type AssociateAccount: String
541
- # @param UserIp: 操作来源的外网IP(对应输入参数)。
542
- # 注意:此字段可能返回 null,表示取不到有效值。
543
- # @type UserIp: String
544
- # @param RiskLevel: 风险值
545
- # pass : 无恶意
546
- # review:需要人工审核
547
- # reject:拒绝,高风险恶意
548
- # 注意:此字段可能返回 null,表示取不到有效值。
549
- # @type RiskLevel: String
550
- # @param RiskType: 风险类型,请参考官网风险类型
551
- # 注意:此字段可能返回 null,表示取不到有效值。
552
- # @type RiskType: Array
553
-
554
- attr_accessor :UserId, :PostTime, :AssociateAccount, :UserIp, :RiskLevel, :RiskType
555
-
556
- def initialize(userid=nil, posttime=nil, associateaccount=nil, userip=nil, risklevel=nil, risktype=nil)
557
- @UserId = userid
558
- @PostTime = posttime
559
- @AssociateAccount = associateaccount
560
- @UserIp = userip
561
- @RiskLevel = risklevel
562
- @RiskType = risktype
563
- end
564
-
565
- def deserialize(params)
566
- @UserId = params['UserId']
567
- @PostTime = params['PostTime']
568
- @AssociateAccount = params['AssociateAccount']
569
- @UserIp = params['UserIp']
570
- @RiskLevel = params['RiskLevel']
571
- @RiskType = params['RiskType']
572
- end
573
- end
574
-
575
- # QQ账号信息。
576
- class QQAccountInfo < TencentCloud::Common::AbstractModel
577
- # @param QQOpenId: QQ的OpenID。
578
- # @type QQOpenId: String
579
- # @param AppIdUser: QQ分配给网站或应用的AppId,用来唯一标识网站或应用。
580
- # @type AppIdUser: String
581
- # @param AssociateAccount: 用于标识QQ用户登录后所关联业务自身的账号ID。
582
- # @type AssociateAccount: String
583
- # @param MobilePhone: 账号绑定的手机号。
584
- # @type MobilePhone: String
585
- # @param DeviceId: 用户设备号。
586
- # @type DeviceId: String
587
-
588
- attr_accessor :QQOpenId, :AppIdUser, :AssociateAccount, :MobilePhone, :DeviceId
589
-
590
- def initialize(qqopenid=nil, appiduser=nil, associateaccount=nil, mobilephone=nil, deviceid=nil)
591
- @QQOpenId = qqopenid
592
- @AppIdUser = appiduser
593
- @AssociateAccount = associateaccount
594
- @MobilePhone = mobilephone
595
- @DeviceId = deviceid
596
- end
597
-
598
- def deserialize(params)
599
- @QQOpenId = params['QQOpenId']
600
- @AppIdUser = params['AppIdUser']
601
- @AssociateAccount = params['AssociateAccount']
602
- @MobilePhone = params['MobilePhone']
603
- @DeviceId = params['DeviceId']
604
- end
605
- end
606
-
607
- # QueryActivityAntiRushAdvanced请求参数结构体
608
- class QueryActivityAntiRushAdvancedRequest < TencentCloud::Common::AbstractModel
609
- # @param BusinessSecurityData: 业务入参
610
- # @type BusinessSecurityData: :class:`Tencentcloud::Aa.v20200224.models.InputActivityAntiRushAdvanced`
611
-
612
- attr_accessor :BusinessSecurityData
613
-
614
- def initialize(businesssecuritydata=nil)
615
- @BusinessSecurityData = businesssecuritydata
616
- end
617
-
618
- def deserialize(params)
619
- unless params['BusinessSecurityData'].nil?
620
- @BusinessSecurityData = InputActivityAntiRushAdvanced.new
621
- @BusinessSecurityData.deserialize(params['BusinessSecurityData'])
622
- end
623
- end
624
- end
625
-
626
- # QueryActivityAntiRushAdvanced返回参数结构体
627
- class QueryActivityAntiRushAdvancedResponse < TencentCloud::Common::AbstractModel
628
- # @param Data: 结果信息
629
- # @type Data: :class:`Tencentcloud::Aa.v20200224.models.OutputActivityAntiRushAdvanced`
630
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
631
- # @type RequestId: String
632
-
633
- attr_accessor :Data, :RequestId
634
-
635
- def initialize(data=nil, requestid=nil)
636
- @Data = data
637
- @RequestId = requestid
638
- end
639
-
640
- def deserialize(params)
641
- unless params['Data'].nil?
642
- @Data = OutputActivityAntiRushAdvanced.new
643
- @Data.deserialize(params['Data'])
644
- end
645
- @RequestId = params['RequestId']
646
- end
647
- end
648
-
649
20
  # QueryActivityAntiRush请求参数结构体
650
21
  class QueryActivityAntiRushRequest < TencentCloud::Common::AbstractModel
651
22
  # @param AccountType: 账号类型
@@ -872,81 +243,6 @@ module TencentCloud
872
243
  end
873
244
  end
874
245
 
875
- # 助力场景信息
876
- class SponsorInfo < TencentCloud::Common::AbstractModel
877
- # @param SponsorOpenId: 助力场景建议填写:活动发起人微信OpenID。
878
- # @type SponsorOpenId: String
879
- # @param SponsorDeviceId: 助力场景建议填写:发起人设备号。
880
- # @type SponsorDeviceId: String
881
- # @param SponsorPhone: 助力场景建议填写:发起人手机号。
882
- # @type SponsorPhone: String
883
- # @param SponsorIp: 助力场景建议填写:发起人IP。
884
- # @type SponsorIp: String
885
- # @param CampaignUrl: 助力场景建议填写:活动链接。
886
- # @type CampaignUrl: String
887
-
888
- attr_accessor :SponsorOpenId, :SponsorDeviceId, :SponsorPhone, :SponsorIp, :CampaignUrl
889
-
890
- def initialize(sponsoropenid=nil, sponsordeviceid=nil, sponsorphone=nil, sponsorip=nil, campaignurl=nil)
891
- @SponsorOpenId = sponsoropenid
892
- @SponsorDeviceId = sponsordeviceid
893
- @SponsorPhone = sponsorphone
894
- @SponsorIp = sponsorip
895
- @CampaignUrl = campaignurl
896
- end
897
-
898
- def deserialize(params)
899
- @SponsorOpenId = params['SponsorOpenId']
900
- @SponsorDeviceId = params['SponsorDeviceId']
901
- @SponsorPhone = params['SponsorPhone']
902
- @SponsorIp = params['SponsorIp']
903
- @CampaignUrl = params['CampaignUrl']
904
- end
905
- end
906
-
907
- # 微信账号信息。
908
- class WeChatAccountInfo < TencentCloud::Common::AbstractModel
909
- # @param WeChatOpenId: 微信的OpenID/UnionID 。
910
- # @type WeChatOpenId: String
911
- # @param WeChatSubType: 微信开放账号类型:
912
- # 1:微信公众号/微信第三方登录。
913
- # 2:微信小程序。
914
- # @type WeChatSubType: Integer
915
- # @param RandStr: 随机串。如果WeChatSubType是2,该字段必填。Token签名随机数,建议16个字符。
916
- # @type RandStr: String
917
- # @param WeChatAccessToken: 如果WeChatSubType是1,填入授权的access_token(注意:不是普通access_token,详情请参阅官方说明文档。获取网页版本的access_token时,scope字段必需填写snsapi_userinfo。
918
- # 如果WeChatSubType是2,填入以session_key为密钥签名随机数RandStr(hmac_sha256签名算法)得到的字符串。
919
- # @type WeChatAccessToken: String
920
- # @param AssociateAccount: 用于标识微信用户登录后所关联业务自身的账号ID。
921
- # @type AssociateAccount: String
922
- # @param MobilePhone: 账号绑定的手机号。
923
- # @type MobilePhone: String
924
- # @param DeviceId: 用户设备号。
925
- # @type DeviceId: String
926
-
927
- attr_accessor :WeChatOpenId, :WeChatSubType, :RandStr, :WeChatAccessToken, :AssociateAccount, :MobilePhone, :DeviceId
928
-
929
- def initialize(wechatopenid=nil, wechatsubtype=nil, randstr=nil, wechataccesstoken=nil, associateaccount=nil, mobilephone=nil, deviceid=nil)
930
- @WeChatOpenId = wechatopenid
931
- @WeChatSubType = wechatsubtype
932
- @RandStr = randstr
933
- @WeChatAccessToken = wechataccesstoken
934
- @AssociateAccount = associateaccount
935
- @MobilePhone = mobilephone
936
- @DeviceId = deviceid
937
- end
938
-
939
- def deserialize(params)
940
- @WeChatOpenId = params['WeChatOpenId']
941
- @WeChatSubType = params['WeChatSubType']
942
- @RandStr = params['RandStr']
943
- @WeChatAccessToken = params['WeChatAccessToken']
944
- @AssociateAccount = params['AssociateAccount']
945
- @MobilePhone = params['MobilePhone']
946
- @DeviceId = params['DeviceId']
947
- end
948
- end
949
-
950
246
  end
951
247
  end
952
248
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-aa
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.379
4
+ version: 3.0.382
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-03 00:00:00.000000000 Z
11
+ date: 2022-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common