tencentcloud-sdk-faceid 3.0.887 → 3.0.889
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: 8550df4794da45de5c8902f3d3b9830744e7a71d
|
4
|
+
data.tar.gz: 438e4b5dfc3c6a50ea4f8e71dec2bd7b8519e9ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77e644ed4dc0b82c0f015e956d8328cf0dfad231ae6722830ce3dbaa3ac1f085b8e2ce9652ca06e6c53c921a2dab72f8f6eace51467e6a228ae75d0b25ec60b5
|
7
|
+
data.tar.gz: 20e63c40c953b6950096a7cd3c0c590a7ea11764d8d1ba442cd11a505115e4f99c76adaafb22001972c3b5068ff8c417db5c53ec5c534fcf6d86360de31cfcb1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.889
|
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.889
|
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-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|