tencentcloud-sdk-faceid 3.0.809 → 3.0.811
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/v20180301/models.rb +42 -9
- 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: 7f6b52498eb1c87b25f7286453ed56d5320961d8
|
4
|
+
data.tar.gz: e91744e66663acdc408931c56a69c08f91fcffb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67df6f63f6c915b2944a8462882838d602b1457daf5d29c4e534ef02a5a46ebd9f03bd0dd9613eb2ff2b46cb35476f19d1c77967153ae460d5f3beca03ea8771
|
7
|
+
data.tar.gz: bde42afd0178316c5c5da0ea1c52a76bb8610164f623d54dec19fb8e9ef570d825d8850f3af4fa79582760c6b1d99ead21df141704365600d3091eb20cfb5a0e
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.811
|
data/lib/v20180301/models.rb
CHANGED
@@ -1961,25 +1961,54 @@ module TencentCloud
|
|
1961
1961
|
# @param Extra: 获取token时透传的信息
|
1962
1962
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1963
1963
|
# @type Extra: String
|
1964
|
-
# @param DeviceInfoTag:
|
1965
|
-
#
|
1966
|
-
#
|
1967
|
-
#
|
1968
|
-
#
|
1969
|
-
#
|
1970
|
-
#
|
1964
|
+
# @param DeviceInfoTag: plus版:描述当前请求所在设备的风险标签,详情如下:
|
1965
|
+
# 01-设备疑似被Root/设备疑似越狱
|
1966
|
+
# 02-设备疑似被注入
|
1967
|
+
# 03-设备疑似为模拟器
|
1968
|
+
# 04-设备疑似存在风险操作
|
1969
|
+
# 05-摄像头疑似被劫持
|
1970
|
+
# 06-疑似黑产设备
|
1971
|
+
# null-无设备风险
|
1972
|
+
# 增强版:此字段不生效,默认为null
|
1971
1973
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1972
1974
|
# @type DeviceInfoTag: String
|
1973
1975
|
# @param RiskInfoTag: 行为风险标签,仅错误码返回1007(设备疑似被劫持)时返回风险标签。标签说明:
|
1974
1976
|
# 02:攻击风险
|
1975
1977
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1976
1978
|
# @type RiskInfoTag: String
|
1979
|
+
# @param LivenessInfoTag: plus版:描述当前请求活体阶段被拒绝的详细原因,详情如下:
|
1980
|
+
# 01-用户全程闭眼
|
1981
|
+
# 02-用户未完成指定动作
|
1982
|
+
# 03-疑似翻拍攻击
|
1983
|
+
# 04-疑似合成图片
|
1984
|
+
# 05-疑似合成视频
|
1985
|
+
# 06-疑似合成动作
|
1986
|
+
# 07-疑似黑产模版
|
1987
|
+
# 08-疑似存在水印
|
1988
|
+
# 09-反光校验未通过
|
1989
|
+
# 10-最佳帧校验未通过
|
1990
|
+
# 11-人脸质量过差
|
1991
|
+
# 12-人脸距离不匹配
|
1992
|
+
# 13-疑似对抗样本攻击
|
1993
|
+
# null-无
|
1994
|
+
# 增强版:此字段不生效,默认为null
|
1995
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1996
|
+
# @type LivenessInfoTag: String
|
1997
|
+
# @param DeviceInfoLevel: plus版:描述当前请求所在设备的风险等级,共4级,详情如下:
|
1998
|
+
# 1 - 安全
|
1999
|
+
# 2 - 低风险
|
2000
|
+
# 3 - 中风险
|
2001
|
+
# 4 - 高危
|
2002
|
+
# null - 未获取到风险等级
|
2003
|
+
# 增强版:此字段不生效,默认为null
|
2004
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2005
|
+
# @type DeviceInfoLevel: String
|
1977
2006
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1978
2007
|
# @type RequestId: String
|
1979
2008
|
|
1980
|
-
attr_accessor :IdCard, :Name, :Result, :Description, :Similarity, :VideoBase64, :BestFrameBase64, :Extra, :DeviceInfoTag, :RiskInfoTag, :RequestId
|
2009
|
+
attr_accessor :IdCard, :Name, :Result, :Description, :Similarity, :VideoBase64, :BestFrameBase64, :Extra, :DeviceInfoTag, :RiskInfoTag, :LivenessInfoTag, :DeviceInfoLevel, :RequestId
|
1981
2010
|
|
1982
|
-
def initialize(idcard=nil, name=nil, result=nil, description=nil, similarity=nil, videobase64=nil, bestframebase64=nil, extra=nil, deviceinfotag=nil, riskinfotag=nil, requestid=nil)
|
2011
|
+
def initialize(idcard=nil, name=nil, result=nil, description=nil, similarity=nil, videobase64=nil, bestframebase64=nil, extra=nil, deviceinfotag=nil, riskinfotag=nil, livenessinfotag=nil, deviceinfolevel=nil, requestid=nil)
|
1983
2012
|
@IdCard = idcard
|
1984
2013
|
@Name = name
|
1985
2014
|
@Result = result
|
@@ -1990,6 +2019,8 @@ module TencentCloud
|
|
1990
2019
|
@Extra = extra
|
1991
2020
|
@DeviceInfoTag = deviceinfotag
|
1992
2021
|
@RiskInfoTag = riskinfotag
|
2022
|
+
@LivenessInfoTag = livenessinfotag
|
2023
|
+
@DeviceInfoLevel = deviceinfolevel
|
1993
2024
|
@RequestId = requestid
|
1994
2025
|
end
|
1995
2026
|
|
@@ -2004,6 +2035,8 @@ module TencentCloud
|
|
2004
2035
|
@Extra = params['Extra']
|
2005
2036
|
@DeviceInfoTag = params['DeviceInfoTag']
|
2006
2037
|
@RiskInfoTag = params['RiskInfoTag']
|
2038
|
+
@LivenessInfoTag = params['LivenessInfoTag']
|
2039
|
+
@DeviceInfoLevel = params['DeviceInfoLevel']
|
2007
2040
|
@RequestId = params['RequestId']
|
2008
2041
|
end
|
2009
2042
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-faceid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.811
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|