tencentcloud-sdk-faceid 3.0.889 → 3.0.890

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8550df4794da45de5c8902f3d3b9830744e7a71d
4
- data.tar.gz: 438e4b5dfc3c6a50ea4f8e71dec2bd7b8519e9ce
3
+ metadata.gz: 1a85aa8d2a4d0cc0364aa42bd1abb9cc55f18bbc
4
+ data.tar.gz: 74b96d8c7b1b1595f2d05b76014562365a227305
5
5
  SHA512:
6
- metadata.gz: 77e644ed4dc0b82c0f015e956d8328cf0dfad231ae6722830ce3dbaa3ac1f085b8e2ce9652ca06e6c53c921a2dab72f8f6eace51467e6a228ae75d0b25ec60b5
7
- data.tar.gz: 20e63c40c953b6950096a7cd3c0c590a7ea11764d8d1ba442cd11a505115e4f99c76adaafb22001972c3b5068ff8c417db5c53ec5c534fcf6d86360de31cfcb1
6
+ metadata.gz: 90aae32dfbfdaab9901e2fcd5e9edb15ecef3ad7f149c0e23a89f49d50a66ec0ba6c81ddbd28c1bc7bdec448a7031fb1e966883edadbabc2a11c03d287e41550
7
+ data.tar.gz: 9b3427398eaf90f4156a5b6c4f2a206223507766cf6b9d301d5639f307b3476a79011cc4775a19fdb5ee53a84a7ed9dd838be112beb2f4126eff757d0afaa9cf
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.889
1
+ 3.0.890
@@ -221,7 +221,7 @@ module TencentCloud
221
221
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
222
  end
223
223
 
224
- # 提供对人脸图片/视频的AI合成、翻拍、水印等攻击痕迹的检测,增强图片/视频防伪能力
224
+ # 基于多模态的AI大模型算法,提供对人脸图片、视频的防攻击检测能力,可针对性有效识别高仿真的AIGC换脸、高清翻拍、批量黑产攻击、水印等攻击痕迹,增强对图片和视频的防伪安全能力。
225
225
 
226
226
  # @param request: Request instance for DetectAIFakeFaces.
227
227
  # @type request: :class:`Tencentcloud::faceid::V20180301::DetectAIFakeFacesRequest`
@@ -465,14 +465,20 @@ module TencentCloud
465
465
  # @param IsEncrypt: 是否需要对返回中的敏感信息进行加密。默认false。
466
466
  # 其中敏感信息包括:Response.IdNum、Response.Name
467
467
  # @type IsEncrypt: Boolean
468
+ # @param IsEncryptResponse: 是否需要对响应体加密
469
+ # @type IsEncryptResponse: Boolean
470
+ # @param Encryption: 是否需要对返回中的敏感信息进行加密,需指定加密算法Algorithm、CBC加密的初始向量、加密后的对称密钥。
471
+ # @type Encryption: :class:`Tencentcloud::Faceid.v20180301.models.Encryption`
468
472
 
469
- attr_accessor :ImageBase64, :ImageUrl, :Config, :IsEncrypt
473
+ attr_accessor :ImageBase64, :ImageUrl, :Config, :IsEncrypt, :IsEncryptResponse, :Encryption
470
474
 
471
- def initialize(imagebase64=nil, imageurl=nil, config=nil, isencrypt=nil)
475
+ def initialize(imagebase64=nil, imageurl=nil, config=nil, isencrypt=nil, isencryptresponse=nil, encryption=nil)
472
476
  @ImageBase64 = imagebase64
473
477
  @ImageUrl = imageurl
474
478
  @Config = config
475
479
  @IsEncrypt = isencrypt
480
+ @IsEncryptResponse = isencryptresponse
481
+ @Encryption = encryption
476
482
  end
477
483
 
478
484
  def deserialize(params)
@@ -480,6 +486,11 @@ module TencentCloud
480
486
  @ImageUrl = params['ImageUrl']
481
487
  @Config = params['Config']
482
488
  @IsEncrypt = params['IsEncrypt']
489
+ @IsEncryptResponse = params['IsEncryptResponse']
490
+ unless params['Encryption'].nil?
491
+ @Encryption = Encryption.new
492
+ @Encryption.deserialize(params['Encryption'])
493
+ end
483
494
  end
484
495
  end
485
496
 
@@ -521,12 +532,14 @@ module TencentCloud
521
532
  # @param Encryption: 敏感数据加密信息。
522
533
  # 注意:此字段可能返回 null,表示取不到有效值。
523
534
  # @type Encryption: :class:`Tencentcloud::Faceid.v20180301.models.Encryption`
535
+ # @param EncryptedBody: 加密后的数据
536
+ # @type EncryptedBody: String
524
537
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
525
538
  # @type RequestId: String
526
539
 
527
- attr_accessor :Sim, :Result, :Description, :Name, :Sex, :Nation, :Birth, :Address, :IdNum, :Portrait, :Warnings, :Quality, :Encryption, :RequestId
540
+ attr_accessor :Sim, :Result, :Description, :Name, :Sex, :Nation, :Birth, :Address, :IdNum, :Portrait, :Warnings, :Quality, :Encryption, :EncryptedBody, :RequestId
528
541
 
529
- def initialize(sim=nil, result=nil, description=nil, name=nil, sex=nil, nation=nil, birth=nil, address=nil, idnum=nil, portrait=nil, warnings=nil, quality=nil, encryption=nil, requestid=nil)
542
+ def initialize(sim=nil, result=nil, description=nil, name=nil, sex=nil, nation=nil, birth=nil, address=nil, idnum=nil, portrait=nil, warnings=nil, quality=nil, encryption=nil, encryptedbody=nil, requestid=nil)
530
543
  @Sim = sim
531
544
  @Result = result
532
545
  @Description = description
@@ -540,6 +553,7 @@ module TencentCloud
540
553
  @Warnings = warnings
541
554
  @Quality = quality
542
555
  @Encryption = encryption
556
+ @EncryptedBody = encryptedbody
543
557
  @RequestId = requestid
544
558
  end
545
559
 
@@ -560,6 +574,7 @@ module TencentCloud
560
574
  @Encryption = Encryption.new
561
575
  @Encryption.deserialize(params['Encryption'])
562
576
  end
577
+ @EncryptedBody = params['EncryptedBody']
563
578
  @RequestId = params['RequestId']
564
579
  end
565
580
  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.889
4
+ version: 3.0.890
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-19 00:00:00.000000000 Z
11
+ date: 2024-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common