tencentcloud-sdk-faceid 3.0.887 → 3.0.888
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 +13 -2
- 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: 5abf0b627309bf4a0526b138a83546228ab28965
|
4
|
+
data.tar.gz: 8f2cef38e456eae52aaf17282d43453df206e0ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 212c95842d71030fb509f8531b91b839f7a0d660b52c41b9e0a01dedd05c2da1ccb89a7ff49826fe06169ec75ee2052addbafc52dacef56571ac1e5fa95ac76e
|
7
|
+
data.tar.gz: 1bbcf47270d8de96c01ba76d4e970a284fb6c05131ca1458a73387041a6e354166422406056d73bd31f11d8b4fbb58d6465fddcada89a253379084e74116bd87
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.888
|
data/lib/v20180301/models.rb
CHANGED
@@ -714,17 +714,28 @@ module TencentCloud
|
|
714
714
|
# 2- 传入的是视频类型
|
715
715
|
# 其他 - 返回错误码InvalidParameter
|
716
716
|
# @type FaceInputType: Integer
|
717
|
+
# @param Encryption: 是否需要对请求信息进行全包体加密; 支持的加密算法:AES-256-CBC、SM4-GCM; 有加密需求的用户可使用此参数,详情请点击左侧链接。
|
718
|
+
# @type Encryption: :class:`Tencentcloud::Faceid.v20180301.models.Encryption`
|
719
|
+
# @param EncryptedBody: 加密后的密文; 加密前的数据格式如下:{"FaceInput":"AAAAA","FaceInputType":1}
|
720
|
+
# @type EncryptedBody: String
|
717
721
|
|
718
|
-
attr_accessor :FaceInput, :FaceInputType
|
722
|
+
attr_accessor :FaceInput, :FaceInputType, :Encryption, :EncryptedBody
|
719
723
|
|
720
|
-
def initialize(faceinput=nil, faceinputtype=nil)
|
724
|
+
def initialize(faceinput=nil, faceinputtype=nil, encryption=nil, encryptedbody=nil)
|
721
725
|
@FaceInput = faceinput
|
722
726
|
@FaceInputType = faceinputtype
|
727
|
+
@Encryption = encryption
|
728
|
+
@EncryptedBody = encryptedbody
|
723
729
|
end
|
724
730
|
|
725
731
|
def deserialize(params)
|
726
732
|
@FaceInput = params['FaceInput']
|
727
733
|
@FaceInputType = params['FaceInputType']
|
734
|
+
unless params['Encryption'].nil?
|
735
|
+
@Encryption = Encryption.new
|
736
|
+
@Encryption.deserialize(params['Encryption'])
|
737
|
+
end
|
738
|
+
@EncryptedBody = params['EncryptedBody']
|
728
739
|
end
|
729
740
|
end
|
730
741
|
|
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.888
|
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-08-
|
11
|
+
date: 2024-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|