tencentcloud-sdk-ocr 3.0.871 → 3.0.873

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/v20181119/models.rb +12 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6fc6179f09158cb6415934f1f6707a99086d6a42
4
- data.tar.gz: 8497be36dde1ff2c146e15ff55cc524dd5e1e808
3
+ metadata.gz: 509baa9ccad62570098a6d3eaa0e0c63d5343a79
4
+ data.tar.gz: 7f932955387d09af441188a1fb68d01a6af5dedb
5
5
  SHA512:
6
- metadata.gz: 9cf1aba1fd892cd9ec77e560ec43be80bcbcd301ede8c1f7c28483c9019afb8a3cd8ce60febbc71d3e8b54144792ca727c517ebd1c74649734f5cf3b60fbc596
7
- data.tar.gz: 32f9c5d2079c60126c824dc73c230a6cb1bea5c74f1819871fa108ebe3a14e39f17695c009576a094f315d4146bd0f6c84c065d6f167685a09e0f6903312ef82
6
+ metadata.gz: 76d4e7e6f74cb6c1cd76c62215a0bb485a8ab7082c3fabe5b3ccc4f930b762ca4e43b89c2462accb38b3cb518c04df2868b786adfac55accc4c91a1d34c041b7
7
+ data.tar.gz: e303893589f6bd18515453bd1580d9906b84b5281bdab39b82e4443479518da225c8f3471eb843cce487b2a1e8f7862ac0a5f4c235ad063f83d242e00cc197e0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.871
1
+ 3.0.873
@@ -6517,17 +6517,21 @@ module TencentCloud
6517
6517
  # 图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。
6518
6518
  # 非腾讯云存储的 Url 速度和稳定性可能受一定影响。
6519
6519
  # @type ImageUrl: String
6520
+ # @param CropPortrait: 是否返回头像照片,默认为 false
6521
+ # @type CropPortrait: Boolean
6520
6522
 
6521
- attr_accessor :ImageBase64, :ImageUrl
6523
+ attr_accessor :ImageBase64, :ImageUrl, :CropPortrait
6522
6524
 
6523
- def initialize(imagebase64=nil, imageurl=nil)
6525
+ def initialize(imagebase64=nil, imageurl=nil, cropportrait=nil)
6524
6526
  @ImageBase64 = imagebase64
6525
6527
  @ImageUrl = imageurl
6528
+ @CropPortrait = cropportrait
6526
6529
  end
6527
6530
 
6528
6531
  def deserialize(params)
6529
6532
  @ImageBase64 = params['ImageBase64']
6530
6533
  @ImageUrl = params['ImageUrl']
6534
+ @CropPortrait = params['CropPortrait']
6531
6535
  end
6532
6536
  end
6533
6537
 
@@ -6549,12 +6553,14 @@ module TencentCloud
6549
6553
  # @type IssueAddress: String
6550
6554
  # @param Birthday: 出生日期
6551
6555
  # @type Birthday: String
6556
+ # @param PortraitImage: 头像照片的base64
6557
+ # @type PortraitImage: String
6552
6558
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6553
6559
  # @type RequestId: String
6554
6560
 
6555
- attr_accessor :Name, :EnglishName, :Number, :Sex, :ValidDate, :IssueAuthority, :IssueAddress, :Birthday, :RequestId
6561
+ attr_accessor :Name, :EnglishName, :Number, :Sex, :ValidDate, :IssueAuthority, :IssueAddress, :Birthday, :PortraitImage, :RequestId
6556
6562
 
6557
- def initialize(name=nil, englishname=nil, number=nil, sex=nil, validdate=nil, issueauthority=nil, issueaddress=nil, birthday=nil, requestid=nil)
6563
+ def initialize(name=nil, englishname=nil, number=nil, sex=nil, validdate=nil, issueauthority=nil, issueaddress=nil, birthday=nil, portraitimage=nil, requestid=nil)
6558
6564
  @Name = name
6559
6565
  @EnglishName = englishname
6560
6566
  @Number = number
@@ -6563,6 +6569,7 @@ module TencentCloud
6563
6569
  @IssueAuthority = issueauthority
6564
6570
  @IssueAddress = issueaddress
6565
6571
  @Birthday = birthday
6572
+ @PortraitImage = portraitimage
6566
6573
  @RequestId = requestid
6567
6574
  end
6568
6575
 
@@ -6575,6 +6582,7 @@ module TencentCloud
6575
6582
  @IssueAuthority = params['IssueAuthority']
6576
6583
  @IssueAddress = params['IssueAddress']
6577
6584
  @Birthday = params['Birthday']
6585
+ @PortraitImage = params['PortraitImage']
6578
6586
  @RequestId = params['RequestId']
6579
6587
  end
6580
6588
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ocr
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.871
4
+ version: 3.0.873
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-07-23 00:00:00.000000000 Z
11
+ date: 2024-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common