tencentcloud-sdk-ocr 3.0.871 → 3.0.872
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20181119/models.rb +12 -4
- 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: fbc07723dcb629638ec90ef20404533bbccd9e47
|
|
4
|
+
data.tar.gz: 04c2621c236d5dc17a3c39cf79547db74a65b49e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4446e567a6bcccf710bbe49c56328feb5829d9bab77b27cfddc76542429f6b341d69bb27712c354a411ba881597eed59e98cc8327d228d70349eedf3e5c3e5fa
|
|
7
|
+
data.tar.gz: b8d7192c55bfb305f167bef6bc64d0d0146e3f9dff0e7e43b14ac2a671d964222b4e0b6db61400a165e5f27267bb45ecf71caac26ea72cfa3246729239e3fac5
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.872
|
data/lib/v20181119/models.rb
CHANGED
|
@@ -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.
|
|
4
|
+
version: 3.0.872
|
|
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-
|
|
11
|
+
date: 2024-07-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|