tencentcloud-sdk-faceid 3.0.451 → 3.0.452

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180301/models.rb +17 -5
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d8a34288f59417a2dffc168dbe5267246a1c0317
4
- data.tar.gz: e29f1c1cd6ab7f5f1a87cd370e614e63b420384d
3
+ metadata.gz: 87f296b8d18d88b4c751906d88064b5bd2d63c91
4
+ data.tar.gz: 2a11d2b6722b7b53a95dc8d0fe45b0d06a9b034f
5
5
  SHA512:
6
- metadata.gz: 4027a935497a59d2b3ddf657249aee5848117a16645a449ac7a1276d4645c250e4f84c128b2f6f4f6185b75b5bdbec7cb3d1d30e493a92e74697857d2e26b7af
7
- data.tar.gz: 800bce82a3e609e1832f81a9295833731b116c5906890fafcc00aef04f8d55b53c4a12699045cf84bb259cf666208be907604adc5dd3f5ab9dd7eb5df7a350c5
6
+ metadata.gz: 66ee5c04ee5fc9dad7857873c6e089061799f799abb14e5c4235ace64c5c52e50bfca201ce5cbee32511dc9205b9268912af53504774c402df53858be44b7080
7
+ data.tar.gz: 7c2edbf745cd63c09c957bc9f319e4b26f41b60b4e702e19265737c0f7ebe3c7c5f10febc7ab999c04a144db9bb650dc8b5827a51df79fc71ce8fb72b98346ef
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.451
1
+ 3.0.452
@@ -1157,20 +1157,25 @@ module TencentCloud
1157
1157
  # @type Result: String
1158
1158
  # @param Description: 业务结果描述。
1159
1159
  # @type Description: String
1160
+ # @param ISP: 运营商名称。
1161
+ # 取值范围为["移动","联通","电信",""]
1162
+ # @type ISP: String
1160
1163
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1161
1164
  # @type RequestId: String
1162
1165
 
1163
- attr_accessor :Result, :Description, :RequestId
1166
+ attr_accessor :Result, :Description, :ISP, :RequestId
1164
1167
 
1165
- def initialize(result=nil, description=nil, requestid=nil)
1168
+ def initialize(result=nil, description=nil, isp=nil, requestid=nil)
1166
1169
  @Result = result
1167
1170
  @Description = description
1171
+ @ISP = isp
1168
1172
  @RequestId = requestid
1169
1173
  end
1170
1174
 
1171
1175
  def deserialize(params)
1172
1176
  @Result = params['Result']
1173
1177
  @Description = params['Description']
1178
+ @ISP = params['ISP']
1174
1179
  @RequestId = params['RequestId']
1175
1180
  end
1176
1181
  end
@@ -1767,7 +1772,7 @@ module TencentCloud
1767
1772
  # @type CompareLib: String
1768
1773
  # @param IdCard: CompareLib为商业库时必传。
1769
1774
  # @type IdCard: String
1770
- # @param Name: CompareLib为商业库库时必传。
1775
+ # @param Name: CompareLib为商业库时必传。
1771
1776
  # @type Name: String
1772
1777
  # @param ImageBase64: CompareLib为上传照片比对时必传,Base64后图片最大8MB。
1773
1778
  # 请使用标准的Base64编码方式(带=补位),编码规范参考RFC4648。
@@ -1779,10 +1784,12 @@ module TencentCloud
1779
1784
  # @param UseCos: 默认为false,设置该参数为true后,核身过程中的视频图片将会存储在人脸核身控制台授权cos的bucket中,拉取结果时会返回对应资源完整cos地址。开通地址见https://console.cloud.tencent.com/faceid/cos
1780
1785
  # 【注意】选择该参数为true后将不返回base64数据,请根据接入情况谨慎修改。
1781
1786
  # @type UseCos: Boolean
1787
+ # @param Encryption: 敏感数据加密信息。对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
1788
+ # @type Encryption: :class:`Tencentcloud::Faceid.v20180301.models.Encryption`
1782
1789
 
1783
- attr_accessor :CompareLib, :IdCard, :Name, :ImageBase64, :Meta, :Extra, :UseCos
1790
+ attr_accessor :CompareLib, :IdCard, :Name, :ImageBase64, :Meta, :Extra, :UseCos, :Encryption
1784
1791
 
1785
- def initialize(comparelib=nil, idcard=nil, name=nil, imagebase64=nil, meta=nil, extra=nil, usecos=nil)
1792
+ def initialize(comparelib=nil, idcard=nil, name=nil, imagebase64=nil, meta=nil, extra=nil, usecos=nil, encryption=nil)
1786
1793
  @CompareLib = comparelib
1787
1794
  @IdCard = idcard
1788
1795
  @Name = name
@@ -1790,6 +1797,7 @@ module TencentCloud
1790
1797
  @Meta = meta
1791
1798
  @Extra = extra
1792
1799
  @UseCos = usecos
1800
+ @Encryption = encryption
1793
1801
  end
1794
1802
 
1795
1803
  def deserialize(params)
@@ -1800,6 +1808,10 @@ module TencentCloud
1800
1808
  @Meta = params['Meta']
1801
1809
  @Extra = params['Extra']
1802
1810
  @UseCos = params['UseCos']
1811
+ unless params['Encryption'].nil?
1812
+ @Encryption = Encryption.new
1813
+ @Encryption.deserialize(params['Encryption'])
1814
+ end
1803
1815
  end
1804
1816
  end
1805
1817
 
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.451
4
+ version: 3.0.452
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-11-14 00:00:00.000000000 Z
11
+ date: 2022-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common