tencentcloud-sdk-taf 1.0.344 → 1.0.345
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/v20200210/client.rb +0 -24
- data/lib/v20200210/models.rb +0 -217
- 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: 328b87d4137c12c69baf634f54e72f35a07c8e2c
|
4
|
+
data.tar.gz: 51ef7cb7eb935dd58f96515e3d735b3c65f37b71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 540d1bc9230d44e4030254c2ea1d5fbe533d9c84faedaed938c266e9dde81581004e1c8a457b08b0062193376529a98d424e970a6280077d87c43bd0ed3bd24b
|
7
|
+
data.tar.gz: 754547c6392cc5a0c558a247626c7caa658180b924a6868385cccb610671137cbae1637aca470f33936c3647131a35dbb17174a1fbf87d521c8af64bcdca1569
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.345
|
data/lib/v20200210/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
|
-
# 流量反欺诈-虚假TA识别
|
57
|
-
|
58
|
-
# @param request: Request instance for EnhanceTaDegree.
|
59
|
-
# @type request: :class:`Tencentcloud::taf::V20200210::EnhanceTaDegreeRequest`
|
60
|
-
# @rtype: :class:`Tencentcloud::taf::V20200210::EnhanceTaDegreeResponse`
|
61
|
-
def EnhanceTaDegree(request)
|
62
|
-
body = send_request('EnhanceTaDegree', request.serialize)
|
63
|
-
response = JSON.parse(body)
|
64
|
-
if response['Response'].key?('Error') == false
|
65
|
-
model = EnhanceTaDegreeResponse.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
|
# 流量反欺诈-流量验准定制版
|
81
57
|
|
82
58
|
# @param request: Request instance for RecognizeCustomizedAudience.
|
data/lib/v20200210/models.rb
CHANGED
@@ -87,56 +87,6 @@ module TencentCloud
|
|
87
87
|
end
|
88
88
|
end
|
89
89
|
|
90
|
-
# EnhanceTaDegree请求参数结构体
|
91
|
-
class EnhanceTaDegreeRequest < TencentCloud::Common::AbstractModel
|
92
|
-
# @param BspData: 业务数据
|
93
|
-
# @type BspData: :class:`Tencentcloud::Taf.v20200210.models.InputTaBspData`
|
94
|
-
# @param BusinessEncryptData: 业务加密数据
|
95
|
-
# @type BusinessEncryptData: :class:`Tencentcloud::Taf.v20200210.models.InputBusinessEncryptData`
|
96
|
-
|
97
|
-
attr_accessor :BspData, :BusinessEncryptData
|
98
|
-
|
99
|
-
def initialize(bspdata=nil, businessencryptdata=nil)
|
100
|
-
@BspData = bspdata
|
101
|
-
@BusinessEncryptData = businessencryptdata
|
102
|
-
end
|
103
|
-
|
104
|
-
def deserialize(params)
|
105
|
-
unless params['BspData'].nil?
|
106
|
-
@BspData = InputTaBspData.new
|
107
|
-
@BspData.deserialize(params['BspData'])
|
108
|
-
end
|
109
|
-
unless params['BusinessEncryptData'].nil?
|
110
|
-
@BusinessEncryptData = InputBusinessEncryptData.new
|
111
|
-
@BusinessEncryptData.deserialize(params['BusinessEncryptData'])
|
112
|
-
end
|
113
|
-
end
|
114
|
-
end
|
115
|
-
|
116
|
-
# EnhanceTaDegree返回参数结构体
|
117
|
-
class EnhanceTaDegreeResponse < TencentCloud::Common::AbstractModel
|
118
|
-
# @param Data: 回包数据
|
119
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
120
|
-
# @type Data: :class:`Tencentcloud::Taf.v20200210.models.OutputTaData`
|
121
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
122
|
-
# @type RequestId: String
|
123
|
-
|
124
|
-
attr_accessor :Data, :RequestId
|
125
|
-
|
126
|
-
def initialize(data=nil, requestid=nil)
|
127
|
-
@Data = data
|
128
|
-
@RequestId = requestid
|
129
|
-
end
|
130
|
-
|
131
|
-
def deserialize(params)
|
132
|
-
unless params['Data'].nil?
|
133
|
-
@Data = OutputTaData.new
|
134
|
-
@Data.deserialize(params['Data'])
|
135
|
-
end
|
136
|
-
@RequestId = params['RequestId']
|
137
|
-
end
|
138
|
-
end
|
139
|
-
|
140
90
|
# 业务入参
|
141
91
|
class InputBusinessEncryptData < TencentCloud::Common::AbstractModel
|
142
92
|
|
@@ -437,122 +387,6 @@ module TencentCloud
|
|
437
387
|
end
|
438
388
|
end
|
439
389
|
|
440
|
-
# 流量反欺诈-虚假TA识别
|
441
|
-
class InputTaBspData < TencentCloud::Common::AbstractModel
|
442
|
-
# @param Seq: 请求序列号
|
443
|
-
# @type Seq: Integer
|
444
|
-
# @param OsType: 操作系统类型[0:未知;1:android;2:ios;3:windows]
|
445
|
-
# @type OsType: String
|
446
|
-
# @param AgeFloor: 年龄下限
|
447
|
-
# @type AgeFloor: Integer
|
448
|
-
# @param AgeCeil: 年龄上限
|
449
|
-
# @type AgeCeil: Integer
|
450
|
-
# @param Gender: 性别[1:男;2:女]
|
451
|
-
# @type Gender: Integer
|
452
|
-
# @param UserTime: 用户操作时间,uinux时间戳,精确到秒
|
453
|
-
# @type UserTime: Integer
|
454
|
-
# @param Imei: Imei [在(Imei|ImeiMd5|Idfa|IdfaMd5)里面4选1]
|
455
|
-
# @type Imei: String
|
456
|
-
# @param ImeiMd5: Imei小写后加密Md5 [在(Imei|ImeiMd5|Idfa|IdfaMd5)里面4选1]
|
457
|
-
# @type ImeiMd5: String
|
458
|
-
# @param Idfa: Idfa [在(Imei|ImeiMd5|Idfa|IdfaMd5)里面4选1]
|
459
|
-
# @type Idfa: String
|
460
|
-
# @param IdfaMd5: Idfa大写后加密Md5 [在(Imei|ImeiMd5|Idfa|IdfaMd5)里面4选1]
|
461
|
-
# @type IdfaMd5: String
|
462
|
-
# @param UserIp: 用户IP
|
463
|
-
# @type UserIp: String
|
464
|
-
# @param Mac: MAC地址[建议提供]
|
465
|
-
# @type Mac: String
|
466
|
-
# @param PhoneNum: 手机号码[中国大陆]
|
467
|
-
# @type PhoneNum: String
|
468
|
-
# @param UserAgent: 浏览器
|
469
|
-
# @type UserAgent: String
|
470
|
-
# @param App: APP名称
|
471
|
-
# @type App: String
|
472
|
-
# @param Package: 应用安装包名称
|
473
|
-
# @type Package: String
|
474
|
-
# @param DeviceMaker: 设备制造商
|
475
|
-
# @type DeviceMaker: String
|
476
|
-
# @param DeviceModule: 设备型号
|
477
|
-
# @type DeviceModule: String
|
478
|
-
# @param AccessMode: 入网方式[1:WIFI;2:4G;3:3G;4:2G;5:其它]
|
479
|
-
# @type AccessMode: String
|
480
|
-
# @param Sp: 运营商[1:移动;2:联通;3:电信;4:其它]
|
481
|
-
# @type Sp: String
|
482
|
-
# @param Url: 网址
|
483
|
-
# @type Url: String
|
484
|
-
# @param Location: 用户地址
|
485
|
-
# @type Location: String
|
486
|
-
# @param Latitude: 纬度
|
487
|
-
# @type Latitude: String
|
488
|
-
# @param Longitude: 精度
|
489
|
-
# @type Longitude: String
|
490
|
-
# @param Context: 辅助区分信息
|
491
|
-
# @type Context: String
|
492
|
-
# @param IsAuthorized: 是否授权
|
493
|
-
# @type IsAuthorized: Integer
|
494
|
-
|
495
|
-
attr_accessor :Seq, :OsType, :AgeFloor, :AgeCeil, :Gender, :UserTime, :Imei, :ImeiMd5, :Idfa, :IdfaMd5, :UserIp, :Mac, :PhoneNum, :UserAgent, :App, :Package, :DeviceMaker, :DeviceModule, :AccessMode, :Sp, :Url, :Location, :Latitude, :Longitude, :Context, :IsAuthorized
|
496
|
-
|
497
|
-
def initialize(seq=nil, ostype=nil, agefloor=nil, ageceil=nil, gender=nil, usertime=nil, imei=nil, imeimd5=nil, idfa=nil, idfamd5=nil, userip=nil, mac=nil, phonenum=nil, useragent=nil, app=nil, package=nil, devicemaker=nil, devicemodule=nil, accessmode=nil, sp=nil, url=nil, location=nil, latitude=nil, longitude=nil, context=nil, isauthorized=nil)
|
498
|
-
@Seq = seq
|
499
|
-
@OsType = ostype
|
500
|
-
@AgeFloor = agefloor
|
501
|
-
@AgeCeil = ageceil
|
502
|
-
@Gender = gender
|
503
|
-
@UserTime = usertime
|
504
|
-
@Imei = imei
|
505
|
-
@ImeiMd5 = imeimd5
|
506
|
-
@Idfa = idfa
|
507
|
-
@IdfaMd5 = idfamd5
|
508
|
-
@UserIp = userip
|
509
|
-
@Mac = mac
|
510
|
-
@PhoneNum = phonenum
|
511
|
-
@UserAgent = useragent
|
512
|
-
@App = app
|
513
|
-
@Package = package
|
514
|
-
@DeviceMaker = devicemaker
|
515
|
-
@DeviceModule = devicemodule
|
516
|
-
@AccessMode = accessmode
|
517
|
-
@Sp = sp
|
518
|
-
@Url = url
|
519
|
-
@Location = location
|
520
|
-
@Latitude = latitude
|
521
|
-
@Longitude = longitude
|
522
|
-
@Context = context
|
523
|
-
@IsAuthorized = isauthorized
|
524
|
-
end
|
525
|
-
|
526
|
-
def deserialize(params)
|
527
|
-
@Seq = params['Seq']
|
528
|
-
@OsType = params['OsType']
|
529
|
-
@AgeFloor = params['AgeFloor']
|
530
|
-
@AgeCeil = params['AgeCeil']
|
531
|
-
@Gender = params['Gender']
|
532
|
-
@UserTime = params['UserTime']
|
533
|
-
@Imei = params['Imei']
|
534
|
-
@ImeiMd5 = params['ImeiMd5']
|
535
|
-
@Idfa = params['Idfa']
|
536
|
-
@IdfaMd5 = params['IdfaMd5']
|
537
|
-
@UserIp = params['UserIp']
|
538
|
-
@Mac = params['Mac']
|
539
|
-
@PhoneNum = params['PhoneNum']
|
540
|
-
@UserAgent = params['UserAgent']
|
541
|
-
@App = params['App']
|
542
|
-
@Package = params['Package']
|
543
|
-
@DeviceMaker = params['DeviceMaker']
|
544
|
-
@DeviceModule = params['DeviceModule']
|
545
|
-
@AccessMode = params['AccessMode']
|
546
|
-
@Sp = params['Sp']
|
547
|
-
@Url = params['Url']
|
548
|
-
@Location = params['Location']
|
549
|
-
@Latitude = params['Latitude']
|
550
|
-
@Longitude = params['Longitude']
|
551
|
-
@Context = params['Context']
|
552
|
-
@IsAuthorized = params['IsAuthorized']
|
553
|
-
end
|
554
|
-
end
|
555
|
-
|
556
390
|
# CheckKol
|
557
391
|
class OutputKolData < TencentCloud::Common::AbstractModel
|
558
392
|
# @param Code: 错误码[0:成功;非0:失败的错误码]
|
@@ -757,57 +591,6 @@ module TencentCloud
|
|
757
591
|
end
|
758
592
|
end
|
759
593
|
|
760
|
-
# 流量反欺诈-虚假TA识别
|
761
|
-
class OutputTaData < TencentCloud::Common::AbstractModel
|
762
|
-
# @param Code: 错误码[0:成功;非0:失败的错误码]
|
763
|
-
# @type Code: Integer
|
764
|
-
# @param Message: 错误信息
|
765
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
766
|
-
# @type Message: String
|
767
|
-
# @param Value: 结果数据
|
768
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
769
|
-
# @type Value: :class:`Tencentcloud::Taf.v20200210.models.OutputTaValue`
|
770
|
-
|
771
|
-
attr_accessor :Code, :Message, :Value
|
772
|
-
|
773
|
-
def initialize(code=nil, message=nil, value=nil)
|
774
|
-
@Code = code
|
775
|
-
@Message = message
|
776
|
-
@Value = value
|
777
|
-
end
|
778
|
-
|
779
|
-
def deserialize(params)
|
780
|
-
@Code = params['Code']
|
781
|
-
@Message = params['Message']
|
782
|
-
unless params['Value'].nil?
|
783
|
-
@Value = OutputTaValue.new
|
784
|
-
@Value.deserialize(params['Value'])
|
785
|
-
end
|
786
|
-
end
|
787
|
-
end
|
788
|
-
|
789
|
-
# 流量反欺诈-虚假TA识别
|
790
|
-
class OutputTaValue < TencentCloud::Common::AbstractModel
|
791
|
-
# @param IsCheck: 是否查得[0:未查得;1:查得]
|
792
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
793
|
-
# @type IsCheck: Integer
|
794
|
-
# @param IsMatch: 是否符合[0:不符合;1:符合]
|
795
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
796
|
-
# @type IsMatch: Integer
|
797
|
-
|
798
|
-
attr_accessor :IsCheck, :IsMatch
|
799
|
-
|
800
|
-
def initialize(ischeck=nil, ismatch=nil)
|
801
|
-
@IsCheck = ischeck
|
802
|
-
@IsMatch = ismatch
|
803
|
-
end
|
804
|
-
|
805
|
-
def deserialize(params)
|
806
|
-
@IsCheck = params['IsCheck']
|
807
|
-
@IsMatch = params['IsMatch']
|
808
|
-
end
|
809
|
-
end
|
810
|
-
|
811
594
|
# RecognizeCustomizedAudience请求参数结构体
|
812
595
|
class RecognizeCustomizedAudienceRequest < TencentCloud::Common::AbstractModel
|
813
596
|
# @param BspData: 业务入参
|
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: 1.0.
|
4
|
+
version: 1.0.345
|
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-06-
|
11
|
+
date: 2022-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|