tencentcloud-sdk-faceid 3.0.550 → 3.0.552
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 +37 -8
- 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: 5de466c637b830f894ffccf0e5a4d7e7e418d2f3
|
4
|
+
data.tar.gz: aad29464291cd9c63634017893a1ae72e8b0c1f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: feebbca11999bd807f782d11a1b4b026715e0db292793454fde1d1d04f6acf44091bf2ab08a25f8708a6d248e2cff1f2d2d257d89244720fd3cd40e320f4b207
|
7
|
+
data.tar.gz: b33d1f83461d20b1dea337378140eeb08297fe25667b31e4e69fcc6578727ec1938a6f4aeff371b4404357a63ea9d187734fda3d44f581761107b8ba8d92e637
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.552
|
data/lib/v20180301/models.rb
CHANGED
@@ -2210,10 +2210,31 @@ module TencentCloud
|
|
2210
2210
|
|
2211
2211
|
# 意愿核身问答模式结果
|
2212
2212
|
class IntentionQuestionResult < TencentCloud::Common::AbstractModel
|
2213
|
-
# @param
|
2214
|
-
# 0
|
2215
|
-
#
|
2216
|
-
#
|
2213
|
+
# @param FinalResultDetailCode: 意愿核身错误码:
|
2214
|
+
# 0: "成功"
|
2215
|
+
# -1: "参数错误"
|
2216
|
+
# -2: "系统异常"
|
2217
|
+
# -101: "请保持人脸在框内"
|
2218
|
+
# -102: "检测到多张人脸"
|
2219
|
+
# -103: "人脸检测失败"
|
2220
|
+
# -104: "人脸检测不完整"
|
2221
|
+
# -105: "请勿遮挡眼睛"
|
2222
|
+
# -106: "请勿遮挡嘴巴"
|
2223
|
+
# -107: "请勿遮挡鼻子"
|
2224
|
+
# -201: "人脸比对相似度低"
|
2225
|
+
# -202: "人脸比对失败"
|
2226
|
+
# -301: "意愿核验不通过"
|
2227
|
+
# -800: "前端不兼容错误"
|
2228
|
+
# -801: "用户未授权摄像头和麦克风权限"
|
2229
|
+
# -802: "获取视频流失败"
|
2230
|
+
# -803: "用户主动关闭链接/异常断开链接"
|
2231
|
+
# -998: "系统数据异常"
|
2232
|
+
# -999: "系统未知错误,请联系人工核实"
|
2233
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2234
|
+
# @type FinalResultDetailCode: Integer
|
2235
|
+
# @param FinalResultMessage: 意愿核身错误信息
|
2236
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2237
|
+
# @type FinalResultMessage: String
|
2217
2238
|
# @param Video: 视频base64(其中包含全程问题和回答音频,mp4格式)
|
2218
2239
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2219
2240
|
# @type Video: String
|
@@ -2230,25 +2251,33 @@ module TencentCloud
|
|
2230
2251
|
# @param Audios: 答案录音音频
|
2231
2252
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2232
2253
|
# @type Audios: Array
|
2254
|
+
# @param FinalResultCode: 意愿核身最终结果:
|
2255
|
+
# 0:认证通过,-1:认证未通过,-2:浏览器内核不兼容,无法进行意愿校验。建议使用“FinalResultDetailCode”参数获取详细的错误码信息。
|
2256
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2257
|
+
# @type FinalResultCode: String
|
2233
2258
|
|
2234
|
-
attr_accessor :
|
2259
|
+
attr_accessor :FinalResultDetailCode, :FinalResultMessage, :Video, :ScreenShot, :ResultCode, :AsrResult, :Audios, :FinalResultCode
|
2235
2260
|
|
2236
|
-
def initialize(
|
2237
|
-
@
|
2261
|
+
def initialize(finalresultdetailcode=nil, finalresultmessage=nil, video=nil, screenshot=nil, resultcode=nil, asrresult=nil, audios=nil, finalresultcode=nil)
|
2262
|
+
@FinalResultDetailCode = finalresultdetailcode
|
2263
|
+
@FinalResultMessage = finalresultmessage
|
2238
2264
|
@Video = video
|
2239
2265
|
@ScreenShot = screenshot
|
2240
2266
|
@ResultCode = resultcode
|
2241
2267
|
@AsrResult = asrresult
|
2242
2268
|
@Audios = audios
|
2269
|
+
@FinalResultCode = finalresultcode
|
2243
2270
|
end
|
2244
2271
|
|
2245
2272
|
def deserialize(params)
|
2246
|
-
@
|
2273
|
+
@FinalResultDetailCode = params['FinalResultDetailCode']
|
2274
|
+
@FinalResultMessage = params['FinalResultMessage']
|
2247
2275
|
@Video = params['Video']
|
2248
2276
|
@ScreenShot = params['ScreenShot']
|
2249
2277
|
@ResultCode = params['ResultCode']
|
2250
2278
|
@AsrResult = params['AsrResult']
|
2251
2279
|
@Audios = params['Audios']
|
2280
|
+
@FinalResultCode = params['FinalResultCode']
|
2252
2281
|
end
|
2253
2282
|
end
|
2254
2283
|
|
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.552
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|