tencentcloud-sdk-taf 3.0.384 → 3.0.387
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200210/client.rb +0 -26
- data/lib/v20200210/models.rb +0 -105
- 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: 876414ddc961045ef72acef1d4a9222c61d39205
|
|
4
|
+
data.tar.gz: a74d2c569047ed4e8544e371ba6d13dadc886916
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5b4e98c4a28807d9a6b7d616794400f7982c94e8dbd93f62355ace844fb21a279de79ed6de7c6c70a3cd028b9615bee8df6461916aa6853f91d5f0305deee9e4
|
|
7
|
+
data.tar.gz: f4f614819977801e2302829ce5e572b020a1ee50f2f764435acd8aa717a9f2af4d88171b6e7c319f93310baa607fc832896cec13e777b1f974fee4af5e32a024
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.387
|
data/lib/v20200210/client.rb
CHANGED
|
@@ -77,32 +77,6 @@ module TencentCloud
|
|
|
77
77
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
78
78
|
end
|
|
79
79
|
|
|
80
|
-
# 该服务已不再对外提供能力
|
|
81
|
-
|
|
82
|
-
# 筛选敏感易骚扰人群
|
|
83
|
-
|
|
84
|
-
# @param request: Request instance for RecognizeEffectiveFlow.
|
|
85
|
-
# @type request: :class:`Tencentcloud::taf::V20200210::RecognizeEffectiveFlowRequest`
|
|
86
|
-
# @rtype: :class:`Tencentcloud::taf::V20200210::RecognizeEffectiveFlowResponse`
|
|
87
|
-
def RecognizeEffectiveFlow(request)
|
|
88
|
-
body = send_request('RecognizeEffectiveFlow', request.serialize)
|
|
89
|
-
response = JSON.parse(body)
|
|
90
|
-
if response['Response'].key?('Error') == false
|
|
91
|
-
model = RecognizeEffectiveFlowResponse.new
|
|
92
|
-
model.deserialize(response['Response'])
|
|
93
|
-
model
|
|
94
|
-
else
|
|
95
|
-
code = response['Response']['Error']['Code']
|
|
96
|
-
message = response['Response']['Error']['Message']
|
|
97
|
-
reqid = response['Response']['RequestId']
|
|
98
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
99
|
-
end
|
|
100
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
101
|
-
raise e
|
|
102
|
-
rescue StandardError => e
|
|
103
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
104
|
-
end
|
|
105
|
-
|
|
106
80
|
# 流量反欺诈-流量验准高级版
|
|
107
81
|
|
|
108
82
|
# @param request: Request instance for RecognizePreciseTargetAudience.
|
data/lib/v20200210/models.rb
CHANGED
|
@@ -157,17 +157,6 @@ module TencentCloud
|
|
|
157
157
|
end
|
|
158
158
|
end
|
|
159
159
|
|
|
160
|
-
# 接口入参
|
|
161
|
-
class InputRecognizeEffectiveFlow < TencentCloud::Common::AbstractModel
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
def initialize()
|
|
165
|
-
end
|
|
166
|
-
|
|
167
|
-
def deserialize(params)
|
|
168
|
-
end
|
|
169
|
-
end
|
|
170
|
-
|
|
171
160
|
# 流量反欺诈-验准入参
|
|
172
161
|
class InputRecognizeTargetAudience < TencentCloud::Common::AbstractModel
|
|
173
162
|
# @param ModelIdList: 模型ID列表
|
|
@@ -453,58 +442,6 @@ module TencentCloud
|
|
|
453
442
|
end
|
|
454
443
|
end
|
|
455
444
|
|
|
456
|
-
# 业务出参
|
|
457
|
-
class OutputRecognizeEffectiveFlow < TencentCloud::Common::AbstractModel
|
|
458
|
-
# @param Code: 返回码。0表示成功,非0标识失败错误码
|
|
459
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
460
|
-
# @type Code: Integer
|
|
461
|
-
# @param Message: UTF-8编码,出错消息。
|
|
462
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
463
|
-
# @type Message: String
|
|
464
|
-
# @param Value: 业务入参
|
|
465
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
466
|
-
# @type Value: :class:`Tencentcloud::Taf.v20200210.models.OutputRecognizeEffectiveFlowValue`
|
|
467
|
-
|
|
468
|
-
attr_accessor :Code, :Message, :Value
|
|
469
|
-
|
|
470
|
-
def initialize(code=nil, message=nil, value=nil)
|
|
471
|
-
@Code = code
|
|
472
|
-
@Message = message
|
|
473
|
-
@Value = value
|
|
474
|
-
end
|
|
475
|
-
|
|
476
|
-
def deserialize(params)
|
|
477
|
-
@Code = params['Code']
|
|
478
|
-
@Message = params['Message']
|
|
479
|
-
unless params['Value'].nil?
|
|
480
|
-
@Value = OutputRecognizeEffectiveFlowValue.new
|
|
481
|
-
@Value.deserialize(params['Value'])
|
|
482
|
-
end
|
|
483
|
-
end
|
|
484
|
-
end
|
|
485
|
-
|
|
486
|
-
# 业务出参
|
|
487
|
-
class OutputRecognizeEffectiveFlowValue < TencentCloud::Common::AbstractModel
|
|
488
|
-
# @param Lable: 返回标签
|
|
489
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
490
|
-
# @type Lable: String
|
|
491
|
-
# @param Score: 返回分值
|
|
492
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
493
|
-
# @type Score: Float
|
|
494
|
-
|
|
495
|
-
attr_accessor :Lable, :Score
|
|
496
|
-
|
|
497
|
-
def initialize(lable=nil, score=nil)
|
|
498
|
-
@Lable = lable
|
|
499
|
-
@Score = score
|
|
500
|
-
end
|
|
501
|
-
|
|
502
|
-
def deserialize(params)
|
|
503
|
-
@Lable = params['Lable']
|
|
504
|
-
@Score = params['Score']
|
|
505
|
-
end
|
|
506
|
-
end
|
|
507
|
-
|
|
508
445
|
# 流量反欺诈-验准返回值
|
|
509
446
|
class OutputRecognizeTargetAudience < TencentCloud::Common::AbstractModel
|
|
510
447
|
# @param Code: 返回码(0,成功,其他失败)
|
|
@@ -634,48 +571,6 @@ module TencentCloud
|
|
|
634
571
|
end
|
|
635
572
|
end
|
|
636
573
|
|
|
637
|
-
# RecognizeEffectiveFlow请求参数结构体
|
|
638
|
-
class RecognizeEffectiveFlowRequest < TencentCloud::Common::AbstractModel
|
|
639
|
-
# @param BusinessSecurityData: 业务入参
|
|
640
|
-
# @type BusinessSecurityData: :class:`Tencentcloud::Taf.v20200210.models.InputRecognizeEffectiveFlow`
|
|
641
|
-
|
|
642
|
-
attr_accessor :BusinessSecurityData
|
|
643
|
-
|
|
644
|
-
def initialize(businesssecuritydata=nil)
|
|
645
|
-
@BusinessSecurityData = businesssecuritydata
|
|
646
|
-
end
|
|
647
|
-
|
|
648
|
-
def deserialize(params)
|
|
649
|
-
unless params['BusinessSecurityData'].nil?
|
|
650
|
-
@BusinessSecurityData = InputRecognizeEffectiveFlow.new
|
|
651
|
-
@BusinessSecurityData.deserialize(params['BusinessSecurityData'])
|
|
652
|
-
end
|
|
653
|
-
end
|
|
654
|
-
end
|
|
655
|
-
|
|
656
|
-
# RecognizeEffectiveFlow返回参数结构体
|
|
657
|
-
class RecognizeEffectiveFlowResponse < TencentCloud::Common::AbstractModel
|
|
658
|
-
# @param Data: 业务出参
|
|
659
|
-
# @type Data: :class:`Tencentcloud::Taf.v20200210.models.OutputRecognizeEffectiveFlow`
|
|
660
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
661
|
-
# @type RequestId: String
|
|
662
|
-
|
|
663
|
-
attr_accessor :Data, :RequestId
|
|
664
|
-
|
|
665
|
-
def initialize(data=nil, requestid=nil)
|
|
666
|
-
@Data = data
|
|
667
|
-
@RequestId = requestid
|
|
668
|
-
end
|
|
669
|
-
|
|
670
|
-
def deserialize(params)
|
|
671
|
-
unless params['Data'].nil?
|
|
672
|
-
@Data = OutputRecognizeEffectiveFlow.new
|
|
673
|
-
@Data.deserialize(params['Data'])
|
|
674
|
-
end
|
|
675
|
-
@RequestId = params['RequestId']
|
|
676
|
-
end
|
|
677
|
-
end
|
|
678
|
-
|
|
679
574
|
# RecognizePreciseTargetAudience请求参数结构体
|
|
680
575
|
class RecognizePreciseTargetAudienceRequest < TencentCloud::Common::AbstractModel
|
|
681
576
|
# @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: 3.0.
|
|
4
|
+
version: 3.0.387
|
|
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-
|
|
11
|
+
date: 2022-08-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|